From owner-openmap-users@stout.bbn.com Wed Jun 23 13:14:32 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5NHD8F17249
	for openmap-users-outgoing; Wed, 23 Jun 2004 13:13:08 -0400 (EDT)
Subject: RE: [OpenMap Users] Problem when deploying an application
Date: Wed, 23 Jun 2004 09:35:26 -0600
MIME-Version: 1.0
Message-ID: <ED3A48B9840E594890A2BC172D119465FB966B@mailman.san.com>
Content-Type: text/plain;
	charset="us-ascii"
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
Thread-Topic: [OpenMap Users] Problem when deploying an application
Thread-Index: AcRZAZXQibS59/eXR4C9ZeArKZHRUgANgYow
From: "Chapman, Martin" <MChapman@sanz.com>
To: "Christian Weaves" <christian.weaves@fugro-robertson.com>,
   <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i5NHD7717246
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Looking at the error message tells me for sure that you don't have an
Xwindows environment running on your web server.  Install Xwindows.

Martin Chapman

-----Original Message-----
From: Christian Weaves [mailto:christian.weaves@fugro-robertson.com] 
Sent: Wednesday, June 23, 2004 2:33 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] Problem when deploying an application


Hi there, thanks for all your help so far.  I have one more question.
Does anybody have any idea how to get around this problem?  

I'm running openmap as a tomcat (5.0.25) web application. I developed
the application on Red Hat Fedora Core and it works fine.  However when
I deploy it to the actual webserver (which doesnt have a gui such as
gnome or kde) my servlet falls over when the following call is made:

MapRequestHandler iServer = new MapRequestHandler(mapProps); 

I guess there's something missing on the webserver but not too sure
what!  Do I need to run it headless, if so how do I do this with a web
application?  Thanks for reading..

Here's the stack trace:

javax.servlet.ServletException: Servlet execution threw an exception

*root cause*

java.lang.NoClassDefFoundError
	java.lang.Class.forName0(Native Method)
	java.lang.Class.forName(Class.java:141)
	
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron
ment.java:62)
	java.awt.Font.initializeFont(Font.java:308)
	java.awt.Font.<init>(Font.java:344)
	
javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(DefaultMet
alTheme.java:195)
	
javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.java:
153)
	
javax.swing.plaf.metal.DefaultMetalTheme.getMenuTextFont(DefaultMetalThe
me.java:141)
	
javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(Meta
lLookAndFeel.java:1408)
	javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:199)
	javax.swing.UIDefaults.get(UIDefaults.java:129)
	javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
	javax.swing.UIDefaults.getFont(UIDefaults.java:349)
	javax.swing.UIManager.getFont(UIManager.java:491)
	
javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:89)
	
javax.swing.plaf.basic.BasicPopupMenuUI.installDefaults(BasicPopupMenuUI
.java:75)
	
javax.swing.plaf.basic.BasicPopupMenuUI.installUI(BasicPopupMenuUI.java:
63)
	javax.swing.JComponent.setUI(JComponent.java:449)
	javax.swing.JPopupMenu.setUI(JPopupMenu.java:195)
	javax.swing.JPopupMenu.updateUI(JPopupMenu.java:204)
	javax.swing.JPopupMenu.<init>(JPopupMenu.java:169)
	javax.swing.JPopupMenu.<init>(JPopupMenu.java:154)
	
com.bbn.openmap.omGraphics.BasicStrokeEditorMenu.<init>(BasicStrokeEdito
rMenu.java:63)
	
com.bbn.openmap.omGraphics.DrawingAttributes.getBasicStrokeEditor(Drawin
gAttributes.java:1216)
	
com.bbn.openmap.omGraphics.DrawingAttributes.setStroke(DrawingAttributes
.java:380)
	
com.bbn.openmap.omGraphics.DrawingAttributes.setProperties(DrawingAttrib
utes.java:1368)
	
com.bbn.openmap.omGraphics.DrawingAttributes.<init>(DrawingAttributes.ja
va:300)
	
com.bbn.openmap.layer.shape.ShapeLayer.setProperties(ShapeLayer.java:183
)
	
com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:346)
	
com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:259)
	
com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:207)
	
com.bbn.openmap.image.ImageServer.getLayers(ImageServer.java:736)
	
com.bbn.openmap.image.ImageServer.setProperties(ImageServer.java:485)
	
com.bbn.openmap.image.ImageServer.setProperties(ImageServer.java:473)
	
com.bbn.openmap.image.MapRequestHandler.setProperties(MapRequestHandler.
java:110)
	
com.bbn.openmap.image.MapRequestHandler.<init>(MapRequestHandler.java:10
6)
	
com.bbn.openmap.image.MapRequestHandler.<init>(MapRequestHandler.java:10
2)
	
com.lledr.eussafety.struts.navigation.GenerateMapImage.doPost(GenerateMa
pImage.java:107)
	
com.lledr.eussafety.struts.navigation.GenerateMapImage.doGet(GenerateMap
Image.java:56)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)


--
[To unsubscribe to this list send an email to "majdart@bbn.com" with the
following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jun 23 13:53:13 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5NHqUT18306
	for openmap-users-outgoing; Wed, 23 Jun 2004 13:52:30 -0400 (EDT)
Message-ID: <40D9C0EE.7060505@channing.harvard.edu>
Date: Wed, 23 Jun 2004 13:42:06 -0400
From: Adam Russell <Adam.Russell@channing.harvard.edu>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: openmap-users@bbn.com
Subject: Re: [OpenMap Users] Problem when deploying an application
References: <ED3A48B9840E594890A2BC172D119465FB966B@mailman.san.com>
In-Reply-To: <ED3A48B9840E594890A2BC172D119465FB966B@mailman.san.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Another workable alternative is to install Xvfb rather than Xwindows.
http://www.xfree86.org/4.0.1/Xvfb.1.html may provide a decent start


Chapman, Martin wrote:

>Looking at the error message tells me for sure that you don't have an
>Xwindows environment running on your web server.  Install Xwindows.
>
>Martin Chapman
>
>-----Original Message-----
>From: Christian Weaves [mailto:christian.weaves@fugro-robertson.com] 
>Sent: Wednesday, June 23, 2004 2:33 AM
>To: openmap-users@bbn.com
>Subject: [OpenMap Users] Problem when deploying an application
>
>
>Hi there, thanks for all your help so far.  I have one more question.
>Does anybody have any idea how to get around this problem?  
>
>I'm running openmap as a tomcat (5.0.25) web application. I developed
>the application on Red Hat Fedora Core and it works fine.  However when
>I deploy it to the actual webserver (which doesnt have a gui such as
>gnome or kde) my servlet falls over when the following call is made:
>
>MapRequestHandler iServer = new MapRequestHandler(mapProps); 
>
>I guess there's something missing on the webserver but not too sure
>what!  Do I need to run it headless, if so how do I do this with a web
>application?  Thanks for reading..
>
>Here's the stack trace:
>
>javax.servlet.ServletException: Servlet execution threw an exception
>
>*root cause*
>
>java.lang.NoClassDefFoundError
>	java.lang.Class.forName0(Native Method)
>	java.lang.Class.forName(Class.java:141)
>	
>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron
>ment.java:62)
>	java.awt.Font.initializeFont(Font.java:308)
>	java.awt.Font.<init>(Font.java:344)
>	
>javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(DefaultMet
>alTheme.java:195)
>	
>javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.java:
>153)
>	
>javax.swing.plaf.metal.DefaultMetalTheme.getMenuTextFont(DefaultMetalThe
>me.java:141)
>	
>javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(Meta
>lLookAndFeel.java:1408)
>	javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:199)
>	javax.swing.UIDefaults.get(UIDefaults.java:129)
>	javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
>	javax.swing.UIDefaults.getFont(UIDefaults.java:349)
>	javax.swing.UIManager.getFont(UIManager.java:491)
>	
>javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:89)
>	
>javax.swing.plaf.basic.BasicPopupMenuUI.installDefaults(BasicPopupMenuUI
>.java:75)
>	
>javax.swing.plaf.basic.BasicPopupMenuUI.installUI(BasicPopupMenuUI.java:
>63)
>	javax.swing.JComponent.setUI(JComponent.java:449)
>	javax.swing.JPopupMenu.setUI(JPopupMenu.java:195)
>	javax.swing.JPopupMenu.updateUI(JPopupMenu.java:204)
>	javax.swing.JPopupMenu.<init>(JPopupMenu.java:169)
>	javax.swing.JPopupMenu.<init>(JPopupMenu.java:154)
>	
>com.bbn.openmap.omGraphics.BasicStrokeEditorMenu.<init>(BasicStrokeEdito
>rMenu.java:63)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.getBasicStrokeEditor(Drawin
>gAttributes.java:1216)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.setStroke(DrawingAttributes
>.java:380)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.setProperties(DrawingAttrib
>utes.java:1368)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.<init>(DrawingAttributes.ja
>va:300)
>	
>com.bbn.openmap.layer.shape.ShapeLayer.setProperties(ShapeLayer.java:183
>)
>	
>com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:346)
>	
>com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:259)
>	
>com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:207)
>	
>com.bbn.openmap.image.ImageServer.getLayers(ImageServer.java:736)
>	
>com.bbn.openmap.image.ImageServer.setProperties(ImageServer.java:485)
>	
>com.bbn.openmap.image.ImageServer.setProperties(ImageServer.java:473)
>	
>com.bbn.openmap.image.MapRequestHandler.setProperties(MapRequestHandler.
>java:110)
>	
>com.bbn.openmap.image.MapRequestHandler.<init>(MapRequestHandler.java:10
>6)
>	
>com.bbn.openmap.image.MapRequestHandler.<init>(MapRequestHandler.java:10
>2)
>	
>com.lledr.eussafety.struts.navigation.GenerateMapImage.doPost(GenerateMa
>pImage.java:107)
>	
>com.lledr.eussafety.struts.navigation.GenerateMapImage.doGet(GenerateMap
>Image.java:56)
>	javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>
>
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com" with the
>following text in the BODY of the message "unsubscribe openmap-users"]
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com"
>with the following text in the BODY of the message "unsubscribe openmap-users"]
>  
>

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jun 23 14:56:01 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5NIsNB24058
	for openmap-users-outgoing; Wed, 23 Jun 2004 14:54:23 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [OpenMap Users] Converting distance to pixels?
Date: Wed, 23 Jun 2004 14:50:41 -0400
Message-ID: <77A645AA6D90F94498B996D8D0DF3DD5EC7064@RMTVA-XVC01.info.trw.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] re-projection an image
Thread-Index: AcRX1wNoAVAiTTmoTiqNajSJuhf4twAAIg7QAAN6c+AAWxduAA==
From: <Shahak.Nagiel@ngc.com>
To: <openmap-users@bbn.com>
X-OriginalArrivalTime: 23 Jun 2004 18:50:43.0321 (UTC) FILETIME=[FC97BE90:01C45952]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i5NIsM724055
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I'm trying to render an OMPoly (series of lines), with each line representing an area of interest.  Each line has a given half-width (in KM or NM), and I'd like to represent that second-dimension with the line width.  However, it's not obvious to me how to compute the number of pixels required for the line stroke given the (half-)width.  I'm assuming it would be based on the scale and projection.  (I'd be content with a fixed line width even though, accurately, it would fluctuate along certain routes of cylindrical projections.)

Thanks,
Shahak Nagiel
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jun 23 18:18:56 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5NMH3328570
	for openmap-users-outgoing; Wed, 23 Jun 2004 18:17:04 -0400 (EDT)
Message-ID: <20040623221651.8923.qmail@web14924.mail.yahoo.com>
Date: Wed, 23 Jun 2004 15:16:51 -0700 (PDT)
From: Qinyan Zhou <zhouqinyan527@yahoo.com>
Subject: [OpenMap Users] displaying an tif image file
To: openmap-users@bbn.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Dear All,

I started fooling around with displaying tifs. The tif
image files I have are not georeferenced, but with a
world file containing georeferencing infomation. I do
know the lat/lon of the upper left corner and the
lower right one of the image, and also change the
properties file(see csv file below).

cvs file contains
-0.1163994,51.5043442,-0.0667022,51.5284276,file:///image/Stow.tif

the part added to properties 
imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
imageLayer.prettyName=My Image Layer
imageLayer.tileFile=file:///image/csv/imageCSV.csv
imageLayer.fileHasHeader=true

But nothing happens. Have I missed anything? Or any
suggestions?

Thanks,
Jessica






	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jun 23 18:46:30 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5NMjHG20229
	for openmap-users-outgoing; Wed, 23 Jun 2004 18:45:17 -0400 (EDT)
In-Reply-To: <20040623221651.8923.qmail@web14924.mail.yahoo.com>
References: <20040623221651.8923.qmail@web14924.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <FAA7FE73-C566-11D8-87DA-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] displaying an tif image file
Date: Wed, 23 Jun 2004 18:45:09 -0400
To: Qinyan Zhou <zhouqinyan527@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

The file doesn't have a header line, so your settings are causing the 
reader to skip your line.

- Don

On Jun 23, 2004, at 6:16 PM, Qinyan Zhou wrote:

> Dear All,
>
> I started fooling around with displaying tifs. The tif
> image files I have are not georeferenced, but with a
> world file containing georeferencing infomation. I do
> know the lat/lon of the upper left corner and the
> lower right one of the image, and also change the
> properties file(see csv file below).
>
> cvs file contains
> -0.1163994,51.5043442,-0.0667022,51.5284276,file:///image/Stow.tif
>
> the part added to properties
> imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
> imageLayer.prettyName=My Image Layer
> imageLayer.tileFile=file:///image/csv/imageCSV.csv
> imageLayer.fileHasHeader=true
>
> But nothing happens. Have I missed anything? Or any
> suggestions?
>
> Thanks,
> Jessica
>
>
>
>
>
>
> 	
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jun 23 19:21:04 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5NNJVo12097
	for openmap-users-outgoing; Wed, 23 Jun 2004 19:19:31 -0400 (EDT)
Message-ID: <f7b4a88404062316122de90df3@mail.gmail.com>
Date: Wed, 23 Jun 2004 16:12:36 -0700
From: Sameer Maggon <maggon@gmail.com>
To: openmap-users@bbn.com
Subject: Re: [OpenMap Users] displaying an tif image file
In-Reply-To: <20040623221651.8923.qmail@web14924.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <20040623221651.8923.qmail@web14924.mail.yahoo.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

On Wed, 23 Jun 2004 15:16:51 -0700 (PDT), Qinyan Zhou
<zhouqinyan527@yahoo.com> wrote:
> the part added to properties
> imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
> imageLayer.prettyName=My Image Layer
> imageLayer.tileFile=file:///image/csv/imageCSV.csv
> imageLayer.fileHasHeader=true
>
> Jessica

You are adding a plugin to the layer. The right way to do is to add a
Layer (plugIn layer) and then add the plugin on that layer.

E.g:

eipi.class=com.bbn.openmap.plugin.PlugInLayer
eipi.prettyName=EarthImagePlugin
# now goes all the stuff for plugin like:

Its supposed to be plugin.class etc.

Also, inside the code, you can get the layer and manually add your
plugin on that layer (see the APIs).

Sameer.
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jun 23 21:59:42 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5O1wxC15228
	for openmap-users-outgoing; Wed, 23 Jun 2004 21:58:59 -0400 (EDT)
In-Reply-To: <f7b4a88404062316122de90df3@mail.gmail.com>
References: <20040623221651.8923.qmail@web14924.mail.yahoo.com> <f7b4a88404062316122de90df3@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <099D62E5-C582-11D8-87DA-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] displaying an tif image file
Date: Wed, 23 Jun 2004 21:58:50 -0400
To: Sameer Maggon <maggon@gmail.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Actually, you can add PlugIns like layers, the LayerHandler will figure 
out that it needs to create a PlugInLayer and will hook the PlugIn up 
to it, automatically.

- Don

On Jun 23, 2004, at 7:12 PM, Sameer Maggon wrote:

> On Wed, 23 Jun 2004 15:16:51 -0700 (PDT), Qinyan Zhou
> <zhouqinyan527@yahoo.com> wrote:
>> the part added to properties
>> imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
>> imageLayer.prettyName=My Image Layer
>> imageLayer.tileFile=file:///image/csv/imageCSV.csv
>> imageLayer.fileHasHeader=true
>>
>> Jessica
>
> You are adding a plugin to the layer. The right way to do is to add a
> Layer (plugIn layer) and then add the plugin on that layer.
>
> E.g:
>
> eipi.class=com.bbn.openmap.plugin.PlugInLayer
> eipi.prettyName=EarthImagePlugin
> # now goes all the stuff for plugin like:
>
> Its supposed to be plugin.class etc.
>
> Also, inside the code, you can get the layer and manually add your
> plugin on that layer (see the APIs).
>
> Sameer.
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jun 24 03:55:28 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5O7sLM19214
	for openmap-users-outgoing; Thu, 24 Jun 2004 03:54:21 -0400 (EDT)
Date: Thu, 24 Jun 2004 08:54:04 +0100
From: Christian Weaves <christian.weaves@fugro-robertson.com>
Subject: Re: [OpenMap Users] Problem when deploying an application
In-reply-to: <ED3A48B9840E594890A2BC172D119465FB966B@mailman.san.com>
To: openmap-users@bbn.com
Message-id: <40DA889C.7060601@fugro-robertson.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1)
 Gecko/20021130
References: <ED3A48B9840E594890A2BC172D119465FB966B@mailman.san.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

All thanks very much for your help, I got round the problem by running 
the application 'headless'.

Thanks again, chris..

>-----Original Message-----
>From: Christian Weaves [mailto:christian.weaves@fugro-robertson.com] 
>Sent: Wednesday, June 23, 2004 2:33 AM
>To: openmap-users@bbn.com
>Subject: [OpenMap Users] Problem when deploying an application
>
>
>Hi there, thanks for all your help so far.  I have one more question.
>Does anybody have any idea how to get around this problem?  
>
>I'm running openmap as a tomcat (5.0.25) web application. I developed
>the application on Red Hat Fedora Core and it works fine.  However when
>I deploy it to the actual webserver (which doesnt have a gui such as
>gnome or kde) my servlet falls over when the following call is made:
>
>MapRequestHandler iServer = new MapRequestHandler(mapProps); 
>
>I guess there's something missing on the webserver but not too sure
>what!  Do I need to run it headless, if so how do I do this with a web
>application?  Thanks for reading..
>
>Here's the stack trace:
>
>javax.servlet.ServletException: Servlet execution threw an exception
>
>*root cause*
>
>java.lang.NoClassDefFoundError
>	java.lang.Class.forName0(Native Method)
>	java.lang.Class.forName(Class.java:141)
>	
>java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron
>ment.java:62)
>	java.awt.Font.initializeFont(Font.java:308)
>	java.awt.Font.<init>(Font.java:344)
>	
>javax.swing.plaf.metal.DefaultMetalTheme$FontDelegate.getFont(DefaultMet
>alTheme.java:195)
>	
>javax.swing.plaf.metal.DefaultMetalTheme.getFont(DefaultMetalTheme.java:
>153)
>	
>javax.swing.plaf.metal.DefaultMetalTheme.getMenuTextFont(DefaultMetalThe
>me.java:141)
>	
>javax.swing.plaf.metal.MetalLookAndFeel$FontActiveValue.createValue(Meta
>lLookAndFeel.java:1408)
>	javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:199)
>	javax.swing.UIDefaults.get(UIDefaults.java:129)
>	javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
>	javax.swing.UIDefaults.getFont(UIDefaults.java:349)
>	javax.swing.UIManager.getFont(UIManager.java:491)
>	
>javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:89)
>	
>javax.swing.plaf.basic.BasicPopupMenuUI.installDefaults(BasicPopupMenuUI
>.java:75)
>	
>javax.swing.plaf.basic.BasicPopupMenuUI.installUI(BasicPopupMenuUI.java:
>63)
>	javax.swing.JComponent.setUI(JComponent.java:449)
>	javax.swing.JPopupMenu.setUI(JPopupMenu.java:195)
>	javax.swing.JPopupMenu.updateUI(JPopupMenu.java:204)
>	javax.swing.JPopupMenu.<init>(JPopupMenu.java:169)
>	javax.swing.JPopupMenu.<init>(JPopupMenu.java:154)
>	
>com.bbn.openmap.omGraphics.BasicStrokeEditorMenu.<init>(BasicStrokeEdito
>rMenu.java:63)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.getBasicStrokeEditor(Drawin
>gAttributes.java:1216)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.setStroke(DrawingAttributes
>.java:380)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.setProperties(DrawingAttrib
>utes.java:1368)
>	
>com.bbn.openmap.omGraphics.DrawingAttributes.<init>(DrawingAttributes.ja
>va:300)
>	
>com.bbn.openmap.layer.shape.ShapeLayer.setProperties(ShapeLayer.java:183
>)
>	
>com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:346)
>	
>com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:259)
>	
>com.bbn.openmap.util.ComponentFactory.create(ComponentFactory.java:207)
>	
>com.bbn.openmap.image.ImageServer.getLayers(ImageServer.java:736)
>	
>com.bbn.openmap.image.ImageServer.setProperties(ImageServer.java:485)
>	
>com.bbn.openmap.image.ImageServer.setProperties(ImageServer.java:473)
>	
>com.bbn.openmap.image.MapRequestHandler.setProperties(MapRequestHandler.
>java:110)
>	
>com.bbn.openmap.image.MapRequestHandler.<init>(MapRequestHandler.java:10
>6)
>	
>com.bbn.openmap.image.MapRequestHandler.<init>(MapRequestHandler.java:10
>2)
>	
>com.lledr.eussafety.struts.navigation.GenerateMapImage.doPost(GenerateMa
>pImage.java:107)
>	
>com.lledr.eussafety.struts.navigation.GenerateMapImage.doGet(GenerateMap
>Image.java:56)
>	javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
>	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>
>
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com" with the
>following text in the BODY of the message "unsubscribe openmap-users"]
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com"
>with the following text in the BODY of the message "unsubscribe openmap-users"]
>  
>


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jun 24 11:05:24 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5OEmKw10947
	for openmap-users-outgoing; Thu, 24 Jun 2004 10:48:20 -0400 (EDT)
Message-ID: <20040624144807.63104.qmail@web14924.mail.yahoo.com>
Date: Thu, 24 Jun 2004 07:48:07 -0700 (PDT)
From: Qinyan Zhou <zhouqinyan527@yahoo.com>
Subject: Re: [OpenMap Users] displaying an tif image file
To: Don Dietrick <dietrick@bbn.com>
Cc: openmap-users@bbn.com
In-Reply-To: <FAA7FE73-C566-11D8-87DA-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Dear Don,

Do you mean OpenMap is able to display GeoTiff image
files, which is georeferenced with a header line?
However, I found a link 
http://openmap.bbn.com/cgi-bin/faqw.py?req=show&file=faq09.008.htp
It says OpenMap is not able to read GoeTiff files.
Could you please give me more clues on it?

Thanks,
Jessica

--- Don Dietrick <dietrick@bbn.com> wrote:
> The file doesn't have a header line, so your
> settings are causing the 
> reader to skip your line.
> 
> - Don
> 
> On Jun 23, 2004, at 6:16 PM, Qinyan Zhou wrote:
> 
> > Dear All,
> >
> > I started fooling around with displaying tifs. The
> tif
> > image files I have are not georeferenced, but with
> a
> > world file containing georeferencing infomation. I
> do
> > know the lat/lon of the upper left corner and the
> > lower right one of the image, and also change the
> > properties file(see csv file below).
> >
> > cvs file contains
> >
>
-0.1163994,51.5043442,-0.0667022,51.5284276,file:///image/Stow.tif
> >
> > the part added to properties
> >
>
imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
> > imageLayer.prettyName=My Image Layer
> > imageLayer.tileFile=file:///image/csv/imageCSV.csv
> > imageLayer.fileHasHeader=true
> >
> > But nothing happens. Have I missed anything? Or
> any
> > suggestions?
> >
> > Thanks,
> > Jessica
> >
> >
> >
> >
> >
> >
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> > --
> > [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> > with the following text in the BODY of the message
> "unsubscribe 
> > openmap-users"]
> >
> >
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jun 25 11:25:28 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5PFLaN14246
	for openmap-users-outgoing; Fri, 25 Jun 2004 11:21:36 -0400 (EDT)
Message-ID: <40DC3BC7.1070209@system.ecology.su.se>
Date: Fri, 25 Jun 2004 16:50:47 +0200
From: alexander sokolov <sokolov@system.ecology.su.se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
X-Accept-Language: en, ru
MIME-Version: 1.0
To: OpenMap Support <openmap@bbn.com>, Openmap-Users <openmap-users@bbn.com>
Subject: [OpenMap Users] Re: ESRIPolygonRecord with holes
References: <200406182023.i5IKNBQV025122@gollum.bbn.com> <83915FDE-C201-11D8-A8FD-000A95BCCC44@bbn.com> <40D82586.9030403@system.ecology.su.se> <6DA3A2AA-C517-11D8-AFB2-000A95BCCC44@bbn.com>
In-Reply-To: <6DA3A2AA-C517-11D8-AFB2-000A95BCCC44@bbn.com>
Content-Type: multipart/mixed;
 boundary="------------090006090808030506020807"
X-Virus-Scanned: by amavisd-new at su.se
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.
--------------090006090808030506020807
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Don,

It seems I found a way to treat ESRIPolygonRecord with holes correctly.  
We can use
 OMAreaList instead of OMGraphicList to store OMPolys of the ESRIRecord.
Modifications are very small (see the method addOMGraphics in attached 
ESRIPolygonRecord.java)
and also we have to set

firstPoint to true in appendShapeEdge in the BasicGeometry.java.

This modifications works well for me but I am not sure about possible 
side effects.

What do you think about this?

Regards

Alexander




OpenMap Support wrote:

> Hi Alexander,
>
> That's correct, holds aren't handled well for either class.  The code 
> would have to be modified to handle them.
>
> - Don
>
> On Jun 22, 2004, at 8:26 AM, alexander sokolov wrote:
>
>> Hi Don,
>>
>> I'm trying to work a with shape file of seas with islands and
>> it seems neither EsriLayer nor ShapeLayer support ESRI records with 
>> holes.
>> I mean it seems openmap does not pay attention to the order of 
>> polygon's vertices.
>> (clockwise or counterclockwise). Is it so and what we can do?
>>
>> Regards
>> Alexander
>>
>>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>

--------------090006090808030506020807
Content-Type: text/plain;
 name="ESRIPolygonRecord.java"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="ESRIPolygonRecord.java"

Ly8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKgovLyAKLy8gPGNvcHlyaWdodD4KLy8gCi8vICBCQk4gVGVj
aG5vbG9naWVzLCBhIFZlcml6b24gQ29tcGFueQovLyAgMTAgTW91bHRvbiBTdHJlZXQKLy8g
IENhbWJyaWRnZSwgTUEgMDIxMzgKLy8gICg2MTcpIDg3My04MDAwCi8vIAovLyAgQ29weXJp
Z2h0IChDKSBCQk5UIFNvbHV0aW9ucyBMTEMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8vIAov
LyA8L2NvcHlyaWdodD4KLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgovLyAKLy8gJFNvdXJjZTogL2N2
cy9kaXN0YXBwcy9vcGVubWFwL3NyYy9vcGVubWFwL2NvbS9iYm4vb3Blbm1hcC9sYXllci9z
aGFwZS9FU1JJUG9seWdvblJlY29yZC5qYXZh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BFX1RZUEVfUE9MWUdPTiArICIgb3Ig
dHlwZSAiICsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFNIQVBFX1RZUEVf
QVJDICsgIiwgYnV0IGZvdW5kICIgKyBzaGFwZVR5cGUpOwogICAgICAgIH0KICAgICAgICBi
b29sZWFuIGlzcG9seWcgPSBpc1BvbHlnb24oKTsKCiAgICAgICAgYm91bmRzID0gcmVhZEJv
eChiLCBwdHIpOwogICAgICAgIHB0ciArPSAzMjsgICAgICAgICAgICAgIC8vIEEgYm94IGlz
IDQgZG91YmxlcyAoNCB4IDhieXRlcykKCiAgICAgICAgaW50IG51bVBhcnRzID0gcmVhZExF
SW50KGIsIHB0cik7CiAgICAgICAgcHRyICs9IDQ7CgogICAgICAgIGludCBudW1Qb2ludHMg
PSByZWFkTEVJbnQoYiwgcHRyKTsKICAgICAgICBwdHIgKz0gNDsKCiAgICAgICAgaWYgKG51
bVBhcnRzIDw9IDApIHJldHVybjsKCiAgICAgICAgcG9seWdvbnMgPSBuZXcgRVNSSVBvbHlb
bnVtUGFydHNdOwogICAgICAgIGludCBvcmlnaW4gPSAwOwogICAgICAgIGludCBfbGVuOwog
ICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgbnVtUGFydHM7IGkrKykgewoKICAgICAgICAg
ICAgaW50IG5leHRPcmlnaW4gPSByZWFkTEVJbnQoYiwgcHRyKTsKICAgICAgICAgICAgcHRy
ICs9IDQ7CgogICAgICAgICAgICBpZiAoaSA+IDApIHsKICAgICAgICAgICAgICAgIF9sZW4g
PSBuZXh0T3JpZ2luIC0gb3JpZ2luOwogICAgICAgICAgICAgICAgaWYgKGlzcG9seWcpICsr
X2xlbjsvL2Nvbm5lY3QgcGFpcnMKICAgICAgICAgICAgICAgIHBvbHlnb25zW2ktMV0gPSBu
ZXcgRVNSSVBvbHkuRVNSSUZsb2F0UG9seShfbGVuKTsKICAgICAgICAgICAgfQogICAgICAg
ICAgICBvcmlnaW4gPSBuZXh0T3Jp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gICAgICAgIGlmIChzdWJsaXN0ICE9
IG51bGwpIHsKICAgICAgICAgICAgICAgIHN1Ymxpc3QuYWRkKHApOwogICAgICAgICAgICB9
IGVsc2UgewogICAgICAgICAgICAgICAgLy8gVGhlcmUgc2hvdWxkIGJlIG9ubHkgb25lLgog
ICAgICAgICAgICAgICAgcC5zZXRBcHBPYmplY3QobmV3IEludGVnZXIoZ2V0UmVjb3JkTnVt
YmVyKCkpKTsgCiAgICAgICAgICAgICAgICBsaXN0LmFkZChwKTsKICAgICAgICAgICAgfQog
ICAgICAgIH0KICAgIH0KCiAgICAvKioKICAgICAqIEdlbmVyYXRlcyBPTUdlb21ldHJ5IGFu
ZCBhZGRzIHRoZW0gdG8gdGhlIGdpdmVuIGxpc3QuIAogICAgICoKICAgICAqIEBwYXJhbSBs
aXN0IHRoZSBnZW9tZXRyeSBsaXN0CiAgICAgKi8KICAgIHB1YmxpYyBPTUdlb21ldHJ5IGFk
ZE9NR2VvbWV0cnkoT01HZW9tZXRyeUxpc3QgbGlzdCkgewoKICAgICAgICBpbnQgblBvbHlz
ID0gcG9seWdvbnMubGVuZ3RoOwogICAgICAgIGlmIChuUG9seXMgPD0gMCkgewogICAgICAg
ICAgICByZXR1cm4gbnVsbDsKICAgICAgICB9CgogICAgICAgIGZsb2F0W10gcHRzOwogICAg
ICAgIGJvb2xlYW4gaXNwb2x5ZyA9IGlzUG9seWdvbigpOwogICAgICAgIE9NR2VvbWV0cnkg
Z2VvbSA9IG51bGw7CgogICAgICAgIGZvciAoaW50IGk9MCwgaiwgazsgaTxuUG9seXM7IGkr
KykgewogICAgICAgICAgICAvLyB0aGVzZSBwb2ludHMgYXJlIGFscmVhZHkgaW4gUkFESUFO
IGxhdCxsb24gb3JkZXIhLi4uCiAgICAgICAgICAgIHB0cyA9ICgoRVNSSVBvbHkuRVNSSUZs
b2F0UG9seSlwb2x5Z29uc1tpXSkuZ2V0UmFkaWFucygpOwogICAgICAgICAgICBpbnQgbGVu
ID0gcHRzLmxlbmd0aDsKICAgICAgICAgICAgaWYgKGlzcG9seWcpIHsKICAgICAgICAgICAg
ICAgIAogICAgICAgICAgICAgICAgZ2VvbSA9IG5ldyBQb2x5Z29uR2VvbWV0cnkuTEwocHRz
LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgT01HcmFw
aGljLlJBRElBTlMsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICBPTUdyYXBoaWMuTElORVRZUEVfU1RSQUlHSFQpOwogICAgICAgICAgICB9IGVsc2Ug
ewogICAgICAgICAgICAgICAgZ2VvbSA9IG5ldyBQb2x5bGluZUdlb21ldHJ5LkxMKHB0cywK
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBPTUdyYXBo
aWMuUkFESUFOUywKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICBPTUdyYXBoaWMuTElORVRZUEVfU1RSQUlHSFQpOwogICAgICAgICAgICB9CiAgICAg
ICAgICAgIGxpc3QuYWRkKGdlb20pOwogICAgICAgIH0KICAgICAgICByZXR1cm4gZ2VvbTsK
ICAgIH0KCiAgICAvKioKICAgICAqIEdldHMgdGhpcyByZWNvcmQncyBib3VuZGluZyBib3gu
CiAgICAgKgogICAgICogQHJldHVybiBhIGJvdW5kaW5nIGJveAogICAgICovCiAgICBwdWJs
aWMgRVNSSUJvdW5kaW5nQm94IGdldEJvdW5kaW5nQm94KCkgewogICAgICAgIHJldHVybiBi
b3VuZHM7CiAgICB9CgogICAgLyoqCiAgICAgKiBHZXRzIHRoaXMgcmVjb3JkJ3Mgc2hhcGUg
dHlwZSBhcyBhbiBpbnQuICBTaGFwZSB0eXBlcwogICAgICogYXJlIGVudW1lcmF0ZWQgb24g
dGhlIFNoYXBlVXRpbHMgY2xhc3MuCiAgICAgKgogICAgICogQHJldHVybiB0aGUgc2hhcGUg
dHlwZSBhcyBhbiBpbnQgKG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rKSB7CiAgICAgICAgICAgIC8vIFJFTUVNQkVSOiBzdG9yZWQgaW50ZXJuYWxseSBh
cyB5LHggb3JkZXIgKGxhdCxsb24gb3JkZXIpCiAgICAgICAgICAgIGZsb2F0W10gcHRzID0g
KChFU1JJUG9seS5FU1JJRmxvYXRQb2x5KXBvbHlnb25zW2ldKS5nZXRSYWRpYW5zKCk7CiAg
ICAgICAgICAgIGludCBuUHRzID0gcHRzLmxlbmd0aDsKICAgICAgICAgICAgZm9yIChpbnQg
aj0wOyBqPG5QdHM7IGorPTIpIHsKICAgICAgICAgICAgICAgIG5CeXRlcyArPSB3cml0ZUxF
RG91YmxlKAogICAgICAgICAgICAgICAgICAgICAgICBiLCBvZmYgKyBuQnl0ZXMsIChkb3Vi
bGUpUHJvak1hdGgucmFkVG9EZWcocHRzW2orMV0pKTsvL3ggKGxvbikKICAgICAgICAgICAg
ICAgIG5CeXRlcyArPSB3cml0ZUxFRG91YmxlKAogICAgICAgICAgICAgICAgICAgICAgICBi
LCBvZmYgKyBuQnl0ZXMsIChkb3VibGUpUHJvak1hdGgucmFkVG9EZWcocHRzW2pdKSk7Ly95
IChsYXQpCiAgICAgICAgICAgIH0KICAgICAgICB9CgogICAgICAgIC8vIHJldHVybiBudW1i
ZXIgb2YgYnl0ZXMgd3JpdHRlbgogICAgICAgIHJldHVybiBuQnl0ZXM7CiAgICB9Cn0K
--------------090006090808030506020807
Content-Type: text/plain;
 name="BasicGeometry.java"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="BasicGeometry.java"

Ly8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKgovLyAKLy8gPGNvcHlyaWdodD4KLy8gCi8vICBCQk4gVGVj
aG5vbG9naWVzLCBhIFZlcml6b24gQ29tcGFueQovLyAgMTAgTW91bHRvbiBTdHJlZXQKLy8g
IENhbWJyaWRnZSwgTUEgMDIxMzgKLy8gICg2MTcpIDg3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F0aEl0ZXJh
dG9yIHBpID0gbmV3IEZsYXR0ZW5pbmdQYXRoSXRlcmF0b3IocGkyLCAuMjUpOwogICAgICAg
IGRvdWJsZVtdIGNvb3JkcyA9IG5ldyBkb3VibGVbNl07CiAgICAgICAgaW50IGNvdW50ID0g
MDsKICAgICAgICBkb3VibGUgc3RhcnRQbnRYID0gMDsKICAgICAgICBkb3VibGUgc3RhcnRQ
bnRZID0gMDsKICAgICAgICBkb3VibGUgZW5kUG50WCA9IDA7CiAgICAgICAgZG91YmxlIGVu
ZFBudFkgPSAwOwoKICAgICAgICB3aGlsZSAoIXBpLmlzRG9uZSgpKSB7CiAgICAgICAgICAg
IGludCB0eXBlID0gcGkuY3VycmVudFNlZ21lbnQoY29vcmRzKTsKICAgICAgICAgICAgZmxv
YXQgZGlzdDsKCiAgICAgICAgICAgIGlmICh0eXBlID09IFBhdGhJdGVyYXRvci5TRUdfTElO
RVRPKSB7CiAgICAgICAgICAgICAgICBzdGFydFBudFggPSBlbmRQbnRYOwogICAgICAgICAg
ICAgICAgc3RhcnRQbnRZID0gZW5kUG50WTsKICAgICAgICAgICAgICAgIGVuZFBudFggPSBj
b29yZHNbMF07CiAgICAgICAgICAgICAgICBlbmRQbnRZID0gY29vcmRzWzFdOwoKICAgICAg
ICAgICAgICAgIGRpc3QgPSAoZmxvYXQpIExpbmUyRC5wdFNlZ0Rpc3Qoc3RhcnRQbnRYLCBz
dGFydFBudFksIGVuZFBudFgsIGVuZFBudFksIChkb3VibGUpeCwgKGRvdWJsZSl5KTsKCiAg
ICAgICAgICAgICAgICBpZiAoZGlzdCA8IGRpc3RhbmNlKSB7CiAgICAgICAgICAgICAgICAg
ICAgZGlzdGFuY2UgPSBkaXN0OwogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAg
IGlmIChEZWJ1Zy5kZWJ1Z2dpbmcoIm9tZ3JhcGhpY2RldGFpbCIpKSB7CiAgICAgICAgICAg
ICAgICAgICAgRGVidWcub3V0cHV0KCJUeXBlOiAiICsgdHlwZSArICIoIiArIAogICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAoY291bnQrKykgKyAiKSwgIiArIAogICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBzdGFydFBudFggKyAiLCAiICsgc3RhcnRQbnRZ
ICsgIiwgIiArCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVuZFBudFggKyAi
LCAiICsgZW5kUG50WSArICIsICIgKyAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgeCArICIsICIgKyB5ICsgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIs
IGRpc3RhbmNlOiAiICsgZGlzdGFuY2UpOwogICAgICAgICAgICAgICAgfQogICAgICAgICAg
ICAgICAgICAgIAogICAgICAgICAgICB9IGVsc2UgewoKICAgICAgICAgICAgICAgIC8vIFRo
aXMgc2hvdWxkIGJlIHRoZSBmaXJzdCBhbmQgbGFzdAogICAgICAgICAgICAgICAgLy8gY29u
ZGl0aW9uLCBTRUdfTU9WRVRPIGFuZCBTRUdfQ0xPU0UKICAgICAgICAgICAgICAgIHN0YXJ0
UG50WCA9IGNvb3Jkc1swXTsKICAgICAgICAgICAgICAgIHN0YXJ0UG50WSA9IGNvb3Jkc1sx
XTsKICAgICAgICAgICAgICAgIGVuZFBudFggPSBjb29yZHNbMF07CiAgICAgICAgICAgICAg
ICBlbmRQbnRZID0gY29vcmRzWzFdOwogICAgICAgICAgICB9CgogICAgICAgICAgICBwaS5u
ZXh0KCk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZGlzdGFuY2U7CiAgICB9CgogICAg
LyoqCiAgICAgKiBSZXR1cm4gdGhlIHNob3J0ZXN0IGRpc3RhbmNlIGZyb20gdGhlIGdyYXBo
aWMgdG8gYW4KICAgICAqIFhZLXBvaW50LiBDaGVja3MgdG8gc2VlIG9mIHRoZSBwb2ludCBp
cyBjb250YWluZWQgd2l0aGluIHRoZQogICAgICogT01HcmFwaGlj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m4gbnVsbDsKICAgICAgICB9Cgog
ICAgICAgIGlmIChzdGFydEluZGV4IDwgMCkgewogICAgICAgICAgICBzdGFydEluZGV4ID0g
MDsKICAgICAgICB9CgogICAgICAgIGlmIChsZW5ndGggPiB4cG9pbnRzLmxlbmd0aCAtIHN0
YXJ0SW5kZXgpIHsKICAgICAgICAgICAgLy8gRG8gYXMgbXVjaCBhcyB5b3UgY2FuLi4uCiAg
ICAgICAgICAgIGxlbmd0aCA9IHhwb2ludHMubGVuZ3RoIC0gc3RhcnRJbmRleCAtIDE7CiAg
ICAgICAgfQogICAgICAgIAogICAgICAgIEdlbmVyYWxQYXRoIHBhdGggPSBuZXcgR2VuZXJh
bFBhdGgoR2VuZXJhbFBhdGguV0lORF9FVkVOX09ERCwgbGVuZ3RoKTsKICAgICAgICAKICAg
ICAgICBpZiAobGVuZ3RoID4gc3RhcnRJbmRleCkgewogICAgICAgICAgICBwYXRoLm1vdmVU
byh4cG9pbnRzW3N0YXJ0SW5kZXhdLCB5cG9pbnRzW3N0YXJ0SW5kZXhdKTsKICAgICAgICAg
ICAgZm9yIChpbnQgaiA9IHN0YXJ0SW5kZXggKyAxOyBqIDwgbGVuZ3RoOyBqKyspIHsKICAg
ICAgICAgICAgICAgIHBhdGgubGluZVRvKHhwb2ludHNbal0sIHlwb2ludHNbal0pOwogICAg
ICAgICAgICB9CiAgICAgICAgCiAgICAgICAgICAgIGlmIChpc1BvbHlnb24pIHsKICAgICAg
ICAgICAgICAgIHBhdGguY2xvc2VQYXRoKCk7CiAgICAgICAgICAgIH0KICAgICAgICB9CiAg
ICAgICAgCiAgICAgICAgcmV0dXJuIHBhdGg7CiAgICB9CgogICAgLyoqCiAgICAgKiBVdGls
aXR5IG1ldGhvZCB0aGF0IGl0ZXJhdGVzIG92ZXIgYSBTaGFwZSBvYmplY3QgYW5kIHByaW50
cyBvdXQgdGhlIHBvaW50cy4KICAgICAqLwogICAgcHVibGljIHN0YXRpYyB2b2lkIGRlc2Ny
aWJlU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mlyc3RQb2ludCA9IHRydWU7IC8vYXM6IHdhcyBmYWxzZTsgCiAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gU2VlIEVTUklQb2x5Z29uUmVj
b3JkLmFkZE9NR3JhcGhpY3MKCiAgICAgICAgLy8gSWYgYm90aCBudWxsLCByZXR1cm4gbnVs
bC4KICAgICAgICBpZiAoYWRkU2hhcGUgPT0gbnVsbCkgewogICAgICAgICAgICByZXR1cm4g
dG9TaGFwZTsKICAgICAgICB9CgogICAgICAgIGlmICh0b1NoYXBlID09IG51bGwpIHsKICAg
ICAgICAgICAgcmV0dXJuIGFkZFNoYXBlOwogICAgICAgIH0KCiAgICAgICAgUGF0aEl0ZXJh
dG9yIHBpMiA9IGFkZFNoYXBlLmdldFBhdGhJdGVyYXRvcihudWxsKTsKICAgICAgICBGbGF0
dGVuaW5nUGF0aEl0ZXJhdG9yIHBpID0gbmV3IEZsYXR0ZW5pbmdQYXRoSXRlcmF0b3IocGky
LCAuMjUpOwogICAgICAgIGRvdWJsZVtdIGNvb3JkcyA9IG5ldyBkb3VibGVbNl07CgogICAg
ICAgIHdoaWxlICghcGkuaXNEb25lKCkpIHsKICAgICAgICAgICAgaW50IHR5cGUgPSBwaS5j
dXJyZW50U2VnbWVudChjb29yZHMpOwogICAgICAgICAgICBpZiAoZmlyc3RQb2ludCkgewog
ICAgICAgICAgICAgICAgaWYgKERFQlVHKSB7CiAgICAgICAgICAgICAgICAgICAgRGVidWcu
b3V0cHV0KCJDcmVhdGluZyBuZXcgc2hhcGUsIGZpcnN0IHBvaW50ICIgKwogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAoZmxvYXQpY29vcmRzWzBdICsgIiwgIiArIChmbG9h
dCljb29yZHNbMV0pOwogICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgdG9TaGFw
ZS5tb3ZlVG8oKGZsb2F0KWNvb3Jkc1swXSwgKGZsb2F0KWNvb3Jkc1sxXSk7CiAgICAgICAg
ICAgICAgICBmaXJzdFBvaW50ID0gZmFsc2U7CiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAg
ICAgICAgICAgICBpZiAoREVCVUcpIHsKICAgICAgICAgICAgICAgICAgICBEZWJ1Zy5vdXRw
dXQoIiBhZGRpbmcgcG9pbnQgWyIgKyB0eXBlICsgIl0gKCIgKyAocG9pbnRDb3VudCsrKSAr
ICIpICIgKyAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmbG9hdCljb29y
ZHNbMF0gKyAiLCAiICsgKGZsb2F0KWNvb3Jkc1sxXSk7CiAgICAgICAgICAgICAgICB9CiAg
ICAgICAgICAgICAgICB0b1NoYXBlLmxpbmVUbygoZmxvYXQpY29vcmRzWzBdLCAoZmxvYXQp
Y29vcmRzWzFdKTsKICAgICAgICAgICAgfQogICAgICAgICAgICBwaS5uZXh0KCk7CiAgICAg
ICAgfQoKICAgICAgICBpZiAoREVCVUcpIHsKICAgICAgICAgICAgRGVidWcub3V0cHV0KCIg
LS0gZW5kIHBvaW50ICgiICsgcG9pbnRDb3VudCArICIpIik7CiAgICAgICAgfQoKICAgICAg
ICByZXR1cm4gdG9TaGFwZTsKICAgIH0KCgogICAgLyoqCiAgICAgKiBDcmVhdGUgYSBnZW5l
cmFsIHBhdGggZnJvbSBhIHBvaW50IHBsdXMgYSBoZWlnaHQgYW5kIHdpZHRoOwogICAgICov
CiAgICBwdWJsaWMgc3RhdGljIEdlbmVyYWxQYXRoIGNyZWF0ZUJveFNoYXBlKGludCB4LCBp
bnQgeSwgaW50IHdpZHRoLCBpbnQgaGVpZ2h0KSB7CiAgICAgICAgaW50W10geHMgPSBuZXcg
aW50WzRdOwogICAgICAgIGludFtdIHlzID0gbmV3IGludFs0XTsKCiAgICAgICAgeHNbMF0g
PSB4OwogICAgICAgIHlzWzBdID0geTsKICAgICAgICB4c1sxXSA9IHggKyB3aWR0aDsKICAg
ICAgICB5c1sxXSA9IHk7CiAgICAgICAgeHNbMl0gPSB4ICsgd2lkdGg7CiAgICAgICAgeXNb
Ml0gPSB5ICsgaGVpZ2h0OwogICAgICAgIHhzWzNdID0geDsKICAgICAgICB5c1szXSA9IHkg
KyBoZWlnaHQ7CgogICAgICAgIHJldHVybiBjcmVhdGVTaGFwZSh4cywgeXMsIHRydWUpOwog
ICAgfQp9Cg==
--------------090006090808030506020807--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jun 25 11:35:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5PFZLA15830
	for openmap-users-outgoing; Fri, 25 Jun 2004 11:35:21 -0400 (EDT)
Message-ID: <20040625153508.55466.qmail@web14921.mail.yahoo.com>
Date: Fri, 25 Jun 2004 08:35:08 -0700 (PDT)
From: Qinyan Zhou <zhouqinyan527@yahoo.com>
Subject: Re: [OpenMap Users] displaying an tif image file
To: Don Dietrick <dietrick@bbn.com>
Cc: openmap-users@bbn.com
In-Reply-To: <FAA7FE73-C566-11D8-87DA-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Dear all,

The properties file is as following:
imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
imageLayer.prettyName=My Image Layer
imageLayer.tileFile=file:///image/csv/imageCSV.csv
imageLayer.fileHasHeader=true

For displaying a tif image, the csv file is like this:
Upper_Latitude,Western_Longitude,Lower_Latitude,Eastern_Longitude,URL_of_image
51.5287899452,-0.1136268584,51.5279991986,-0.0649550481,file:///C:/Perseus/bolles/image/geotiff/Stow.tif

The errors for display a tif image is as following:
CSVTIPI: file: data/imageCSV.csv
CSVTIPI: file has header: true
CSVTIPI: getRectangle
CSVFile.read: [Upper_Latitude, Western_Longitude,
Lower_Latitude, Eastern_Longitude, URL_of_image]
CSVFile.read: [51.5287899452, -0.1136268584,
51.5279991986, -0.0649550481,
file:///C:/Perseus/bolles/image/geotiff/Stow.tif]
CSVFile: read in 1 records
CSVTIPI: record: [51.5287899452, -0.1136268584,
51.5279991986, -0.0649550481,
file:///C:/Perseus/bolles/image/geotiff/Stow.tif]
INTERRUPTED while loading Image
CSVTIPI: getRectangle
***ERROR***
My Image
Layer|LayerWorker.construct():java.lang.IllegalArgumentException:
Width(-1) and height (-1) cannot be <=0
***********
......

However, I also tried to display a jpg image after I
convert a tif image to a jpg image. The properties
file remains same, but the cvs file is changed to the
following:
Upper_Latitude,Western_Longitude,Lower_Latitude,Eastern_Longitude,URL_of_image
51.5287899452,-0.1136268584,51.5279991986,-0.0649550481,file:///C:/Perseus/bolles/image/geotiff/Stow.jpg

The errors I got for display the jpg is as following:
***ERROR***
My Image
Layer|LayerWorker.construct():java.lang.OutOfMemoryError
***********

Both similar methods give me two totally different
error messages. Have I missed anything? Does anybody
have the similar experience?

Thanks a lot for your kind help.
Jessica

--- Don Dietrick <dietrick@bbn.com> wrote:
> The file doesn't have a header line, so your
> settings are causing the 
> reader to skip your line.
> 
> - Don
> 
> On Jun 23, 2004, at 6:16 PM, Qinyan Zhou wrote:
> 
> > Dear All,
> >
> > I started fooling around with displaying tifs. The
> tif
> > image files I have are not georeferenced, but with
> a
> > world file containing georeferencing infomation. I
> do
> > know the lat/lon of the upper left corner and the
> > lower right one of the image, and also change the
> > properties file(see csv file below).
> >
> > cvs file contains
> >
>
-0.1163994,51.5043442,-0.0667022,51.5284276,file:///image/Stow.tif
> >
> > the part added to properties
> >
>
imageLayer.class=com.bbn.openmap.plugin.CSVTiledImagePlugIn
> > imageLayer.prettyName=My Image Layer
> > imageLayer.tileFile=file:///image/csv/imageCSV.csv
> > imageLayer.fileHasHeader=true
> >
> > But nothing happens. Have I missed anything? Or
> any
> > suggestions?
> >
> > Thanks,
> > Jessica
> >
> >
> >
> >
> >
> >
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> > http://promotions.yahoo.com/new_mail
> > --
> > [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> > with the following text in the BODY of the message
> "unsubscribe 
> > openmap-users"]
> >
> >
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jun 25 14:43:13 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5PIgWp18949
	for openmap-users-outgoing; Fri, 25 Jun 2004 14:42:32 -0400 (EDT)
Message-ID: <40DC717C.7090100@drdc-rddc.gc.ca>
Date: Fri, 25 Jun 2004 14:39:56 -0400
From: Wen Chang <Wen.Chang@drdc-rddc.gc.ca>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.4.1) Gecko/20031125
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Wen Chang <Wen.Chang@drdc-rddc.gc.ca>
Cc: openmap-users@bbn.com
Subject: Re: [OpenMap Users] possible memory leak in OMGraphicHandler
References: <40D894E4.7010201@drdc-rddc.gc.ca>
In-Reply-To: <40D894E4.7010201@drdc-rddc.gc.ca>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by amavisd-new at drenet.dnd.ca
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

hi! guys, I just move my testing from solaris to red hat linux and 
everything works. I had run the testing for over 24 hours now. It is 
interesting that I used the latest java sdk 1.4.2 on both systems, 
however it was more problematic especially for GUI display on Solaris 
than Linux. I guess it is something to do with the JVM (or ) or the 
underlying system!

Just want to share some experience with others out there. Look like 
"write once, run everywhere" is not always happening in the real world.

cheers
Wen






Wen Chang wrote:
> Guys! As I run animation test for say 10 hours or so, with timer set to 
> run. The program would run out of memory at the end say 10 hours 
> approximately. I use the vmstat program to observe the memory space, and 
> found that free memory space is keep going down and running out of 
> memory at the end. As I narrowed down the problem, I found there maybe 
> some potential memory leak problem in OMGraphicHandler. I would like to 
> look for ways to fix this, but does not know where exactly to start?
> 
> 
> I run my program on Solaris system, I wonder if anyone got the same 
> problem as I had or does anyone got any fix?
> 
> thank you
> Wen
> 
> 
> -- 
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
> 


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jun 25 15:25:22 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5PJP3D16012
	for openmap-users-outgoing; Fri, 25 Jun 2004 15:25:03 -0400 (EDT)
Message-ID: <20040625191810.54948.qmail@web53910.mail.yahoo.com>
Date: Fri, 25 Jun 2004 12:18:10 -0700 (PDT)
From: saini vinod <vinnu_sg@yahoo.com>
Subject: [OpenMap Users] my first application
To: openmap-users@bbn.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk



  Hi guys...

       I am new to openmap and I ran my first
application (SimpleMap.java) taken from openmap.org.It
could able to open the applet but it shows nothing on
the applet..


It gives the following error....
  
        *** ERROR ***

ShapeLayer SpatialIndex: problem setting up the shape
files:

      shape file: data/shape/dcwpo-browse.shp

     spatial index file: data/shape/dcwpo-browse.ssx

************* 

     Please help me in this regard....

Thanks,

Vinod

=====
 >>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<
 

                    Action speaks louder than words 


>>>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<<




	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jun 27 18:29:33 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5RMQAM17639
	for openmap-users-outgoing; Sun, 27 Jun 2004 18:26:10 -0400 (EDT)
In-Reply-To: <ED9E54204134A345B758C3EA1738A8DC29D2E7@camexch01.int.gestalt-llc.com>
References: <ED9E54204134A345B758C3EA1738A8DC29D2E7@camexch01.int.gestalt-llc.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <2B1621D0-C878-11D8-8E70-000A95BCCC44@bbn.com>
Cc: <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Scale, Ceiling and Zoom
Date: Sun, 27 Jun 2004 13:25:45 -0700
To: "Andrew Schulak" <aschulak@gestalt-llc.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i5RMQ9717633
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Andrew,

On Jun 22, 2004, at 12:05 PM, Andrew Schulak wrote:

> Hi all,
>  
> I just started working with openmap and I was wondering if you all 
> could point me in the right direction to find out information on how 
> to:
>  
> 1. Set a ceiling of 50,000 feet for a map view.

I think this depends on a bunch of other factors - map size, projection 
type.  I guess you could figure out the pixel distances for some 
relative distances on the map, and use those measurements to figure out 
what the scale would have to be to give the appearance of 50,000 ft.

> 2. What exactly the float is when creating a ZoomEvent (i.e. whats the 
> best way to zoom in and out)

It's a multiplier to set against the current scale.

> 3. What exactly it means to set the scale of the Proj object.

It's a ratio to provide control over the pixel/projection coordinates 
relationship.  That's why the answer to #1 is hard, because the scale 
doesn't really have units to bounce the height over the map off of.

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jun 27 18:29:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5RMQDa17650
	for openmap-users-outgoing; Sun, 27 Jun 2004 18:26:13 -0400 (EDT)
In-Reply-To: <77A645AA6D90F94498B996D8D0DF3DD5EC7064@RMTVA-XVC01.info.trw.com>
References: <77A645AA6D90F94498B996D8D0DF3DD5EC7064@RMTVA-XVC01.info.trw.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <F2C7BD0F-C875-11D8-8E70-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Converting distance to pixels?
Date: Sun, 27 Jun 2004 13:09:51 -0700
To: <Shahak.Nagiel@ngc.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Shahak,

You'd have to do the calculations to figure this out.  First, you would 
have to use the methods in the com.bbn.openmap.proj.GreatCircle class 
to figure out a lat/lon point that is a certain distance away from a 
lat/lon point on the line (perpendicular to the line).  The 
spherical_between method will give you that lat/lon point, given a 
starting point and an azimuth and a distance.

Then, you would use the projection class forward method to find out the 
pixel locations of the two points, and then calculate the pixel 
distance between them.  Double that distance would be the stroke width.

Depending on the orientation and length of the line, however, that 
width may not be accurate for the entire length of the line, since the 
pixel/distance ratio changes depending on the projection type and 
location of the line.  In that case, you'd have to do the algorithm for 
many points on the line, and draw the different thicknesses as required 
(not using stroke, but calling java.awt.Graphics methods).

Hope this helps,

- Don

On Jun 23, 2004, at 11:50 AM, <Shahak.Nagiel@ngc.com> wrote:

> I'm trying to render an OMPoly (series of lines), with each line 
> representing an area of interest.  Each line has a given half-width 
> (in KM or NM), and I'd like to represent that second-dimension with 
> the line width.  However, it's not obvious to me how to compute the 
> number of pixels required for the line stroke given the (half-)width.  
> I'm assuming it would be based on the scale and projection.  (I'd be 
> content with a fixed line width even though, accurately, it would 
> fluctuate along certain routes of cylindrical projections.)
>
> Thanks,
> Shahak Nagiel
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jun 27 18:29:36 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5RMQJ017674
	for openmap-users-outgoing; Sun, 27 Jun 2004 18:26:19 -0400 (EDT)
In-Reply-To: <40D84CD3.5090604@fugro-robertson.com>
References: <200406212134.i5LLYhob015274@gandalf.bbn.com> <6F43EDF4-C457-11D8-A8FB-0003939EFE88@knauth.org> <40D84CD3.5090604@fugro-robertson.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <AA9CD649-C878-11D8-8E70-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Plotting text from Shapefiles
Date: Sun, 27 Jun 2004 13:29:19 -0700
To: Christian Weaves <christian.weaves@fugro-robertson.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Christian,

The ShapeLayer and EsriPlugIn don't display data from the dbf file, 
you'll have to write code to do that.  You can use the DbfTableModel to 
parse the dbf file.  The OMGraphicLists for the .shp file are in the 
same order as the rows in the DbfTableModel, so you can create OMText 
objects for the street names you want, and use the corresponding OMPoly 
to set up the location and orientation of the OMText.

Hope this helps,

Don

On Jun 22, 2004, at 8:14 AM, Christian Weaves wrote:

> Hi!
>
> To my map I add an shapefile using the properties file.  This draws 
> street roads.  Contained in the corresponding dbf file are various 
> pieces of information (street name, county name etc etc).  Is it 
> possible (via the properties file) to plot these streetnames on the 
> map and rotate the text?  Do I have to use an EsriShapefile or 
> something?
>
> I've trawled  through the mail list archives but have been unable to 
> find an example of this in properties file format.
>
> My dbf file structure is like this:
>
> ID     TEXT_ANGLE    TEXT_SIZE     ITEM_CODE     ITEM_LABEL
> 1        22                        3.5                    030          
>           Building
>
> Here's a of my properties file:
>
> Lines.class=com.bbn.openmap.layer.shape.ShapeLayer
> Lines.prettyName=Lines
> Lines.shapeFile=/data/shape/Background/LANDLINE_LINE_line.shp
> Lines.spatialIndex=/data/shape/Background/LANDLINE_LINE_line.ssx
>
> Thanks very much! Christian
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jun 27 18:29:36 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5RMQDH17651
	for openmap-users-outgoing; Sun, 27 Jun 2004 18:26:13 -0400 (EDT)
In-Reply-To: <CBFF89733A2EB34B88BD7A12BC575A8E036B1EA1@WMRI000044.corp.wmdata.net>
References: <CBFF89733A2EB34B88BD7A12BC575A8E036B1EA1@WMRI000044.corp.wmdata.net>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <F1E45D74-C876-11D8-8E70-000A95BCCC44@bbn.com>
Cc: <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: SV: [OpenMap Users] re-projection an image
Date: Sun, 27 Jun 2004 13:16:59 -0700
To: "Marklund David" <damak@wmdata.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i5RMQC717645
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi David,

On Jun 23, 2004, at 6:21 AM, Marklund David wrote:

> Hi all,
> I have tried and tried these options for plotting images, at now I 
> have a OmRaster that looks good, but does not follow the scale when 
> zooming or panning. Any ideas ?

Is the image changing location?  Are you resizing the destination image 
based on the new projection parameters?

> I would also like to know how to configure a EarthImagePlugIn layer 
> and how to create a '-180/180 longitude -90/90 latitude in the 
> Transverse Mercator projection ' image from my own images.

The javadocs for the EarthImagePlugIn have configuration information.

I've never created an image like that, I usually use ones from NASA.  
But you could use OpenMap to create one.  You could create a Mercator 
projection for the size image you want, create a BufferedImage for that 
size, and set the pixel values based on what should be painted at each 
lat/lon.  If you create a BufferedImage with ARGB type, you can leave 
some pixels clear for the areas you don't have data.

- Don

> -----Ursprungligt meddelande-----
> Från: Don Dietrick [mailto:dietrick@bbn.com]
> Skickat: den 22 juni 2004 13:17
> Till: 'Ben Podoll '
> Kopia: Keith Alphonso; 'openmap-users@bbn.com '
> Ämne: Re: [OpenMap Users] re-projection an image
>
> Ben,
>
> The com.bbn.openmap.plugin.earthImage.EarthImagePlugIn does this (what
> Keith describes), but it assumes that the image ranges from -180/180
> longitude -90/90 latitude in the Transverse Mercator projection.  It's
> good for those NASA images.
>
> - Don
>
> On Jun 21, 2004, at 10:25 PM, Keith Alphonso wrote:
>
>> If you know how to calculate the lat/lon from each pixel in your
>> image, you
>> can use the following algorightm to project into an openmap 
>> projection.
>>
>> loop through each pixel in the openmap image object (OMRaster), map
>> that
>> pixel to a lat/lon then use your algorithm to match that lat/lon into
>> your
>> images pixel.  Copy that pixel value over and move on.  It aint fast,
>> but it
>> works.
>>
>>
>> -----Original Message-----
>> From: Ben Podoll
>> To: openmap-users@bbn.com
>> Sent: 6/21/04 4:36 PM
>> Subject: [OpenMap Users] re-projection an image
>>
>> If I have an image, and I know all the bounds and size and projection
>> (which
>> is LCC) and I need to convert it into an OpenMap supported projection
>> (directly from the image - PNG or JPEG) how can I do this? Anybody 
>> have
>> an
>> application already written to do such a thing?
>>
>>
>> --
>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>> --
>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>>
>>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jun 27 18:29:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5RMQJe17673
	for openmap-users-outgoing; Sun, 27 Jun 2004 18:26:19 -0400 (EDT)
In-Reply-To: <20040625191810.54948.qmail@web53910.mail.yahoo.com>
References: <20040625191810.54948.qmail@web53910.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <3D26DF9E-C874-11D8-8E70-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] my first application
Date: Sun, 27 Jun 2004 12:57:37 -0700
To: saini vinod <vinnu_sg@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Saini,

The share directory isn't being added to your classpath, so the layer  
can't find the data files.  Are you using the script for those example  
classes to start the application?

- Donn

On Jun 25, 2004, at 12:18 PM, saini vinod wrote:

>
>
>   Hi guys...
>
>        I am new to openmap and I ran my first
> application (SimpleMap.java) taken from openmap.org.It
> could able to open the applet but it shows nothing on
> the applet..
>
>
> It gives the following error....
>
>         *** ERROR ***
>
> ShapeLayer SpatialIndex: problem setting up the shape
> files:
>
>       shape file: data/shape/dcwpo-browse.shp
>
>      spatial index file: data/shape/dcwpo-browse.ssx
>
> *************
>
>      Please help me in this regard....
>
> Thanks,
>
> Vinod
>
> =====
>>>>>>>>>>>>>>> *******************************************<<<<<<<<<<<<<< 
>>>>>>>>>>>>>>> <<<<<<
>
>
>                     Action speaks louder than words
>
>
>>>>>>>>>>>>>>>> *******************************************<<<<<<<<<<<<< 
>>>>>>>>>>>>>>>> <<<<<<<<
>
>
>
>
> 	
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe  
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Mon Jun 28 12:59:48 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5SGwkR26338
	for openmap-users-outgoing; Mon, 28 Jun 2004 12:58:46 -0400 (EDT)
Message-ID: <DE16E20AEE238745B2B5B0D8291CFDFFD18FB4@mail.cra.com>
From: Chris Hopkins <chopkins@cra.com>
To: "'openmap-users@bbn.com'" <openmap-users@bbn.com>
Subject: [OpenMap Users] Drag-N-Drop in OM 4.6
Date: Mon, 28 Jun 2004 12:43:03 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Hi all -

I'm currently using OpenMap 4.6 and trying to work with drag-n-drop. I have
extended the DefaultDnDCatcher class (and replaced the dnd catcher in the
opernmap.properties file with my own) and can now dispatch the drop the my
layers using my homegrown mechanism. However, I've noticed that I am not
getting the call to drop(...) when I try to modify the drag action using the
Control key (for copying instead of moving).

I have overridden the setLayers method of DefaultDnDCatcher like so:

  public void setLayers(Layer[] allLayers) {
      DropTarget dropTarget;
      // remove old layers list
      layers.clear();
      for (int i = 0; i < allLayers.length; i++) {
          // create a new drop target
          dropTarget = new DropTarget(allLayers[i],
DnDConstants.ACTION_COPY_OR_MOVE, this, true);
          if (allLayers[i] instanceof OMGraphicHandlerLayer) {
              // keep a reference to potential drop target
              layers.put(allLayers[i].getName(), allLayers[i]);
          }
      }
  }

so I can create a drop target that supports both copy and move. The
DefaultDnDCatcher only suppoer ACTION_MOVE. However, I'm still not receiving
a drop notification when I have the Control key pressed.

I have noticed that with the default application, when I hit the Control
key, the cursor changes to a circle with a line through it indicating that
the drop is not valid. I have looked at the construction of the drop target
and drag source and I cannot figure out why the Control modifier is not
registering the drop. Has anyone ran into this and figure a way around it. I
really need to be able to get both move and copy drop events.

Thanks,
Chris

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jun 29 16:55:12 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5TKr6405561
	for openmap-users-outgoing; Tue, 29 Jun 2004 16:53:06 -0400 (EDT)
Message-ID: <20040629205254.33971.qmail@web53901.mail.yahoo.com>
Date: Tue, 29 Jun 2004 13:52:54 -0700 (PDT)
From: saini vinod <vinnu_sg@yahoo.com>
Subject: [OpenMap Users] regarding .shp and .shx files
To: openmap-users@bbn.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk



Hi ,

 How can I set  my own .shp and .shx files in
the SimpleMap application( openmap.org) instead
of /data/shape/dcwpo-browse.ssx and
/data/shape/dcwpo-browse.shp

 Do I need to do any thing in the openmap.properties 
file?


Thanku all
Vinod

=====
 >>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<
 

                    Action speaks louder than words 


>>>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<<




		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jun 29 17:51:13 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i5TLomw09490
	for openmap-users-outgoing; Tue, 29 Jun 2004 17:50:48 -0400 (EDT)
Message-Id: <200406292150.i5TLofSM017791@gandalf.bbn.com>
From: "Ben Podoll" <benjamin.podoll@und.edu>
To: <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] regarding .shp and .shx files
Date: Tue, 29 Jun 2004 16:48:05 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcReIlytsa0F+5FRSO2e5y0/dyfcbgAACBFQ
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
In-reply-to: <20040629205254.33971.qmail@web53901.mail.yahoo.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Either add your shp files to the location the default ones are at
(/data/shape/) or just change the path in the openmap.properties file to
pint to the location your shp files are at...

   > -----Original Message-----
   > From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]
   > On Behalf Of saini vinod
   > Sent: Tuesday, June 29, 2004 3:53 PM
   > To: openmap-users@bbn.com
   > Subject: [OpenMap Users] regarding .shp and .shx files
   > 
   > 
   > Hi ,
   > 
   >  How can I set  my own .shp and .shx files in
   > the SimpleMap application( openmap.org) instead
   > of /data/shape/dcwpo-browse.ssx and
   > /data/shape/dcwpo-browse.shp
   > 
   >  Do I need to do any thing in the openmap.properties
   > file?
   > 
   > 
   > Thanku all
   > Vinod


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  1 12:10:54 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i61G78D25693
	for openmap-users-outgoing; Thu, 1 Jul 2004 12:07:08 -0400 (EDT)
Message-ID: <DE16E20AEE238745B2B5B0D8291CFDFFD18FCF@mail.cra.com>
From: Chris Hopkins <chopkins@cra.com>
To: "'openmap-users@bbn.com'" <openmap-users@bbn.com>
Subject: [OpenMap Users] RTFM
Date: Thu, 1 Jul 2004 12:06:54 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Don, et. al. -

So, I assume that the EditableOM* classes have been around for a while?
*sigh* And to think, I used a homegrown solution for creating areas on the
map in the last project I used OpenMap with (OM 4.4.2). That's what I get
for not reading the API docs more closely.

If it's a recent addition...thanks! They are awesome. Keep up the great
work.

  - Chris

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  1 13:33:31 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i61HWqS04389
	for openmap-users-outgoing; Thu, 1 Jul 2004 13:32:52 -0400 (EDT)
In-Reply-To: <DE16E20AEE238745B2B5B0D8291CFDFFD18FCF@mail.cra.com>
References: <DE16E20AEE238745B2B5B0D8291CFDFFD18FCF@mail.cra.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <ABE5806C-CB84-11D8-90D8-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: "'openmap-users@bbn.com'" <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] RTFM
Date: Thu, 1 Jul 2004 10:32:48 -0700
To: Chris Hopkins <chopkins@cra.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

RTFCHANGELOG  :)

Apparently, they've been around since 4.0/3.7.  I didn't realize it had 
been that long.

Thanks,

- Don

On Jul 1, 2004, at 9:06 AM, Chris Hopkins wrote:

>
> Don, et. al. -
>
> So, I assume that the EditableOM* classes have been around for a while?
> *sigh* And to think, I used a homegrown solution for creating areas on 
> the
> map in the last project I used OpenMap with (OM 4.4.2). That's what I 
> get
> for not reading the API docs more closely.
>
> If it's a recent addition...thanks! They are awesome. Keep up the great
> work.
>
>   - Chris
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  1 14:26:39 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i61IQF507798
	for openmap-users-outgoing; Thu, 1 Jul 2004 14:26:15 -0400 (EDT)
Message-ID: <20040701182603.67991.qmail@web53909.mail.yahoo.com>
Date: Thu, 1 Jul 2004 11:26:03 -0700 (PDT)
From: saini vinod <vinnu_sg@yahoo.com>
Subject: RE: [OpenMap Users] regarding .shp and .shx files
To: openmap-users@bbn.com
In-Reply-To: <200406292150.i5TLofSM017791@gandalf.bbn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Ben,

      I have a problem with .shp and .shx file.When I
am adding my own .shp files and .shx files as shown in
the below code ,I am getting an error. here is the
code that i used and the error I got
 

    layerprops.put("prettyname","political solid");
    layerprops.put("lineColor","000000");
    layerprops.put("fillColor","BDDE83");
    layerprops.put("shapeFile","Ci10de03.shp");
    layerprops.put("spatialIndex","ci10de03.ssx");
    layer.setProperties(layerprops);
    map_Bean.add(layer);

*** ERROR ***

SpatialIndex.locateRecords: IOException.

*************

java.io.IOException: Invalid polygon record. Expected
shape type 1 but found 0

at
com.bbn.openmap.layer.shape.ESRIPolygonRecord.<init>(Unknown
Source)

at
com.bbn.openmap.layer.shape.SpatialIndex.makeESRIRecord(Unknown
Source)

at
com.bbn.openmap.layer.shape.SpatialIndex.locateRecords(Unknown
Source)

at
com.bbn.openmap.layer.shape.ShapeLayer.computeGraphics(Unknown
Source)

at
com.bbn.openmap.layer.shape.ShapeLayer$ShapeWorker.construct(Unknown
Source)

at com.bbn.openmap.util.SwingWorker$2.run(Unknown
Source)

at java.lang.Thread.run(Thread.java:534) 

-----------------------


I have set the Classpath correctly..

thanks,
Vinod.



=====
 >>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<
 

                    Action speaks louder than words 


>>>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<<



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  1 18:57:39 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i61MuEh19758
	for openmap-users-outgoing; Thu, 1 Jul 2004 18:56:14 -0400 (EDT)
Message-ID: <20040701224922.70087.qmail@web52904.mail.yahoo.com>
Date: Thu, 1 Jul 2004 15:49:22 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: [OpenMap Users] saving filled polygons to shapfiles
To: openmap-users@bbn.com
In-Reply-To: <20040701182603.67991.qmail@web53909.mail.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


 Again experimenting with ExampleApplication.java to
create shaded polygons with OM and saving them to
shapefiles.   This time the filled polygon is drawn to
the EsriLayer correctly and displayed/painted
correctly.   I can save this layer to shapefiles using
the code below:

  File file = fileChooser.getSelectedFile();
  String path = file.getCanonicalPath();
  EsriGraphicList list = layer.getEsriGraphicList();
  ShpOutputStream pos = new ShpOutputStream(
                                  new
FileOutputStream(path + ".shp"));
  int[][] indexData = pos.writeGeometry(list);

   ShxOutputStream xos = new ShxOutputStream(
                                 new
FileOutputStream(path + ".shx"));
   xos.writeIndex(indexData, list.getType(),
list.getExtents());

   DbfOutputStream dos = new DbfOutputStream(
                                 new
FileOutputStream(path + ".dbf"));
   dos.writeModel(layer.getModel());


PROBLEM is that when I re-read these shapefiles I only
get polygon outline but the filled in color is not
showing up.  Where are the filled in properties of the
polygon saved to?  Shouldn't fill-in descriptions be
also saved into the shapefiles  or is this a
properties file responsability?

I've have searchd the FM to no avail.

tia 

                                


	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul  6 16:27:07 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i66KNAq14151
	for openmap-users-outgoing; Tue, 6 Jul 2004 16:23:10 -0400 (EDT)
Message-ID: <20040706202258.26148.qmail@web53903.mail.yahoo.com>
Date: Tue, 6 Jul 2004 13:22:58 -0700 (PDT)
From: saini vinod <vinnu_sg@yahoo.com>
Subject: [OpenMap Users] RouteLayer
To: openmap-users@bbn.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


 Hi,

  I am getting an error 
cannot resolve symbol
symbol class :RouteLayer.



 Thank you all,
Vinod


  


=====
 >>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<
 

                    Action speaks louder than words 


>>>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<<




		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul  6 17:57:55 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i66LvRO15329
	for openmap-users-outgoing; Tue, 6 Jul 2004 17:57:27 -0400 (EDT)
Message-Id: <200407062157.i66LvJox012000@gollum.bbn.com>
X-Qmail-Scanner-Mail-From: benjamin.podoll@und.edu via avout1
X-Qmail-Scanner: 1.22 (Clear:RC:1(69.9.252.25):. Processed in 0.059238 secs)
From: "Ben Podoll" <benjamin.podoll@und.edu>
To: <openmap-users@bbn.com>
Cc: "'OpenMap Support'" <openmap@bbn.com>
Subject: [OpenMap Users] custom button actions / tooltip text on point data
Date: Tue, 6 Jul 2004 16:57:03 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
Thread-index: AcRjpCtIiUl2nMFGRF2zH8SGXeDATA==
X-Qmail-Scanner-Message-ID: <108915103367221772@avout1>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Question 1:

What class should I look at to get an idea of how to create my own custom
buttons with actions to do things?  Basically what I want to do is extremely
simple, just have a bunch of GIS icons like rivers, railroads, ... and allow
the user to toggle them on or off by clicking (instead of using the "Layers"
menu).

Question 2:

If I need the user to click on a road or interstate for detailed information
how can I do that? I read and display these roads from a shapefile so I need
to capture that mouse click event when done on it? I know there are easy
ways to capture click events on points on the map but roads run all over the
place and they don't really have a coordinate reference to check if they are
being hit, or do they?

Question 3:

How do I get a tooltip for a layer, for instance, if I have point data on my
display and I want the user to click on a point to get the detailed info? I
know there was a example layer but I can't find which one that was, can
someone point me in the right direction...


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 10:16:42 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67EFkC24750
	for openmap-users-outgoing; Wed, 7 Jul 2004 10:15:46 -0400 (EDT)
Date: Wed, 07 Jul 2004 15:15:24 +0100
From: "Gatrell, Mark (UK)" <mark.gatrell@baesystems.com>
Subject: [OpenMap Users] Creating CSVTiledImagePlugin
To: "Openmap-Users (E-mail)" <openmap-users@bbn.com>
Message-id: <F4757F038CDD79499CF1F293240924791067C3@glkms0005.greenlnk.net>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft Exchange V6.0.6556.0
Content-type: text/plain;	charset="iso-8859-1"
Thread-Topic: Creating CSVTiledImagePlugin
Thread-Index: AcRkLNeAVNVyCXn2TYOfF0HgMdaPAQ==
content-class: urn:content-classes:message
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
X-OriginalArrivalTime: 07 Jul 2004 14:15:24.0501 (UTC)
 FILETIME=[D8645850:01C4642C]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i67EFk724747
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Hi
	Is it possible to create a CSVTiledImagePlugin layer dynamically instead of using the properties file route?.

	I would like to change the layers properties on the fly!

	If so has anyone got any example code?

	.. I can create an instance of CSVTiledImagePlugin but i,m not sure how to set the various properties etc etc

	Any help is appreciated

	Regards

	Mark.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 11:00:22 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67F02r25334
	for openmap-users-outgoing; Wed, 7 Jul 2004 11:00:02 -0400 (EDT)
Message-ID: <8EA02A1D9E8B7C4D8903A41A18929A136BDA8F@flol01-mail01.ad.gd-ais.com>
From: "Norfleet, Timothy" <timothy.norfleet@gd-ais.com>
To: openmap-users@bbn.com
Subject: [OpenMap Users] Opaque OMCircle
Date: Wed, 7 Jul 2004 11:00:21 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46433.20328CF0"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C46433.20328CF0
Content-Type: text/plain

Hi all,
Can anyone give me suggestion on how to make my fill color Opaque using the
code below? I can make it solid but not opaque.


OMCircle fovCircle = new OMCircle(latitude, longitude,newRadius);
        fovCircle.setLatLon(latitude, longitude);
        fovCircle.setRadius(newRadius);
        fovCircle.setFillPaint(Color.green);
        fovCircle.setLinePaint(Color.white);
        renderList.add(fovCircle);

tim

------_=_NextPart_001_01C46433.20328CF0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Opaque OMCircle</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi all,</FONT>
<BR><FONT SIZE=3D2>Can anyone give me suggestion on how to make my fill =
color Opaque using the code below? I can make it solid but not =
opaque.</FONT></P>
<BR>

<P><FONT SIZE=3D2>OMCircle fovCircle =3D new OMCircle(latitude, =
longitude,newRadius);</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fovCircle.setLatLon(latitude, longitude);</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fovCircle.setRadius(newRadius);</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fovCircle.setFillPaint(Color.green);</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
fovCircle.setLinePaint(Color.white);</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
renderList.add(fovCircle);</FONT>
</P>

<P><FONT SIZE=3D2>tim</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C46433.20328CF0--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 11:27:17 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67FQuG26117
	for openmap-users-outgoing; Wed, 7 Jul 2004 11:26:56 -0400 (EDT)
Message-ID: <DE16E20AEE238745B2B5B0D8291CFDFFD18FF7@mail.cra.com>
From: Chris Hopkins <chopkins@cra.com>
To: "'Norfleet, Timothy'" <timothy.norfleet@gd-ais.com>, openmap-users@bbn.com
Subject: RE: [OpenMap Users] Opaque OMCircle
Date: Wed, 7 Jul 2004 11:26:37 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46436.CB654600"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C46436.CB654600
Content-Type: text/plain;
	charset="iso-8859-1"

Do you mean translucent? If so, you can modify the alpha channel of your
fill paint. For instance, the code below will give you 50% translucency. The
alpha value can be anything between 0-255.
 
int alpha = 128;
Color c = new Color(Color.green.getRed(), Color.green.getGreen(),
Color.green.getBlue(), alpha);
 
  - Chris

-----Original Message-----
From: Norfleet, Timothy [mailto:timothy.norfleet@gd-ais.com]
Sent: Wednesday, July 07, 2004 11:00 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] Opaque OMCircle



Hi all, 
Can anyone give me suggestion on how to make my fill color Opaque using the
code below? I can make it solid but not opaque.


OMCircle fovCircle = new OMCircle(latitude, longitude,newRadius); 
        fovCircle.setLatLon(latitude, longitude); 
        fovCircle.setRadius(newRadius); 
        fovCircle.setFillPaint(Color.green); 
        fovCircle.setLinePaint(Color.white); 
        renderList.add(fovCircle); 

tim 


------_=_NextPart_001_01C46436.CB654600
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Opaque OMCircle</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=887542315-07072004><FONT face=Arial color=#0000ff size=2>Do you 
mean translucent? If so, you can modify the alpha channel of your fill paint. 
For instance, the code below will give you 50% translucency. The alpha value can 
be anything between 0-255.</FONT></SPAN></DIV>
<DIV><SPAN class=887542315-07072004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=887542315-07072004><FONT face=Arial color=#0000ff size=2>int 
alpha = 128;</FONT></SPAN></DIV>
<DIV><SPAN class=887542315-07072004><FONT face=Arial color=#0000ff size=2>Color 
c = new Color(Color.green.getRed(), Color.green.getGreen(), 
Color.green.getBlue(), alpha);</FONT></SPAN></DIV>
<DIV><SPAN class=887542315-07072004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=887542315-07072004><FONT face=Arial color=#0000ff size=2>&nbsp; 
- Chris</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Norfleet, Timothy 
  [mailto:timothy.norfleet@gd-ais.com]<BR><B>Sent:</B> Wednesday, July 07, 2004 
  11:00 AM<BR><B>To:</B> openmap-users@bbn.com<BR><B>Subject:</B> [OpenMap 
  Users] Opaque OMCircle<BR><BR></FONT></DIV>
  <P><FONT size=2>Hi all,</FONT> <BR><FONT size=2>Can anyone give me suggestion 
  on how to make my fill color Opaque using the code below? I can make it solid 
  but not opaque.</FONT></P><BR>
  <P><FONT size=2>OMCircle fovCircle = new OMCircle(latitude, 
  longitude,newRadius);</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  fovCircle.setLatLon(latitude, longitude);</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  fovCircle.setRadius(newRadius);</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  fovCircle.setFillPaint(Color.green);</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  fovCircle.setLinePaint(Color.white);</FONT> <BR><FONT 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  renderList.add(fovCircle);</FONT> </P>
  <P><FONT size=2>tim</FONT> </P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C46436.CB654600--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 11:52:50 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67FqZH26678
	for openmap-users-outgoing; Wed, 7 Jul 2004 11:52:35 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C4643A.4C59978A"
Subject: RE: [OpenMap Users] Opaque OMCircle
Date: Wed, 7 Jul 2004 11:51:42 -0400
Message-ID: <77A645AA6D90F94498B996D8D0DF3DD501872EA7@RMTVA-XVC01.info.trw.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] Opaque OMCircle
Thread-Index: AcRkOM6bEEssqRIwT4+g5esPm6Hu/QAAQmRw
From: <Shahak.Nagiel@ngc.com>
To: <timothy.norfleet@gd-ais.com>, <openmap-users@bbn.com>
X-OriginalArrivalTime: 07 Jul 2004 15:51:44.0824 (UTC) FILETIME=[4DBBA380:01C4643A]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C4643A.4C59978A
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

What do you mean by "opaque?"  (My understanding is it's the same as =
"solid"; i.e. not transparent.)
=20
But you can adjust the level of transparency with the color, using the =
optional fourth parameter in the constructor, which can be from 0 =
(transparent) to 255 (opaque).
=20
For example:

Color lightBlue =3D new Color(0, 0, 255, 35);
forCircle.setFillPaint(lightBlue);
=20
=20
-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On =
Behalf Of Norfleet, Timothy
Sent: Wednesday, July 07, 2004 11:00 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] Opaque OMCircle



Hi all,=20
Can anyone give me suggestion on how to make my fill color Opaque using =
the code below? I can make it solid but not opaque.


OMCircle fovCircle =3D new OMCircle(latitude, longitude,newRadius);=20
        fovCircle.setLatLon(latitude, longitude);=20
        fovCircle.setRadius(newRadius);=20
        fovCircle.setFillPaint(Color.green);=20
        fovCircle.setLinePaint(Color.white);=20
        renderList.add(fovCircle);=20

tim=20


------_=_NextPart_001_01C4643A.4C59978A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Opaque OMCircle</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D732274815-07072004>What=20
do you mean by "opaque?"&nbsp; (My understanding is it's the same as =
"solid";=20
i.e. not transparent.)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D732274815-07072004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D732274815-07072004>But=20
you can adjust the level of transparency with the color, using the =
optional=20
fourth parameter in the constructor, which can be from 0 (transparent) =
to 255=20
(opaque).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D732274815-07072004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D732274815-07072004>For=20
example:</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV><FONT face=3DCourier color=3D#0000ff size=3D2>Color&nbsp;<SPAN=20
  class=3D732274815-07072004>lightBlue</SPAN> =3D new Color(0, 0, 255,=20
  35);</FONT></DIV>
  <DIV><FONT color=3D#0000ff><FONT size=3D2><FONT face=3DCourier><SPAN=20
  class=3D732274815-07072004>forCircle</SPAN>.setFillPaint(<SPAN=20
  =
class=3D732274815-07072004>lightBlue</SPAN>);</FONT></FONT></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B> =
owner-openmap-users@bbn.com=20
  [mailto:owner-openmap-users@bbn.com]<B>On Behalf Of </B>Norfleet,=20
  Timothy<BR><B>Sent:</B> Wednesday, July 07, 2004 11:00 =
AM<BR><B>To:</B>=20
  openmap-users@bbn.com<BR><B>Subject:</B> [OpenMap Users] Opaque=20
  OMCircle<BR><BR></DIV></FONT>
  <P><FONT size=3D2>Hi all,</FONT> <BR><FONT size=3D2>Can anyone give me =
suggestion=20
  on how to make my fill color Opaque using the code below? I can make =
it solid=20
  but not opaque.</FONT></P><BR>
  <P><FONT size=3D2>OMCircle fovCircle =3D new OMCircle(latitude,=20
  longitude,newRadius);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setLatLon(latitude, longitude);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setRadius(newRadius);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setFillPaint(Color.green);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setLinePaint(Color.white);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  renderList.add(fovCircle);</FONT> </P>
  <P><FONT size=3D2>tim</FONT> </P></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C4643A.4C59978A--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 12:03:39 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67G3OS26956
	for openmap-users-outgoing; Wed, 7 Jul 2004 12:03:24 -0400 (EDT)
Date: Wed, 07 Jul 2004 17:03:11 +0100
From: Christian Weaves <christian.weaves@fugro-robertson.com>
Subject: Re: [OpenMap Users] Opaque OMCircle
In-reply-to: 
 <8EA02A1D9E8B7C4D8903A41A18929A136BDA8F@flol01-mail01.ad.gd-ais.com>
To: "Norfleet, Timothy" <timothy.norfleet@gd-ais.com>
Cc: openmap-users@bbn.com
Message-id: <1089216191.4682.3.camel@wallasey>
MIME-version: 1.0
X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7)
Content-type: text/plain
Content-transfer-encoding: 7BIT
References: <8EA02A1D9E8B7C4D8903A41A18929A136BDA8F@flol01-mail01.ad.gd-ais.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

You can make the circle transparent by using the following:

OMCircle fovCircle = new OMCircle(latitude, longitude,newRadius);
        fovCircle.setLatLon(latitude, longitude);
        fovCircle.setRadius(newRadius);
        fovCircle.setFillPaint(new Color(255, 0, 0, 128));
        fovCircle.setLinePaint(Color.white);
        renderList.add(fovCircle);

The first 3 values are the r,g,b values and the fourth value (128) is
the transparency value, this ranges between 0-255.

Hope this helps!


On Wed, 2004-07-07 at 16:00, Norfleet, Timothy wrote:
> Hi all,
> Can anyone give me suggestion on how to make my fill color Opaque
> using the code below? I can make it solid but not opaque.
> 
> 
> OMCircle fovCircle = new OMCircle(latitude, longitude,newRadius);
>         fovCircle.setLatLon(latitude, longitude);
>         fovCircle.setRadius(newRadius);
>         fovCircle.setFillPaint(Color.green);
>         fovCircle.setLinePaint(Color.white);
>         renderList.add(fovCircle);
> 
> tim
> 

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 12:41:38 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67GfCi02045
	for openmap-users-outgoing; Wed, 7 Jul 2004 12:41:12 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46441.2DDA36E6"
Subject: RE: [OpenMap Users] Opaque OMCircle
Date: Wed, 7 Jul 2004 10:40:57 -0600
Message-ID: <ED3A48B9840E594890A2BC172D11946501CFFC32@mailman.san.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] Opaque OMCircle
Thread-Index: AcRkOcVE6LesylLuQf+9NwmTSe8t7gABx6gA
From: "Chapman, Martin" <MChapman@sanz.com>
To: "Norfleet, Timothy" <timothy.norfleet@gd-ais.com>, <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C46441.2DDA36E6
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Try something like this:
=20
EsriPolygon oEsriPolygon =3D new EsriPolygon(llPoints,
OMGraphic.DECIMAL_DEGREES, OMGraphic.LINETYPE_STRAIGHT);
oEsriPolygon.setLinePaint(new Color(0, 0, 255));
oEsriPolygon.setFillPaint(new Color(0, 0, 255, 15));
oEsriPolygon.setStroke(new BasicStroke(2.0f));
oGraphicList.add(oEsriPolygon);
=20
The setFillPaint(new Color(0, 0, 255, 15)) function sets the Color alpha
value to 15 which is almost transparent.  255 is solid or opaque.
=20
Martin

	-----Original Message-----
	From: Norfleet, Timothy [mailto:timothy.norfleet@gd-ais.com]=20
	Sent: Wednesday, July 07, 2004 9:00 AM
	To: openmap-users@bbn.com
	Subject: [OpenMap Users] Opaque OMCircle
=09
=09

	Hi all,=20
	Can anyone give me suggestion on how to make my fill color
Opaque using the code below? I can make it solid but not opaque.


	OMCircle fovCircle =3D new OMCircle(latitude,
longitude,newRadius);=20
	        fovCircle.setLatLon(latitude, longitude);=20
	        fovCircle.setRadius(newRadius);=20
	        fovCircle.setFillPaint(Color.green);=20
	        fovCircle.setLinePaint(Color.white);=20
	        renderList.add(fovCircle);=20

	tim=20


------_=_NextPart_001_01C46441.2DDA36E6
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =
size=3D2>Try=20
something like this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =

size=3D2>EsriPolygon oEsriPolygon =3D new EsriPolygon(llPoints,=20
OMGraphic.DECIMAL_DEGREES,=20
OMGraphic.LINETYPE_STRAIGHT);<BR>oEsriPolygon.setLinePaint(new Color(0, =
0,=20
255));<BR>oEsriPolygon.setFillPaint(new Color(0, 0, 255,=20
15));<BR>oEsriPolygon.setStroke(new=20
BasicStroke(2.0f));<BR>oGraphicList.add(oEsriPolygon);</FONT></SPAN></DIV=
>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
setFillPaint(new Color(0, 0, 255, 15)) function sets the Color alpha =
value to 15=20
which is almost transparent.&nbsp; 255 is solid or =
opaque.</FONT></SPAN></DIV>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D768533816-07072004><FONT face=3DArial color=3D#0000ff =

size=3D2>Martin</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Norfleet,=20
  Timothy [mailto:timothy.norfleet@gd-ais.com] <BR><B>Sent:</B> =
Wednesday, July=20
  07, 2004 9:00 AM<BR><B>To:</B> =
openmap-users@bbn.com<BR><B>Subject:</B>=20
  [OpenMap Users] Opaque OMCircle<BR><BR></FONT></DIV>
  <P><FONT size=3D2>Hi all,</FONT> <BR><FONT size=3D2>Can anyone give me =
suggestion=20
  on how to make my fill color Opaque using the code below? I can make =
it solid=20
  but not opaque.</FONT></P><BR>
  <P><FONT size=3D2>OMCircle fovCircle =3D new OMCircle(latitude,=20
  longitude,newRadius);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setLatLon(latitude, longitude);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setRadius(newRadius);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setFillPaint(Color.green);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  fovCircle.setLinePaint(Color.white);</FONT> <BR><FONT=20
  size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  renderList.add(fovCircle);</FONT> </P>
  <P><FONT size=3D2>tim</FONT> </P></BLOCKQUOTE></BODY></HTML>
=00
------_=_NextPart_001_01C46441.2DDA36E6--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 13:45:53 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67HjIm03479
	for openmap-users-outgoing; Wed, 7 Jul 2004 13:45:18 -0400 (EDT)
Date: Wed, 07 Jul 2004 12:15:13 -0400
From: Sperlongano Brian M NPRI <SperlonganoBM@Npt.NUWC.Navy.Mil>
Subject: RE: [OpenMap Users] Opaque OMCircle
To: "'Norfleet, Timothy '" <timothy.norfleet@gd-ais.com>,
   "'openmap-users@bbn.com '" <openmap-users@bbn.com>
Message-id: 
 <731422FC2FCAD211B91C0008C75D890A088DCC2D@NPRI54EXC20.NPT.NUWC.NAVY.MIL>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-type: text/plain; charset=iso-8859-1
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

 
I assume you mean to make it translucent as opposed to opaque.  To do this, you would have to make a Color object and set the alpha value.

-Brian

-----Original Message-----
From: Norfleet, Timothy
To: openmap-users@bbn.com
Sent: 7/7/2004 11:00 AM
Subject: [OpenMap Users] Opaque OMCircle

Hi all, 
Can anyone give me suggestion on how to make my fill color Opaque using
the code below? I can make it solid but not opaque.


OMCircle fovCircle = new OMCircle(latitude, longitude,newRadius); 
        fovCircle.setLatLon(latitude, longitude); 
        fovCircle.setRadius(newRadius); 
        fovCircle.setFillPaint(Color.green); 
        fovCircle.setLinePaint(Color.white); 
        renderList.add(fovCircle); 

tim 

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 14:38:10 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67IaFI07299
	for openmap-users-outgoing; Wed, 7 Jul 2004 14:36:15 -0400 (EDT)
Message-ID: <20040707183602.31397.qmail@web52910.mail.yahoo.com>
Date: Wed, 7 Jul 2004 11:36:02 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: [OpenMap Users] Anonymous Layer added with RouteLayer
To: openmap-users@bbn.com
In-Reply-To: <8EA02A1D9E8B7C4D8903A41A18929A136BDA8F@flol01-mail01.ad.gd-ais.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Newbie question.   Can any one explain what is going
on with an Anonymous layer that is being added when I
add a RouteLayer
(com.bbn.openmap.examples.simple.RouteLayer) to an
OpenMapFrame- mapHandler? 

   Everytime I add the RouteLayer, I notice an extra
layer labeled "Anonymous" in the Layer menu listing.  
When I save the openmap.properties I see that this is
associated with a  - overviewMapHandler - layer
properties.  Which is
com.bbn.openmap.layer.OverviewMapAreaLayer

I appreciate any hints.  

tam



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 16:00:48 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67K05618291
	for openmap-users-outgoing; Wed, 7 Jul 2004 16:00:05 -0400 (EDT)
Message-ID: <DE16E20AEE238745B2B5B0D8291CFDFFD18FFF@mail.cra.com>
From: Chris Hopkins <chopkins@cra.com>
To: "'Ben Podoll'" <benjamin.podoll@und.edu>,
   "'openmap-users@bbn.com'"
	 <openmap-users@bbn.com>
Cc: "'OpenMap Support'" <openmap@bbn.com>
Subject: RE: [OpenMap Users] custom button actions / tooltip text on point
	 data
Date: Wed, 7 Jul 2004 15:59:51 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Hi Ben -

> Question 1:
> 
> What class should I look at to get an idea of how to create 
> my own custom buttons with actions to do things?  Basically what I want to

> do is extremely simple, just have a bunch of GIS icons like rivers, 
> railroads, ... and allow the user to toggle them on or off by clicking
(instead of 
> using the "Layers" menu).

I actually did this with my last project. The class that does this is
riddled with project specific stuff (I didn't do a good job generalizing
it). But, here is the approach I took (modified slightly so that it should
work a little better with OM4.6).

NOTE: If you want this to show up somewhere if you don't implement Tool,
you'll need to extend something like BasicMapPanel and deal with it in
findAndInit().

1. Extend OMComponent and implement LayerListener, Tool
	- although implementing Tool may not be necessary with what you want
to do. If you want it to appear in the OMToolSet then implement Tool
2. Add a JToolbar member variable (e.g. private JToolbar toolBar)
3. if implementing Tool, getFace() of Tool returns the JToolbar (e.g. return
toolBar;)
4. override findAndInit(Object ob)
	- if the ob passed instanceof LayerHandler, add this as a layer
listener
5. in the setLayers method (from LayerListener)
	- if the getType() == LayerListener.ADD, add a new ToggleButton
instance (see below) to the JToolbar
	- you'll need to figure out a good way to associate the icon image
with the button
6. Add your component to the openmap.properties file


I haven't tested this approach under 4.6 but I think the idea is sound
according to the API. If I'm way off, I'm sure Don (or someone) will correct
me. ;)

  - Chris

This ToggleButton class will react to the layer being show/hidden through
other means as well and will turn on/off the layer when toggled.

  private class ToggleButton extends JToggleButton
      implements ComponentListener
  {
    private Layer layer = null;
    ToggleButton(Layer layer)
    {
      this.layer = layer;

      this.setIcon(...);
      setToolTipText(layer.getName());

      setSelected(layer.isVisible());

      addActionListener(this);

      layer.addComponentListener(this);
    }

 
///////////////////////////////////////////////////////////////////////////
    // ComponentListener methods

    /**
     * We don't care about resizing or moving
     */
    public void componentResized(ComponentEvent e)
    {}

    public void componentMoved(ComponentEvent e)
    {}

    /**
     * This button listens to the status of its layer.  If the
     *  layer becomes visible, it makes the button toggled on
     */
    public void componentShown(ComponentEvent e)
    {
      if(e.getComponent() == layer && !isSelected())
      {
        setSelected(true);
      }
    }

    /**
     * This button listens to the status of its layer.  If the
     *  layer becomes invisible, it makes the button toggled off
     */
    public void componentHidden(ComponentEvent e)
    {
      if(e.getComponent() == layer && isSelected())
      {
        setSelected(false);
      }
    }

    /**
     * Triggered by the toggle button being clicked
     * @param e ActionEvent fired by the button.
     */
    public void actionPerformed(ActionEvent e)
    {
      if(!this.equals(e.getSource()))
      {
        System.err.println("Incorrect source");
        return;
      }

      layerHandler.turnLayerOn(isSelected(), layer);
    }
  }	

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 17:29:01 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67LQDp22167
	for openmap-users-outgoing; Wed, 7 Jul 2004 17:26:13 -0400 (EDT)
Message-ID: <20040707212559.46720.qmail@web53908.mail.yahoo.com>
Date: Wed, 7 Jul 2004 14:25:59 -0700 (PDT)
From: saini vinod <vinnu_sg@yahoo.com>
Subject: [OpenMap Users] problem with RouteLayer
To: openmap-users@bbn.com
Cc: benjamin.podoll@und.edu
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Ben,

    When I am trying to execute the simplemap2.java
application (taken from openmap.org) I am getting
the following error...

cannot access RouteLayer
Bad class file
:/usr/local/openmap-4.6/classes/openmap/com/bbn/openmap
/examples/simple/RouteLayer

class file contains wrong class : /com/bbn/openmap
/examples/simple/RouteLayer

please remove or make sure it appears in the correct
subdirectory of the classpath
 RouteLayer routelayer =new RouteLayer();

Is there any problem with classpath again?

Please help me....

thanks
Vinod


=====
 >>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<
 

                    Action speaks louder than words 


>>>>>>>>>>>>>>>*******************************************<<<<<<<<<<<<<<<<<<<<<




		
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 18:27:57 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67MRGd22590
	for openmap-users-outgoing; Wed, 7 Jul 2004 18:27:16 -0400 (EDT)
Message-Id: <5.2.0.9.2.20040707182601.024d6008@zima.bbn.com>
X-Sender: kanderso@zima.bbn.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Wed, 07 Jul 2004 18:27:14 -0400
To: "'openmap-users@bbn.com'" <openmap-users@bbn.com>
From: Ken Anderson <kanderson@bbn.com>
Subject: [OpenMap Users] http://alov.org/ - java mapping?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I presume you guys already know about this, but it looked intersting.
http://alov.org/  and the map of afghanistan is pretty interesting.

k

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 19:27:52 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i67NQOQ00380
	for openmap-users-outgoing; Wed, 7 Jul 2004 19:26:24 -0400 (EDT)
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6556.0
Subject: [OpenMap Users] Openmap on tiled displays?
Date: Wed, 7 Jul 2004 16:26:07 -0700
Message-ID: <408B5A0B21E5074C99DC7D5E297E5513187C30@xch-nw-25.nw.nos.boeing.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Openmap on tiled displays?
Thread-Index: AcRkeceG7j2huGdrRASmj++tYkgySg==
From: "Esposito, Christopher" <christopher.esposito@boeing.com>
To: <openmap-users@bbn.com>
X-OriginalArrivalTime: 07 Jul 2004 23:26:07.0831 (UTC) FILETIME=[C7C05E70:01C46479]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i67NQN700377
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Greetings-
    Has anybody ever put openmap on a large tiled multi-screen display
or display wall?  If so, what problems did you encounter?   I have one
here where I work (a 3x3 matrix of 1600 x 1200 LCD panels) driven by 6
Linux boxes, each with high-end dual-head 3D graphics cards, and it
seems that that much resolution would be very useful for large maps.

Chris Esposito, Ph.D.
Associate Technical Fellow
Boeing
(425) 865-5322


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul  7 21:09:48 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6818vS01029
	for openmap-users-outgoing; Wed, 7 Jul 2004 21:08:57 -0400 (EDT)
In-Reply-To: <20040701224922.70087.qmail@web52904.mail.yahoo.com>
References: <20040701224922.70087.qmail@web52904.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5FF48FC2-D07B-11D8-BDC7-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] saving filled polygons to shapfiles
Date: Wed, 7 Jul 2004 21:08:51 -0400
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Tia,

Shape files, as a general rule, don't contain information about how 
they should be rendered.  OpenMap uses property files to let the user 
choose how they should be rendered, but there isn't a way to save that 
information for other mapping systems, unless to you want to add fields 
to the dbf file for the different rows - but then you'd have to take 
steps so that the dbf contents are used for rendering information 
later.

-Don

On Jul 1, 2004, at 6:49 PM, serrotam wrote:

>
>  Again experimenting with ExampleApplication.java to
> create shaded polygons with OM and saving them to
> shapefiles.   This time the filled polygon is drawn to
> the EsriLayer correctly and displayed/painted
> correctly.   I can save this layer to shapefiles using
> the code below:
>
>   File file = fileChooser.getSelectedFile();
>   String path = file.getCanonicalPath();
>   EsriGraphicList list = layer.getEsriGraphicList();
>   ShpOutputStream pos = new ShpOutputStream(
>                                   new
> FileOutputStream(path + ".shp"));
>   int[][] indexData = pos.writeGeometry(list);
>
>    ShxOutputStream xos = new ShxOutputStream(
>                                  new
> FileOutputStream(path + ".shx"));
>    xos.writeIndex(indexData, list.getType(),
> list.getExtents());
>
>    DbfOutputStream dos = new DbfOutputStream(
>                                  new
> FileOutputStream(path + ".dbf"));
>    dos.writeModel(layer.getModel());
>
>
> PROBLEM is that when I re-read these shapefiles I only
> get polygon outline but the filled in color is not
> showing up.  Where are the filled in properties of the
> polygon saved to?  Shouldn't fill-in descriptions be
> also saved into the shapefiles  or is this a
> properties file responsability?
>
> I've have searchd the FM to no avail.
>
> tia
>
>
>
>
> 	
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 08:26:47 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68CQ1Q09025
	for openmap-users-outgoing; Thu, 8 Jul 2004 08:26:01 -0400 (EDT)
In-Reply-To: <20040707183602.31397.qmail@web52910.mail.yahoo.com>
References: <20040707183602.31397.qmail@web52910.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <F58911C7-D0D9-11D8-A306-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Anonymous Layer added with RouteLayer
Date: Thu, 8 Jul 2004 08:25:55 -0400
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Anonymous is the default name given to a layer that doesn't know its 
name, i.e 'prettyName'.

If the OverviewMapHandler's layer is appearing in the Layers Menu, that 
indicates that its layer is being added to the MapHandler and therefore 
to the LayerHandler.  The overviewMapHandler layer shouldn't be added 
to the LayerHandler, it manages its layers separately for the main 
application layers.

- Don

On Jul 7, 2004, at 2:36 PM, serrotam wrote:

>
> Newbie question.   Can any one explain what is going
> on with an Anonymous layer that is being added when I
> add a RouteLayer
> (com.bbn.openmap.examples.simple.RouteLayer) to an
> OpenMapFrame- mapHandler?
>
>    Everytime I add the RouteLayer, I notice an extra
> layer labeled "Anonymous" in the Layer menu listing.
> When I save the openmap.properties I see that this is
> associated with a  - overviewMapHandler - layer
> properties.  Which is
> com.bbn.openmap.layer.OverviewMapAreaLayer
>
> I appreciate any hints.
>
> tam
>
>
>
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 10:53:27 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68EnQ410349
	for openmap-users-outgoing; Thu, 8 Jul 2004 10:49:26 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C464FA.BC83DDFF"
Subject: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 10:49:14 -0400
Message-ID: <ED9E54204134A345B758C3EA1738A8DC3476B0@camexch01.int.gestalt-llc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: DTED
Thread-Index: AcRk+rrn4P7fX4mdR9SCZnosZoB9Gw==
From: "Andrew Schulak" <aschulak@gestalt-llc.com>
To: <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C464FA.BC83DDFF
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hey all, I have a .dt1 map file I need to view. What would be the
minimal amount of code to setup this layer and view it?
=20
Thanks for helping a newbie,
Andrew
=20

------_=_NextPart_001_01C464FA.BC83DDFF
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D010204714-08072004><FONT face=3DArial size=3D2>Hey =
all, I have a=20
.dt1 map file I need to view. What would be the minimal amount of code =
to setup=20
this layer and view it?</FONT></SPAN></DIV>
<DIV><SPAN class=3D010204714-08072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D010204714-08072004><FONT face=3DArial size=3D2>Thanks =
for helping a=20
newbie,</FONT></SPAN></DIV>
<DIV><SPAN class=3D010204714-08072004><FONT face=3DArial=20
size=3D2>Andrew</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C464FA.BC83DDFF--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 11:13:49 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68FDf910737
	for openmap-users-outgoing; Thu, 8 Jul 2004 11:13:41 -0400 (EDT)
Message-ID: <20040708151329.29376.qmail@web52902.mail.yahoo.com>
Date: Thu, 8 Jul 2004 08:13:29 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: Re: [OpenMap Users] Anonymous Layer added with RouteLayer
To: openmap-users@bbn.com
In-Reply-To: <F58911C7-D0D9-11D8-A306-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I suspected as much.  Though, my confusion remains as
to how to deal with this.  Am I incorrectly adding the
RouteLayer  (from the examples.simple) to the
mapHandler?   I'm simply doing: 

    RouteLayer rlayer = new RouteLayer();
    _mapHandler.add(rlayer);

I am not explicitelly adding the OverviewMapHandler's
layer to the mapHandler.   I appreciate your help.

tia

--- Don Dietrick <dietrick@bbn.com> wrote:
> Anonymous is the default name given to a layer that
> doesn't know its 
> name, i.e 'prettyName'.
> 
> If the OverviewMapHandler's layer is appearing in
> the Layers Menu, that 
> indicates that its layer is being added to the
> MapHandler and therefore 
> to the LayerHandler.  The overviewMapHandler layer
> shouldn't be added 
> to the LayerHandler, it manages its layers
> separately for the main 
> application layers.
> 
> - Don
> 
> On Jul 7, 2004, at 2:36 PM, serrotam wrote:
> 
> >
> > Newbie question.   Can any one explain what is
> going
> > on with an Anonymous layer that is being added
> when I
> > add a RouteLayer
> > (com.bbn.openmap.examples.simple.RouteLayer) to an
> > OpenMapFrame- mapHandler?
> >
> >    Everytime I add the RouteLayer, I notice an
> extra
> > layer labeled "Anonymous" in the Layer menu
> listing.
> > When I save the openmap.properties I see that this
> is
> > associated with a  - overviewMapHandler - layer
> > properties.  Which is
> > com.bbn.openmap.layer.OverviewMapAreaLayer
> >
> > I appreciate any hints.
> >
> > tam
> >
> >
> >
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail
> > --
> > [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> > with the following text in the BODY of the message
> "unsubscribe 
> > openmap-users"]
> >
> >
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> --
> [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> with the following text in the BODY of the message
> "unsubscribe openmap-users"]
> 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 11:38:25 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68FcFd11034
	for openmap-users-outgoing; Thu, 8 Jul 2004 11:38:15 -0400 (EDT)
In-Reply-To: <20040708151329.29376.qmail@web52902.mail.yahoo.com>
References: <20040708151329.29376.qmail@web52902.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <D0158D90-D0F4-11D8-B95A-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Anonymous Layer added with RouteLayer
Date: Thu, 8 Jul 2004 11:38:08 -0400
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


On Jul 8, 2004, at 11:13 AM, serrotam wrote:

> I suspected as much.  Though, my confusion remains as
> to how to deal with this.  Am I incorrectly adding the
> RouteLayer  (from the examples.simple) to the
> mapHandler?   I'm simply doing:
>
>     RouteLayer rlayer = new RouteLayer();

rlayer.setName("Routes");

- Don

>     _mapHandler.add(rlayer);
>
> I am not explicitelly adding the OverviewMapHandler's
> layer to the mapHandler.   I appreciate your help.
>
> tia
>
> --- Don Dietrick <dietrick@bbn.com> wrote:
>> Anonymous is the default name given to a layer that
>> doesn't know its
>> name, i.e 'prettyName'.
>>
>> If the OverviewMapHandler's layer is appearing in
>> the Layers Menu, that
>> indicates that its layer is being added to the
>> MapHandler and therefore
>> to the LayerHandler.  The overviewMapHandler layer
>> shouldn't be added
>> to the LayerHandler, it manages its layers
>> separately for the main
>> application layers.
>>
>> - Don
>>
>> On Jul 7, 2004, at 2:36 PM, serrotam wrote:
>>
>>>
>>> Newbie question.   Can any one explain what is
>> going
>>> on with an Anonymous layer that is being added
>> when I
>>> add a RouteLayer
>>> (com.bbn.openmap.examples.simple.RouteLayer) to an
>>> OpenMapFrame- mapHandler?
>>>
>>>    Everytime I add the RouteLayer, I notice an
>> extra
>>> layer labeled "Anonymous" in the Layer menu
>> listing.
>>> When I save the openmap.properties I see that this
>> is
>>> associated with a  - overviewMapHandler - layer
>>> properties.  Which is
>>> com.bbn.openmap.layer.OverviewMapAreaLayer
>>>
>>> I appreciate any hints.
>>>
>>> tam
>>>
>>>
>>>
>>> 		
>>> __________________________________
>>> Do you Yahoo!?
>>> New and Improved Yahoo! Mail - Send 10MB messages!
>>> http://promotions.yahoo.com/new_mail
>>> --
>>> [To unsubscribe to this list send an email to
>> "majdart@bbn.com"
>>> with the following text in the BODY of the message
>> "unsubscribe
>>> openmap-users"]
>>>
>>>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, dietrick@bbn.com
>> BBN Technologies, Cambridge, MA
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> --
>> [To unsubscribe to this list send an email to
>> "majdart@bbn.com"
>> with the following text in the BODY of the message
>> "unsubscribe openmap-users"]
>>
>
>
>
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 11:41:43 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68FfbG11081
	for openmap-users-outgoing; Thu, 8 Jul 2004 11:41:37 -0400 (EDT)
In-Reply-To: <ED9E54204134A345B758C3EA1738A8DC3476B0@camexch01.int.gestalt-llc.com>
References: <ED9E54204134A345B758C3EA1738A8DC3476B0@camexch01.int.gestalt-llc.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <4949334E-D0F5-11D8-B95A-000A95BCCC44@bbn.com>
Cc: <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 11:41:32 -0400
To: "Andrew Schulak" <aschulak@gestalt-llc.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i68Ffa711078
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

If you just want to view the frame,

java -classpath openmap.jar com.bbn.openmap.layer.dted.DTEDFrame .dt1

If you want to view the frame on a layer, it needs to be in a DTED 
directory structure:

dted/[e|w]xxx/[n|s]yy.dt[0|1|2]

with a dted directory, the longitude directories, and the latitude 
files.

Then modify the openmap.properties file.  There is a 'jdted' layer in 
there for DTED, change the .paths property to point to the dted 
directory above.  Then add jdted to the openmap.layers property.

- Don


On Jul 8, 2004, at 10:49 AM, Andrew Schulak wrote:

> Hey all, I have a .dt1 map file I need to view. What would be the 
> minimal amount of code to setup this layer and view it?
>  
> Thanks for helping a newbie,
> Andrew
>  
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 11:41:54 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68Ffoa11095
	for openmap-users-outgoing; Thu, 8 Jul 2004 11:41:50 -0400 (EDT)
X-Originating-IP: [24.6.15.160]
X-Originating-Email: [mry_yachtsman@hotmail.com]
X-Sender: mry_yachtsman@hotmail.com
From: "David Ward" <mry_yachtsman@hotmail.com>
To: openmap-users@bbn.com
Subject: [OpenMap Users] Reducing memory consumption of RpfLayer
Date: Thu, 08 Jul 2004 08:37:58 -0700
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY16-F34r3SU0hXCRQ0000c468@hotmail.com>
X-OriginalArrivalTime: 08 Jul 2004 15:37:58.0395 (UTC) FILETIME=[8B8E54B0:01C46501]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Depending on the area and scale being rendered the RpfLayer can be a huge 
memory consumer.  The RpfLayer can demand as much as 300MB or more to render 
full-screen large scale map area's.  I've been trying to adjust the 
subframeCacheSize and auxSunframeCacheSize property to reduce the RpfLayer's 
appetite for memory without success.

I for cash cow or it will s it possible to turn off the caching? (Even at 
the expense of rendering speed).

Cheers,
David

-----------------
David J. Ward
mry_yachtsman@hotmail.com

_________________________________________________________________
MSN 9 Dial-up Internet Access helps fight spam and pop-ups – now 2 months 
FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 11:50:29 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68FoNr11155
	for openmap-users-outgoing; Thu, 8 Jul 2004 11:50:23 -0400 (EDT)
Message-ID: <3C3C933BBB245940B925C73852820255326F22@tecmail03.tec.army.mil>
From: "Catania, Luke A ERDC-TEC-VA" <Luke.A.Catania@erdc.usace.army.mil>
To: "'Andrew Schulak'" <aschulak@gestalt-llc.com>, openmap-users@bbn.com
Subject: RE: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 10:50:15 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46503.42B58F5E"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C46503.42B58F5E
Content-Type: text/plain

None.  Just add to the properties file and change the paths to match where
your dted file is and make sure your .dt1 is in a structure that resembles
the DTED directory structure.  That is, make sure it is in a directory
structure such as:
 
C:\Data\DTED1\dted\e000
 
where:
 
\e00\ is the longitude directory and is required.
 
Add it to the layers and startUpLayers property.
 
openmap.layers= jdted
openmap.startUpLayers= jdted
 
and the have something such as below with changes as appropriate to your
path:
 
### Java DTED properties
jdted.class=com.bbn.openmap.layer.dted.DTEDLayer
jdted.prettyName=DTED1
# This property should reflect the paths to the DTED level 0 and 1 
# directories. These levels can be combined.
jdted.paths=C:/Data/DTED1/dted
# DTED Level 2 data!
jdted.level2.paths=
# Number between 0-255: 0 is transparent, 255 is opaque
jdted.opaque=255
# Number of colors to use on the maps - 16, 32, 216
jdted.number.colors=216
# Level of DTED data to use on startup (0, 1, 2)
jdted.level=1
# Type of display for the data on startup
# 0 = no shading at all
# 1 = greyscale slope shading
# 2 = band shading, in meters
# 3 = band shading, in feet
# 4 = subframe testing
# 5 = elevation, colored
jdted.view.type=5
# Contrast setting on startup, 1-5
jdted.contrast=5
# height (meters or feet) between color changes in band shading on startup
jdted.band.height=25
# Minumum scale to display images. Larger numbers mean smaller scale, 
# and are more zoomed out.
jdted.min.scale=200000000
jdted.cacheSize=40
jdted.kill.cache=true
 
Luke

-----Original Message-----
From: Andrew Schulak [mailto:aschulak@gestalt-llc.com] 
Sent: Thursday, July 08, 2004 10:49 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] DTED


Hey all, I have a .dt1 map file I need to view. What would be the minimal
amount of code to setup this layer and view it?
 
Thanks for helping a newbie,
Andrew
 


------_=_NextPart_001_01C46503.42B58F5E
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
size=2>None.&nbsp; Just add to the properties file and change the paths to match 
where your dted file is and make sure your .dt1 is in a structure that resembles 
the DTED directory structure.&nbsp; That is, make sure it is in a directory 
structure such as:</FONT></SPAN></DIV>
<DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
size=2>C:\Data\DTED1\dted\e000</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT face=Arial><FONT 
size=2><FONT color=#0000ff><SPAN class=668234015-08072004><FONT face=Arial 
color=#0000ff 
size=2></FONT></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT face=Arial><FONT 
size=2><FONT color=#0000ff><SPAN 
class=668234015-08072004>where:</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT face=Arial><FONT 
size=2><FONT color=#0000ff><SPAN 
class=668234015-08072004></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT face=Arial><FONT 
size=2><FONT color=#0000ff><SPAN class=668234015-08072004>\e00\ is the longitude 
directory and is 
required.</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT face=Arial><FONT 
size=2><FONT color=#0000ff><SPAN 
class=668234015-08072004></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT face=Arial><FONT 
size=2><FONT color=#0000ff><SPAN class=668234015-08072004>Add it to the layers 
and startUpLayers 
property.</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>openmap.layers=&nbsp;<SPAN 
class=668234015-08072004>jdted</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>openmap.startUpLayers= 
jdted</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff size=2>and 
the have something such as below with changes as appropriate to your 
path:</FONT></SPAN></SPAN></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=668234015-08072004><FONT 
face=Arial color=#0000ff></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2>### Java DTED properties</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff 
size=2>jdted.class=com.bbn.openmap.layer.dted.DTEDLayer</FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT 
size=2>jdted.prettyName=DTED<SPAN 
class=668234015-08072004>1</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial color=#0000ff># This property should reflect 
the paths to the DTED level 0 and 1</FONT> </FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># directories. These levels can be 
combined.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.paths=C:<SPAN 
class=668234015-08072004>/</SPAN>Data/DTED<SPAN 
class=668234015-08072004>1</SPAN>/dted</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># DTED Level 2 data!</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.level2.paths=</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># Number between 0-255: 0 is 
transparent, 255 is opaque</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.opaque=255</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># Number of colors to use on the maps 
- 16, 32, 216</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.number.colors=216</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># Level of DTED data to use on 
startup (0, 1, 2)</FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>jdted.level=<SPAN 
class=668234015-08072004>1</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># Type of display for the data on 
startup</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># 0 = no shading at all</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># 1 = greyscale slope 
shading</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># 2 = band shading, in 
meters</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># 3 = band shading, in 
feet</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># 4 = subframe testing</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># 5 = elevation, colored</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.view.type=5</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># Contrast setting on startup, 
1-5</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.contrast=5</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># height (meters or feet) between 
color changes in band shading on startup</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.band.height=25</FONT></DIV>
<DIV><FONT size=2><FONT face=Arial color=#0000ff># Minumum scale to display 
images. Larger numbers mean smaller scale,</FONT> </FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2># and are more zoomed 
out.</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff 
size=2>jdted.min.scale=200000000</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.cacheSize=40</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2>jdted.kill.cache=true</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV></SPAN><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
size=2>Luke</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Andrew Schulak 
  [mailto:aschulak@gestalt-llc.com] <BR><B>Sent:</B> Thursday, July 08, 2004 
  10:49 AM<BR><B>To:</B> openmap-users@bbn.com<BR><B>Subject:</B> [OpenMap 
  Users] DTED<BR><BR></FONT></DIV>
  <DIV><SPAN class=010204714-08072004><FONT face=Arial size=2>Hey all, I have a 
  .dt1 map file I need to view. What would be the minimal amount of code to 
  setup this layer and view it?</FONT></SPAN></DIV>
  <DIV><SPAN class=010204714-08072004><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=010204714-08072004><FONT face=Arial size=2>Thanks for helping 
  a newbie,</FONT></SPAN></DIV>
  <DIV><SPAN class=010204714-08072004><FONT face=Arial 
  size=2>Andrew</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C46503.42B58F5E--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 12:03:17 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68G2nX11425
	for openmap-users-outgoing; Thu, 8 Jul 2004 12:02:49 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46504.FCB4DFF0"
Subject: RE: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 12:02:36 -0400
Message-ID: <ED9E54204134A345B758C3EA1738A8DC3476C6@camexch01.int.gestalt-llc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] DTED
Thread-Index: AcRlA0AyeQgg1JMtQIu6RoMK9mQItAAAa81Q
From: "Andrew Schulak" <aschulak@gestalt-llc.com>
To: <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C46504.FCB4DFF0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

And I need to make sure I use a CADRG projection as well, correct?

-----Original Message-----
From: Catania, Luke A ERDC-TEC-VA
[mailto:Luke.A.Catania@erdc.usace.army.mil]=20
Sent: Thursday, July 08, 2004 11:50 AM
To: Andrew Schulak; openmap-users@bbn.com
Subject: RE: [OpenMap Users] DTED


None.  Just add to the properties file and change the paths to match
where your dted file is and make sure your .dt1 is in a structure that
resembles the DTED directory structure.  That is, make sure it is in a
directory structure such as:
=20
C:\Data\DTED1\dted\e000
=20
where:
=20
\e00\ is the longitude directory and is required.
=20
Add it to the layers and startUpLayers property.
=20
openmap.layers=3D jdted
openmap.startUpLayers=3D jdted
=20
and the have something such as below with changes as appropriate to your
path:
=20
### Java DTED properties
jdted.class=3Dcom.bbn.openmap.layer.dted.DTEDLayer
jdted.prettyName=3DDTED1
# This property should reflect the paths to the DTED level 0 and 1=20
# directories. These levels can be combined.
jdted.paths=3DC:/Data/DTED1/dted
# DTED Level 2 data!
jdted.level2.paths=3D
# Number between 0-255: 0 is transparent, 255 is opaque
jdted.opaque=3D255
# Number of colors to use on the maps - 16, 32, 216
jdted.number.colors=3D216
# Level of DTED data to use on startup (0, 1, 2)
jdted.level=3D1
# Type of display for the data on startup
# 0 =3D no shading at all
# 1 =3D greyscale slope shading
# 2 =3D band shading, in meters
# 3 =3D band shading, in feet
# 4 =3D subframe testing
# 5 =3D elevation, colored
jdted.view.type=3D5
# Contrast setting on startup, 1-5
jdted.contrast=3D5
# height (meters or feet) between color changes in band shading on
startup
jdted.band.height=3D25
# Minumum scale to display images. Larger numbers mean smaller scale,=20
# and are more zoomed out.
jdted.min.scale=3D200000000
jdted.cacheSize=3D40
jdted.kill.cache=3Dtrue
=20
Luke

-----Original Message-----
From: Andrew Schulak [mailto:aschulak@gestalt-llc.com]=20
Sent: Thursday, July 08, 2004 10:49 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] DTED


Hey all, I have a .dt1 map file I need to view. What would be the
minimal amount of code to setup this layer and view it?
=20
Thanks for helping a newbie,
Andrew
=20


------_=_NextPart_001_01C46504.FCB4DFF0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D459140216-08072004>And I=20
need to make sure I use a CADRG projection as well, =
correct?</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Catania, Luke A=20
  ERDC-TEC-VA [mailto:Luke.A.Catania@erdc.usace.army.mil] =
<BR><B>Sent:</B>=20
  Thursday, July 08, 2004 11:50 AM<BR><B>To:</B> Andrew Schulak;=20
  openmap-users@bbn.com<BR><B>Subject:</B> RE: [OpenMap Users]=20
  DTED<BR><BR></FONT></DIV>
  <DIV><SPAN class=3D668234015-08072004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>None.&nbsp; Just add to the properties file and change the =
paths to=20
  match where your dted file is and make sure your .dt1 is in a =
structure that=20
  resembles the DTED directory structure.&nbsp; That is, make sure it is =
in a=20
  directory structure such as:</FONT></SPAN></DIV>
  <DIV><SPAN class=3D668234015-08072004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D668234015-08072004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>C:\Data\DTED1\dted\e000</FONT></SPAN></DIV>
  <DIV><FONT face=3DArial><FONT size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial><FONT=20
  size=3D2><FONT color=3D#0000ff><SPAN class=3D668234015-08072004><FONT =
face=3DArial=20
  color=3D#0000ff=20
  =
size=3D2></FONT></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</=
DIV>
  <DIV><FONT face=3DArial><FONT size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial><FONT=20
  size=3D2><FONT color=3D#0000ff><SPAN=20
  =
class=3D668234015-08072004>where:</SPAN></FONT></FONT></FONT></FONT></FON=
T></FONT></DIV>
  <DIV><FONT face=3DArial><FONT size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial><FONT=20
  size=3D2><FONT color=3D#0000ff><SPAN=20
  =
class=3D668234015-08072004></SPAN></FONT></FONT></FONT></FONT></FONT></FO=
NT>&nbsp;</DIV>
  <DIV><FONT face=3DArial><FONT size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial><FONT=20
  size=3D2><FONT color=3D#0000ff><SPAN class=3D668234015-08072004>\e00\ =
is the=20
  longitude directory and is=20
  required.</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
  <DIV><FONT face=3DArial><FONT size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial><FONT=20
  size=3D2><FONT color=3D#0000ff><SPAN=20
  =
class=3D668234015-08072004></SPAN></FONT></FONT></FONT></FONT></FONT></FO=
NT>&nbsp;</DIV>
  <DIV><FONT face=3DArial><FONT size=3D2><FONT color=3D#0000ff><FONT =
face=3DArial><FONT=20
  size=3D2><FONT color=3D#0000ff><SPAN class=3D668234015-08072004>Add it =
to the layers=20
  and startUpLayers=20
  property.</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
  <DIV><SPAN class=3D668234015-08072004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT=20
  size=3D2>openmap.layers=3D&nbsp;<SPAN=20
  class=3D668234015-08072004>jdted</SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>openmap.startUpLayers=3D=20
  jdted</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
  <DIV><SPAN class=3D668234015-08072004><FONT face=3DArial =
color=3D#0000ff size=3D2>and=20
  the have something such as below with changes as appropriate to your=20
  path:</FONT></SPAN></SPAN></DIV>
  <DIV><FONT face=3DArial><FONT color=3D#0000ff><SPAN =
class=3D668234015-08072004><FONT=20
  face=3DArial color=3D#0000ff></FONT></FONT></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2>### Java DTED=20
  properties</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff=20
  =
size=3D2>jdted.class=3Dcom.bbn.openmap.layer.dted.DTEDLayer</FONT></DIV>
  <DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT=20
  size=3D2>jdted.prettyName=3DDTED<SPAN=20
  class=3D668234015-08072004>1</SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT size=3D2><FONT face=3DArial color=3D#0000ff># This property =
should=20
  reflect the paths to the DTED level 0 and 1</FONT> </FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># directories. These =
levels can be=20
  combined.</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2>jdted.paths=3DC:<SPAN =

  class=3D668234015-08072004>/</SPAN>Data/DTED<SPAN=20
  class=3D668234015-08072004>1</SPAN>/dted</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># DTED Level 2 =
data!</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.level2.paths=3D</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># Number between =
0-255: 0 is=20
  transparent, 255 is opaque</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.opaque=3D255</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># Number of colors to =
use on the=20
  maps - 16, 32, 216</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff=20
size=3D2>jdted.number.colors=3D216</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># Level of DTED data =
to use on=20
  startup (0, 1, 2)</FONT></DIV>
  <DIV><FONT face=3DArial><FONT color=3D#0000ff><FONT =
size=3D2>jdted.level=3D<SPAN=20
  class=3D668234015-08072004>1</SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># Type of display for =
the data on=20
  startup</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># 0 =3D no shading at =

all</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># 1 =3D greyscale =
slope=20
  shading</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># 2 =3D band shading, =
in=20
  meters</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># 3 =3D band shading, =
in=20
  feet</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># 4 =3D subframe =
testing</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># 5 =3D elevation,=20
  colored</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.view.type=3D5</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># Contrast setting on =
startup,=20
  1-5</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.contrast=3D5</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># height (meters or =
feet) between=20
  color changes in band shading on startup</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.band.height=3D25</FONT></DIV>
  <DIV><FONT size=3D2><FONT face=3DArial color=3D#0000ff># Minumum scale =
to display=20
  images. Larger numbers mean smaller scale,</FONT> </FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2># and are more zoomed =

  out.</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff=20
  size=3D2>jdted.min.scale=3D200000000</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.cacheSize=3D40</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff =
size=3D2>jdted.kill.cache=3Dtrue</FONT></DIV>
  <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
  <DIV></SPAN><SPAN class=3D668234015-08072004><FONT face=3DArial =
color=3D#0000ff=20
  size=3D2>Luke</FONT></SPAN></DIV>
  <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
    face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Andrew Schulak=20
    [mailto:aschulak@gestalt-llc.com] <BR><B>Sent:</B> Thursday, July =
08, 2004=20
    10:49 AM<BR><B>To:</B> openmap-users@bbn.com<BR><B>Subject:</B> =
[OpenMap=20
    Users] DTED<BR><BR></FONT></DIV>
    <DIV><SPAN class=3D010204714-08072004><FONT face=3DArial =
size=3D2>Hey all, I have=20
    a .dt1 map file I need to view. What would be the minimal amount of =
code to=20
    setup this layer and view it?</FONT></SPAN></DIV>
    <DIV><SPAN class=3D010204714-08072004><FONT face=3DArial=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D010204714-08072004><FONT face=3DArial =
size=3D2>Thanks for=20
    helping a newbie,</FONT></SPAN></DIV>
    <DIV><SPAN class=3D010204714-08072004><FONT face=3DArial=20
    size=3D2>Andrew</FONT></SPAN></DIV>
    <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C46504.FCB4DFF0--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 12:32:02 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68GVpK12044
	for openmap-users-outgoing; Thu, 8 Jul 2004 12:31:51 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: RE: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 12:31:37 -0400
Message-ID: <ED9E54204134A345B758C3EA1738A8DC3476CB@camexch01.int.gestalt-llc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] DTED
Thread-Index: AcRlA0AyeQgg1JMtQIu6RoMK9mQItAABZVZA
From: "Andrew Schulak" <aschulak@gestalt-llc.com>
To: <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i68GVo712041
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

So basically I have this:

Properties dtedProps = new Properties(); 
dtedProps.put("openmap.layers","jdted");
dtedProps.put("openmap.startUpLayers","jdted"); 
dtedProps.put("jdted.paths","C:/dev/eclipse/workspace/UX/client/release/
dted");
dtedProps.put("jdted.opaque","255"); 
dtedProps.put("jdted.number.colors","216"); 
dtedProps.put("jdted.level","1"); 
dtedProps.put("jdted.contrast","3"); 
dtedProps.put("jdted.view.type","5");
dtedProps.put("jdted.band.height","25"); 
dtedProps.put("jdted.min.scale","20000000"); 
//dtedProps.put("dted.min.scale","0");
dtedProps.put("jdted.class","com.bbn.openmap.dted.DTEDLayer"); 
dtedProps.put("jdted.kill.cache","true");
DTEDLayer dtedLayer = new DTEDLayer();
dtedLayer.setProperties(dtedProps);
dtedLayer.setVisible(true);
mapHandler.add(dtedLayer);

And nothing is showing up. I verified that the .dt1 file is valid using
the info in Don's post.

The /dted directory is /dted/w084/n34.dt1

Thanks all,
Andrew

-----Original Message-----
From: Catania, Luke A ERDC-TEC-VA
[mailto:Luke.A.Catania@erdc.usace.army.mil] 
Sent: Thursday, July 08, 2004 11:50 AM
To: Andrew Schulak; openmap-users@bbn.com
Subject: RE: [OpenMap Users] DTED


None.  Just add to the properties file and change the paths to match
where your dted file is and make sure your .dt1 is in a structure that
resembles the DTED directory structure.  That is, make sure it is in a
directory structure such as:

C:\Data\DTED1\dted\e000

where:

\e00\ is the longitude directory and is required.

Add it to the layers and startUpLayers property.

openmap.layers= jdted
openmap.startUpLayers= jdted

and the have something such as below with changes as appropriate to your
path:

### Java DTED properties
jdted.class=com.bbn.openmap.layer.dted.DTEDLayer
jdted.prettyName=DTED1
# This property should reflect the paths to the DTED level 0 and 1 
# directories. These levels can be combined.
jdted.paths=C:/Data/DTED1/dted
# DTED Level 2 data!
jdted.level2.paths=
# Number between 0-255: 0 is transparent, 255 is opaque
jdted.opaque=255
# Number of colors to use on the maps - 16, 32, 216
jdted.number.colors=216
# Level of DTED data to use on startup (0, 1, 2)
jdted.level=1
# Type of display for the data on startup
# 0 = no shading at all
# 1 = greyscale slope shading
# 2 = band shading, in meters
# 3 = band shading, in feet
# 4 = subframe testing
# 5 = elevation, colored
jdted.view.type=5
# Contrast setting on startup, 1-5
jdted.contrast=5
# height (meters or feet) between color changes in band shading on
startup
jdted.band.height=25
# Minumum scale to display images. Larger numbers mean smaller scale, 
# and are more zoomed out.
jdted.min.scale=200000000
jdted.cacheSize=40
jdted.kill.cache=true

Luke
-----Original Message-----
From: Andrew Schulak [mailto:aschulak@gestalt-llc.com] 
Sent: Thursday, July 08, 2004 10:49 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] DTED


Hey all, I have a .dt1 map file I need to view. What would be the
minimal amount of code to setup this layer and view it?

Thanks for helping a newbie,
Andrew
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 12:44:22 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68GiCT12215
	for openmap-users-outgoing; Thu, 8 Jul 2004 12:44:12 -0400 (EDT)
In-Reply-To: <ED9E54204134A345B758C3EA1738A8DC3476CB@camexch01.int.gestalt-llc.com>
References: <ED9E54204134A345B758C3EA1738A8DC3476CB@camexch01.int.gestalt-llc.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <0767A4A4-D0FE-11D8-B95A-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 12:44:07 -0400
To: "Andrew Schulak" <aschulak@gestalt-llc.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Andrew,

On Jul 8, 2004, at 12:31 PM, Andrew Schulak wrote:

> So basically I have this:
>
> Properties dtedProps = new Properties();
> dtedProps.put("openmap.layers","jdted");
> dtedProps.put("openmap.startUpLayers","jdted");
> dtedProps.put("jdted.paths","C:/dev/eclipse/workspace/UX/client/ 
> release/
> dted");
> dtedProps.put("jdted.opaque","255");
> dtedProps.put("jdted.number.colors","216");
> dtedProps.put("jdted.level","1");
> dtedProps.put("jdted.contrast","3");
> dtedProps.put("jdted.view.type","5");
> dtedProps.put("jdted.band.height","25");
> dtedProps.put("jdted.min.scale","20000000");
> //dtedProps.put("dted.min.scale","0");
> dtedProps.put("jdted.class","com.bbn.openmap.dted.DTEDLayer");
> dtedProps.put("jdted.kill.cache","true");
> DTEDLayer dtedLayer = new DTEDLayer();

You've scoped the properties above with the jdted keyword, but you  
didn't tell the layer to notice that:

> dtedLayer.setProperties(dtedProps);

Should be:

dtedLayer.setProperties("jdted", dtedProps);

Or you can remove the "jdted." from the properties above.

Make sure you zoom in closer than your minimum scale, over your data.

- Don


> dtedLayer.setVisible(true);
> mapHandler.add(dtedLayer);
>
> And nothing is showing up. I verified that the .dt1 file is valid using
> the info in Don's post.
>
> The /dted directory is /dted/w084/n34.dt1
>
> Thanks all,
> Andrew
>
> -----Original Message-----
> From: Catania, Luke A ERDC-TEC-VA
> [mailto:Luke.A.Catania@erdc.usace.army.mil]
> Sent: Thursday, July 08, 2004 11:50 AM
> To: Andrew Schulak; openmap-users@bbn.com
> Subject: RE: [OpenMap Users] DTED
>
>
> None.  Just add to the properties file and change the paths to match
> where your dted file is and make sure your .dt1 is in a structure that
> resembles the DTED directory structure.  That is, make sure it is in a
> directory structure such as:
>
> C:\Data\DTED1\dted\e000
>
> where:
>
> \e00\ is the longitude directory and is required.
>
> Add it to the layers and startUpLayers property.
>
> openmap.layers= jdted
> openmap.startUpLayers= jdted
>
> and the have something such as below with changes as appropriate to  
> your
> path:
>
> ### Java DTED properties
> jdted.class=com.bbn.openmap.layer.dted.DTEDLayer
> jdted.prettyName=DTED1
> # This property should reflect the paths to the DTED level 0 and 1
> # directories. These levels can be combined.
> jdted.paths=C:/Data/DTED1/dted
> # DTED Level 2 data!
> jdted.level2.paths=
> # Number between 0-255: 0 is transparent, 255 is opaque
> jdted.opaque=255
> # Number of colors to use on the maps - 16, 32, 216
> jdted.number.colors=216
> # Level of DTED data to use on startup (0, 1, 2)
> jdted.level=1
> # Type of display for the data on startup
> # 0 = no shading at all
> # 1 = greyscale slope shading
> # 2 = band shading, in meters
> # 3 = band shading, in feet
> # 4 = subframe testing
> # 5 = elevation, colored
> jdted.view.type=5
> # Contrast setting on startup, 1-5
> jdted.contrast=5
> # height (meters or feet) between color changes in band shading on
> startup
> jdted.band.height=25
> # Minumum scale to display images. Larger numbers mean smaller scale,
> # and are more zoomed out.
> jdted.min.scale=200000000
> jdted.cacheSize=40
> jdted.kill.cache=true
>
> Luke
> -----Original Message-----
> From: Andrew Schulak [mailto:aschulak@gestalt-llc.com]
> Sent: Thursday, July 08, 2004 10:49 AM
> To: openmap-users@bbn.com
> Subject: [OpenMap Users] DTED
>
>
> Hey all, I have a .dt1 map file I need to view. What would be the
> minimal amount of code to setup this layer and view it?
>
> Thanks for helping a newbie,
> Andrew
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe  
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 12:53:23 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68Gqv412318
	for openmap-users-outgoing; Thu, 8 Jul 2004 12:52:57 -0400 (EDT)
Message-ID: <3C3C933BBB245940B925C73852820255326F23@tecmail03.tec.army.mil>
From: "Catania, Luke A ERDC-TEC-VA" <Luke.A.Catania@erdc.usace.army.mil>
To: "'Andrew Schulak'" <aschulak@gestalt-llc.com>, openmap-users@bbn.com
Subject: RE: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 11:52:56 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C4650C.04730038"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4650C.04730038
Content-Type: text/plain

Yes.  I forgot about that point.

-----Original Message-----
From: Andrew Schulak [mailto:aschulak@gestalt-llc.com] 
Sent: Thursday, July 08, 2004 12:03 PM
To: openmap-users@bbn.com
Subject: RE: [OpenMap Users] DTED


And I need to make sure I use a CADRG projection as well, correct?

-----Original Message-----
From: Catania, Luke A ERDC-TEC-VA
[mailto:Luke.A.Catania@erdc.usace.army.mil] 
Sent: Thursday, July 08, 2004 11:50 AM
To: Andrew Schulak; openmap-users@bbn.com
Subject: RE: [OpenMap Users] DTED


None.  Just add to the properties file and change the paths to match where
your dted file is and make sure your .dt1 is in a structure that resembles
the DTED directory structure.  That is, make sure it is in a directory
structure such as:
 
C:\Data\DTED1\dted\e000
 
where:
 
\e00\ is the longitude directory and is required.
 
Add it to the layers and startUpLayers property.
 
openmap.layers= jdted
openmap.startUpLayers= jdted
 
and the have something such as below with changes as appropriate to your
path:
 
### Java DTED properties
jdted.class=com.bbn.openmap.layer.dted.DTEDLayer
jdted.prettyName=DTED1
# This property should reflect the paths to the DTED level 0 and 1 
# directories. These levels can be combined.
jdted.paths=C:/Data/DTED1/dted
# DTED Level 2 data!
jdted.level2.paths=
# Number between 0-255: 0 is transparent, 255 is opaque
jdted.opaque=255
# Number of colors to use on the maps - 16, 32, 216
jdted.number.colors=216
# Level of DTED data to use on startup (0, 1, 2)
jdted.level=1
# Type of display for the data on startup
# 0 = no shading at all
# 1 = greyscale slope shading
# 2 = band shading, in meters
# 3 = band shading, in feet
# 4 = subframe testing
# 5 = elevation, colored
jdted.view.type=5
# Contrast setting on startup, 1-5
jdted.contrast=5
# height (meters or feet) between color changes in band shading on startup
jdted.band.height=25
# Minumum scale to display images. Larger numbers mean smaller scale, 
# and are more zoomed out.
jdted.min.scale=200000000
jdted.cacheSize=40
jdted.kill.cache=true
 
Luke

-----Original Message-----
From: Andrew Schulak [mailto:aschulak@gestalt-llc.com] 
Sent: Thursday, July 08, 2004 10:49 AM
To: openmap-users@bbn.com
Subject: [OpenMap Users] DTED


Hey all, I have a .dt1 map file I need to view. What would be the minimal
amount of code to setup this layer and view it?
 
Thanks for helping a newbie,
Andrew
 


------_=_NextPart_001_01C4650C.04730038
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=019375216-08072004><FONT face=Arial color=#0000ff 
size=2>Yes.&nbsp; I forgot about that point.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Andrew Schulak 
  [mailto:aschulak@gestalt-llc.com] <BR><B>Sent:</B> Thursday, July 08, 2004 
  12:03 PM<BR><B>To:</B> openmap-users@bbn.com<BR><B>Subject:</B> RE: [OpenMap 
  Users] DTED<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial color=#0000ff size=2><SPAN class=459140216-08072004>And 
  I need to make sure I use a CADRG projection as well, 
  correct?</SPAN></FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
    face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Catania, Luke 
    A ERDC-TEC-VA [mailto:Luke.A.Catania@erdc.usace.army.mil] <BR><B>Sent:</B> 
    Thursday, July 08, 2004 11:50 AM<BR><B>To:</B> Andrew Schulak; 
    openmap-users@bbn.com<BR><B>Subject:</B> RE: [OpenMap Users] 
    DTED<BR><BR></FONT></DIV>
    <DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2>None.&nbsp; Just add to the properties file and change the paths to 
    match where your dted file is and make sure your .dt1 is in a structure that 
    resembles the DTED directory structure.&nbsp; That is, make sure it is in a 
    directory structure such as:</FONT></SPAN></DIV>
    <DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2>C:\Data\DTED1\dted\e000</FONT></SPAN></DIV>
    <DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT 
    face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
    class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT 
    face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
    class=668234015-08072004>where:</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
    <DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT 
    face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
    class=668234015-08072004></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT 
    face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
    class=668234015-08072004>\e00\ is the longitude directory and is 
    required.</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
    <DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT 
    face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
    class=668234015-08072004></SPAN></FONT></FONT></FONT></FONT></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><FONT 
    face=Arial><FONT size=2><FONT color=#0000ff><SPAN 
    class=668234015-08072004>Add it to the layers and startUpLayers 
    property.</SPAN></FONT></FONT></FONT></FONT></FONT></FONT></DIV>
    <DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial><FONT color=#0000ff><FONT 
    size=2>openmap.layers=&nbsp;<SPAN 
    class=668234015-08072004>jdted</SPAN></FONT></FONT></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>openmap.startUpLayers= 
    jdted</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <DIV><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2>and the have something such as below with changes as appropriate to 
    your path:</FONT></SPAN></SPAN></DIV>
    <DIV><FONT face=Arial><FONT color=#0000ff><SPAN 
    class=668234015-08072004><FONT face=Arial 
    color=#0000ff></FONT></FONT></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>### Java DTED 
    properties</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff 
    size=2>jdted.class=com.bbn.openmap.layer.dted.DTEDLayer</FONT></DIV>
    <DIV><FONT face=Arial><FONT color=#0000ff><FONT 
    size=2>jdted.prettyName=DTED<SPAN 
    class=668234015-08072004>1</SPAN></FONT></FONT></FONT></DIV>
    <DIV><FONT size=2><FONT face=Arial color=#0000ff># This property should 
    reflect the paths to the DTED level 0 and 1</FONT> </FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># directories. These levels can 
    be combined.</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.paths=C:<SPAN 
    class=668234015-08072004>/</SPAN>Data/DTED<SPAN 
    class=668234015-08072004>1</SPAN>/dted</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># DTED Level 2 data!</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.level2.paths=</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># Number between 0-255: 0 is 
    transparent, 255 is opaque</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.opaque=255</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># Number of colors to use on the 
    maps - 16, 32, 216</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff 
    size=2>jdted.number.colors=216</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># Level of DTED data to use on 
    startup (0, 1, 2)</FONT></DIV>
    <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>jdted.level=<SPAN 
    class=668234015-08072004>1</SPAN></FONT></FONT></FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># Type of display for the data on 
    startup</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># 0 = no shading at 
    all</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># 1 = greyscale slope 
    shading</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># 2 = band shading, in 
    meters</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># 3 = band shading, in 
    feet</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># 4 = subframe 
    testing</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># 5 = elevation, 
    colored</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.view.type=5</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># Contrast setting on startup, 
    1-5</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.contrast=5</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># height (meters or feet) between 
    color changes in band shading on startup</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.band.height=25</FONT></DIV>
    <DIV><FONT size=2><FONT face=Arial color=#0000ff># Minumum scale to display 
    images. Larger numbers mean smaller scale,</FONT> </FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2># and are more zoomed 
    out.</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff 
    size=2>jdted.min.scale=200000000</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2>jdted.cacheSize=40</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff 
size=2>jdted.kill.cache=true</FONT></DIV>
    <DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
    <DIV></SPAN><SPAN class=668234015-08072004><FONT face=Arial color=#0000ff 
    size=2>Luke</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV></DIV>
      <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
      face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Andrew 
      Schulak [mailto:aschulak@gestalt-llc.com] <BR><B>Sent:</B> Thursday, July 
      08, 2004 10:49 AM<BR><B>To:</B> openmap-users@bbn.com<BR><B>Subject:</B> 
      [OpenMap Users] DTED<BR><BR></FONT></DIV>
      <DIV><SPAN class=010204714-08072004><FONT face=Arial size=2>Hey all, I 
      have a .dt1 map file I need to view. What would be the minimal amount of 
      code to setup this layer and view it?</FONT></SPAN></DIV>
      <DIV><SPAN class=010204714-08072004><FONT face=Arial 
      size=2></FONT></SPAN>&nbsp;</DIV>
      <DIV><SPAN class=010204714-08072004><FONT face=Arial size=2>Thanks for 
      helping a newbie,</FONT></SPAN></DIV>
      <DIV><SPAN class=010204714-08072004><FONT face=Arial 
      size=2>Andrew</FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C4650C.04730038--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 13:12:20 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68HBq612626
	for openmap-users-outgoing; Thu, 8 Jul 2004 13:11:52 -0400 (EDT)
Message-ID: <20040708171140.21736.qmail@web52910.mail.yahoo.com>
Date: Thu, 8 Jul 2004 10:11:40 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: Re: [OpenMap Users] Anonymous Layer added with RouteLayer
To: openmap-users@bbn.com
In-Reply-To: <D0158D90-D0F4-11D8-B95A-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-653143727-1089306700=:21131"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

--0-653143727-1089306700=:21131
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

Yes, setting the RouteLayer name is not the problem. 
I would like to post an update code for the
SimpleMap2.java, which I think needs to be updated or
is incomplete.  From that you'll be able to experience
what I am seeing. 

 Essentially, I add the RouteLayer, and setName as you
suggest.   This is all fine and good until I go to
save the openmap.properties after this RouteLayer has
been added.   I notice that the openmap.properties now
contains the OverviewMapAreaLayer that its associated
with Anonymous layer.
So next time I run the program and it reloads the
openmap.properties, the previously added RouteLayer,
loads up fine but this new "Anonymous" layer also gets
added to the layers list.  

 So I guess the culprit is somewhere in the Save
openmap properties. 

I submit SimpleMap3.java and RouteLayer.java
(unmodified) to illustrate this better.

Seems to me that some of the code in SimpleMap2 is may
be outdated or redundant. 


--- Don Dietrick <dietrick@bbn.com> wrote:
> 
> On Jul 8, 2004, at 11:13 AM, serrotam wrote:
> 
> > I suspected as much.  Though, my confusion remains
> as
> > to how to deal with this.  Am I incorrectly adding
> the
> > RouteLayer  (from the examples.simple) to the
> > mapHandler?   I'm simply doing:
> >
> >     RouteLayer rlayer = new RouteLayer();
> 
> rlayer.setName("Routes");
> 
> - Don
> 
> >     _mapHandler.add(rlayer);
> >
> > I am not explicitelly adding the
> OverviewMapHandler's
> > layer to the mapHandler.   I appreciate your help.
> >
> > tia
> >
> > --- Don Dietrick <dietrick@bbn.com> wrote:
> >> Anonymous is the default name given to a layer
> that
> >> doesn't know its
> >> name, i.e 'prettyName'.
> >>
> >> If the OverviewMapHandler's layer is appearing in
> >> the Layers Menu, that
> >> indicates that its layer is being added to the
> >> MapHandler and therefore
> >> to the LayerHandler.  The overviewMapHandler
> layer
> >> shouldn't be added
> >> to the LayerHandler, it manages its layers
> >> separately for the main
> >> application layers.
> >>
> >> - Don
> >>
> >> On Jul 7, 2004, at 2:36 PM, serrotam wrote:
> >>
> >>>
> >>> Newbie question.   Can any one explain what is
> >> going
> >>> on with an Anonymous layer that is being added
> >> when I
> >>> add a RouteLayer
> >>> (com.bbn.openmap.examples.simple.RouteLayer) to
> an
> >>> OpenMapFrame- mapHandler?
> >>>
> >>>    Everytime I add the RouteLayer, I notice an
> >> extra
> >>> layer labeled "Anonymous" in the Layer menu
> >> listing.
> >>> When I save the openmap.properties I see that
> this
> >> is
> >>> associated with a  - overviewMapHandler - layer
> >>> properties.  Which is
> >>> com.bbn.openmap.layer.OverviewMapAreaLayer
> >>>
> >>> I appreciate any hints.
> >>>
> >>> tam
> >>>
> >>>
> >>>
> >>> 		
> >>> __________________________________
> >>> Do you Yahoo!?
> >>> New and Improved Yahoo! Mail - Send 10MB
> messages!
> >>> http://promotions.yahoo.com/new_mail
> >>> --
> >>> [To unsubscribe to this list send an email to
> >> "majdart@bbn.com"
> >>> with the following text in the BODY of the
> message
> >> "unsubscribe
> >>> openmap-users"]
> >>>
> >>>
> >>
> >>
> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >> Don Dietrick, dietrick@bbn.com
> >> BBN Technologies, Cambridge, MA
> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >>
> >> --
> >> [To unsubscribe to this list send an email to
> >> "majdart@bbn.com"
> >> with the following text in the BODY of the
> message
> >> "unsubscribe openmap-users"]
> >>
> >
> >
> >
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail
> > --
> > [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> > with the following text in the BODY of the message
> "unsubscribe 
> > openmap-users"]
> >
> >
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> --
> [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> with the following text in the BODY of the message
> "unsubscribe openmap-users"]
> 


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--0-653143727-1089306700=:21131
Content-Type: application/octet-stream; name="SimpleMap3.java"
Content-Transfer-Encoding: base64
Content-Description: SimpleMap3.java
Content-Disposition: attachment; filename="SimpleMap3.java"

Ly8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKgovLwovLyA8Y29weXJpZ2h0
PgovLwovLyAgQkJOIFRlY2hub2xvZ2llcywgYSBWZXJpem9uIENvbXBhbnkK
Ly8gIDEwIE1vdWx0b24gU3RyZWV0Ci8vICBDYW1icmlkZ2UsIE1BIDAyMTM4
Ci8vICAoNjE3KSA4NzMtODAwMAovLwovLyAgQ29weXJpZ2h0IChDKSBCQk5U
IFNvbHV0aW9ucyBMTEMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8vCi8vIDwv
Y29weXJpZ2h0PgovLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqCi8vCi8v
ICRTb3VyY2U6IC9jdnMvZGlzdGFwcHMvb3Blbm1hcC9zcmMvb3Blbm1hcC9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QmVhbi5zZXRTY2FsZSgxMjAwMDAwMDBmKTsKICAgICAgICAgICAg
TGF5ZXJIYW5kbGVyIGxheWVySGFuZGxlciA9IChMYXllckhhbmRsZXIpbWFw
SGFuZGxlci5nZXQoImNvbS5iYm4ub3Blbm1hcC5MYXllckhhbmRsZXIiKTsK
CiAgICAgICAgICAgIExheWVyIHJsYXllciA9IChMYXllciltYXBIYW5kbGVy
LmdldCgiY29tLmJibi5vcGVubWFwLmV4YW1wbGVzLnNpbXBsZS5Sb3V0ZUxh
eWVyIik7CiAgICAgICAgICAgIC8vIEkgRG8gc3RpbGwgd2FudCB0byBBZGQg
YSByb3V0ZSBsYXllciBpZiBpdCBkb2Vzbid0IGFscmVhZHkgZXhpc3QKICAg
ICAgICAgICAgaWYgKHJsYXllciA9PSBudWxsICkgewogICAgICAgICAgICAg
IFJvdXRlTGF5ZXIgcm91dGVMYXllciA9IG5ldyBSb3V0ZUxheWVyKCk7CiAg
ICAgICAgICAgICAgcm91dGVMYXllci5zZXROYW1lKCJSb3V0ZSBMYXllciIp
OwogICAgICAgICAgICAgIHJvdXRlTGF5ZXIuc2V0VmlzaWJsZSh0cnVlKTsK
ICAgICAgICAgICAgICBsYXllckhhbmRsZXIuYWRkTGF5ZXIocm91dGVMYXll
ciwgMCk7CiAgICAgICAgICAgIH0KICAgICAgICAgICAgZWxzZSB7CiAgICAg
ICAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJTaW1wbGVNYXAzLm1haW4o
YXJncyk6IFJvdXRlTGF5ZXIgd2FzIG5vdCBhZGRlZCIpOwogICAgICAgICAg
ICB9CgoKICAgICAgICAgICAgLy8gKioqIENPREUgQkVMT1cgU0VFTVMgVE8g
QkUgUkVEVU5EQU5UIEFTIE9GIE9wZW5NYXAgNC42CiAgICAgICAgICAgIC8v
ICoqKiBFWFBMSUNJVEVMTFkgQURESU5HIEEgTEFZRVJIQU5ETEVSIE1BWSBO
TyBMT05HRVIgQkUgTkVFREVECiAgICAgICAgICAgI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pcyBiZWluZyBhZGRlZCB0byB0aGUgTWFwSGFuZGxlci4KICAgICAg
ICB9CiAgICB9Cn0K

--0-653143727-1089306700=:21131
Content-Type: application/octet-stream; name="RouteLayer.java"
Content-Transfer-Encoding: base64
Content-Description: RouteLayer.java
Content-Disposition: attachment; filename="RouteLayer.java"

Ly8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKgovLyAKLy8gPGNvcHlyaWdo
dD4KLy8gCi8vICBCQk4gVGVjaG5vbG9naWVzLCBhIFZlcml6b24gQ29tcGFu
eQovLyAgMTAgTW91bHRvbiBTdHJlZXQKLy8gIENhbWJyaWRnZSwgTUEgMDIx
MzgKLy8gICg2MTcpIDg3My04MDAwCi8vIAovLyAgQ29weXJpZ2h0IChDKSBC
Qk5UIFNvbHV0aW9ucyBMTEMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuCi8vIAov
LyA8L2NvcHlyaWdodD4KLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKgov
LyAKLy8gJFNvdXJjZTogL2N2cy9kaXN0YXBwcy9vcGVubWFwL3NyYy9vcGVu
bWFwL2NvbS9iYm4vb3Blbm1hcC9leGFtcGxlcy9zaW1wbGUvUm91dGVMYXll
ci5qYXZhLHYgJAovLyAkUkNTZmlsZTogUm91dGVMYXllci5qYXZhLHYgJAov
LyAkUmV2aXNpb246IDEuMiAkCi8vICREYXRlOiAyMDA0LzAxLzI2IDE4OjE4
OjA3ICQKLy8gJEF1dGhvcjogZGlldHJpY2sgJAovLyAKLy8gKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKgoKCnBhY2thZ2UgY29tLmJibi5vcGVubWFwLmV4
YW1wbGVzLnNpbXBsZTsKCmltcG9ydCBqYXZhLmF3dC5Db2xvcj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C4KICAgICAqIDxwPgogICAgICogQHBhcmFtIGUgdGhlIHBy
b2plY3Rpb24gZXZlbnQKICAgICAqLwogICAgcHVibGljIHZvaWQgcHJvamVj
dGlvbkNoYW5nZWQoUHJvamVjdGlvbkV2ZW50IGUpIHsKICAgICAgICBvbWdy
YXBoaWNzLnByb2plY3QoZS5nZXRQcm9qZWN0aW9uKCksIHRydWUpOwogICAg
ICAgIHJlcGFpbnQoKTsKICAgIH0KfQo=

--0-653143727-1089306700=:21131--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 13:49:43 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68HnXj13486
	for openmap-users-outgoing; Thu, 8 Jul 2004 13:49:33 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: RE: [OpenMap Users] DTED
Date: Thu, 8 Jul 2004 13:49:19 -0400
Message-ID: <ED9E54204134A345B758C3EA1738A8DC3476D3@camexch01.int.gestalt-llc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] DTED
Thread-Index: AcRlCvrwIxql42L0Qb+XFfyhN2b/2AACOKCg
From: "Andrew Schulak" <aschulak@gestalt-llc.com>
Cc: <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i68HnV713483
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Rockstar! Thank you everyone for your help!

> -----Original Message-----
> From: Don Dietrick [mailto:dietrick@bbn.com] 
> Sent: Thursday, July 08, 2004 12:44 PM
> To: Andrew Schulak
> Cc: openmap-users@bbn.com
> Subject: Re: [OpenMap Users] DTED
> 
> 
> Hi Andrew,
> 
> On Jul 8, 2004, at 12:31 PM, Andrew Schulak wrote:
> 
> > So basically I have this:
> >
> > Properties dtedProps = new Properties(); 
> > dtedProps.put("openmap.layers","jdted");
> > dtedProps.put("openmap.startUpLayers","jdted");
> > dtedProps.put("jdted.paths","C:/dev/eclipse/workspace/UX/client/
> > release/
> > dted");
> > dtedProps.put("jdted.opaque","255");
> > dtedProps.put("jdted.number.colors","216");
> > dtedProps.put("jdted.level","1");
> > dtedProps.put("jdted.contrast","3");
> > dtedProps.put("jdted.view.type","5");
> > dtedProps.put("jdted.band.height","25");
> > dtedProps.put("jdted.min.scale","20000000");
> > //dtedProps.put("dted.min.scale","0");
> > dtedProps.put("jdted.class","com.bbn.openmap.dted.DTEDLayer");
> > dtedProps.put("jdted.kill.cache","true");
> > DTEDLayer dtedLayer = new DTEDLayer();
> 
> You've scoped the properties above with the jdted keyword, but you  
> didn't tell the layer to notice that:
> 
> > dtedLayer.setProperties(dtedProps);
> 
> Should be:
> 
> dtedLayer.setProperties("jdted", dtedProps);
> 
> Or you can remove the "jdted." from the properties above.
> 
> Make sure you zoom in closer than your minimum scale, over your data.
> 
> - Don
> 
> 
> > dtedLayer.setVisible(true);
> > mapHandler.add(dtedLayer);
> >
> > And nothing is showing up. I verified that the .dt1 file is valid 
> > using the info in Don's post.
> >
> > The /dted directory is /dted/w084/n34.dt1
> >
> > Thanks all,
> > Andrew
> >
> > -----Original Message-----
> > From: Catania, Luke A ERDC-TEC-VA 
> > [mailto:Luke.A.Catania@erdc.usace.army.mil]
> > Sent: Thursday, July 08, 2004 11:50 AM
> > To: Andrew Schulak; openmap-users@bbn.com
> > Subject: RE: [OpenMap Users] DTED
> >
> >
> > None.  Just add to the properties file and change the paths 
> to match 
> > where your dted file is and make sure your .dt1 is in a 
> structure that 
> > resembles the DTED directory structure.  That is, make sure 
> it is in a 
> > directory structure such as:
> >
> > C:\Data\DTED1\dted\e000
> >
> > where:
> >
> > \e00\ is the longitude directory and is required.
> >
> > Add it to the layers and startUpLayers property.
> >
> > openmap.layers= jdted
> > openmap.startUpLayers= jdted
> >
> > and the have something such as below with changes as appropriate to
> > your
> > path:
> >
> > ### Java DTED properties 
> > jdted.class=com.bbn.openmap.layer.dted.DTEDLayer
> > jdted.prettyName=DTED1
> > # This property should reflect the paths to the DTED level 
> 0 and 1 # 
> > directories. These levels can be combined. 
> > jdted.paths=C:/Data/DTED1/dted # DTED Level 2 data!
> > jdted.level2.paths=
> > # Number between 0-255: 0 is transparent, 255 is opaque
> > jdted.opaque=255
> > # Number of colors to use on the maps - 16, 32, 216
> > jdted.number.colors=216
> > # Level of DTED data to use on startup (0, 1, 2)
> > jdted.level=1
> > # Type of display for the data on startup
> > # 0 = no shading at all
> > # 1 = greyscale slope shading
> > # 2 = band shading, in meters
> > # 3 = band shading, in feet
> > # 4 = subframe testing
> > # 5 = elevation, colored
> > jdted.view.type=5
> > # Contrast setting on startup, 1-5
> > jdted.contrast=5
> > # height (meters or feet) between color changes in band shading on
> > startup
> > jdted.band.height=25
> > # Minumum scale to display images. Larger numbers mean 
> smaller scale,
> > # and are more zoomed out.
> > jdted.min.scale=200000000
> > jdted.cacheSize=40
> > jdted.kill.cache=true
> >
> > Luke
> > -----Original Message-----
> > From: Andrew Schulak [mailto:aschulak@gestalt-llc.com]
> > Sent: Thursday, July 08, 2004 10:49 AM
> > To: openmap-users@bbn.com
> > Subject: [OpenMap Users] DTED
> >
> >
> > Hey all, I have a .dt1 map file I need to view. What would be the 
> > minimal amount of code to setup this layer and view it?
> >
> > Thanks for helping a newbie,
> > Andrew
> > --
> > [To unsubscribe to this list send an email to 
> "majdart@bbn.com" with 
> > the following text in the BODY of the message "unsubscribe
> > openmap-users"]
> >
> >
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 14:10:25 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68IAB814086
	for openmap-users-outgoing; Thu, 8 Jul 2004 14:10:11 -0400 (EDT)
X-Originating-IP: [216.228.3.210]
X-Originating-Email: [mry_yachtsman@hotmail.com]
X-Sender: mry_yachtsman@hotmail.com
From: "David Ward" <mry_yachtsman@hotmail.com>
To: mry_yachtsman@hotmail.com, openmap-users@bbn.com
Subject: RE: [OpenMap Users] Reducing memory consumption of RpfLayer
Date: Thu, 08 Jul 2004 11:09:57 -0700
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <BAY16-F107O8TWYXg9b0001fd78@hotmail.com>
X-OriginalArrivalTime: 08 Jul 2004 18:09:58.0046 (UTC) FILETIME=[C74AA3E0:01C46516]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


>I for cash cow or it will s it possible to turn off the caching? (Even at 
>the expense of rendering speed).
>

How did that happen? (Voice recognition software!)   ;-}
Should have read:

     Is it possible to turn off the caching? (Even at the expense of 
rendering speed).

Voice recognition software

Cheers,
David

-----------------
David J. Ward
mry_yachtsman@hotmail.com




>From: "David Ward" <mry_yachtsman@hotmail.com>
>To: openmap-users@bbn.com
>Subject: [OpenMap Users] Reducing memory consumption of RpfLayer
>Date: Thu, 08 Jul 2004 08:37:58 -0700
>
>Depending on the area and scale being rendered the RpfLayer can be a huge 
>memory consumer.  The RpfLayer can demand as much as 300MB or more to 
>render full-screen large scale map area's.  I've been trying to adjust the 
>subframeCacheSize and auxSunframeCacheSize property to reduce the 
>RpfLayer's appetite for memory without success.
>
>I for cash cow or it will s it possible to turn off the caching? (Even at 
>the expense of rendering speed).
>
>Cheers,
>David
>
>-----------------
>David J. Ward
>mry_yachtsman@hotmail.com
>
>_________________________________________________________________
>MSN 9 Dial-up Internet Access helps fight spam and pop-ups – now 2 months 
>FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com"
>with the following text in the BODY of the message "unsubscribe 
>openmap-users"]

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 17:02:50 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68L2GH11558
	for openmap-users-outgoing; Thu, 8 Jul 2004 17:02:16 -0400 (EDT)
Message-ID: <20040708210204.27731.qmail@web52901.mail.yahoo.com>
Date: Thu, 8 Jul 2004 14:02:04 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: [OpenMap Users] Need advice on Layer to use to render grid of polygons
To: openmap-users@bbn.com
In-Reply-To: <ED9E54204134A345B758C3EA1738A8DC3476D3@camexch01.int.gestalt-llc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


 I would appreciate advice on how to approach the
rendering of a (2D)grid of values that need to be
rendered as an overlay on a lat-lon map. 

 grid of values can be  as large a 2000x2000 where
each value will correspond to a colored square of a
few kilometers each. 
  ____________________________
  | red     |  yellow | green  | ...

  | red     |  green  | yellow | ...
  | yellow |  red     | green  | ...
  |     :      |    :       |    :      | ...

  Which is the most efficient way of creating this
layer?  I.e. with an OMRaster or  OMPolygons? 

 What are good examples for setting OMRaster
projections?  these are still a bit confusing to me.
appreciate any hints. 
 TIA


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 17:29:34 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68LTPm12211
	for openmap-users-outgoing; Thu, 8 Jul 2004 17:29:25 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [OpenMap Users] http://alov.org/ - java mapping?
Date: Thu, 8 Jul 2004 17:28:36 -0400
Message-ID: <77A645AA6D90F94498B996D8D0DF3DD5016F642D@RMTVA-XVC01.info.trw.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] http://alov.org/ - java mapping?
Thread-Index: AcRkdHyFoTQbKcPFR1W8EVbopeBanAAvdRVA
From: <Jeremy.Zacker@ngc.com>
To: <kanderson@bbn.com>, <openmap-users@bbn.com>
X-OriginalArrivalTime: 08 Jul 2004 21:28:37.0169 (UTC) FILETIME=[87A47A10:01C46532]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i68LTO712208
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

It isn't free like OpenMap.  The license says:

TMJava is available at no cost for personal, educational and other non-commercial purposes. Commercial businesses have to obtain license from University of Sydney.

Might was well buy ArcView!  (bleech)


--------------------------------
Jeremy Zacker
Northrop Grumman - IBCP
(732) 530-5063
jeremy.zacker@ngc.com


-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On
Behalf Of Ken Anderson
Sent: Wednesday, July 07, 2004 6:27 PM
To: 'openmap-users@bbn.com'
Subject: [OpenMap Users] http://alov.org/ - java mapping?


I presume you guys already know about this, but it looked intersting.
http://alov.org/  and the map of afghanistan is pretty interesting.

k

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul  8 19:07:29 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i68N6xv13445
	for openmap-users-outgoing; Thu, 8 Jul 2004 19:06:59 -0400 (EDT)
In-Reply-To: <20040708210204.27731.qmail@web52901.mail.yahoo.com>
References: <20040708210204.27731.qmail@web52901.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <F9B62E2B-D132-11D8-B95A-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Need advice on Layer to use to render grid of polygons
Date: Thu, 8 Jul 2004 19:03:07 -0400
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

There's an OMGrid object that handles this situation.  You create one 
where the grid should be overlayed, and give it an OMGridGenerator that 
creates OMGraphics from the data values within the grid.  There are 
example OMGridGenerators in the package.

I think you might want to check out the version from CVS, I did some 
work this year on OMGrids that might make it easier to use them for 
your data values.  CVS instructions are on the website download page.

There is more information about OMGrids in the javadocs.

Regards,

Don

On Jul 8, 2004, at 5:02 PM, serrotam wrote:

>
>  I would appreciate advice on how to approach the
> rendering of a (2D)grid of values that need to be
> rendered as an overlay on a lat-lon map.
>
>  grid of values can be  as large a 2000x2000 where
> each value will correspond to a colored square of a
> few kilometers each.
>   ____________________________
>   | red     |  yellow | green  | ...
>
>   | red     |  green  | yellow | ...
>   | yellow |  red     | green  | ...
>   |     :      |    :       |    :      | ...
>
>   Which is the most efficient way of creating this
> layer?  I.e. with an OMRaster or  OMPolygons?
>
>  What are good examples for setting OMRaster
> projections?  these are still a bit confusing to me.
> appreciate any hints.
>  TIA
>
>
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jul 11 17:18:03 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6BLCtE26189
	for openmap-users-outgoing; Sun, 11 Jul 2004 17:12:55 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <196CE640-D37E-11D8-A4BA-000D93AD3F02@seriot.ch>
From: Nicolas Seriot <ml@seriot.ch>
Subject: [OpenMap Users] JCT 1.0, a students semester project based on OpenMap
Date: Sun, 11 Jul 2004 23:05:55 +0200
To: openmap-users@bbn.com
X-Mailer: Apple Mail (2.618)
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6BLCn726186
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello,

I am a CS student at Swiss University of Applied Sciences. My colleague 
Daniel L. and myself were asked to write a small educational program as 
a semester project. This program, if considered usable, will be 
deployed in the county schools and used by teachers and pupils (ca. 
12-14 years old). The program had to let the user draw and edit 
thematic maps. It also had to run on Mac OS X, Windows and Linux.

The program is called "JCT" (stands for "Java Cartes Thématiques") and 
uses BBN OpenMap.

The web page is: http://jct.sf.net/.

-- 
Nicolas Seriot
www.seriot.ch
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 13 03:01:04 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6D6u4001650
	for openmap-users-outgoing; Tue, 13 Jul 2004 02:56:04 -0400 (EDT)
X-Lasthop: 10.0.0.1
Message-ID: <1089701154295.730.ws01.Naesasoft.FCF1ZW7M>
Date: Tue, 13 Jul 2004 14:45:54 +0800 (CST)
From: zhj45321@mail.sc.cninfo.net
To: DonDietrick <dietrick@bbn.com>
Subject: [OpenMap Users] SimpleHttpImageServer does not work
Cc: openmap-users@bbn.com
Mime-Version: 1.0
Content-Type: text/plain; charset="GBK"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Mailer: Naesasoft Ares Mailer
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Don,

When i ran SimpleHttpImageServer, test.jpg produced by SimpleHttpImageServer is blank, but it has a non-zero size. what's wrong?

Thanks for your time!

Regards,
Yulei


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 13 10:50:54 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6DEn5305383
	for openmap-users-outgoing; Tue, 13 Jul 2004 10:49:05 -0400 (EDT)
In-Reply-To: <1089701154295.730.ws01.Naesasoft.FCF1ZW7M>
References: <1089701154295.730.ws01.Naesasoft.FCF1ZW7M>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <3DCFA9F2-D4D3-11D8-AE1D-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] SimpleHttpImageServer does not work
Date: Tue, 13 Jul 2004 09:47:54 -0400
To: zhj45321@mail.sc.cninfo.net
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Yulei,

I don't know what's wrong, it completely depends on how you started it, 
what properties you used to configure it. and how you are asking for 
images, none of which you've provided.

- Don

On Jul 13, 2004, at 2:45 AM, zhj45321@mail.sc.cninfo.net wrote:

> Hi Don,
>
> When i ran SimpleHttpImageServer, test.jpg produced by 
> SimpleHttpImageServer is blank, but it has a non-zero size. what's 
> wrong?
>
> Thanks for your time!
>
> Regards,
> Yulei
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 13 13:45:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6DHj2723220
	for openmap-users-outgoing; Tue, 13 Jul 2004 13:45:02 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46901.16B9394F"
Subject: [OpenMap Users] Better orthographic map?
Date: Tue, 13 Jul 2004 13:44:47 -0400
Message-ID: <ED9E54204134A345B758C3EA1738A8DC34776D@camexch01.int.gestalt-llc.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Better orthographic map?
Thread-Index: AcRpARcHiL5cC7xbSmW+Y/7pM9B5tQ==
From: "Andrew Schulak" <aschulak@gestalt-llc.com>
To: <openmap-users@bbn.com>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.

------_=_NextPart_001_01C46901.16B9394F
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Does anyone have any good data for a more detailed orthographic map?
=20
The one I am using is very dull with little to no detail.
=20
Thanks,
Andrew
=20
Andrew Schulak
Usability Engineer
Gestalt-LLC
Office: 856.614.5413
=20

------_=_NextPart_001_01C46901.16B9394F
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D278164417-13072004><FONT face=3DArial size=3D2>Does =
anyone have any=20
good data for a more detailed orthographic map?</FONT></SPAN></DIV>
<DIV><SPAN class=3D278164417-13072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D278164417-13072004><FONT face=3DArial size=3D2>The =
one I am using=20
is very dull with little to no detail.</FONT></SPAN></DIV>
<DIV><SPAN class=3D278164417-13072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D278164417-13072004><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D278164417-13072004><FONT face=3DArial=20
size=3D2>Andrew</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><STRONG>Andrew=20
Schulak</STRONG></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Usability =
Engineer</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Gestalt-LLC</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Office: =
856.614.5413</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C46901.16B9394F--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 13 19:25:52 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6DNP2902856
	for openmap-users-outgoing; Tue, 13 Jul 2004 19:25:02 -0400 (EDT)
Message-ID: <20040713232450.47623.qmail@web52908.mail.yahoo.com>
Date: Tue, 13 Jul 2004 16:24:50 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: Re: [OpenMap Users] Need advice on Layer to use to render grid of polygons
To: Don Dietrick <dietrick@bbn.com>
Cc: openmap-users@bbn.com
In-Reply-To: <F9B62E2B-D132-11D8-B95A-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Thanks  a lot.  This works great.  For posterity I'm
attaching below  sample GridDataLayer that I used for
testing.  Welcome any other comments you or others may
have, I can there's a better way to do this. 
  
However, I am getting a java.lang.StackOverflowError
when I create an OMGridData.Int that is 51x51 in size
(2601 values).  Any ideas on how to correct that?   
TIA

Here's my sample 

public static class GridLayer extends Layer {
   private OMGraphicList omgraphics;
   public GridLayer() {
     omgraphics = new OMGraphicList();
     createGrid(omgraphics);
   }

   private OMGraphicList createGrid(OMGraphicList
graphics) 
   {
     int[][] data = new int[10][10];
     
     for (int i=0; i<10; i++) {
       for (int j = 0; j < 10; j++) {
         data[i][j] = 0xCCFFFF00;
       }
     }
     OMGridData.Int gridData = new
OMGridData.Int(data);
     
     float vRes = (42.0f - 35.5f)/10.0f;
     float hRes = (120.5f - 71.0f)/10.0f;
     
     OMGrid omGrid = new OMGrid(35.5f, -120.5f, 
vRes, hRes, gridData);
     SimpleColorGenerator gen = new
SimpleColorGenerator();
     omGrid.setGenerator(gen);
     
     graphics.addOMGraphic(omGrid);

     return graphics;
   }

   public void paint(java.awt.Graphics g) {
     omgraphics.render(g);
   }

   public void projectionChanged(ProjectionEvent e) {
     omgraphics.project(e.getProjection(), true);
     repaint();
   }
 }



--- Don Dietrick <dietrick@bbn.com> wrote:
> There's an OMGrid object that handles this
> situation.  You create one 
> where the grid should be overlayed, and give it an
> OMGridGenerator that 
> creates OMGraphics from the data values within the
> grid.  There are 
> example OMGridGenerators in the package.
> 
> I think you might want to check out the version from
> CVS, I did some 
> work this year on OMGrids that might make it easier
> to use them for 
> your data values.  CVS instructions are on the
> website download page.
> 
> There is more information about OMGrids in the
> javadocs.
> 
> Regards,
> 
> Don
> 
> On Jul 8, 2004, at 5:02 PM, serrotam wrote:
> 
> >
> >  I would appreciate advice on how to approach the
> > rendering of a (2D)grid of values that need to be
> > rendered as an overlay on a lat-lon map.
> >
> >  grid of values can be  as large a 2000x2000 where
> > each value will correspond to a colored square of
> a
> > few kilometers each.
> >   ____________________________
> >   | red     |  yellow | green  | ...
> >
> >   | red     |  green  | yellow | ...
> >   | yellow |  red     | green  | ...
> >   |     :      |    :       |    :      | ...
> >
> >   Which is the most efficient way of creating this
> > layer?  I.e. with an OMRaster or  OMPolygons?
> >
> >  What are good examples for setting OMRaster
> > projections?  these are still a bit confusing to
> me.
> > appreciate any hints.
> >  TIA
> >
> >
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail
> > --
> > [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> > with the following text in the BODY of the message
> "unsubscribe 
> > openmap-users"]
> >
> >
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 13 22:13:22 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6E2CnW06684
	for openmap-users-outgoing; Tue, 13 Jul 2004 22:12:49 -0400 (EDT)
Message-Id: <200407140212.i6E2Cfek006834@gollum.bbn.com>
X-Qmail-Scanner-Mail-From: benjamin.podoll@und.edu via avout1
X-Qmail-Scanner: 1.22 (Clear:RC:1(69.9.252.25):. Processed in 0.147082 secs)
From: "Ben Podoll" <benjamin.podoll@und.edu>
To: <openmap-users@bbn.com>
Subject: [OpenMap Users] psuedo animation (changing layers that are cached raster images on a timer)
Date: Tue, 13 Jul 2004 21:12:21 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0082_01C4691E.1614BE10"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcRpR/5SpHbEIt66QL+SxYTVfpBQYQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Qmail-Scanner-Message-ID: <10897711556728715@avout1>
X-Spam-Score: 6 (******) FORGED_MUA_OUTLOOK,HTML_40_50,HTML_MESSAGE,MISSING_OUTLOOK_NAME,MSG_ID_ADDED_BY_MTA_2
X-Spam-Status: YES
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This is a multi-part message in MIME format.

------=_NextPart_000_0082_01C4691E.1614BE10
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have a custom app that has a time slider at the bottom of and then a bunch
of icons to turn on and off layers. It is coming along nicely, but...

 

The first question (which may be very simple) is how to get the icons to
turn on and off layers; I can't seem to find what the menu options under
layers execute. (Forgive me if that is too simple of a question, a point in
the right direction would help greatly)

 

The second question is, how hard (and do you know of an easy way to do this)
will it be to get my time slider to animate layers on the map? It doesn't
have to be true animation I just need a way to step thru the images. For
instance I have a radar layer that I wrote to grab raster images and display
them, so I am planning on keeping track of those images and then with the
time line just stepping thru the list of the radar images and having OpenMap
redraw them (now my question is: would I go about doing that by adding my
layer to the map like normal and then via the external widgets control the
layer by changing it's data and calling it's repaint?)

 

~Ben

 


------=_NextPart_000_0082_01C4691E.1614BE10
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>I have a custom app =
that has
a time slider at the bottom of and then a bunch of icons to turn on and =
off
layers. It is coming along nicely, but...<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>The first question =
(which
may be very simple) is how to get the icons to turn on and off layers; I =
can't
seem to find what the menu options under layers execute. (Forgive me if =
that is
too simple of a question, a point in the right direction would help =
greatly)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier New"'>The second question =
is, how
hard (and do you know of an easy way to do this) will it be to get my =
time
slider to animate layers on the map? It doesn't have to be true =
animation I
just need a way to step thru the images. For instance I have a radar =
layer that
I wrote to grab raster images and display them, so I am planning on =
keeping
track of those images and then with the time line just stepping thru the =
list
of the radar images and having OpenMap redraw them (now my question is: =
would I
go about doing that by adding my layer to the map like normal and then =
via the
external widgets control the layer by changing it's data and calling =
it's
repaint?)<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
face=3D"Courier New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>~Ben<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0082_01C4691E.1614BE10--


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 14 14:47:38 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6EIjUP01868
	for openmap-users-outgoing; Wed, 14 Jul 2004 14:45:30 -0400 (EDT)
Message-Id: <200407141845.i6EIjLAE004189@gollum.bbn.com>
From: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
To: <openmap-users@bbn.com>
Subject: [OpenMap Users] OverviewMapHandler
Date: Wed, 14 Jul 2004 20:44:43 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcRp0qAPLh7WbEqXQcSgQIhwVGOaTw==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Qmail-Scanner-Message-ID: <10898307226532059@cancerbero>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6EIjT701865
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi all,

I'm trying to add an OverviewMapHandler in my app.
I've managed to put it in a Jpanel, but I can't view anything in the
overview map.
It seems to respond to center and zoom events, and controls the managed
mapbean recentering and zooming....but I can't see nothing... I append some
code to see if anyone can help me...

Thanks in advance,
Rubén.


 public void cargaOverViewMap() {
    _locator.addControlledMap(this.bufferedMapBean1);
    this.bufferedMapBean1.addProjectionListener(_locator);
    jPanel3.add(_locator.getMap(),BorderLayout.CENTER);
    jPanel3.addComponentListener(_locator);
    
    Properties locatorProps = this.cargaProps("mapas/locator.properties");
    _locator.setProperties("",locatorProps);
    Properties ovmProps = this.cargaProps("mapas/overviewLayer.properties");
    _locator.setProperties("overviewLayer",ovmProps);
  
    _locator.repaint();
  
  }

The props file are:
Locator.properties:

class=com.bbn.opemap.gui.OverviewMapHandler
overviewLayers=overviewLayer
overviewScaleFactor=10f
overviewMinScale=100000f
overviewStatusLayer.class=com.bbn.openmap.layer.OverviewMapAreaLayer
overviewMapHandler.lineColor=FF800000
threshold=200000000

overviewLayer.properties:
overviewLayer.class=com.bbn.openmap.layer.shape.ShapeLayer
overviewLayer.prettyName=world Overview
overviewLayer.shapeFile=mapas/PM_BASE_lin.shp
overviewLayer.lineColor=FFFFFFFF
overviewLayer.threshold=200000000


Maybe the real question is...how do i add a layer to the overview map? I
have some layers loaded in the mapbean, maybe using:
_locator.setLayers(_layerHandler.getLayers());???'

Or the overview map takes the layers directly from the mabbean when you set
the controlledMap??

Any given help is wellcome...


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 14 17:37:42 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6ELaxt12445
	for openmap-users-outgoing; Wed, 14 Jul 2004 17:36:59 -0400 (EDT)
Message-Id: <5.1.0.14.0.20040714150647.00c52898@pino.infor.cl>
X-Sender: cbahamon@pino.infor.cl
X-Mailer: QUALCOMM Windows Eudora Version 5.1
X-Priority: 1 (Highest)
Date: Wed, 14 Jul 2004 15:20:13 -0400
To: OpenMap Support <openmap@bbn.com>, Openmap-Users <openmap-users@bbn.com>
From: Carlos Bahamondez <cbahamon@infor.cl>
Subject: [OpenMap Users] How to query and graduate colors from shape dbf's
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi all,

I'am new on openmap, and it is quite an extraordinary job congratuations 
for you all, I have to questions:
1- are there any way for querying from the dbf file coming with shape files
2- are there any way to graduate colors based on some particular attribute 
from the shape file?

Thanks and Best regards

Carlos Bahamondez

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 07:27:46 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FBPYt06105
	for openmap-users-outgoing; Thu, 15 Jul 2004 07:25:34 -0400 (EDT)
Message-Id: <200407151125.i6FBPPEI021616@gandalf.bbn.com>
From: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
To: "'Openmap-Users'" <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] How to query and graduate colors from shape dbf's
Date: Thu, 15 Jul 2004 13:24:50 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcRp8usRZmNlS2JURNueZaesO3uBsgAattvQ
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <5.1.0.14.0.20040714150647.00c52898@pino.infor.cl>
X-Qmail-Scanner-Message-ID: <10898907286534613@cancerbero>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6FBPX706102
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Carlos,

Responding to your first question yes, it is posible and quite simple.
You've to get the selected OMGraphic and get the Integer object from the
appObject, this integer is the dbf index corresponding to that element.
Afeter you can access the dbf in that row and read the contents.

I don't undestand quite well your second question...but you can make almost
anything with openmap...

Hope this helps..
Rubén.

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Carlos Bahamondez
Enviado el: miércoles, 14 de julio de 2004 21:20
Para: OpenMap Support; Openmap-Users
Asunto: [OpenMap Users] How to query and graduate colors from shape dbf's
Importancia: Alta

Hi all,

I'am new on openmap, and it is quite an extraordinary job congratuations for
you all, I have to questions:
1- are there any way for querying from the dbf file coming with shape files
2- are there any way to graduate colors based on some particular attribute
from the shape file?

Thanks and Best regards

Carlos Bahamondez

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]



--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 08:40:27 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FCdjv06498
	for openmap-users-outgoing; Thu, 15 Jul 2004 08:39:45 -0400 (EDT)
Message-Id: <200407151239.i6FCdZmS008791@gollum.bbn.com>
From: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
To: "'Openmap-Users'" <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] OverviewMapHandler
Date: Thu, 15 Jul 2004 14:39:04 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcRp0qAPLh7WbEqXQcSgQIhwVGOaTwAleuLA
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <200407141845.i6EIjLAE004189@gollum.bbn.com>
X-Qmail-Scanner-Message-ID: <10898951826535337@cancerbero>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6FCdh706495
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Ok, I fixed it by myself, thanks anyway...

I was not loading correctly the layer onto the OverviewMapHandler.

Thanks,
Rubén. 

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Rubén Ruiz
Enviado el: miércoles, 14 de julio de 2004 20:45
Para: openmap-users@bbn.com
Asunto: [OpenMap Users] OverviewMapHandler

Hi all,

I'm trying to add an OverviewMapHandler in my app.
I've managed to put it in a Jpanel, but I can't view anything in the
overview map.
It seems to respond to center and zoom events, and controls the managed
mapbean recentering and zooming....but I can't see nothing... I append some
code to see if anyone can help me...

Thanks in advance,
Rubén.


 public void cargaOverViewMap() {
    _locator.addControlledMap(this.bufferedMapBean1);
    this.bufferedMapBean1.addProjectionListener(_locator);
    jPanel3.add(_locator.getMap(),BorderLayout.CENTER);
    jPanel3.addComponentListener(_locator);
    
    Properties locatorProps = this.cargaProps("mapas/locator.properties");
    _locator.setProperties("",locatorProps);
    Properties ovmProps = this.cargaProps("mapas/overviewLayer.properties");
    _locator.setProperties("overviewLayer",ovmProps);
  
    _locator.repaint();
  
  }

The props file are:
Locator.properties:

class=com.bbn.opemap.gui.OverviewMapHandler
overviewLayers=overviewLayer
overviewScaleFactor=10f
overviewMinScale=100000f
overviewStatusLayer.class=com.bbn.openmap.layer.OverviewMapAreaLayer
overviewMapHandler.lineColor=FF800000
threshold=200000000

overviewLayer.properties:
overviewLayer.class=com.bbn.openmap.layer.shape.ShapeLayer
overviewLayer.prettyName=world Overview
overviewLayer.shapeFile=mapas/PM_BASE_lin.shp
overviewLayer.lineColor=FFFFFFFF
overviewLayer.threshold=200000000


Maybe the real question is...how do i add a layer to the overview map? I
have some layers loaded in the mapbean, maybe using:
_locator.setLayers(_layerHandler.getLayers());???'

Or the overview map takes the layers directly from the mabbean when you set
the controlledMap??

Any given help is wellcome...


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]



--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 09:53:48 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FDrCE07200
	for openmap-users-outgoing; Thu, 15 Jul 2004 09:53:12 -0400 (EDT)
In-Reply-To: <200407151125.i6FBPPEI021616@gandalf.bbn.com>
References: <200407151125.i6FBPPEI021616@gandalf.bbn.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <4080056C-D666-11D8-B017-000A95BCCC44@bbn.com>
Cc: "'Openmap-Users'" <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] How to query and graduate colors from shape dbf's
Date: Thu, 15 Jul 2004 06:52:46 -0700
To: Carlos Bahamondez <cbahamon@infor.cl>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6FDrC707197
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Carlos,

For your second question, you would use the DbfTableModel to read and 
access the dbf contents, and then you can set OMGraphic attributes 
based on those contents.  The EsriPlugIn is an example of using the 
DbfTabelModel contents with their corresponding OMGraphics, you can see 
how the PlugIn uses mouse events to set the tooltip with the dbf entry 
for that OMGraphic.

- Don


On Jul 15, 2004, at 4:24 AM, Rubén Ruiz wrote:

> Hi Carlos,
>
> Responding to your first question yes, it is posible and quite simple.
> You've to get the selected OMGraphic and get the Integer object from 
> the
> appObject, this integer is the dbf index corresponding to that element.
> Afeter you can access the dbf in that row and read the contents.
>
> I don't undestand quite well your second question...but you can make 
> almost
> anything with openmap...
>
> Hope this helps..
> Rubén.
>
> -----Mensaje original-----
> De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
> nombre de Carlos Bahamondez
> Enviado el: miércoles, 14 de julio de 2004 21:20
> Para: OpenMap Support; Openmap-Users
> Asunto: [OpenMap Users] How to query and graduate colors from shape 
> dbf's
> Importancia: Alta
>
> Hi all,
>
> I'am new on openmap, and it is quite an extraordinary job 
> congratuations for
> you all, I have to questions:
> 1- are there any way for querying from the dbf file coming with shape 
> files
> 2- are there any way to graduate colors based on some particular 
> attribute
> from the shape file?
>
> Thanks and Best regards
>
> Carlos Bahamondez
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 10:04:12 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FE46a07577
	for openmap-users-outgoing; Thu, 15 Jul 2004 10:04:06 -0400 (EDT)
In-Reply-To: <20040713232450.47623.qmail@web52908.mail.yahoo.com>
References: <20040713232450.47623.qmail@web52908.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <D1AD23F4-D667-11D8-B017-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Need advice on Layer to use to render grid of polygons
Date: Thu, 15 Jul 2004 07:03:59 -0700
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I tried your layer, without making it static, and it worked fine.

- Don

On Jul 13, 2004, at 4:24 PM, serrotam wrote:

> Thanks  a lot.  This works great.  For posterity I'm
> attaching below  sample GridDataLayer that I used for
> testing.  Welcome any other comments you or others may
> have, I can there's a better way to do this.
>
> However, I am getting a java.lang.StackOverflowError
> when I create an OMGridData.Int that is 51x51 in size
> (2601 values).  Any ideas on how to correct that?
> TIA
>
> Here's my sample
>
> public static class GridLayer extends Layer {
>    private OMGraphicList omgraphics;
>    public GridLayer() {
>      omgraphics = new OMGraphicList();
>      createGrid(omgraphics);
>    }
>
>    private OMGraphicList createGrid(OMGraphicList
> graphics)
>    {
>      int[][] data = new int[10][10];
>
>      for (int i=0; i<10; i++) {
>        for (int j = 0; j < 10; j++) {
>          data[i][j] = 0xCCFFFF00;
>        }
>      }
>      OMGridData.Int gridData = new
> OMGridData.Int(data);
>
>      float vRes = (42.0f - 35.5f)/10.0f;
>      float hRes = (120.5f - 71.0f)/10.0f;
>
>      OMGrid omGrid = new OMGrid(35.5f, -120.5f,
> vRes, hRes, gridData);
>      SimpleColorGenerator gen = new
> SimpleColorGenerator();
>      omGrid.setGenerator(gen);
>
>      graphics.addOMGraphic(omGrid);
>
>      return graphics;
>    }
>
>    public void paint(java.awt.Graphics g) {
>      omgraphics.render(g);
>    }
>
>    public void projectionChanged(ProjectionEvent e) {
>      omgraphics.project(e.getProjection(), true);
>      repaint();
>    }
>  }
>
>
>
> --- Don Dietrick <dietrick@bbn.com> wrote:
>> There's an OMGrid object that handles this
>> situation.  You create one
>> where the grid should be overlayed, and give it an
>> OMGridGenerator that
>> creates OMGraphics from the data values within the
>> grid.  There are
>> example OMGridGenerators in the package.
>>
>> I think you might want to check out the version from
>> CVS, I did some
>> work this year on OMGrids that might make it easier
>> to use them for
>> your data values.  CVS instructions are on the
>> website download page.
>>
>> There is more information about OMGrids in the
>> javadocs.
>>
>> Regards,
>>
>> Don
>>
>> On Jul 8, 2004, at 5:02 PM, serrotam wrote:
>>
>>>
>>>  I would appreciate advice on how to approach the
>>> rendering of a (2D)grid of values that need to be
>>> rendered as an overlay on a lat-lon map.
>>>
>>>  grid of values can be  as large a 2000x2000 where
>>> each value will correspond to a colored square of
>> a
>>> few kilometers each.
>>>   ____________________________
>>>   | red     |  yellow | green  | ...
>>>
>>>   | red     |  green  | yellow | ...
>>>   | yellow |  red     | green  | ...
>>>   |     :      |    :       |    :      | ...
>>>
>>>   Which is the most efficient way of creating this
>>> layer?  I.e. with an OMRaster or  OMPolygons?
>>>
>>>  What are good examples for setting OMRaster
>>> projections?  these are still a bit confusing to
>> me.
>>> appreciate any hints.
>>>  TIA
>>>
>>>
>>> 		
>>> __________________________________
>>> Do you Yahoo!?
>>> New and Improved Yahoo! Mail - Send 10MB messages!
>>> http://promotions.yahoo.com/new_mail
>>> --
>>> [To unsubscribe to this list send an email to
>> "majdart@bbn.com"
>>> with the following text in the BODY of the message
>> "unsubscribe
>>> openmap-users"]
>>>
>>>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, dietrick@bbn.com
>> BBN Technologies, Cambridge, MA
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 10:24:17 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FEOBF07950
	for openmap-users-outgoing; Thu, 15 Jul 2004 10:24:11 -0400 (EDT)
In-Reply-To: <20040708171140.21736.qmail@web52910.mail.yahoo.com>
References: <20040708171140.21736.qmail@web52910.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <14DB92A6-D66A-11D8-B017-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Anonymous Layer added with RouteLayer
Date: Thu, 15 Jul 2004 07:20:11 -0700
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Serriotam,

There's a bug in the released version where it BasicMapPanel, as 
created there, actually creates a PropertyHandler that looks for an 
openmap.properties file and loads the components it finds in there.  
I've modified the BasicMapPanel for the next release so when it's 
created with an empty constructor, the PropertyHandler it creates won't 
do that, and the SimpleMap2 example should work as expected.

But that's why you saw all of those other components.

- Don

On Jul 8, 2004, at 10:11 AM, serrotam wrote:

> Yes, setting the RouteLayer name is not the problem.
> I would like to post an update code for the
> SimpleMap2.java, which I think needs to be updated or
> is incomplete.  From that you'll be able to experience
> what I am seeing.
>
>  Essentially, I add the RouteLayer, and setName as you
> suggest.   This is all fine and good until I go to
> save the openmap.properties after this RouteLayer has
> been added.   I notice that the openmap.properties now
> contains the OverviewMapAreaLayer that its associated
> with Anonymous layer.
> So next time I run the program and it reloads the
> openmap.properties, the previously added RouteLayer,
> loads up fine but this new "Anonymous" layer also gets
> added to the layers list.
>
>  So I guess the culprit is somewhere in the Save
> openmap properties.
>
> I submit SimpleMap3.java and RouteLayer.java
> (unmodified) to illustrate this better.
>
> Seems to me that some of the code in SimpleMap2 is may
> be outdated or redundant.
>
>
> --- Don Dietrick <dietrick@bbn.com> wrote:
>>
>> On Jul 8, 2004, at 11:13 AM, serrotam wrote:
>>
>>> I suspected as much.  Though, my confusion remains
>> as
>>> to how to deal with this.  Am I incorrectly adding
>> the
>>> RouteLayer  (from the examples.simple) to the
>>> mapHandler?   I'm simply doing:
>>>
>>>     RouteLayer rlayer = new RouteLayer();
>>
>> rlayer.setName("Routes");
>>
>> - Don
>>
>>>     _mapHandler.add(rlayer);
>>>
>>> I am not explicitelly adding the
>> OverviewMapHandler's
>>> layer to the mapHandler.   I appreciate your help.
>>>
>>> tia
>>>
>>> --- Don Dietrick <dietrick@bbn.com> wrote:
>>>> Anonymous is the default name given to a layer
>> that
>>>> doesn't know its
>>>> name, i.e 'prettyName'.
>>>>
>>>> If the OverviewMapHandler's layer is appearing in
>>>> the Layers Menu, that
>>>> indicates that its layer is being added to the
>>>> MapHandler and therefore
>>>> to the LayerHandler.  The overviewMapHandler
>> layer
>>>> shouldn't be added
>>>> to the LayerHandler, it manages its layers
>>>> separately for the main
>>>> application layers.
>>>>
>>>> - Don
>>>>
>>>> On Jul 7, 2004, at 2:36 PM, serrotam wrote:
>>>>
>>>>>
>>>>> Newbie question.   Can any one explain what is
>>>> going
>>>>> on with an Anonymous layer that is being added
>>>> when I
>>>>> add a RouteLayer
>>>>> (com.bbn.openmap.examples.simple.RouteLayer) to
>> an
>>>>> OpenMapFrame- mapHandler?
>>>>>
>>>>>    Everytime I add the RouteLayer, I notice an
>>>> extra
>>>>> layer labeled "Anonymous" in the Layer menu
>>>> listing.
>>>>> When I save the openmap.properties I see that
>> this
>>>> is
>>>>> associated with a  - overviewMapHandler - layer
>>>>> properties.  Which is
>>>>> com.bbn.openmap.layer.OverviewMapAreaLayer
>>>>>
>>>>> I appreciate any hints.
>>>>>
>>>>> tam
>>>>>
>>>>>
>>>>>
>>>>> 		
>>>>> __________________________________
>>>>> Do you Yahoo!?
>>>>> New and Improved Yahoo! Mail - Send 10MB
>> messages!
>>>>> http://promotions.yahoo.com/new_mail
>>>>> --
>>>>> [To unsubscribe to this list send an email to
>>>> "majdart@bbn.com"
>>>>> with the following text in the BODY of the
>> message
>>>> "unsubscribe
>>>>> openmap-users"]
>>>>>
>>>>>
>>>>
>>>>
>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>> Don Dietrick, dietrick@bbn.com
>>>> BBN Technologies, Cambridge, MA
>>>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>>>
>>>> --
>>>> [To unsubscribe to this list send an email to
>>>> "majdart@bbn.com"
>>>> with the following text in the BODY of the
>> message
>>>> "unsubscribe openmap-users"]
>>>>
>>>
>>>
>>>
>>> 		
>>> __________________________________
>>> Do you Yahoo!?
>>> New and Improved Yahoo! Mail - Send 10MB messages!
>>> http://promotions.yahoo.com/new_mail
>>> --
>>> [To unsubscribe to this list send an email to
>> "majdart@bbn.com"
>>> with the following text in the BODY of the message
>> "unsubscribe
>>> openmap-users"]
>>>
>>>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, dietrick@bbn.com
>> BBN Technologies, Cambridge, MA
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
>> --
>> [To unsubscribe to this list send an email to
>> "majdart@bbn.com"
>> with the following text in the BODY of the message
>> "unsubscribe openmap-users"]
>>
>
>
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail <SimpleMap3.java><RouteLayer.java>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 11:10:22 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FF9e209025
	for openmap-users-outgoing; Thu, 15 Jul 2004 11:09:40 -0400 (EDT)
Date: Thu, 15 Jul 2004 11:06:52 -0400 (EDT)
From: Chhaya Mudgal <chhaya@imcs.marine.rutgers.edu>
Message-Id: <200407151506.i6FF6qFW013663@imcs.marine.rutgers.edu>
X-Authentication-Warning: imcs.marine.rutgers.edu: nobody set sender to chhaya using -f
To: dietrick@bbn.com, cbahamon@infor.cl
Cc: openmap-users@bbn.com
X-Mailer: AeroMail (http://the.cushman.net/reverb/aeromail/)
Subject: [OpenMap Users] getting latlon values from x,y coordinates
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Hi Don,

I have a servlet in which javascript gives the x and y coordinates when clicked on 
the image. This image is generated from the maphandler. My problem is that the lat 
lon values that is returned from the mapRequestHandler is different all the time.
I will really appreciate if anyone has seen this problem and know the solution to it.

thanks

Chhaya
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 12:14:13 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FGDwE11983
	for openmap-users-outgoing; Thu, 15 Jul 2004 12:13:58 -0400 (EDT)
Message-ID: <40F6AD39.4030708@channing.harvard.edu>
Date: Thu, 15 Jul 2004 12:13:45 -0400
From: Adam Russell <Adam.Russell@channing.harvard.edu>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: openmap-users@bbn.com
Subject: Re: [OpenMap Users] getting latlon values from x,y coordinates
References: <200407151506.i6FF6qFW013663@imcs.marine.rutgers.edu>
In-Reply-To: <200407151506.i6FF6qFW013663@imcs.marine.rutgers.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I am not 100% sure what your question is but it seems like you want to 
convert from the x,y points provided from your javascript to the 
corresponding lat/lon points on the map image?
To do that you should take a look at
http://openmap.bbn.com/doc/api/com/bbn/openmap/proj/Projection.html#inverse(int,%20int)
Which explains the inverse() method.
Hope that helps.


Chhaya Mudgal wrote:

>Hi Don,
>
>I have a servlet in which javascript gives the x and y coordinates when clicked on 
>the image. This image is generated from the maphandler. My problem is that the lat 
>lon values that is returned from the mapRequestHandler is different all the time.
>I will really appreciate if anyone has seen this problem and know the solution to it.
>
>thanks
>
>Chhaya
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com"
>with the following text in the BODY of the message "unsubscribe openmap-users"]
>  
>

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 12:14:16 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FGDOp11973
	for openmap-users-outgoing; Thu, 15 Jul 2004 12:13:24 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [OpenMap Users] getting latlon values from x,y coordinates
Date: Thu, 15 Jul 2004 12:13:04 -0400
Message-ID: <77A645AA6D90F94498B996D8D0DF3DD501872EBB@RMTVA-XVC01.info.trw.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] getting latlon values from x,y coordinates
Thread-Index: AcRqgVeM8xDVn9qIQ/O86l9joPvSPAABSmwg
From: <Shahak.Nagiel@ngc.com>
To: <chhaya@imcs.marine.rutgers.edu>
Cc: <openmap-users@bbn.com>
X-OriginalArrivalTime: 15 Jul 2004 16:13:08.0189 (UTC) FILETIME=[9DFB98D0:01C46A86]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6FGDN711970
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Given the projection you're using, call the inverse(int x, int y) method, which will return a LatLonPoint.

-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On
Behalf Of Chhaya Mudgal
Sent: Thursday, July 15, 2004 11:07 AM
To: dietrick@bbn.com; cbahamon@infor.cl
Cc: openmap-users@bbn.com
Subject: [OpenMap Users] getting latlon values from x,y coordinates



Hi Don,

I have a servlet in which javascript gives the x and y coordinates when clicked on 
the image. This image is generated from the maphandler. My problem is that the lat 
lon values that is returned from the mapRequestHandler is different all the time.
I will really appreciate if anyone has seen this problem and know the solution to it.

thanks

Chhaya
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 19:03:50 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FN15E22481
	for openmap-users-outgoing; Thu, 15 Jul 2004 19:01:05 -0400 (EDT)
In-Reply-To: <200407151506.i6FF6qFW013663@imcs.marine.rutgers.edu>
References: <200407151506.i6FF6qFW013663@imcs.marine.rutgers.edu>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <BF185707-D6B1-11D8-8813-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: cbahamon@infor.cl, openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: [OpenMap Users] Re: getting latlon values from x,y coordinates
Date: Thu, 15 Jul 2004 15:53:11 -0700
To: Chhaya Mudgal <chhaya@imcs.marine.rutgers.edu>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Chhaya,

The trick is that you have to have your servlet provide the projection 
parameters of the current image to the page being displayed, so that 
when you send back the x, y point to the servlet, you can provide those 
parameters as well.  Then, you create a projection from those 
parameters, and inverse project the x, y coordinates from that 
projection.

- Don

On Jul 15, 2004, at 8:06 AM, Chhaya Mudgal wrote:

>
> Hi Don,
>
> I have a servlet in which javascript gives the x and y coordinates 
> when clicked on
> the image. This image is generated from the maphandler. My problem is 
> that the lat
> lon values that is returned from the mapRequestHandler is different 
> all the time.
> I will really appreciate if anyone has seen this problem and know the 
> solution to it.
>
> thanks
>
> Chhaya
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 19:47:56 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6FNlXZ22762
	for openmap-users-outgoing; Thu, 15 Jul 2004 19:47:33 -0400 (EDT)
In-Reply-To: <200407140212.i6E2Cfek006834@gollum.bbn.com>
References: <200407140212.i6E2Cfek006834@gollum.bbn.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5482F5A6-D6B9-11D8-8813-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] psuedo animation (changing layers that are cached raster images on a timer)
Date: Thu, 15 Jul 2004 16:47:28 -0700
To: "Ben Podoll" <benjamin.podoll@und.edu>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Ben,

On Jul 13, 2004, at 7:12 PM, Ben Podoll wrote:

> I have a custom app that has a time slider at the bottom of and then a 
> bunch of icons to turn on and off layers. It is coming along nicely, 
> but...
>
> The first question (which may be very simple) is how to get the icons 
> to turn on and off layers; I can't seem to find what the menu options 
> under layers execute. (Forgive me if that is too simple of a question, 
> a point in the right direction would help greatly)

Your buttons should tell the LayerHandler to turn a layer on or off.  
It will fire events to all other LayerListeners so they can accurately 
display whether a layer is visible or not.  If you are using toggle 
buttons, they should be LayerListeners to the LayerHandler, and set 
whether they are activated based on LayerEvents from the LayerHandler 
(instead of toggling their states themselves).

> The second question is, how hard (and do you know of an easy way to do 
> this) will it be to get my time slider to animate layers on the map? 
> It doesn't have to be true animation I just need a way to step thru 
> the images.

That is true animation. :)

>  For instance I have a radar layer that I wrote to grab raster images 
> and display them, so I am planning on keeping track of those images 
> and then with the time line just stepping thru the list of the radar 
> images and having OpenMap redraw them (now my question is: would I go 
> about doing that by adding my layer to the map like normal and then 
> via the external widgets control the layer by changing it's data and 
> calling it's repaint?)

The com.bbn.openmap.graphicLoader.scenario.ScenarioGraphicLoader does 
something like this.  But yes, you'd do exactly what you think you 
should do.

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 15 22:33:51 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6G2WuP26684
	for openmap-users-outgoing; Thu, 15 Jul 2004 22:32:56 -0400 (EDT)
X-Lasthop: 10.0.0.1
Message-ID: <1089944962736.1824.ws01.Naesasoft.FCF1ZW7M>
Date: Fri, 16 Jul 2004 10:29:22 +0800 (CST)
From: zhj45321@mail.sc.cninfo.net
To: DonDietrick <dietrick@bbn.com>
Subject: [OpenMap Users] Need further help, SimpleHttpImageServer does not work
Cc: openmap-users@bbn.com
Mime-Version: 1.0
Content-Type: text/plain; charset="GBK"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Mailer: Naesasoft Ares Mailer
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Don,

I started SimpleHttpImageServer by calling class com.bbn.openmap.image.SimpleHttpImageServer
with params as: -properties file:///F:/cyl/work/openMap/openmap-4.6/share/openmap.properties -port 80  -test.
Then test.jpg is created with non-zero size, but it's blank when it's opened.
When I debug into SimpleHttpImageServer, i found the layers are rendered so the 
property file is correct.

Could you tell me what's wrong?

Thank you in advance for your help.

Regards,
Yulei


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 16 12:17:23 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6GGGPh04950
	for openmap-users-outgoing; Fri, 16 Jul 2004 12:16:25 -0400 (EDT)
Message-ID: <A6444BBAEB65E94D94DEDB33BAF2A5032F2D8F@proliant.zeltech.com>
From: "Whanger, Thomas" <thomas.whanger@zeltech.com>
To: openmap-users@bbn.com
Subject: [OpenMap Users] threading questions
Date: Fri, 16 Jul 2004 12:11:19 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C46B4F.8761C830"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C46B4F.8761C830
Content-Type: text/plain

Hey all,

 

Without changing the code in OpenMap v4.6, is it safe to have only one
MapRequestHandler that every HTTP servlet request uses or should a new
MapRequestHandler be created for each servlet request?

 

Also, I saw the ImageServer class has a Javadoc comment that states, "Right
now, the ImageServer is single threaded - processing requests one after
another."  I am just curious, but how much and what work is involved to
multi-thread the ImageServer class?

 

Thanks in advance for your time and help,

-Tom


------_=_NextPart_001_01C46B4F.8761C830
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Hey all,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Without changing the code in OpenMap v4.6, is it safe to have =
only one
MapRequestHandler that every HTTP servlet request uses or should a new
MapRequestHandler be created for each servlet =
request?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;background:white'>Also, I
saw the ImageServer class has a Javadoc comment that states, "Right =
now, the
ImageServer is single threaded - processing requests one after =
another.</span>"
&nbsp;I am just curious, but how much and what work is involved to =
multi-thread
the ImageServer class?<o:p></o:p></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>Thanks in =
advance for
your time and help,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>-Tom<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C46B4F.8761C830--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 16 15:15:54 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6GJFHj10730
	for openmap-users-outgoing; Fri, 16 Jul 2004 15:15:17 -0400 (EDT)
Message-ID: <20040716190824.50291.qmail@web14525.mail.yahoo.com>
Date: Fri, 16 Jul 2004 12:08:24 -0700 (PDT)
From: Wilma Bainbridge <kornyhatemachine@yahoo.com>
Subject: [OpenMap Users] Historical Political Boundaries?
To: openmap-users@bbn.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi everyone!
 This is my first time with the OpenMap mailing
list... so I hope I'm doing this correctly!
 I was wondering - would anyone happen to know where I
can obtain a layer that contains the political
boundaries during World War II? I would use this
instead of the current political boundaries layer. If
not, how do I make one (easily, if possible?)
 Thanks and have nice weekends!

- Wilma Bainbridge


		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 16 18:24:40 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6GMN1R14971
	for openmap-users-outgoing; Fri, 16 Jul 2004 18:23:01 -0400 (EDT)
Message-ID: <40F85094.5020502@noaa.gov>
Date: Fri, 16 Jul 2004 16:03:00 -0600
From: "Ken Tanaka" <Ken.Tanaka@noaa.gov>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040415
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: openmap-users@bbn.com
Subject: Re: [OpenMap Users] Historical Political Boundaries?
References: <20040716190824.50291.qmail@web14525.mail.yahoo.com>
In-Reply-To: <20040716190824.50291.qmail@web14525.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

If you don't get a good answer here, consider also the newgroup 
comp.infosystems.gis since your question isn't necessarily openMap specific.

-Ken

Wilma Bainbridge wrote:

> I was wondering - would anyone happen to know where I
>can obtain a layer that contains the political
>boundaries during World War II? I would use this
>instead of the current political boundaries layer. If
>not, how do I make one (easily, if possible?)
> Thanks and have nice weekends!
>
>- Wilma Bainbridge
>  
>

-- 
= Geospatial Data Services Group ==================
| CIRES, National Geophysical Data Center / NOAA  |
= Ken.Tanaka@noaa.gov =============================


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sat Jul 17 00:01:53 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6H405121371
	for openmap-users-outgoing; Sat, 17 Jul 2004 00:00:05 -0400 (EDT)
In-Reply-To: <A6444BBAEB65E94D94DEDB33BAF2A5032F2D8F@proliant.zeltech.com>
References: <A6444BBAEB65E94D94DEDB33BAF2A5032F2D8F@proliant.zeltech.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <C110A83B-D7A5-11D8-A887-000A95BCCC44@bbn.com>
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] threading questions
Date: Fri, 16 Jul 2004 20:59:51 -0700
To: "Whanger, Thomas" <thomas.whanger@zeltech.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6H401721339
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


On Jul 16, 2004, at 9:11 AM, Whanger, Thomas wrote:

> Hey all,
>
>  
>
> Without changing the code in OpenMap v4.6, is it safe to have only one 
> MapRequestHandler that every HTTP servlet request uses or should a new 
> MapRequestHandler be created for each servlet request?

I'd reuse a MapRequestHandler.  You don't want to be creating layers 
for every request.

>
> Also, I saw the ImageServer class has a Javadoc comment that states, 
> "Right now, the ImageServer is single threaded - processing requests 
> one after another."  I am just curious, but how much and what work is 
> involved to multi-thread the ImageServer class?

It should be thread-safe, but because the method called on each layer 
is synchronized.

If you have the memory for it and want to avoid blocking as much as 
possible, you might want to think about having a pool of 
MapRequestHandlers to use.

- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Sun Jul 18 14:08:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6II4Sc10515
	for openmap-users-outgoing; Sun, 18 Jul 2004 14:04:28 -0400 (EDT)
Message-ID: <001301c46cf1$312edf10$1e00a8c0@TOOLBOX>
From: "Goran Pavelic" <gpmail@post.htnet.hr>
To: <openmap-users@bbn.com>
References: <A6444BBAEB65E94D94DEDB33BAF2A5032F2D8F@proliant.zeltech.com> <C110A83B-D7A5-11D8-A887-000A95BCCC44@bbn.com>
Subject: [OpenMap Users] mapserver vs openmap
Date: Sun, 18 Jul 2004 20:01:02 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I was trying to compare OpenMap and MapServer
(http://mapserver.gis.umn.edu).
I read a lot of documentation for the both, installed them and made some
basic
examples......partially :-). I would appreciate if someone with more
expirience would point out some pros&cons for using one or the other,
important limitations and issues etc.

Thank you

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Mon Jul 19 06:54:34 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6JArkh00047
	for openmap-users-outgoing; Mon, 19 Jul 2004 06:53:46 -0400 (EDT)
Date: Mon, 19 Jul 2004 12:46:53 +0200 (MEST)
From: "Karl Koch" <TheRanger@gmx.net>
To: openmap-users@bbn.com
MIME-Version: 1.0
Subject: [OpenMap Users] General map questions: Shifting points ... strange
X-Priority: 3 (Normal)
X-Authenticated: #21808356
Message-ID: <32474.1090234013@www28.gmx.net>
X-Mailer: WWW-Mail 1.6 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello everybody,

I have some questions about a more general topic not particularily about
OpenMap.

Background: I have a picture of a map which I have with some effort geocoded
using reference points. I have some locations to map to this map. I geocoded
those location using a internet mapping service which provides WGS84
locations. I used the same service for the reference points for putting the
map at hte place. 

Now, I added the first location point provided as longitude latitude in
WGS84 to my map and it was fine. However when I added more points I realised
that there were shifted somehow. Now my questions (Qx):

Q1: How can the points be shifted, even it I use the same mapping service
for putting the map picture in place and geocoding the location points. It
is both the same coordinate system (WGS 1984). 

Q2: In general, what are reasons for that effect that points shift even
though the same system is used, BUT different maps. 

Q3: Does anybody know how this problem is officially called and where I can
specifically read more about it (want to write about it and need therefore
more information).

Q4: Does somebody know more general mailing lists where I can ask questions
about mapping in general (geocoding, mapping, technologies related with the
mapping business etc.) ?

Thank you very much for your help,
Karl Koch


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Mon Jul 19 06:57:08 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6JAv5E00069
	for openmap-users-outgoing; Mon, 19 Jul 2004 06:57:05 -0400 (EDT)
Date: Mon, 19 Jul 2004 12:56:52 +0200 (MEST)
From: "Karl Koch" <TheRanger@gmx.net>
To: openmap-users@bbn.com
MIME-Version: 1.0
Subject: [OpenMap Users] General map question: Conversion
X-Priority: 3 (Normal)
X-Authenticated: #21808356
Message-ID: <13415.1090234612@www28.gmx.net>
X-Mailer: WWW-Mail 1.6 (Global Message Exchange)
X-Flags: 0001
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi again,

Is it possbile to transform a map, which I have in vector format (EPS) into
an Shape file (using a tool for geocode each point) ? Are thre any other
ways. In fact I would need to put this vector information at a certain point
in space (for example using the upper left corner as an angle point) and
want than that I can zoom as deep as I want without getting into pixel
business.

Karl Koch

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 20 07:25:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6KBLVw22424
	for openmap-users-outgoing; Tue, 20 Jul 2004 07:21:31 -0400 (EDT)
Date: Tue, 20 Jul 2004 12:21:11 +0100
From: Christian Weaves <christian.weaves@fugro-robertson.com>
Subject: [OpenMap Users] Declutter method
In-reply-to: <13415.1090234612@www28.gmx.net>
To: openmap-users@bbn.com
Message-id: <40FD0027.2060000@fugro-robertson.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1)
 Gecko/20021130
References: <13415.1090234612@www28.gmx.net>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Does anybody know when the decluttering method 
OMGraphic.setDeclutterType(int value) will be implemented?  Has anybody 
started working on this?

I would try and tackle it myself but it looks far too complicated ;)

Thanks.

Decluttering is not supported by OpenMap yet. But, when it is, these 
parameters will describe the way the object is manipulated on the window 
relative to its neighbors. DECLUTTERTYPE_NONE means the object will be 
drawn where its attributes say it should be. DECLUTTERTYPE_SPACE 
indicates that the window space of the object should be marked as taken, 
but the object should not be moved. DECLUTTERTYPE_MOVE means the object 
should be moved to the nearest open location closest to the position 
indicated by its attributes. DECLUTTERTYPE_LINE is the same as MOVE, but 
in addition, a line is drawn from the current position to its original 
position. 

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 20 11:10:41 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6KF9Cm25044
	for openmap-users-outgoing; Tue, 20 Jul 2004 11:09:12 -0400 (EDT)
Message-ID: <20040720150858.19318.qmail@web14928.mail.yahoo.com>
Date: Tue, 20 Jul 2004 08:08:58 -0700 (PDT)
From: Qinyan Zhou <zhouqinyan527@yahoo.com>
Subject: [OpenMap Users] access to spatial database?
To: Don Dietrick <dietrick@bbn.com>
Cc: openmap-users@bbn.com
In-Reply-To: <AA9CD649-C878-11D8-8E70-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Don,

Does openmap support JDBC for accessing to spatial
database currently?

Thanks,
Jessica


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 20 12:12:25 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6KGB8N26080
	for openmap-users-outgoing; Tue, 20 Jul 2004 12:11:08 -0400 (EDT)
In-Reply-To: <32474.1090234013@www28.gmx.net>
References: <32474.1090234013@www28.gmx.net>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5892D390-DA67-11D8-8356-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] General map questions: Shifting points ... strange
Date: Tue, 20 Jul 2004 09:10:40 -0700
To: "Karl Koch" <TheRanger@gmx.net>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Karl,

On Jul 19, 2004, at 3:46 AM, Karl Koch wrote:

> Hello everybody,
>
> I have some questions about a more general topic not particularily 
> about
> OpenMap.
>
> Background: I have a picture of a map which I have with some effort 
> geocoded
> using reference points. I have some locations to map to this map. I 
> geocoded
> those location using a internet mapping service which provides WGS84
> locations. I used the same service for the reference points for 
> putting the
> map at hte place.
>
> Now, I added the first location point provided as longitude latitude in
> WGS84 to my map and it was fine. However when I added more points I 
> realised
> that there were shifted somehow. Now my questions (Qx):
>
> Q1: How can the points be shifted, even it I use the same mapping 
> service
> for putting the map picture in place and geocoding the location 
> points. It
> is both the same coordinate system (WGS 1984).

I'd look at how they are shifted, and look for trends.  Are they all 
off by the same pixel amount, regardless of scale?  Does the shift 
amount depend on lat/lon?

> Q2: In general, what are reasons for that effect that points shift even
> though the same system is used, BUT different maps.

I'd also check the source of the data, and make sure the datums for the 
sources are truly the same.  Bad input == bad output.

> Q3: Does anybody know how this problem is officially called and where 
> I can
> specifically read more about it (want to write about it and need 
> therefore
> more information).

Datum mis-match?

> Q4: Does somebody know more general mailing lists where I can ask 
> questions
> about mapping in general (geocoding, mapping, technologies related 
> with the
> mapping business etc.) ?

comp.infosys.gis


- Don

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 20 12:12:26 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6KGBD626086
	for openmap-users-outgoing; Tue, 20 Jul 2004 12:11:13 -0400 (EDT)
Message-ID: <8FF908802100A9419F2792537D08AF18BB5239@fsjrez02.adm.rl.af.mil>
From: Hudson Brian R Contr AFRL/IFSF <Brian.Hudson@rl.af.mil>
To: "'Qinyan Zhou'" <zhouqinyan527@yahoo.com>,
   Don Dietrick
	 <dietrick@bbn.com>
Cc: openmap-users@bbn.com
Subject: RE: [OpenMap Users] access to spatial database?
Date: Tue, 20 Jul 2004 15:54:05 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello,

Take a look at com.bbn.openmap.layer.mysql.MysqlGeometryLayer it will
display geometric data from a Mysql spatial database.

The properties look like this (taken from the javadocs):

mygeo.prettyName=<Your Layer Name>
mygeo.dbUrl=< Driver Class > eg.
"jdbc:mysql://localhost/openmap?user=me&password=secret"
mygeo.dbClass=< Driver Class > eg. "com.mysql.jdbc.Driver"
mygeo.geomTable=<Database Tablename>
mygeo.geomColumn=<Column name which contains the geometry>
mygeo.pointSymbol=<Filename and path for image to use for point
objects>Default is 
# Optional Properties - use as required
# NOTE: There are default for each of these 
mygeo.lineColor=<Color for lines>Default is red
mygeo.lineWidth=<Pixel width of lines>Default is 0
mygeo.fillColor=<Color of fill>Default is red

As far as I know this is the only 'built-in' support for JDBC access to a
spatial database.

Hope this helps,

Brian Hudson

-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] On
Behalf Of Qinyan Zhou
Sent: Tuesday, July 20, 2004 11:09 AM
To: Don Dietrick
Cc: openmap-users@bbn.com
Subject: [OpenMap Users] access to spatial database?


Don,

Does openmap support JDBC for accessing to spatial
database currently?

Thanks,
Jessica


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
[To unsubscribe to this list send an email to "majdart@bbn.com" with the
following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 20 12:20:02 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6KGJ8w26258
	for openmap-users-outgoing; Tue, 20 Jul 2004 12:19:08 -0400 (EDT)
In-Reply-To: <40FD0027.2060000@fugro-robertson.com>
References: <13415.1090234612@www28.gmx.net> <40FD0027.2060000@fugro-robertson.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <8114B44E-DA68-11D8-8356-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Declutter method
Date: Tue, 20 Jul 2004 09:18:58 -0700
To: Christian Weaves <christian.weaves@fugro-robertson.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Christian,

There aren't plans to implement this in the immediate future.  It was 
added to the API at the beginning because the precursor to Openmap 
supported it, and we thought, at the time, that OpenMap would naturally 
have the same functionality.  Since then, though, it's been pushed on 
the back, back burner.  I was thinking about removing it from the API, 
but I never got around to it.   There should be an interface that 
describes this functionality instead.  Maybe a change for 4.7?

The DeclutterMatrix declutters for Location objects, maybe that's what 
you're looking for?

- Don

On Jul 20, 2004, at 4:21 AM, Christian Weaves wrote:

> Does anybody know when the decluttering method 
> OMGraphic.setDeclutterType(int value) will be implemented?  Has 
> anybody started working on this?
>
> I would try and tackle it myself but it looks far too complicated ;)
>
> Thanks.
>
> Decluttering is not supported by OpenMap yet. But, when it is, these 
> parameters will describe the way the object is manipulated on the 
> window relative to its neighbors. DECLUTTERTYPE_NONE means the object 
> will be drawn where its attributes say it should be. 
> DECLUTTERTYPE_SPACE indicates that the window space of the object 
> should be marked as taken, but the object should not be moved. 
> DECLUTTERTYPE_MOVE means the object should be moved to the nearest 
> open location closest to the position indicated by its attributes. 
> DECLUTTERTYPE_LINE is the same as MOVE, but in addition, a line is 
> drawn from the current position to its original position.
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 21 09:37:17 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6LDYWo13989
	for openmap-users-outgoing; Wed, 21 Jul 2004 09:34:32 -0400 (EDT)
Message-Id: <200407211334.i6LDYL2w020002@gandalf.bbn.com>
X-Qmail-Scanner-Mail-From: benjamin.podoll@und.edu via avout2
X-Qmail-Scanner: 1.22 (Clear:RC:1(69.9.252.25):. Processed in 0.069105 secs)
From: "Ben Podoll" <benjamin.podoll@und.edu>
To: <openmap-users@bbn.com>
Cc: "'OpenMap Support'" <openmap@bbn.com>
Subject: [OpenMap Users] Convert one lat/lon point to x/y
Date: Wed, 21 Jul 2004 08:34:06 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcRvJ2SSptM3T11FQxGFWxFaO/BjLQ==
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Qmail-Scanner-Message-ID: <109041685567220320@avout2>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Is there a convenience method (or static utility method somewhere) so that I
can just feed it a lat/lon (and projection) and it will return a x/y point?


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 21 10:12:11 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6LEB5614331
	for openmap-users-outgoing; Wed, 21 Jul 2004 10:11:05 -0400 (EDT)
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [OpenMap Users] Convert one lat/lon point to x/y
Date: Wed, 21 Jul 2004 10:10:50 -0400
Message-ID: <77A645AA6D90F94498B996D8D0DF3DD501872EC1@RMTVA-XVC01.info.trw.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OpenMap Users] Convert one lat/lon point to x/y
Thread-Index: AcRvJ2SSptM3T11FQxGFWxFaO/BjLQABOr0w
From: <Shahak.Nagiel@ngc.com>
To: <benjamin.podoll@und.edu>, <openmap-users@bbn.com>
X-OriginalArrivalTime: 21 Jul 2004 14:10:50.0816 (UTC) FILETIME=[870BD400:01C46F2C]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6LEB4714327
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Nothing static that I'm aware of, but on the projection object:

forward(LatLonPoint llpoint)

returns an java.awt.Point, from which you can get the x/y


-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On
Behalf Of Ben Podoll
Sent: Wednesday, July 21, 2004 9:34 AM
To: openmap-users@bbn.com
Cc: 'OpenMap Support'
Subject: [OpenMap Users] Convert one lat/lon point to x/y


Is there a convenience method (or static utility method somewhere) so that I
can just feed it a lat/lon (and projection) and it will return a x/y point?


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 21 10:24:57 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6LENus14451
	for openmap-users-outgoing; Wed, 21 Jul 2004 10:23:56 -0400 (EDT)
Message-ID: <8FF908802100A9419F2792537D08AF1807800EC6@fsjrez02.adm.rl.af.mil>
From: Hudson Brian R Contr AFRL/IFSF <Brian.Hudson@rl.af.mil>
To: Ben Podoll <benjamin.podoll@und.edu>, openmap-users@bbn.com
Cc: "'OpenMap Support'" <openmap@bbn.com>
Subject: RE: [OpenMap Users] Convert one lat/lon point to x/y
Date: Wed, 21 Jul 2004 14:21:48 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello,

The projection classes have forward methods that allow you to turn a Lat/Lon
into an XY point based on the projection your calling forward on.

Ie: Point xy = projection.forward(latLonPoint)

-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] On
Behalf Of Ben Podoll
Sent: Wednesday, July 21, 2004 9:34 AM
To: openmap-users@bbn.com
Cc: 'OpenMap Support'
Subject: [OpenMap Users] Convert one lat/lon point to x/y


Is there a convenience method (or static utility method somewhere) so that I
can just feed it a lat/lon (and projection) and it will return a x/y point?


--
[To unsubscribe to this list send an email to "majdart@bbn.com" with the
following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 21 10:31:15 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6LEU0314488
	for openmap-users-outgoing; Wed, 21 Jul 2004 10:30:00 -0400 (EDT)
Message-ID: <40FE7DDC.6020109@channing.harvard.edu>
Date: Wed, 21 Jul 2004 10:29:48 -0400
From: Adam Russell <Adam.Russell@channing.harvard.edu>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: openmap-users@bbn.com
Subject: Re: [OpenMap Users] Convert one lat/lon point to x/y
References: <200407211334.i6LDYL2w020002@gandalf.bbn.com>
In-Reply-To: <200407211334.i6LDYL2w020002@gandalf.bbn.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

to convert from the x,y points to the corresponding lat/lon points on 
the map image you should take a look at
http://openmap.bbn.com/doc/api/com/bbn/openmap/proj/Projection.html#inverse(int,%20int) 

Which explains the inverse() method.
Hope that helps.
 

Ben Podoll wrote:

>Is there a convenience method (or static utility method somewhere) so that I
>can just feed it a lat/lon (and projection) and it will return a x/y point?
>
>
>--
>[To unsubscribe to this list send an email to "majdart@bbn.com"
>with the following text in the BODY of the message "unsubscribe openmap-users"]
>  
>

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 21 11:03:02 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6LF1q614768
	for openmap-users-outgoing; Wed, 21 Jul 2004 11:01:52 -0400 (EDT)
Message-Id: <200407211501.i6LF1jZZ018869@gollum.bbn.com>
X-Qmail-Scanner-Mail-From: benjamin.podoll@und.edu via avout3
X-Qmail-Scanner: 1.22 (Clear:RC:1(69.9.252.25):. Processed in 0.060018 secs)
From: "Ben Podoll" <benjamin.podoll@und.edu>
To: <openmap-users@bbn.com>
Cc: "'OpenMap Support'" <openmap@bbn.com>
Subject: RE: [OpenMap Users] Convert one lat/lon point to x/y
Date: Wed, 21 Jul 2004 10:01:29 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcRvJ2SSptM3T11FQxGFWxFaO/BjLQABOr0wAAFTj7A=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
In-Reply-To: <77A645AA6D90F94498B996D8D0DF3DD501872EC1@RMTVA-XVC01.info.trw.com>
X-Qmail-Scanner-Message-ID: <109042209967218139@avout3>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

So the best way for me to do this (if I am working in Mercator) is to:

float scale = 17927308f;
int width = 800;
int height = 600;

LatLonPoint center = new LatLonPoint(43.7f,-102.0f);
Mercator m = new Mercator(center, scale, width, height);

float lat = 38.2f;
float lon = -111.7f;
LatLonPoint llp = new LatLonPoint(lat,lon);

Point p = new Point();
m.forward(llp, p);
System.out.println("(x,y) --> " + "(" + p.x + "," + p.y + ")");

   > -----Original Message-----
   > From: Shahak.Nagiel@ngc.com [mailto:Shahak.Nagiel@ngc.com]
   > Sent: Wednesday, July 21, 2004 9:11 AM
   > To: benjamin.podoll@und.nodak.edu; openmap-users@bbn.com
   > Subject: RE: [OpenMap Users] Convert one lat/lon point to x/y
   > 
   > Nothing static that I'm aware of, but on the projection object:
   > 
   > forward(LatLonPoint llpoint)
   > 
   > returns an java.awt.Point, from which you can get the x/y
   > 
   > 
   > -----Original Message-----
   > From: owner-openmap-users@bbn.com [mailto:owner-openmap-
   > users@bbn.com]On
   > Behalf Of Ben Podoll
   > Sent: Wednesday, July 21, 2004 9:34 AM
   > To: openmap-users@bbn.com
   > Cc: 'OpenMap Support'
   > Subject: [OpenMap Users] Convert one lat/lon point to x/y
   > 
   > 
   > Is there a convenience method (or static utility method somewhere) so
   > that I
   > can just feed it a lat/lon (and projection) and it will return a x/y
   > point?
   > 
   > 
   > --
   > [To unsubscribe to this list send an email to "majdart@bbn.com"
   > with the following text in the BODY of the message "unsubscribe
   > openmap-users"]


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Wed Jul 21 15:59:06 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6LJsGE18205
	for openmap-users-outgoing; Wed, 21 Jul 2004 15:54:16 -0400 (EDT)
Message-ID: <20040721195403.44057.qmail@web14921.mail.yahoo.com>
Date: Wed, 21 Jul 2004 12:54:03 -0700 (PDT)
From: Qinyan Zhou <zhouqinyan527@yahoo.com>
Subject: RE: [OpenMap Users] access to spatial database?
To: openmap-users@bbn.com
In-Reply-To: <8FF908802100A9419F2792537D08AF18BB5239@fsjrez02.adm.rl.af.mil>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Dear all,

I'm wondering how mygeo is relating to
MysqlGeometryLayer. 

Therefore, except keeping the properties I got from
Hudson, I'm trying to set one more property as
following:
mygeo.class=com.bbn.openmap.layer.mysql.MysqlGeometryLayer

However, something is still not clear to me. Where
should my query statements be placed? Any specific
format for geomColumn? What is the default value for
pointSymbol?

If some openmap users have such experience of
connecting openmap to a database, could you please
share it with us?

Thanks,
Jessica 


--- Hudson Brian R Contr AFRL/IFSF
<Brian.Hudson@rl.af.mil> wrote:
> Hello,
> 
> Take a look at
> com.bbn.openmap.layer.mysql.MysqlGeometryLayer it
> will
> display geometric data from a Mysql spatial
> database.
> 
> The properties look like this (taken from the
> javadocs):
> 
> mygeo.prettyName=<Your Layer Name>
> mygeo.dbUrl=< Driver Class > eg.
>
"jdbc:mysql://localhost/openmap?user=me&password=secret"
> mygeo.dbClass=< Driver Class > eg.
> "com.mysql.jdbc.Driver"
> mygeo.geomTable=<Database Tablename>
> mygeo.geomColumn=<Column name which contains the
> geometry>
> mygeo.pointSymbol=<Filename and path for image to
> use for point
> objects>Default is 
> # Optional Properties - use as required
> # NOTE: There are default for each of these 
> mygeo.lineColor=<Color for lines>Default is red
> mygeo.lineWidth=<Pixel width of lines>Default is 0
> mygeo.fillColor=<Color of fill>Default is red
> 
> As far as I know this is the only 'built-in' support
> for JDBC access to a
> spatial database.
> 
> Hope this helps,
> 
> Brian Hudson
> 
> -----Original Message-----
> From: owner-openmap-users@bbn.com
> [mailto:owner-openmap-users@bbn.com] On
> Behalf Of Qinyan Zhou
> Sent: Tuesday, July 20, 2004 11:09 AM
> To: Don Dietrick
> Cc: 
> Subject: [OpenMap Users] access to spatial database?
> 
> 
> Don,
> 
> Does openmap support JDBC for accessing to spatial
> database currently?
> 
> Thanks,
> Jessica
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 
> --
> [To unsubscribe to this list send an email to
> "majdart@bbn.com" with the
> following text in the BODY of the message
> "unsubscribe openmap-users"]
> --
> [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> with the following text in the BODY of the message
> "unsubscribe openmap-users"]
> 



	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 22 06:41:39 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6MAdDr02322
	for openmap-users-outgoing; Thu, 22 Jul 2004 06:39:13 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v618)
Content-Transfer-Encoding: 7bit
Message-Id: <070333CD-DBCB-11D8-87CE-000A95CD827E@pvv.ntnu.no>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: openmap-users@bbn.com
From: Tore Halset <halset@pvv.ntnu.no>
Subject: [OpenMap Users] complex line
Date: Thu, 22 Jul 2004 12:36:44 +0200
X-Mailer: Apple Mail (2.618)
X-OriginalArrivalTime: 22 Jul 2004 10:36:36.0394 (UTC) FILETIME=[C3A070A0:01C46FD7]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello.

I want to draw a complex line along a OMPoly path. One example: Draw a 
circle for every 10 pixel-units with random color.

Should I override the render-method of OMPoly or should I create my own 
OMGraphics from scratch?

Regards,
  - Tore.

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 22 09:39:42 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6MDcHl03488
	for openmap-users-outgoing; Thu, 22 Jul 2004 09:38:17 -0400 (EDT)
Message-Id: <200407221338.i6MDc783025564@gandalf.bbn.com>
From: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
To: "'Openmap-Users'" <openmap-users@bbn.com>
Subject: [OpenMap Users] Scaling Images for imagePointUrl
Date: Thu, 22 Jul 2004 15:37:29 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Thread-Index: AcRv8QhH8bCKvjw2S4SuheZjt2I40Q==
X-Qmail-Scanner-Message-ID: <109050353365310735@cancerbero>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6MDcG703485
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi all,

i`m trying to implement a re-scaling method for the images showed in every
point using the imagePointUrl Property when the mapbean is zoomed in/out.

I wonder if any of you could help me to find the correct place to do this
operation.
The escaling operation is quite simple, just multiply the size of the image
by the % of scale, and return the new scaled image, but the complexity is
where to put those lines.

I've seen that the rendered objects corresponding to the images on the
screen are OMRaster objects. I'm looking for a place where my code can be
located and trying to avoid a bottle-neck in the rendering process.When the
scale changes, i've to call this method to scale the image and leave it in
its place for the rendering process..

Where's the main rendering process made for shape layers?

I'm thinking another way to make a similar scaling efect; maybe chaging on
the fly the source file of the image for other file with the scaled image.
It this case i'll need 2 or 3 iamge files and switch them on the fly
depending on the scale, is it posible?

Any help or ideas will be welcomed..
Thanks in advance, 
Rubén.


--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 22 10:16:18 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6MEFDC04046
	for openmap-users-outgoing; Thu, 22 Jul 2004 10:15:13 -0400 (EDT)
Message-ID: <8FF908802100A9419F2792537D08AF18078CA36B@fsjrez02.adm.rl.af.mil>
From: Hudson Brian R Contr AFRL/IFSF <Brian.Hudson@rl.af.mil>
To: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>,
   "'Openmap-Users'"
	 <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] Scaling Images for imagePointUrl
Date: Thu, 22 Jul 2004 14:13:15 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6MEFD704043
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hey,

I would do this in the ShapeLayers prepare() method.

The prepare method is called from a separate thread (determined by the
ProjectionChangePolicy), this should help eliminate any adverse effects to
the rendering of other layers on your map.

If you are still having a problem, I would look into the
ProjectionChangePolicy for the shape layer, and make sure it calls
doPrepare() always (calls prepare on a separate thread).

Hope this helps,

Brian Hudson

-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] On
Behalf Of Rubén Ruiz
Sent: Thursday, July 22, 2004 9:37 AM
To: 'Openmap-Users'
Subject: [OpenMap Users] Scaling Images for imagePointUrl


Hi all,

i`m trying to implement a re-scaling method for the images showed in every
point using the imagePointUrl Property when the mapbean is zoomed in/out.

I wonder if any of you could help me to find the correct place to do this
operation. The escaling operation is quite simple, just multiply the size of
the image by the % of scale, and return the new scaled image, but the
complexity is where to put those lines.

I've seen that the rendered objects corresponding to the images on the
screen are OMRaster objects. I'm looking for a place where my code can be
located and trying to avoid a bottle-neck in the rendering process.When the
scale changes, i've to call this method to scale the image and leave it in
its place for the rendering process..

Where's the main rendering process made for shape layers?

I'm thinking another way to make a similar scaling efect; maybe chaging on
the fly the source file of the image for other file with the scaled image.
It this case i'll need 2 or 3 iamge files and switch them on the fly
depending on the scale, is it posible?

Any help or ideas will be welcomed..
Thanks in advance, 
Rubén.


--
[To unsubscribe to this list send an email to "majdart@bbn.com" with the
following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Thu Jul 22 15:24:00 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6MJN1v08158
	for openmap-users-outgoing; Thu, 22 Jul 2004 15:23:01 -0400 (EDT)
In-Reply-To: <200407221338.i6MDc783025564@gandalf.bbn.com>
References: <200407221338.i6MDc783025564@gandalf.bbn.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <854327F6-DC14-11D8-92F8-000A95BCCC44@bbn.com>
Cc: "'Openmap-Users'" <openmap-users@bbn.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Scaling Images for imagePointUrl
Date: Thu, 22 Jul 2004 15:22:50 -0400
To: =?ISO-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6MJN0708155
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Have you thought about using an OMScalingIcon?  It does what you 
describe.

- Don


On Jul 22, 2004, at 9:37 AM, Rubén Ruiz wrote:

> Hi all,
>
> i`m trying to implement a re-scaling method for the images showed in 
> every
> point using the imagePointUrl Property when the mapbean is zoomed 
> in/out.
>
> I wonder if any of you could help me to find the correct place to do 
> this
> operation.
> The escaling operation is quite simple, just multiply the size of the 
> image
> by the % of scale, and return the new scaled image, but the complexity 
> is
> where to put those lines.
>
> I've seen that the rendered objects corresponding to the images on the
> screen are OMRaster objects. I'm looking for a place where my code can 
> be
> located and trying to avoid a bottle-neck in the rendering 
> process.When the
> scale changes, i've to call this method to scale the image and leave 
> it in
> its place for the rendering process..
>
> Where's the main rendering process made for shape layers?
>
> I'm thinking another way to make a similar scaling efect; maybe 
> chaging on
> the fly the source file of the image for other file with the scaled 
> image.
> It this case i'll need 2 or 3 iamge files and switch them on the fly
> depending on the scale, is it posible?
>
> Any help or ideas will be welcomed..
> Thanks in advance,
> Rubén.
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 23 04:42:31 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6N8daT21606
	for openmap-users-outgoing; Fri, 23 Jul 2004 04:39:36 -0400 (EDT)
Date: Fri, 23 Jul 2004 09:38:28 +0100
From: "Gatrell, Mark (UK)" <mark.gatrell@baesystems.com>
Subject: [OpenMap Users] Speed Issues
To: "Openmap-Users (E-mail)" <openmap-users@bbn.com>
Message-id: <F4757F038CDD79499CF1F293240924791067CA@glkms0005.greenlnk.net>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft Exchange V6.0.6556.0
Content-type: text/plain;	charset="iso-8859-1"
Thread-Topic: Speed Issues
Thread-Index: AcRwkG1FUD/UTECjTWqYpnbm96tRRQ==
content-class: urn:content-classes:message
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
X-OriginalArrivalTime: 23 Jul 2004 08:38:28.0991 (UTC)
 FILETIME=[6D9E50F0:01C47090]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6N8dZ721603
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk


Hi all

	I am experiencing speed problems with my application...

	First the system:-
2.4Ghz P4
1.5GB DDR RAM
128MB GForce graphics card
80GB drive

	I have set a test OmPoly graphic rotating on the screen to simulate a radar scan using a timer to update the position etc.

The sequence below is called on every timer expiry. I.E 10ms

This works fine until I turn on the VmapLevel1 data layer I.E railroads.When the Vmap data layers are on, the sweeping of the graphic appears to jump a few positions and then catches up with itself. I assume the rendering is suffering.

Has anyone any ideas as to why this is happening? and maybe what I can do to improve this?

Any help is appreciated

regards

Mark.


  public void redrawTestIcon()
  {


// Create the new OmPoly latlong positions

   anglePointA = azi - TestIconAngle/2; // gives points either side of the heading to give a cone shape field of view
   anglePointB = azi + TestIconAngle/2;

    newLatLonPointsA = CalculateX_Y_UtmPoint(5000,anglePointA); // returns an array of latlon points.
    newLatLonPointsB = CalculateX_Y_UtmPoint(5000,anglePointB);
	float[] llPoints = new float[8];
	float[] llPointsman = new float[8];
	llPoints[0] = vanLatPosition;
	llPoints[1] = vanLonPosition;
	llPoints[2] = newLatLonPointsA[0];
	llPoints[3] = newLatLonPointsA[1];
	llPoints[4] = newLatLonPointsB[0];
	llPoints[5] = newLatLonPointsB[1];
	llPoints[6] = vanLatPosition;
	llPoints[7] = vanLonPosition;

// Redraw the OmPoly

 TestIcon.setLocation(llPoints,OMGraphic.DECIMAL_DEGREES);

 TestIcon.regenerate(this.getProjection());

 this.repaint();

 azi++;


  }

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 23 09:29:26 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6NDOOT23489
	for openmap-users-outgoing; Fri, 23 Jul 2004 09:24:24 -0400 (EDT)
Message-ID: <8FF908802100A9419F2792537D08AF18078CAADA@fsjrez02.adm.rl.af.mil>
From: Hudson Brian R Contr AFRL/IFSF <Brian.Hudson@rl.af.mil>
To: "Gatrell, Mark (UK)" <mark.gatrell@baesystems.com>,
   "Openmap-Users (E-mail)" <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] Speed Issues
Date: Fri, 23 Jul 2004 13:22:28 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hey,

You could change the VPFLayer so that it renders its list to a buffer
(BufferedImage) and then once complete, renders that image to the screen.

I work with some very large shape files, and I had to do a similar thing to
get chemical plumes animating without a serious loss in performance (due to
the rendering time required to redraw the thousands of points of the shape
file).

You may want to take a look at the BufferedLayer, I believe you can add the
VPFLayer to this layer (it has its own MapBean) and it would handle the
buffering for you.

Hope this helps,

Brian Hudson

-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] On
Behalf Of Gatrell, Mark (UK)
Sent: Friday, July 23, 2004 4:38 AM
To: Openmap-Users (E-mail)
Subject: [OpenMap Users] Speed Issues



Hi all

	I am experiencing speed problems with my application...

	First the system:-
2.4Ghz P4
1.5GB DDR RAM
128MB GForce graphics card
80GB drive

	I have set a test OmPoly graphic rotating on the screen to simulate
a radar scan using a timer to update the position etc.

The sequence below is called on every timer expiry. I.E 10ms

This works fine until I turn on the VmapLevel1 data layer I.E railroads.When
the Vmap data layers are on, the sweeping of the graphic appears to jump a
few positions and then catches up with itself. I assume the rendering is
suffering.

Has anyone any ideas as to why this is happening? and maybe what I can do to
improve this?

Any help is appreciated

regards

Mark.


  public void redrawTestIcon()
  {


// Create the new OmPoly latlong positions

   anglePointA = azi - TestIconAngle/2; // gives points either side of the
heading to give a cone shape field of view
   anglePointB = azi + TestIconAngle/2;

    newLatLonPointsA = CalculateX_Y_UtmPoint(5000,anglePointA); // returns
an array of latlon points.
    newLatLonPointsB = CalculateX_Y_UtmPoint(5000,anglePointB);
	float[] llPoints = new float[8];
	float[] llPointsman = new float[8];
	llPoints[0] = vanLatPosition;
	llPoints[1] = vanLonPosition;
	llPoints[2] = newLatLonPointsA[0];
	llPoints[3] = newLatLonPointsA[1];
	llPoints[4] = newLatLonPointsB[0];
	llPoints[5] = newLatLonPointsB[1];
	llPoints[6] = vanLatPosition;
	llPoints[7] = vanLonPosition;

// Redraw the OmPoly

 TestIcon.setLocation(llPoints,OMGraphic.DECIMAL_DEGREES);

 TestIcon.regenerate(this.getProjection());

 this.repaint();

 azi++;


  }

********************************************************************
This email and any attachments are confidential to the intended recipient
and may also be privileged. If you are not the intended recipient please
delete it from your system and notify the sender. You should not copy it or
use it for any purpose nor disclose or distribute its contents to any other
person.
********************************************************************
--
[To unsubscribe to this list send an email to "majdart@bbn.com" with the
following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 23 09:37:24 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6NDb5i23826
	for openmap-users-outgoing; Fri, 23 Jul 2004 09:37:05 -0400 (EDT)
Message-Id: <200407231336.i6NDauxj014821@gollum.bbn.com>
From: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
To: "'Don Dietrick'" <dietrick@bbn.com>
Cc: "'Openmap-Users'" <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] Scaling Images for imagePointUrl
Date: Fri, 23 Jul 2004 15:36:25 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Thread-Index: AcRwKoGwv5FxOMupRH+gAd7s4nvh3QAj2pNw
In-Reply-To: <854327F6-DC14-11D8-92F8-000A95BCCC44@bbn.com>
X-Qmail-Scanner-Message-ID: <109058987065316618@cancerbero>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6NDb4723823
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Thanks Don,
I'll try with it :)

I'll tell you all how is it going....

Thanks again,
Rubén. 

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Don Dietrick
Enviado el: jueves, 22 de julio de 2004 21:23
Para: Rubén Ruiz
CC: 'Openmap-Users'
Asunto: Re: [OpenMap Users] Scaling Images for imagePointUrl

Have you thought about using an OMScalingIcon?  It does what you describe.

- Don


On Jul 22, 2004, at 9:37 AM, Rubén Ruiz wrote:

> Hi all,
>
> i`m trying to implement a re-scaling method for the images showed in 
> every point using the imagePointUrl Property when the mapbean is 
> zoomed in/out.
>
> I wonder if any of you could help me to find the correct place to do 
> this operation.
> The escaling operation is quite simple, just multiply the size of the 
> image by the % of scale, and return the new scaled image, but the 
> complexity is where to put those lines.
>
> I've seen that the rendered objects corresponding to the images on the 
> screen are OMRaster objects. I'm looking for a place where my code can 
> be located and trying to avoid a bottle-neck in the rendering 
> process.When the scale changes, i've to call this method to scale the 
> image and leave it in its place for the rendering process..
>
> Where's the main rendering process made for shape layers?
>
> I'm thinking another way to make a similar scaling efect; maybe 
> chaging on the fly the source file of the image for other file with 
> the scaled image.
> It this case i'll need 2 or 3 iamge files and switch them on the fly 
> depending on the scale, is it posible?
>
> Any help or ideas will be welcomed..
> Thanks in advance,
> Rubén.
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]



--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 23 10:42:15 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6NEfOH24415
	for openmap-users-outgoing; Fri, 23 Jul 2004 10:41:24 -0400 (EDT)
In-Reply-To: <8FF908802100A9419F2792537D08AF18078CAADA@fsjrez02.adm.rl.af.mil>
References: <8FF908802100A9419F2792537D08AF18078CAADA@fsjrez02.adm.rl.af.mil>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <5247ACB0-DCB6-11D8-A5BE-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: "Openmap-Users (E-mail)" <openmap-users@bbn.com>,
   "Gatrell, Mark (UK)" <mark.gatrell@baesystems.com>
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Speed Issues
Date: Fri, 23 Jul 2004 10:41:02 -0400
To: Hudson Brian R Contr AFRL/IFSF <Brian.Hudson@rl.af.mil>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Mark, Brian,

Actually, in 4.6, the BufferedImageRenderPolicy was added, so you can 
automatically add image buffering to individual OMGraphicHandlerLayers 
(of which VPF is one) without a code change.  You just set the 
renderingPolicy property (or set the object, programmatically) to one.

For the VPFLayer in 4.6, however, the BufferedImageRenderPolicy is the 
default policy, so you would be seeing that benefit already.

The other thing I would try in 4.6 is to mark all layers that are not 
part of the animation as 'background' layers (set via property or 
programmatically).  The BufferedLayerMapBean will place all of those 
layers at the back of the layer stack in a separate image buffer.  You 
can also send layers to this buffer using the LayersPanel, there's a 
line separating the layers that are buffered and those that are not, 
and you just use the arrows to move the layers in/out of the buffer.

- Don

On Jul 23, 2004, at 9:22 AM, Hudson Brian R Contr AFRL/IFSF wrote:

> Hey,
>
> You could change the VPFLayer so that it renders its list to a buffer
> (BufferedImage) and then once complete, renders that image to the 
> screen.
>
> I work with some very large shape files, and I had to do a similar 
> thing to
> get chemical plumes animating without a serious loss in performance 
> (due to
> the rendering time required to redraw the thousands of points of the 
> shape
> file).
>
> You may want to take a look at the BufferedLayer, I believe you can 
> add the
> VPFLayer to this layer (it has its own MapBean) and it would handle the
> buffering for you.
>
> Hope this helps,
>
> Brian Hudson
>
> -----Original Message-----
> From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] 
> On
> Behalf Of Gatrell, Mark (UK)
> Sent: Friday, July 23, 2004 4:38 AM
> To: Openmap-Users (E-mail)
> Subject: [OpenMap Users] Speed Issues
>
>
>
> Hi all
>
> 	I am experiencing speed problems with my application...
>
> 	First the system:-
> 2.4Ghz P4
> 1.5GB DDR RAM
> 128MB GForce graphics card
> 80GB drive
>
> 	I have set a test OmPoly graphic rotating on the screen to simulate
> a radar scan using a timer to update the position etc.
>
> The sequence below is called on every timer expiry. I.E 10ms
>
> This works fine until I turn on the VmapLevel1 data layer I.E 
> railroads.When
> the Vmap data layers are on, the sweeping of the graphic appears to 
> jump a
> few positions and then catches up with itself. I assume the rendering 
> is
> suffering.
>
> Has anyone any ideas as to why this is happening? and maybe what I can 
> do to
> improve this?
>
> Any help is appreciated
>
> regards
>
> Mark.
>
>
>   public void redrawTestIcon()
>   {
>
>
> // Create the new OmPoly latlong positions
>
>    anglePointA = azi - TestIconAngle/2; // gives points either side of 
> the
> heading to give a cone shape field of view
>    anglePointB = azi + TestIconAngle/2;
>
>     newLatLonPointsA = CalculateX_Y_UtmPoint(5000,anglePointA); // 
> returns
> an array of latlon points.
>     newLatLonPointsB = CalculateX_Y_UtmPoint(5000,anglePointB);
> 	float[] llPoints = new float[8];
> 	float[] llPointsman = new float[8];
> 	llPoints[0] = vanLatPosition;
> 	llPoints[1] = vanLonPosition;
> 	llPoints[2] = newLatLonPointsA[0];
> 	llPoints[3] = newLatLonPointsA[1];
> 	llPoints[4] = newLatLonPointsB[0];
> 	llPoints[5] = newLatLonPointsB[1];
> 	llPoints[6] = vanLatPosition;
> 	llPoints[7] = vanLonPosition;
>
> // Redraw the OmPoly
>
>  TestIcon.setLocation(llPoints,OMGraphic.DECIMAL_DEGREES);
>
>  TestIcon.regenerate(this.getProjection());
>
>  this.repaint();
>
>  azi++;
>
>
>   }
>
> ********************************************************************
> This email and any attachments are confidential to the intended 
> recipient
> and may also be privileged. If you are not the intended recipient 
> please
> delete it from your system and notify the sender. You should not copy 
> it or
> use it for any purpose nor disclose or distribute its contents to any 
> other
> person.
> ********************************************************************
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com" with 
> the
> following text in the BODY of the message "unsubscribe openmap-users"]
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Fri Jul 23 12:52:08 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6NGpZV25848
	for openmap-users-outgoing; Fri, 23 Jul 2004 12:51:35 -0400 (EDT)
Message-Id: <200407231651.i6NGpQxj003129@gollum.bbn.com>
From: =?iso-8859-1?Q?Rub=E9n_Ruiz?= <vinilo@cancerbero.org>
To: "'Don Dietrick'" <dietrick@bbn.com>
Cc: "'Openmap-Users'" <openmap-users@bbn.com>
Subject: RE: [OpenMap Users] Scaling Images for imagePointUrl
Date: Fri, 23 Jul 2004 18:50:42 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Thread-Index: AcRwKoGwv5FxOMupRH+gAd7s4nvh3QAj2pNwAAa9U6A=
In-Reply-To: <200407231336.i6NDauxj014821@gollum.bbn.com>
X-Qmail-Scanner-Message-ID: <109060153465318159@cancerbero>
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6NGpY725844
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Ok, it's up n' running, all my images are being resized ok.

I've changed in OMGraphicList the creation of the OMRaster by a new
OMScalingIcon with the basescale...
It works great.

Thanks to all, keep working like this..
Rubén. 

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Rubén Ruiz
Enviado el: viernes, 23 de julio de 2004 15:36
Para: 'Don Dietrick'
CC: 'Openmap-Users'
Asunto: RE: [OpenMap Users] Scaling Images for imagePointUrl

Thanks Don,
I'll try with it :)

I'll tell you all how is it going....

Thanks again,
Rubén. 

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Don Dietrick Enviado el: jueves, 22 de julio de 2004 21:23
Para: Rubén Ruiz
CC: 'Openmap-Users'
Asunto: Re: [OpenMap Users] Scaling Images for imagePointUrl

Have you thought about using an OMScalingIcon?  It does what you describe.

- Don


On Jul 22, 2004, at 9:37 AM, Rubén Ruiz wrote:

> Hi all,
>
> i`m trying to implement a re-scaling method for the images showed in 
> every point using the imagePointUrl Property when the mapbean is 
> zoomed in/out.
>
> I wonder if any of you could help me to find the correct place to do 
> this operation.
> The escaling operation is quite simple, just multiply the size of the 
> image by the % of scale, and return the new scaled image, but the 
> complexity is where to put those lines.
>
> I've seen that the rendered objects corresponding to the images on the 
> screen are OMRaster objects. I'm looking for a place where my code can 
> be located and trying to avoid a bottle-neck in the rendering 
> process.When the scale changes, i've to call this method to scale the 
> image and leave it in its place for the rendering process..
>
> Where's the main rendering process made for shape layers?
>
> I'm thinking another way to make a similar scaling efect; maybe 
> chaging on the fly the source file of the image for other file with 
> the scaled image.
> It this case i'll need 2 or 3 iamge files and switch them on the fly 
> depending on the scale, is it posible?
>
> Any help or ideas will be welcomed..
> Thanks in advance,
> Rubén.
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]



--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]



--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Mon Jul 26 09:28:59 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6QDPUm16998
	for openmap-users-outgoing; Mon, 26 Jul 2004 09:25:30 -0400 (EDT)
Message-ID: <4104FC70.8070305@altern.org>
Date: Mon, 26 Jul 2004 14:43:28 +0200
From: "xrr@altern.org" <xrr@altern.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: openmap-users@bbn.com
Subject: [OpenMap Users] VPFLayer issue - how are all  the VPF layer properties set ?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello,

I have an issue trying to use a BufferedLayer with many VPFLayers.

First I had to change the BufferedLayer and the VPFlayer classes.
Because the layers handled managed by the bufferedLayer were not aware of the 
bean context. So I overrided setBeanContext in BufferedLayer so that it will 
call setBeanContext in all the layers.

Now all the VPFLayers are properly set-up but when I save a map, the properties 
are not properly saved.

here's what I get in the saved properties for one of the layers agregated by 
BufferedLayer :

vmapRoads1.addToBeanContext=true
vmapRoads1.autoPalette=false
vmapRoads1.background=false
vmapRoads1.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapRoads1.consumeEvents=false
vmapRoads1.pcp.class=com.bbn.openmap.layer.policy.ListResetPCPolicy
vmapRoads1.prettyName=VMAP L0 SASAUS(Asia)
vmapRoads1.projectionChangePolicy=pcp
vmapRoads1.removeable=true
vmapRoads1.renderPolicy=rp
vmapRoads1.rp.class=com.bbn.openmap.layer.policy.BufferedImageRenderPolicy

here's the full set in the initial openmap.properties file :

vmapRoads1.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapRoads1.prettyName=VMAP L0 SASAUS(Asia)
vmapRoads1.libraryBean=VMAPL0SASAUS
vmapRoads1.coverageType=trans
vmapRoads1.featureTypes=edge area text
vmapRoads1.edge=roadl trackl traill
vmapRoads1.addToBeanContext=true

vmapRoads1.roadl.lineWidth=1
vmapRoads1.roadl.lineColor=F0000000
vmapRoads1.roadl.matted=false
vmapRoads1.roadl.mattingColor=F0000000
vmapRoads1.traill.lineWidth=1
vmapRoads1.traill.lineColor=F0000000
vmapRoads1.traill.matted=false
vmapRoads1.trackl.lineWidth=1
vmapRoads1.trackl.dashPattern=10 10
vmapRoads1.trackl.lineColor=F0ffb200
vmapRoads1.trackl.matted=false
vmapRoads1.trackl.mattingColor=000000




you can see that a lot are missing...

Any idea how I can update bufferedLayer so that all the properties of the 
VPFLayer will be properly saved ?
Actually I have no idea so far about how and where those missing properties are 
handled.


Thanks in advance,

			Xavier

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 02:58:52 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6R6uQZ02442
	for openmap-users-outgoing; Tue, 27 Jul 2004 02:56:26 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v618)
Content-Transfer-Encoding: 7bit
Message-Id: <D5E40801-DF99-11D8-B670-000A95CD827E@pvv.ntnu.no>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: openmap-users@bbn.com
From: Tore Halset <halset@pvv.ntnu.no>
Subject: [OpenMap Users] OMPoly with holes?
Date: Tue, 27 Jul 2004 08:54:41 +0200
X-Mailer: Apple Mail (2.618)
X-OriginalArrivalTime: 27 Jul 2004 06:54:31.0970 (UTC) FILETIME=[91B77020:01C473A6]
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hello!

I am creating OMPoly from postgis Polygons, but how should I create a 
hole in a OMPoly? After searching I found this one:

http://openmap.bbn.com/mailArchives/openmap-users/2003-04/1529.html

Is that still the best way to do it?

Regards,
  - Tore.

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 10:55:03 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6REo7I05958
	for openmap-users-outgoing; Tue, 27 Jul 2004 10:50:07 -0400 (EDT)
Message-ID: <20040727144954.36942.qmail@web52910.mail.yahoo.com>
Date: Tue, 27 Jul 2004 07:49:54 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: Re: [OpenMap Users] Need advice on Layer to use to render grid of polygons
To: openmap-users@bbn.com
In-Reply-To: <F9B62E2B-D132-11D8-B95A-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-1941905514-1090939794=:36901"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

--0-1941905514-1090939794=:36901
Content-Type: multipart/alternative; boundary="0-1573974141-1090939794=:36901"

--0-1573974141-1090939794=:36901
Content-Type: text/plain; charset=us-ascii

Thank you Don.  Your dedication and attention to this mailing list is to be commended.   Your advice has worked its charm every time.   Thanks.  
 
For the record and other future newbie users, I have managed to create an overlay using a grid set of values that correspond to 3 different colors.   Essentially I used the following:
 
public class MyGridLayer extends Layer {
    :
    :
 
    OMGridData.Int rgbGridData = argb_GridData(someArrayOfIntVals);
    OMGrid omGrid = new OMGRID(lat_min, lon_min, 
                                                    deltaLat, deltaLon, rgbGridData );
    SimpleColorGenerator  gen = new SimpleColorGenerator();
    omGrid.setGenerator(gen);
    this.omgraphics.addOMGraphic(omGrid);    
}
 
 
This works well.  I'll just have to optimize the color generator so that a new OMRaster is created only when the projection changes, and not everytime you pan or change position.
 
QUESTION that remains.  I did a checkered pattern (10x10 grid) to test this OMGrid and I notice that the cells on the edges of the checker board are essentially cut in half.  I was wondering if you (or anyone else) could please explain this effect.  I've attached a small image that illustrates what I'm seeing.  Is this a function of how the generator places the pixels in the OMRaster ?  
tia
 

Don Dietrick <dietrick@bbn.com> wrote:
There's an OMGrid object that handles this situation. You create one 
where the grid should be overlayed, and give it an OMGridGenerator that 
creates OMGraphics from the data values within the grid. There are 
example OMGridGenerators in the package.

I think you might want to check out the version from CVS, I did some 
work this year on OMGrids that might make it easier to use them for 
your data values. CVS instructions are on the website download page.

There is more information about OMGrids in the javadocs.

Regards,

Don

On Jul 8, 2004, at 5:02 PM, serrotam wrote:

>
> I would appreciate advice on how to approach the
> rendering of a (2D)grid of values that need to be
> rendered as an overlay on a lat-lon map.
>
> grid of values can be as large a 2000x2000 where
> each value will correspond to a colored square of a
> few kilometers each.
> ____________________________
> | red | yellow | green | ...
>
> | red | green | yellow | ...
> | yellow | red | green | ...
> | : | : | : | ...
>
> Which is the most efficient way of creating this
> layer? I.e. with an OMRaster or OMPolygons?
>
> What are good examples for setting OMRaster
> projections? these are still a bit confusing to me.
> appreciate any hints.
> TIA
>
>
> 


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
--0-1573974141-1090939794=:36901
Content-Type: text/html; charset=us-ascii

<DIV>
<DIV>Thank you Don.&nbsp; Your dedication and attention to this mailing list is to be commended.&nbsp;&nbsp; Your advice has worked its charm every time.&nbsp;&nbsp; Thanks.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>For the record and other future newbie users, I have managed to create an overlay using a grid set of values that correspond to 3 different colors.&nbsp;&nbsp; Essentially I used the following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>public class MyGridLayer extends Layer {</DIV>
<DIV>&nbsp;&nbsp;&nbsp; :</DIV>
<DIV>&nbsp;&nbsp;&nbsp; :</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; OMGridData.Int rgbGridData = argb_GridData(someArrayOfIntVals);</DIV>
<DIV>&nbsp;&nbsp;&nbsp; OMGrid omGrid = new OMGRID(lat_min, lon_min, </DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; deltaLat, deltaLon, rgbGridData );</DIV>
<DIV>&nbsp;&nbsp;&nbsp; SimpleColorGenerator&nbsp; gen = new SimpleColorGenerator();</DIV>
<DIV>&nbsp;&nbsp;&nbsp; omGrid.setGenerator(gen);</DIV>
<DIV>&nbsp;&nbsp;&nbsp; this.omgraphics.addOMGraphic(omGrid);&nbsp;&nbsp;&nbsp; </DIV>
<DIV>}</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>This works well.&nbsp; I'll just have to optimize the color generator so that a new OMRaster is created only when the projection changes, and not everytime you pan or change position.</DIV>
<DIV>&nbsp;</DIV>
<DIV>QUESTION that remains.&nbsp; I did a checkered pattern (10x10 grid) to test this OMGrid and I notice that the cells on the edges of the checker board are essentially cut in half.&nbsp; I was wondering if you (or anyone else) could please&nbsp;explain this effect.&nbsp; I've attached a small image that illustrates what I'm seeing.&nbsp; Is this a function of how the generator places the pixels in the OMRaster ?&nbsp; </DIV>
<DIV>tia</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><B><I>Don Dietrick &lt;dietrick@bbn.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">There's an OMGrid object that handles this situation. You create one <BR>where the grid should be overlayed, and give it an OMGridGenerator that <BR>creates OMGraphics from the data values within the grid. There are <BR>example OMGridGenerators in the package.<BR><BR>I think you might want to check out the version from CVS, I did some <BR>work this year on OMGrids that might make it easier to use them for <BR>your data values. CVS instructions are on the website download page.<BR><BR>There is more information about OMGrids in the javadocs.<BR><BR>Regards,<BR><BR>Don<BR><BR>On Jul 8, 2004, at 5:02 PM, serrotam wrote:<BR><BR>&gt;<BR>&gt; I would appreciate advice on how to approach the<BR>&gt; rendering of a (2D)grid of values that need to be<BR>&gt; rendered as an overlay on a lat-lon map.<BR>&gt;<BR>&gt; grid of values can be as large a 2000x2000 where<BR>&gt; each value will
 correspond to a colored square of a<BR>&gt; few kilometers each.<BR>&gt; ____________________________<BR>&gt; | red | yellow | green | ...<BR>&gt;<BR>&gt; | red | green | yellow | ...<BR>&gt; | yellow | red | green | ...<BR>&gt; | : | : | : | ...<BR>&gt;<BR>&gt; Which is the most efficient way of creating this<BR>&gt; layer? I.e. with an OMRaster or OMPolygons?<BR>&gt;<BR>&gt; What are good examples for setting OMRaster<BR>&gt; projections? these are still a bit confusing to me.<BR>&gt; appreciate any hints.<BR>&gt; TIA<BR>&gt;<BR>&gt;<BR>&gt; <BR></BLOCKQUOTE></DIV><p>
		<hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/50x/*http://promotions.yahoo.com/new_mail/static/efficiency.html">Yahoo! Mail</a> - 50x more storage than other providers!
--0-1573974141-1090939794=:36901--
--0-1941905514-1090939794=:36901
Content-Type: image/pjpeg; name="omgrid-test.jpg"
Content-Transfer-Encoding: base64
Content-Description: omgrid-test.jpg
Content-Disposition: inline; filename="omgrid-test.jpg"

/9j/4AAQSkZJRgABAgIAyADIAAD//gECEL3bBAAAAAAHAAAAYDL0AnAx9AJo
J/MCmAX0AYAF9AFoBfQByAb0AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAIEgBAP/AABEIAZ4BrwMBIgACEQEDEQH/2wCEAAUDAwQDAwUEBAQF
BQUGBw0IBwcHBxALDAkNExAUExIQEhIVFx4ZFRYcFhISGiMaHB8gISIhFBkl
JyQgJx4hISABBQUFBwYHDwgIDyAVEhUVICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIC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9LvLHxV4gt7mSzjZTJdLNCcoDgwupQD/dCk+or6KHCWNr
QVS6TtoeZiatKMudPlmtL9Ldrdn18z05eRxg8ZOO3vQMdiK8+t/GGueENQsr
LX47G8tL2bybeaz3o2/HeNidg9w7ewFeghg4DA5z7Y/qf514GKw9XC1HSr73
todVDEKreNrNBRRRWNraHQZWt/8AIS0P/r/b/wBJpq1j1P1rJ1v/AJCWh/8A
X+3/AKTTVrHqfrTewxKKKKQBRRRQBlW3/I2ah/2D7b/0Oetasm2/5GzUP+wf
bf8Aoc9a1OXQSEooopDOT+KQEOiadqGcfYdXtJT7K0yxOf8AvmQn8DWhjHAG
MDp6darfFK0N78OvEESsEdNPlnjb+60al0P4Mv6mpLS5W9tYblEKLNGsgU9s
jP8AWv0fgupz4acO0v0PKzKNpRKXhT/kV9J/68ov/QBWnWb4U/5FfSf+vKL/
ANAFaVfX0neCfkeY9wooorQCay/4/IP+ui/+hCul1z/j/b/rmn/oK1zVl/x+
Qf8AXRf/AEIV0uuf8f7f9c0/9BWvm86/ir/D+p62T/xKnoj/2Q==

--0-1941905514-1090939794=:36901--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 14:30:43 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RITqs08634
	for openmap-users-outgoing; Tue, 27 Jul 2004 14:29:52 -0400 (EDT)
In-Reply-To: <20040727144954.36942.qmail@web52910.mail.yahoo.com>
References: <20040727144954.36942.qmail@web52910.mail.yahoo.com>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <EE781A62-DFFA-11D8-965C-000A95BCCC44@bbn.com>
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] Need advice on Layer to use to render grid of polygons
Date: Tue, 27 Jul 2004 14:29:44 -0400
To: serrotam <serrotam@yahoo.com>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by stout.bbn.com id i6RITq708631
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Tia,

I'm not really sure why you are getting this effect, but my gut feeling 
is that the data is making it draw that way.  I don't know what your 
parameters and data are, but I'd look at that if you aren't getting the 
effect you want.

- Don


On Jul 27, 2004, at 10:49 AM, serrotam wrote:

> Thank you Don.  Your dedication and attention to this mailing list is 
> to be commended.   Your advice has worked its charm every time.   
> Thanks. 
>   
> For the record and other future newbie users, I have managed to create 
> an overlay using a grid set of values that correspond to 3 different 
> colors.   Essentially I used the following:
>  
> public class MyGridLayer extends Layer {
>     :
>     :
>  
>     OMGridData.Int rgbGridData = argb_GridData(someArrayOfIntVals);
>     OMGrid omGrid = new OMGRID(lat_min, lon_min,
>                                                      deltaLat, 
> deltaLon, rgbGridData );
>     SimpleColorGenerator  gen = new SimpleColorGenerator();
>     omGrid.setGenerator(gen);
>     this.omgraphics.addOMGraphic(omGrid);   
>  }
>  
>  
> This works well.  I'll just have to optimize the color generator so 
> that a new OMRaster is created only when the projection changes, and 
> not everytime you pan or change position.
>  
> QUESTION that remains.  I did a checkered pattern (10x10 grid) to test 
> this OMGrid and I notice that the cells on the edges of the checker 
> board are essentially cut in half.  I was wondering if you (or anyone 
> else) could please explain this effect.  I've attached a small image 
> that illustrates what I'm seeing.  Is this a function of how the 
> generator places the pixels in the OMRaster ? 
>  tia
>  
>
> Don Dietrick <dietrick@bbn.com> wrote:
> There's an OMGrid object that handles this situation. You create one
>  where the grid should be overlayed, and give it an OMGridGenerator 
> that
>  creates OMGraphics from the data values within the grid. There are
>  example OMGridGenerators in the package.
>
> I think you might want to check out the version from CVS, I did some
>  work this year on OMGrids that might make it easier to use them for
> your data values. CVS instructions are on the website download page.
>
> There is more information about OMGrids in the javadocs.
>
> Regards,
>
> Don
>
> On Jul 8, 2004, at 5:02 PM, serrotam wrote:
>
> >
> > I would appreciate advice on how to approach the
> > rendering of a (2D)grid of values that need to be
> > rendered as an overlay on a lat-lon map.
> >
> > grid of values can be as large a 2000x2000 where
> > each value will correspond to a colored square of a
> > few kilometers each.
> > ____________________________
> > | red | yellow | green | ...
> >
> > | red | green | yellow | ...
> > | yellow | red | green | ...
> > | : | : | : | ...
> >
> > Which is the most efficient way of creating this
> > layer? I.e. with an OMRaster or OMPolygons?
> >
> > What are good examples for setting OMRaster
> > projections? these are still a bit confusing to me.
> > appreciate any hints.
> > TIA
> >
> >
> >
>
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!<omgrid-test.jpg>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 14:37:35 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RIbQ308895
	for openmap-users-outgoing; Tue, 27 Jul 2004 14:37:26 -0400 (EDT)
In-Reply-To: <D5E40801-DF99-11D8-B670-000A95CD827E@pvv.ntnu.no>
References: <D5E40801-DF99-11D8-B670-000A95CD827E@pvv.ntnu.no>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <EC451AAA-DFFB-11D8-965C-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] OMPoly with holes?
Date: Tue, 27 Jul 2004 14:36:50 -0400
To: Tore Halset <halset@pvv.ntnu.no>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Tore,

This would work, but it sounds expensive.  There was another recent 
posting that's sounds good but I haven't tested it out yet:

http://openmap.bbn.com/mailArchives/openmap-users/2004-06/3034.html

- Don

On Jul 27, 2004, at 2:54 AM, Tore Halset wrote:

> Hello!
>
> I am creating OMPoly from postgis Polygons, but how should I create a 
> hole in a OMPoly? After searching I found this one:
>
> http://openmap.bbn.com/mailArchives/openmap-users/2003-04/1529.html
>
> Is that still the best way to do it?
>
> Regards,
>  - Tore.
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe 
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 14:40:30 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RIeQF08937
	for openmap-users-outgoing; Tue, 27 Jul 2004 14:40:26 -0400 (EDT)
In-Reply-To: <40DC3BC7.1070209@system.ecology.su.se>
References: <200406182023.i5IKNBQV025122@gollum.bbn.com> <83915FDE-C201-11D8-A8FD-000A95BCCC44@bbn.com> <40D82586.9030403@system.ecology.su.se> <6DA3A2AA-C517-11D8-AFB2-000A95BCCC44@bbn.com> <40DC3BC7.1070209@system.ecology.su.se>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <660A1A58-DFFC-11D8-965C-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: Openmap-Users <openmap-users@bbn.com>
From: OpenMap Support <openmap@bbn.com>
Subject: Re: [OpenMap Users] Re: ESRIPolygonRecord with holes
Date: Tue, 27 Jul 2004 14:40:14 -0400
To: alexander sokolov <sokolov@system.ecology.su.se>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Alexander,

Sorry I haven't gotten back to you on this.  It sounds like a good idea  
that should work.  I didn't really think about polgons with holes when  
I wrote OMAreaList, but the more I think about it it's a pretty simple  
solution.  I think OMAreaList would have to be modified slightly so it  
could be set the way you describe.

One bad thing about OMAreaList, it doesn't handle being stretched back  
around the earth very well, a part on each side of the map.  I haven't  
figured out the algorithm to connect the lines properly for those  
cases, I don't know how that affects you drawing your polygons.

- Don

On Jun 25, 2004, at 10:50 AM, alexander sokolov wrote:

> Hi Don,
>
> It seems I found a way to treat ESRIPolygonRecord with holes  
> correctly.  We can use
> OMAreaList instead of OMGraphicList to store OMPolys of the ESRIRecord.
> Modifications are very small (see the method addOMGraphics in attached  
> ESRIPolygonRecord.java)
> and also we have to set
>
> firstPoint to true in appendShapeEdge in the BasicGeometry.java.
>
> This modifications works well for me but I am not sure about possible  
> side effects.
>
> What do you think about this?
>
> Regards
>
> Alexander
>
>
>
>
> OpenMap Support wrote:
>
>> Hi Alexander,
>>
>> That's correct, holds aren't handled well for either class.  The code  
>> would have to be modified to handle them.
>>
>> - Don
>>
>> On Jun 22, 2004, at 8:26 AM, alexander sokolov wrote:
>>
>>> Hi Don,
>>>
>>> I'm trying to work a with shape file of seas with islands and
>>> it seems neither EsriLayer nor ShapeLayer support ESRI records with  
>>> holes.
>>> I mean it seems openmap does not pay attention to the order of  
>>> polygon's vertices.
>>> (clockwise or counterclockwise). Is it so and what we can do?
>>>
>>> Regards
>>> Alexander
>>>
>>>
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Don Dietrick, dietrick@bbn.com
>> BBN Technologies, Cambridge, MA
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>
> //  
> **********************************************************************
> //
> // <copyright>
> //
> //  BBN Technologies, a Verizon Company
> //  10 Moulton Street
> //  Cambridge, MA 02138
> //  (617) 873-8000
> //
> //  Copyright (C) BBNT Solutions LLC. All rights reserved.
> //
> // </copyright>
> //  
> **********************************************************************
> //
> // $Source:  
> /cvs/distapps/openmap/src/openmap/com/bbn/openmap/layer/shape/ 
> ESRIPolygonRecord.java,v $
> // $RCSfile: ESRIPolygonRecord.java,v $
> // $Revision: 1.3 $
> // $Date: 2004/01/26 18:18:11 $
> // $Author: dietrick $
> //
> //  
> **********************************************************************
>
>
> package com.bbn.openmap.layer.shape;
>
> import java.io.IOException;
> import com.bbn.openmap.omGraphics.*;
> import com.bbn.openmap.omGraphics.geom.*;
> import com.bbn.openmap.proj.ProjMath;
>
> /**
>  * The Polygon record type.  This class implements the ESRI Shapefile
>  * polygon AND arc/polyline record types.
>  * @author Ray Tomlinson
>  * @author Tom Mitchell <tmitchell@bbn.com>
>  * @author HACK-author blame it on aculline
>  * @version $Revision: 1.3 $ $Date: 2004/01/26 18:18:11 $
>  */
> public class ESRIPolygonRecord extends ESRIRecord {
>
>     /** Polygon or arc/polyline?. */
>     protected int shapeType = SHAPE_TYPE_POLYGON;
>
>     /** The bounding box. */
>     public ESRIBoundingBox bounds;
>
>     /** An array of polygons. */
>     public ESRIPoly[] polygons;
>
>     public ESRIPolygonRecord() {
>         bounds = new ESRIBoundingBox();
>         polygons = new ESRIPoly[0];
>     }
>
>     /**
>      * Initialize a polygon record from the given buffer.
>      *
>      * @param b the buffer
>      * @param off the offset into the buffer where the data starts
>      */
>     public ESRIPolygonRecord(byte b[], int off) throws IOException {
>         super(b, off);
>
>         int ptr = off+8;
>
>         shapeType = readLEInt(b, ptr);
>         ptr += 4;
>         if ((shapeType != SHAPE_TYPE_POLYGON) && (shapeType !=  
> SHAPE_TYPE_ARC)) {
>             throw new IOException("Invalid polygon record.  Expected  
> shape " +
>                                   "type " + SHAPE_TYPE_POLYGON + " or  
> type " +
>                                   SHAPE_TYPE_ARC + ", but found " +  
> shapeType);
>         }
>         boolean ispolyg = isPolygon();
>
>         bounds = readBox(b, ptr);
>         ptr += 32;              // A box is 4 doubles (4 x 8bytes)
>
>         int numParts = readLEInt(b, ptr);
>         ptr += 4;
>
>         int numPoints = readLEInt(b, ptr);
>         ptr += 4;
>
>         if (numParts <= 0) return;
>
>         polygons = new ESRIPoly[numParts];
>         int origin = 0;
>         int _len;
>         for (int i = 0; i < numParts; i++) {
>
>             int nextOrigin = readLEInt(b, ptr);
>             ptr += 4;
>
>             if (i > 0) {
>                 _len = nextOrigin - origin;
>                 if (ispolyg) ++_len;//connect pairs
>                 polygons[i-1] = new ESRIPoly.ESRIFloatPoly(_len);
>             }
>             origin = nextOrigin;
>         }
>         _len = numPoints - origin;
>         if (ispolyg) ++_len;//connect pairs
>         polygons[numParts-1] = new ESRIPoly.ESRIFloatPoly(_len);
>         for (int i = 0; i < numParts; i++) {
>             ptr += polygons[i].read(b, ptr, ispolyg);
>         }
>     }
>
>     /**
>      * Is this a polygon or a arc/polyline?
>      * @return boolean
>      */
>     public boolean isPolygon() {
>         return shapeType == SHAPE_TYPE_POLYGON;
>     }
>
>     /**
>      * Set the poly type (polygon or arc/polyline).
>      */
>     public void setPolygon(boolean isPolygon) {
>         shapeType = isPolygon ? SHAPE_TYPE_POLYGON : SHAPE_TYPE_ARC;
>     }
>
>     /**
>      * Add a poly to the record.
>      * @param radians coordinates: y,x,y,x,... (lat,lon) order in
>      * RADIANS!
>      */
>     public void add(float radians[]) {
>         ESRIPoly newPoly = new ESRIPoly.ESRIFloatPoly(radians);
>
>         int numParts = polygons.length;
>         ESRIPoly oldPolys[] = polygons;
>         polygons = new ESRIPoly[numParts + 1];
>         for (int i = 0; i < numParts; i++) {
>             polygons[i] = oldPolys[i];
>         }
>
>         polygons[numParts] = newPoly;
>
>         int len = radians.length;
>         for (int i=0; i<len; i+=2) {
>             // REMEMBER: switch to x,y order
>             bounds.addPoint(
>                     ProjMath.radToDeg(radians[i+1]),//x (lon)
>                     ProjMath.radToDeg(radians[i]));//y (lat)
>         }
>     }
>
>     /**
>      * Generates 2D OMGraphics and adds them to the given list.  If
>      * you are using jdk1.1.X, you'll have to comment out this method,
>      * because jdk1.1.X doesn't know about the java.awt.Stroke and
>      * java.awt.Paint interfaces.
>      *
>      * @param list the graphics list
>      * @param drawingAttributes the drawingAttributes to paint the  
> poly.
>      */
>     public void addOMGraphics(OMGraphicList list,
>                               DrawingAttributes drawingAttributes) {
>
>         int nPolys = polygons.length;
>         if (nPolys <= 0) return;
>         OMPoly p=null;
>         float[] pts;
>         boolean ispolyg = isPolygon();
>         /*
>          * modifications in the next 4 lines marked with as:
>          * allow to treat ESRIPolygonRecord with holes correctly
>          * (ESRIPolys with counterclockwise order of vertices)
>          *
>          * Note: we also have to set firstPoint to true in
>          * the BasinsGeometry.appendShapeEdge() (probably a bug)
>          * 2004-06-25
>          */
> 		OMAreaList sublist = null; //as: was OMGraphicList sublist = null;
>
> 		if (nPolys > 1) {
> 			sublist = new OMAreaList(10); //as: was OMGraphicList(10);
> 			drawingAttributes.setTo(sublist); //as: new line
>
>             sublist.setVague(true);  // Treat list as one object.
>             list.add(sublist);
>             sublist.setAppObject(new Integer(getRecordNumber()));
>         }
>
>         for (int i=0, j, k; i<nPolys; i++) {
>             // these points are already in RADIAN lat,lon order!...
>             pts = ((ESRIPoly.ESRIFloatPoly)polygons[i]).getRadians();
>             int len = pts.length;
>             p = new OMPoly(pts,
>                            OMGraphic.RADIANS,
>                            OMGraphic.LINETYPE_STRAIGHT);
>
>             drawingAttributes.setTo(p);
>             if (!ispolyg) {
>                 p.setIsPolygon(false);
>             }
>
>             if (sublist != null) {
>                 sublist.add(p);
>             } else {
>                 // There should be only one.
>                 p.setAppObject(new Integer(getRecordNumber()));
>                 list.add(p);
>             }
>         }
>     }
>
>     /**
>      * Generates OMGeometry and adds them to the given list.
>      *
>      * @param list the geometry list
>      */
>     public OMGeometry addOMGeometry(OMGeometryList list) {
>
>         int nPolys = polygons.length;
>         if (nPolys <= 0) {
>             return null;
>         }
>
>         float[] pts;
>         boolean ispolyg = isPolygon();
>         OMGeometry geom = null;
>
>         for (int i=0, j, k; i<nPolys; i++) {
>             // these points are already in RADIAN lat,lon order!...
>             pts = ((ESRIPoly.ESRIFloatPoly)polygons[i]).getRadians();
>             int len = pts.length;
>             if (ispolyg) {
>
>                 geom = new PolygonGeometry.LL(pts,
>                                               OMGraphic.RADIANS,
>                                                
> OMGraphic.LINETYPE_STRAIGHT);
>             } else {
>                 geom = new PolylineGeometry.LL(pts,
>                                                OMGraphic.RADIANS,
>                                                 
> OMGraphic.LINETYPE_STRAIGHT);
>             }
>             list.add(geom);
>         }
>         return geom;
>     }
>
>     /**
>      * Gets this record's bounding box.
>      *
>      * @return a bounding box
>      */
>     public ESRIBoundingBox getBoundingBox() {
>         return bounds;
>     }
>
>     /**
>      * Gets this record's shape type as an int.  Shape types
>      * are enumerated on the ShapeUtils class.
>      *
>      * @return the shape type as an int (either SHAPE_TYPE_POLYGON or
>      * SHAPE_TYPE_ARC)
>      */
>     public int getShapeType() {
>         return shapeType;
>     }
>
>     /**
>      * Yields the length of this record's data portion.
>      * <p>
>      * (44 + (numParts * 4) + (numPoints * 16))
>      * <br>
>      * 3 Integers + 4 doubles == 3 * 4bytes + 4 * 8bytes == 12 + 32 ==  
> 44.
>      *
>      * @return number of bytes equal to the size of this record's data
>      */
>     public int getRecordLength() {
>         int numParts = polygons.length;
>         int numPoints = 0;
>         for (int i = 0; i < numParts; i++) {
>             numPoints += polygons[i].nPoints;
>         }
>         return (44 + (numParts * 4) + (numPoints * 16));
>     }
>
>     /**
>      * Writes this polygon to the given buffer at the given offset.
>      *
>      * @param b the buffer
>      * @param off the offset
>      * @return the number of bytes written
>      */
>     public int write(byte[] b, int off) {
>         int nBytes = super.write(b, off);
>         nBytes += writeLEInt(b, off + nBytes, shapeType);
>         // bounds
>         nBytes += writeBox(b, off + nBytes, bounds);
>         // numparts
>         int numParts = polygons.length;
>         nBytes += writeLEInt(b, off + nBytes, numParts);
>         // numpoints
>         int numPoints = 0;
>         for (int i = 0; i < numParts; i++) {
>             numPoints += polygons[i].nPoints;
>         }
>         nBytes += writeLEInt(b, off + nBytes, numPoints);
>         // parts
>         int ptr = 0;
>         for (int i = 0; i < numParts; i++) {
>             nBytes += writeLEInt(b, off + nBytes, ptr);
>             ptr += polygons[i].nPoints;
>         }
>
>         // points
>         for (int i = 0; i < numParts; i++) {
>             // REMEMBER: stored internally as y,x order (lat,lon order)
>             float[] pts =  
> ((ESRIPoly.ESRIFloatPoly)polygons[i]).getRadians();
>             int nPts = pts.length;
>             for (int j=0; j<nPts; j+=2) {
>                 nBytes += writeLEDouble(
>                         b, off + nBytes,  
> (double)ProjMath.radToDeg(pts[j+1]));//x (lon)
>                 nBytes += writeLEDouble(
>                         b, off + nBytes,  
> (double)ProjMath.radToDeg(pts[j]));//y (lat)
>             }
>         }
>
>         // return number of bytes written
>         return nBytes;
>     }
> }
> //  
> **********************************************************************
> //
> // <copyright>
> //
> //  BBN Technologies, a Verizon Company
> //  10 Moulton Street
> //  Cambridge, MA 02138
> //  (617) 873-8000
> //
> //  Copyright (C) BBNT Solutions LLC. All rights reserved.
> //
> // </copyright>
> //  
> **********************************************************************
> //
> // $Source:  
> /cvs/distapps/openmap/src/openmap/com/bbn/openmap/omGraphics/geom/ 
> BasicGeometry.java,v $
> // $RCSfile: BasicGeometry.java,v $
> // $Revision: 1.8 $
> // $Date: 2004/01/26 18:18:13 $
> // $Author: dietrick $
> //
> //  
> **********************************************************************
>
>
> package com.bbn.openmap.omGraphics.geom;
>
> import com.bbn.openmap.omGraphics.OMGeometry;
> import com.bbn.openmap.omGraphics.OMGraphicConstants;
> import com.bbn.openmap.proj.*;
> import com.bbn.openmap.util.Debug;
>
> import java.awt.*;
> import java.awt.geom.*;
> import java.io.Serializable;
>
> /**
>  * Base class implementation of OpenMap OMGeometry. <p>
>  *
>  * The geometry classes are intended to pull the object location data
>  * out of the OMGraphics.  If you have a bunch of OMGraphics that are
>  * all rendered with common attributes, you can create a bunch of
>  * OMGeometry objects to plavce in a OMGeometryList that will render
>  * them all alike.
>  *
>  * @see PolygonGeometry
>  * @see PolylineGeometry
>  * @see com.bbn.openmap.omGraphics.OMGeometryList
>  * @see Projection
>  */
> public abstract class BasicGeometry
>     implements OMGeometry, Serializable, OMGraphicConstants {
>
>     /**
>      * The lineType describes the way a line will be drawn between
>      * points.  LINETYPE_STRAIGHT will mean the line is drawn straight
>      * between the pixels of the endpoints of the line, across the
>      * window.  LINETYPE_GREATCIRCLE means the line will be drawn on  
> the
>      * window representing the shortest line along the
>      * land. LINETYPE_RHUMB means a line will be drawn along a constant
>      * bearing between the two points.
>      */
>     protected int lineType = LINETYPE_UNKNOWN;
>
>     /** Flag to indicate that the object needs to be reprojected. */
>     protected boolean needToRegenerate = true;
>
>     /**
>      * Space for an application to associate geometry with an
>      * application object.  This object can contain attribute
>      * information about the geometry.
>      *
>      * @see #setAppObject
>      * @see #getAppObject
>      */
>     protected Object appObject;
>
>     /**
>      * A flag to render this geometry visible.
>      */
>     protected boolean visible = true;
>
>     /**
>      * The Java 2D containing the Shape of the Graphic.  There may be
>      * an array of them, in case the graphic wraps around the earth,
>      * and we need to show the other edge of the graphic on the other
>      * side of the earth.
>      */
>     protected transient GeneralPath shape = null;
>
>   //////////////////////////////////////////////////////////
>
>     /**
>      * Set the line type for the graphic, which will affect how the
>      * lines will be drawn.  See the definition of the lineType
>      * parameter. Accepts LINETYPE_RHUMB, LINETYPE_STRAIGHT and
>      * LINETYPE_GREATCIRCLE.  Any weird values get set to
>      * LINETYPE_STRAIGHT.
>      *
>      * @param value the line type of the graphic.
>      * */
>     public void setLineType(int value) {
>         if (lineType == value) return;
>         setNeedToRegenerate(true); // flag dirty
>
>         lineType = value;
>     }
>
>     /**
>      * Return the line type.
>      *
>      * @return the linetype - LINETYPE_RHUMB, LINETYPE_STRAIGHT,
>      * LINETYPE_GREATCIRCLE or LINETYPE_UNKNOWN.
>      */
>     public int getLineType() {
>         return lineType;
>     }
>
>     /**
>      * Return the render type.
>      *
>      * @return the rendertype of the object - RENDERTYPE_LATLON,
>      * RENDERTYPE_XY, RENDERTYPE_OFFSET and RENDERTYPE_UNKNOWN.
>      */
>     public abstract int getRenderType();
>
>     /**
>      * Sets the regenerate flag for the graphic.
>      * This flag is used to determine if extra work needs to be done
>      * to prepare the object for rendering.
>      *
>      * @param value boolean
>      */
>     public void setNeedToRegenerate(boolean value) {
>         needToRegenerate = value;
>         if (value == true) {
>             shape = null;
>         }
>     }
>
>     /**
>      * Return the regeneration status.
>      *
>      * @return boolean
>      */
>     public boolean getNeedToRegenerate() {
>         return needToRegenerate;
>     }
>
>     /**
>      * Set the visibility variable.
>      * NOTE:<br>
>      * This is checked by the OMGeometryList when it iterates through  
> its list
>      * for render and gesturing.  It is not checked by the internal  
> OMGeometry
>      * methods, although maybe it should be...
>      *
>      * @param visible boolean
>      */
>     public void setVisible(boolean visible) {
>         this.visible = visible;
>     }
>
>     /**
>      * Get the visibility variable.
>      *
>      * @return boolean
>      */
>     public boolean isVisible() {
>         return visible;
>     }
>
>     /**
>      * Let the geometry object know it's selected.  No action mandated.
>      */
>     public void select() {}
>
>     /**
>      * Let the geometry object know it's deselected.  No action  
> mandated.
>      */
>     public void deselect() {}
>
>     /**
>      * Holds an application specific object for later access.
>      * This can be used to associate an application object with
>      * an OMGeometry for later retrieval.  For instance, when
>      * the graphic is clicked on, the application gets the OMGeometry
>      * object back from the OMGeometryList, and can then get back
>      * to the application level object through this pointer.
>      *
>      * @param obj Object
>      */
>     public synchronized void setAppObject(Object obj) {
>         appObject = obj;
>     }
>
>     /**
>      * Gets the application's object pointer.
>      *
>      * @return Object
>      */
>     public synchronized Object getAppObject() {
>         return appObject;
>     }
>
> ////////////////////////////////////////////////////////////////////// 
> ////
>
>     /**
>      * Prepare the geometry for rendering.
>      * This must be done before calling <code>render()</code>!  If a
>      * vector graphic has lat-lon components, then we project these
>      * vertices into x-y space.  For raster graphics we prepare in a
>      * different fashion. <p>
>      * If the generate is unsuccessful, it's usually because of some
>      * oversight, (for instance if <code>proj</code> is null), and if
>      * debugging is enabled, a message may be output to the controlling
>      * terminal. <p>
>      *
>      * @param proj Projection
>      * @return boolean true if successful, false if not.
>      * @see #regenerate
>      */
>     public abstract boolean generate(Projection proj);
>
>     /**
>      *
>      */
>     public boolean isRenderable() {
>         return (!getNeedToRegenerate() &&
>                 isVisible() &&  shape != null);
>     }
>
>     /**
>      * Paint the graphic, as a filled shape. <P>
>      *
>      * This paints the graphic into the Graphics context.  This is
>      * similar to <code>paint()</code> function of
>      * java.awt.Components.  Note that if the graphic has not been
>      * generated or if it isn't visible, it will not be
>      * rendered. <P>
>      *
>      * This method used to be abstract, but with the conversion of
>      * OMGeometrys to internally represent themselves as java.awt.Shape
>      * objects, it's a more generic method.  If the OMGeometry hasn't
>      * been updated to use Shape objects, it should have its own
>      * render method.
>      *
>      * @param g Graphics2D context to render into.
>      */
>     public void fill(Graphics g) {
>         if (isRenderable()) {
>             ((Graphics2D)g).fill(shape);
>         }
>     }
>
>     /**
>      * Paint the graphic, as an outlined shape. <P>
>      *
>      * This paints the graphic into the Graphics context.  This is
>      * similar to <code>paint()</code> function of
>      * java.awt.Components.  Note that if the graphic has not been
>      * generated or if it isn't visible, it will not be
>      * rendered. <P>
>      *
>      * This method used to be abstract, but with the conversion of
>      * OMGeometrys to internally represent themselves as java.awt.Shape
>      * objects, it's a more generic method.  If the OMGeometry hasn't
>      * been updated to use Shape objects, it should have its own
>      * render method.
>      *
>      * @param g Graphics2D context to render into.
>      */
>     public void draw(Graphics g) {
>         if (isRenderable()) {
>             ((Graphics2D)g).draw(shape);
>         }
>     }
>
>     /**
>      * Return the shortest distance from the edge of a graphic to an
>      * XY-point. <p>
>      *
>      * @param x X coordinate of the point.
>      * @param y Y coordinate of the point.
>      * @return float distance, in pixels, from graphic to the point.
>      * Returns Float.POSITIVE_INFINITY if the graphic isn't ready
>      * (ungenerated).
>      */
>     public float distanceToEdge(int x, int y) {
>         float temp, distance = Float.POSITIVE_INFINITY;
>
>         if (getNeedToRegenerate() || shape == null) {
>             return distance;
>         }
>
>         PathIterator pi2 = shape.getPathIterator(null);
>         FlatteningPathIterator pi = new FlatteningPathIterator(pi2,  
> .25);
>         double[] coords = new double[6];
>         int count = 0;
>         double startPntX = 0;
>         double startPntY = 0;
>         double endPntX = 0;
>         double endPntY = 0;
>
>         while (!pi.isDone()) {
>             int type = pi.currentSegment(coords);
>             float dist;
>
>             if (type == PathIterator.SEG_LINETO) {
>                 startPntX = endPntX;
>                 startPntY = endPntY;
>                 endPntX = coords[0];
>                 endPntY = coords[1];
>
>                 dist = (float) Line2D.ptSegDist(startPntX, startPntY,  
> endPntX, endPntY, (double)x, (double)y);
>
>                 if (dist < distance) {
>                     distance = dist;
>                 }
>
>                 if (Debug.debugging("omgraphicdetail")) {
>                     Debug.output("Type: " + type + "(" +
>                                  (count++) + "), " +
>                                  startPntX + ", " + startPntY + ", " +
>                                  endPntX + ", " + endPntY + ", " +
>                                  x + ", " + y +
>                                  ", distance: " + distance);
>                 }
>
>             } else {
>
>                 // This should be the first and last
>                 // condition, SEG_MOVETO and SEG_CLOSE
>                 startPntX = coords[0];
>                 startPntY = coords[1];
>                 endPntX = coords[0];
>                 endPntY = coords[1];
>             }
>
>             pi.next();
>         }
>
>         return distance;
>     }
>
>     /**
>      * Return the shortest distance from the graphic to an
>      * XY-point. Checks to see of the point is contained within the
>      * OMGraphic, which may, or may not be the right thing for clear
>      * OMGraphics or lines.<p>
>      *
>      * This method used to be abstract, but with the conversion of
>      * OMGeometrys to internally represent themselves as java.awt.Shape
>      * objects, it's a more generic method.  If the OMGeometry hasn't
>      * been updated to use Shape objects, it should have its own
>      * distance method.<p>
>      *
>      * Calls _distance(x, y);
>      *
>      * @param x X coordinate of the point.
>      * @param y Y coordinate of the point.
>      * @return float distance, in pixels, from graphic to the point.
>      * Returns Float.POSITIVE_INFINITY if the graphic isn't ready
>      * (ungenerated).
>      */
>     public float distance(int x, int y) {
>         return _distance(x, y);
>     }
>
>     /**
>      * Return the shortest distance from the graphic to an
>      * XY-point. Checks to see of the point is contained within the
>      * OMGraphic, which may, or may not be the right thing for clear
>      * OMGraphics or lines.<p>
>      *
>      * _distance was added so subclasses could make this call if their
>      * geometries/attributes require this action (when fill color
>      * doesn't matter).
>      *
>      * @param x X coordinate of the point.
>      * @param y Y coordinate of the point.
>      * @return float distance, in pixels, from graphic to the point.
>      * Returns Float.POSITIVE_INFINITY if the graphic isn't ready
>      * (ungenerated).
>      */
>     protected float _distance(int x, int y) {
>         float temp, distance = Float.POSITIVE_INFINITY;
>
>         if (getNeedToRegenerate() || shape == null) {
>             return distance;
>         }
>
>         if (shape.contains((double)x, (double)y)) {
> //          if (Debug.debugging("omgraphicdetail")) {
> //              Debug.output(" contains " + x + ", " + y);
> //          }
>             return 0f;
>         } else {
>             return distanceToEdge(x, y);
>         }
>     }
>
>     /**
>      * Answsers the question whether or not the OMGeometry contains
>      * the given pixel point.
>      * <P>
>      * This method used to be abstract, but with the conversion of
>      * OMGeometrys to internally represent themselves as java.awt.Shape
>      * objects, it's a more generic method.  If the OMGeometry hasn't
>      * been updated to use Shape objects, it should have its own
>      * contains method.
>      * <P>
>      * This method duplicates a java.awt.Shape method, with some
>      * protection wrapped around it.  If you have other queries for
>      * the internal Shape object, just ask for it and then ask it
>      * directly.  This method is provided because it is the most
>      * useful, used when determining if a mouse event is occuring over
>      * an object on the map.
>      *
>      * @param x X pixel coordinate of the point.
>      * @param y Y pixel coordinate of the point.
>      * @return getShape().contains(x, y), false if the OMGraphic
>      * hasn't been generated yet.
>      */
>     public boolean contains(int x, int y) {
>         Shape shape = getShape();
>         boolean ret = false;
>
>         if (shape != null) {
>             ret = shape.contains((double)x, (double)y);
>         }
>
>         return ret;
>     }
>
>     /**
>      * Invoke this to regenerate a "dirty" graphic.
>      * This method is a wrapper around the <code>generate()</code>
>      * method.  It invokes <code>generate()</code> only if
>      * </code>needToRegenerate()</code> on the graphic returns true.
>      * To force a graphic to be generated, call
>      * <code>generate()</code> directly.
>      *
>      * @param proj the Projection
>      * @return true if generated, false if didn't do it (maybe a
>      * problem).
>      * @see #generate
>      */
>     public boolean regenerate(Projection proj) {
>         if (proj == null) {
>             return false;
>         }
>
>         if (getNeedToRegenerate()) {
>             return generate(proj);
>         }
>
>         return false;
>     }
>
>     /**
>      * Get the java.awt.Shape object that represents the projected
>      * graphic.  The array will one Shape object even if the object
>      * wraps around the earth and needs to show up in more than one
>      * place on the map.  In conditions like that, the Shape will have
>      * multiple parts.<p>
>      *
>      * The java.awt.Shape object gives you the ability to do a little
>      * spatial analysis on the graphics.
>      *
>      * @return java.awt.geom.GeneralPath (a java.awt.Shape object), or
>      * null if the graphic needs to be generated with the current map
>      * projection, or null if the OMGeometry hasn't been updated to
>      * use Shape objects for its internal representation.
>      */
>     public GeneralPath getShape() {
>         return shape;
>     }
>
>     /**
>      * Set the java.awt.Shape object that represents the projected
>      * graphic.  This Shape object should be internally generated, but
>      * this method is provided to clear out the object to save memory,
>      * or to allow a little customization if your requirements
>      * dictate.<p>
>      *
>      * The java.awt.Shape object gives you the ability to do a little
>      * spatial analysis on the graphics.
>      *
>      * @param gp java.awt.geom.GeneralPath, or null if the graphic
>      * needs to be generated with the current map projection or to
>      * clear out the object being held by the OMGeometry.
>      */
>     public void setShape(GeneralPath gp) {
>         shape = gp;
>     }
>
>     /**
>      * Create a Shape object given an array of x points and y points.
>      * The x points a y points should be projected.  This method is
>      * used by subclasses that get projected coordinates out of the
>      * projection classes, and they need to build a Shape object from
>      * those coordinates.
>      * @param xpoints projected x coordinates
>      * @param ypoints projected y coordinates
>      * @param isPolygon whether the points make up a polygon, or a
>      * polyline.  If it's true, the Shape object returned is a
>      * Polygon.  If false, the Shape returned is a GeneralPath object.
>      * @return The Shape object for the points.
>      */
>     public static GeneralPath createShape(int xpoints[], int  
> ypoints[], boolean isPolygon) {
>         return createShape(xpoints, ypoints, 0, xpoints.length,  
> isPolygon);
>     }
>
>     /**
>      * Create a Shape object given an array of x points and y points.
>      * The x points a y points should be projected.  This method is
>      * used by subclasses that get projected coordinates out of the
>      * projection classes, and they need to build a Shape object from
>      * those coordinates.
>      * @param xpoints projected x coordinates
>      * @param ypoints projected y coordinates
>      * @param startIndex the starting coordinate index in the array.
>      * @param length the number of points to use from the array for  
> the shape.
>      * @param isPolygon whether the points make up a polygon, or a
>      * polyline.  If it's true, the Shape object returned is a
>      * Polygon.  If false, the Shape returned is a GeneralPath object.
>      * @return The Shape object for the points.
>      */
>     public static GeneralPath createShape(int xpoints[], int ypoints[],
>                                           int startIndex, int length,
>                                           boolean isPolygon) {
>         // used to return a Shape
>
>         if (xpoints == null || ypoints == null) {
>             return null;
>         }
>
>         if (startIndex < 0) {
>             startIndex = 0;
>         }
>
>         if (length > xpoints.length - startIndex) {
>             // Do as much as you can...
>             length = xpoints.length - startIndex - 1;
>         }
>
>         GeneralPath path = new GeneralPath(GeneralPath.WIND_EVEN_ODD,  
> length);
>
>         if (length > startIndex) {
>             path.moveTo(xpoints[startIndex], ypoints[startIndex]);
>             for (int j = startIndex + 1; j < length; j++) {
>                 path.lineTo(xpoints[j], ypoints[j]);
>             }
>
>             if (isPolygon) {
>                 path.closePath();
>             }
>         }
>
>         return path;
>     }
>
>     /**
>      * Utility method that iterates over a Shape object and prints out  
> the points.
>      */
>     public static void describeShapeDetail(Shape shape) {
>         describeShapeDetail(shape, .25);
>     }
>
>     /**
>      * Utility method that iterates over a Shape object and prints out
>      * the points.  The flattening is used for a
>      * FlatteningPathIterator, controlling the scope of the path
>      * traversal.
>      */
>     public static void describeShapeDetail(Shape shape, double  
> flattening) {
>         PathIterator pi2 = shape.getPathIterator(null);
>         FlatteningPathIterator pi = new FlatteningPathIterator(pi2,  
> flattening);
>         double[] coords = new double[6];
>         int pointCount = 0;
>
>         Debug.output(" -- start describeShapeDetail with flattening["  
> + flattening + "]");
>         while (!pi.isDone()) {
>             int type = pi.currentSegment(coords);
>             Debug.output(" Shape point [" + type + "] (" +  
> (pointCount++) + ") " +
>                          coords[0] + ", " + coords[1]);
>             pi.next();
>         }
>
>         Debug.output(" -- end (" + pointCount + ")");
>     }
>
>     /**
>      * Convenience method to add the coordinates to the given
>      * GeneralPath.  You need to close the path yourself if you want
>      * it to be a polygon.
>      * @param toShape the GeneralPath Shape object to add the  
> coordinates to.
>      * @param xpoints horizontal pixel coordiantes.
>      * @param ypoints vertical pixel coordiantes.
>      * @return toShape, with coordinates appended.
>      */
>     public static GeneralPath appendShapeEdge(GeneralPath toShape,
>                                               int xpoints[], int  
> ypoints[]) {
>         return appendShapeEdge(toShape, xpoints, ypoints, 0,  
> xpoints.length);
>     }
>
>     /**
>      * Convenience method to add the coordinates to the given
>      * GeneralPath.  You need to close the path yourself if you want
>      * it to be a polygon.
>      * @param toShape the GeneralPath Shape object to add the  
> coordinates to.
>      * @param xpoints horizontal pixel coordiantes.
>      * @param ypoints vertical pixel coordiantes.
>      * @param startIndex the index into pixel coordinate array to  
> start reading from.
>      * @param length the number of coordinates to add.
>      * @return toShape, with coordinates appended.
>      */
>     public static GeneralPath appendShapeEdge(GeneralPath toShape,
>                                               int xpoints[], int  
> ypoints[],
>                                               int startIndex, int  
> length) {
>         return appendShapeEdge(toShape, createShape(xpoints, ypoints,  
> startIndex, length, false));
>     }
>
>     /**
>      * Convenience method to append the edge of a GeneralPath Shape to
>      * another GeneralPath Shape.  A PathIterator is used to figure
>      * out the points to use to add to the toShape.  You need to close
>      * the path yourself if you want it to be a polygon.
>      * @param toShape the GeneralPath Shape object to add the edge to.
>      * @param addShape the GeneralPath Shape to add to the toShape.
>      * @return toShape, with coordinates appended.  Returns addShape
>      * if toShape was null.
>      */
>     public static GeneralPath appendShapeEdge(GeneralPath toShape,
>                                               GeneralPath addShape) {
>
>         boolean DEBUG = Debug.debugging("arealist");
>         int pointCount = 0;
>         boolean firstPoint = true; //as: was false;
>                                    // See  
> ESRIPolygonRecord.addOMGraphics
>
>         // If both null, return null.
>         if (addShape == null) {
>             return toShape;
>         }
>
>         if (toShape == null) {
>             return addShape;
>         }
>
>         PathIterator pi2 = addShape.getPathIterator(null);
>         FlatteningPathIterator pi = new FlatteningPathIterator(pi2,  
> .25);
>         double[] coords = new double[6];
>
>         while (!pi.isDone()) {
>             int type = pi.currentSegment(coords);
>             if (firstPoint) {
>                 if (DEBUG) {
>                     Debug.output("Creating new shape, first point " +
>                                  (float)coords[0] + ", " +  
> (float)coords[1]);
>                 }
>                 toShape.moveTo((float)coords[0], (float)coords[1]);
>                 firstPoint = false;
>             } else {
>                 if (DEBUG) {
>                     Debug.output(" adding point [" + type + "] (" +  
> (pointCount++) + ") " +
>                                  (float)coords[0] + ", " +  
> (float)coords[1]);
>                 }
>                 toShape.lineTo((float)coords[0], (float)coords[1]);
>             }
>             pi.next();
>         }
>
>         if (DEBUG) {
>             Debug.output(" -- end point (" + pointCount + ")");
>         }
>
>         return toShape;
>     }
>
>
>     /**
>      * Create a general path from a point plus a height and width;
>      */
>     public static GeneralPath createBoxShape(int x, int y, int width,  
> int height) {
>         int[] xs = new int[4];
>         int[] ys = new int[4];
>
>         xs[0] = x;
>         ys[0] = y;
>         xs[1] = x + width;
>         ys[1] = y;
>         xs[2] = x + width;
>         ys[2] = y + height;
>         xs[3] = x;
>         ys[3] = y + height;
>
>         return createShape(xs, ys, true);
>     }
> }
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 15:11:29 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RJB9609234
	for openmap-users-outgoing; Tue, 27 Jul 2004 15:11:09 -0400 (EDT)
In-Reply-To: <4104FC70.8070305@altern.org>
References: <4104FC70.8070305@altern.org>
Mime-Version: 1.0 (Apple Message framework v618)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <B26803F5-E000-11D8-965C-000A95BCCC44@bbn.com>
Content-Transfer-Encoding: 7bit
Cc: openmap-users@bbn.com
From: Don Dietrick <dietrick@bbn.com>
Subject: Re: [OpenMap Users] VPFLayer issue - how are all  the VPF layer properties set ?
Date: Tue, 27 Jul 2004 15:11:00 -0400
To: "xrr@altern.org" <xrr@altern.org>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

Hi Xavier,

I hate to tell you this, but it works for me, even without the  
modification for the BeanContext.  2 VPFLayers in a BufferedLayer, both  
display, and both write out their properties when map properties are  
saved.

- Don

On Jul 26, 2004, at 8:43 AM, xrr@altern.org wrote:

> Hello,
>
> I have an issue trying to use a BufferedLayer with many VPFLayers.
>
> First I had to change the BufferedLayer and the VPFlayer classes.
> Because the layers handled managed by the bufferedLayer were not aware  
> of the bean context. So I overrided setBeanContext in BufferedLayer so  
> that it will call setBeanContext in all the layers.
>
> Now all the VPFLayers are properly set-up but when I save a map, the  
> properties are not properly saved.
>
> here's what I get in the saved properties for one of the layers  
> agregated by BufferedLayer :
>
> vmapRoads1.addToBeanContext=true
> vmapRoads1.autoPalette=false
> vmapRoads1.background=false
> vmapRoads1.class=com.bbn.openmap.layer.vpf.VPFLayer
> vmapRoads1.consumeEvents=false
> vmapRoads1.pcp.class=com.bbn.openmap.layer.policy.ListResetPCPolicy
> vmapRoads1.prettyName=VMAP L0 SASAUS(Asia)
> vmapRoads1.projectionChangePolicy=pcp
> vmapRoads1.removeable=true
> vmapRoads1.renderPolicy=rp
> vmapRoads1.rp.class=com.bbn.openmap.layer.policy.BufferedImageRenderPol 
> icy
>
> here's the full set in the initial openmap.properties file :
>
> vmapRoads1.class=com.bbn.openmap.layer.vpf.VPFLayer
> vmapRoads1.prettyName=VMAP L0 SASAUS(Asia)
> vmapRoads1.libraryBean=VMAPL0SASAUS
> vmapRoads1.coverageType=trans
> vmapRoads1.featureTypes=edge area text
> vmapRoads1.edge=roadl trackl traill
> vmapRoads1.addToBeanContext=true
>
> vmapRoads1.roadl.lineWidth=1
> vmapRoads1.roadl.lineColor=F0000000
> vmapRoads1.roadl.matted=false
> vmapRoads1.roadl.mattingColor=F0000000
> vmapRoads1.traill.lineWidth=1
> vmapRoads1.traill.lineColor=F0000000
> vmapRoads1.traill.matted=false
> vmapRoads1.trackl.lineWidth=1
> vmapRoads1.trackl.dashPattern=10 10
> vmapRoads1.trackl.lineColor=F0ffb200
> vmapRoads1.trackl.matted=false
> vmapRoads1.trackl.mattingColor=000000
>
>
>
>
> you can see that a lot are missing...
>
> Any idea how I can update bufferedLayer so that all the properties of  
> the VPFLayer will be properly saved ?
> Actually I have no idea so far about how and where those missing  
> properties are handled.
>
>
> Thanks in advance,
>
> 			Xavier
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe  
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 15:29:15 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RJT4j09407
	for openmap-users-outgoing; Tue, 27 Jul 2004 15:29:04 -0400 (EDT)
Message-ID: <CA3BC0E3B145D611BD0F00104B87426701A2F332@iroquois.tacintel.com>
From: MNewcomb@tacintel.com
To: openmap-users@bbn.com
Subject: [OpenMap Users] XY offset from lat-lon
Date: Tue, 27 Jul 2004 15:13:36 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

I want to create a transform for converting to/from an XY offset (in
meters), where 0,0 is some given latitude-longitude (+y is N, +x is E).

What's the easiest way to do this?

Thanks,
Michael
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 16:56:23 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RKtrj10099
	for openmap-users-outgoing; Tue, 27 Jul 2004 16:55:53 -0400 (EDT)
Message-ID: <8EA02A1D9E8B7C4D8903A41A18929A136BDF4D@flol01-mail01.ad.gd-ais.com>
From: "Norfleet, Timothy" <timothy.norfleet@gd-ais.com>
To: openmap-users@bbn.com
Subject: [OpenMap Users] OMCircle conversion
Date: Tue, 27 Jul 2004 16:56:25 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C4741C.2E0089B0"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4741C.2E0089B0
Content-Type: text/plain

Hi all

Has any one done conversions with OMCircles.
I am trying to create a circle of a certain size. Example 1000 meter, or 20
miles, or 1 kilometer. Is there a class or method in OpenMap that does this.
Tim


------_=_NextPart_001_01C4741C.2E0089B0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>OMCircle conversion</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi all</FONT>
</P>

<P><FONT SIZE=3D2>Has any one done conversions with OMCircles.</FONT>
<BR><FONT SIZE=3D2>I am trying to create a circle of a certain size. =
Example 1000 meter, or 20 miles, or 1 kilometer. Is there a class or =
method in OpenMap that does this.</FONT></P>

<P><FONT SIZE=3D2>Tim</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C4741C.2E0089B0--
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]

From owner-openmap-users@stout.bbn.com Tue Jul 27 17:03:56 2004
Return-Path: <owner-openmap-users@stout.bbn.com>
Received: (from majdart@localhost)
	by stout.bbn.com (8.11.4/8.11.4) id i6RL3jn10234
	for openmap-users-outgoing; Tue, 27 Jul 2004 17:03:45 -0400 (EDT)
Message-ID: <20040727210333.24385.qmail@web52904.mail.yahoo.com>
Date: Tue, 27 Jul 2004 14:03:33 -0700 (PDT)
From: serrotam <serrotam@yahoo.com>
Subject: Re: [OpenMap Users] Need advice on Layer to use to render grid of polygons
To: Don Dietrick <dietrick@bbn.com>
Cc: openmap-users@bbn.com
In-Reply-To: <EE781A62-DFFA-11D8-965C-000A95BCCC44@bbn.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="0-1594917682-1090962213=:23145"
X-Spam-Status: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
X-Scanned-By: MIMEDefang 2.35
Sender: owner-openmap-users@stout.bbn.com
Precedence: bulk

--0-1594917682-1090962213=:23145
Content-Type: text/plain; charset=us-ascii
Content-Id: 
Content-Disposition: inline

  
  I'm not doing anything special with the data.  My
grid values are simply 10x10 ARGB integers. I'm using
the SimpleColorGenerator from the openmap libraries. 
I've attached the test program that generates similar
results if you like to see what I'm doing.    I"m also
pasting the GridTestLayer codes here for the records.

Actually the original SimpleColorGenerator is even
more odd because it squishes the first column and row,
then stretches the last column and row. 

Appreciate any feedback you may have. 



package com.bbn.openmap.examples.simple;

import com.bbn.openmap.*;
import com.bbn.openmap.event.*;
import com.bbn.openmap.omGraphics.*;
import com.bbn.openmap.omGraphics.grid.*;

public class GridTestLayer extends Layer {

    private OMGraphicList omgraphics;
    float lat_min = 30.620f;
    float lon_min = -88.536f;
    float lat_max = 37.380f;
    float lon_max = -80.436f;
    int num_x = 10;
    int num_y = 10;

    public GridTestLayer() {
        omgraphics = new OMGraphicList();
        createBoundingBoxGraphics(omgraphics);
        createGridTestGraphics();
    }

    public OMGraphicList
createBoundingBoxGraphics(OMGraphicList graphics) {

      OMRect extentsArea = new OMRect(lat_min,
lon_min, lat_max, lon_max,
                                     
OMGraphic.LINETYPE_STRAIGHT);
      extentsArea.setFillPaint(null);

      graphics.addOMGraphic(extentsArea);

      return graphics;
    }

    private void createGridTestGraphics()
        {
          // color values to use in grid
          int alpha = 0x80000000;
          int amber = 0x00FFFF00 | alpha;
          int red   = 0x00FF0000 | alpha;
          int green = 0x0000FF00 | alpha;
          int blue  = 0x000000FF | alpha;

          // Create a 10x10 checkered array of RGB
values
          // nothing fancy
          int colors[] = {green, amber, red, blue};
          int[][] gridCols = new int[num_x][num_y];
          int i = 0;
          for (int x = 0; x < num_x; x++) {
            for (int y = 0; y < num_y; y++) {
              if (x==0 && y==0 ) // make only the
origin blue
                gridCols[x][y] = blue;
              else // checker colors for the rest
                gridCols[x][y] = colors[(i % 3)];
              i++;
            }
          }
          // compute the vertical and horizontal
resolutions
          float verticalRes = (float)((lat_max  -
lat_min )/(num_y));
          float horizontalRes = (float)((lon_max  -
lon_min )/(num_x ));
          // Create the OMGridData.Int to store the
int argb values
          OMGridData.Int rgbGridData = new
OMGridData.Int( gridCols );
          // Create the omGrid for given lat lon
          OMGrid omGrid = new OMGrid(lat_min, lon_min
,
                                                     
verticalRes, horizontalRes,
                                                      
   rgbGridData);

         
omGrid.setRenderType(OMGraphic.RENDERTYPE_LATLON);
          // Set the generator to SimpleColorGenerator
          // from package
com.bbn.openmap.omGraphics.grid
          SimpleColorGenerator gen = new  
SimpleColorGenerator();
          omGrid.setGenerator(gen) ;

          this.omgraphics.addOMGraphic(omGrid);

          this.repaint();
        }



   
//----------------------------------------------------------------------
    // Standard Layer overrides
   
//----------------------------------------------------------------------

    public void paint(java.awt.Graphics g) {
        omgraphics.render(g);
    }

   
//----------------------------------------------------------------------
    // ProjectionListener interface implementation
   
//----------------------------------------------------------------------


    public void projectionChanged(ProjectionEvent e) {
        omgraphics.project(e.getProjection(), true);
        repaint();
    }
}





--- Don Dietrick <dietrick@bbn.com> wrote:
> Hi Tia,
> 
> I'm not really sure why you are getting this effect,
> but my gut feeling 
> is that the data is making it draw that way.  I
> don't know what your 
> parameters and data are, but I'd look at that if you
> aren't getting the 
> effect you want.
> 
> - Don
> 
> 
> On Jul 27, 2004, at 10:49 AM, serrotam wrote:
> 
> > Thank you Don.  Your dedication and attention to
> this mailing list is 
> > to be commended.   Your advice has worked its
> charm every time.   
> > Thanks. 
> >   
> > For the record and other future newbie users, I
> have managed to create 
> > an overlay using a grid set of values that
> correspond to 3 different 
> > colors.   Essentially I used the following:
> >  
> > public class MyGridLayer extends Layer {
> >     :
> >     :
> >  
> >     OMGridData.Int rgbGridData =
> argb_GridData(someArrayOfIntVals);
> >     OMGrid omGrid = new OMGRID(lat_min, lon_min,
> > 
>                                                    
> deltaLat, 
> > deltaLon, rgbGridData );
> >     SimpleColorGenerator  gen = new
> SimpleColorGenerator();
> >     omGrid.setGenerator(gen);
> >     this.omgraphics.addOMGraphic(omGrid);   
> >  }
> >  
> >  
> > This works well.  I'll just have to optimize the
> color generator so 
> > that a new OMRaster is created only when the
> projection changes, and 
> > not everytime you pan or change position.
> >  
> > QUESTION that remains.  I did a checkered pattern
> (10x10 grid) to test 
> > this OMGrid and I notice that the cells on the
> edges of the checker 
> > board are essentially cut in half.  I was
> wondering if you (or anyone 
> > else) could please explain this effect.  I've
> attached a small image 
> > that illustrates what I'm seeing.  Is this a
> function of how the 
> > generator places the pixels in the OMRaster ? 
> >  tia
> >  
> >
> > Don Dietrick <dietrick@bbn.com> wrote:
> > There's an OMGrid object that handles this
> situation. You create one
> >  where the grid should be overlayed, and give it
> an OMGridGenerator 
> > that
> >  creates OMGraphics from the data values within
> the grid. There are
> >  example OMGridGenerators in the package.
> >
> > I think you might want to check out the version
> from CVS, I did some
> >  work this year on OMGrids that might make it
> easier to use them for
> > your data values. CVS instructions are on the
> website download page.
> >
> > There is more information about OMGrids in the
> javadocs.
> >
> > Regards,
> >
> > Don
> >
> > On Jul 8, 2004, at 5:02 PM, serrotam wrote:
> >
> > >
> > > I would appreciate advice on how to approach the
> > > rendering of a (2D)grid of values that need to
> be
> > > rendered as an overlay on a lat-lon map.
> > >
> > > grid of values can be as large a 2000x2000 where
> > > each value will correspond to a colored square
> of a
> > > few kilometers each.
> > > ____________________________
> > > | red | yellow | green | ...
> > >
> > > | red | green | yellow | ...
> > > | yellow | red | green | ...
> > > | : | : | : | ...
> > >
> > > Which is the most efficient way of creating this
> > > layer? I.e. with an OMRaster or OMPolygons?
> > >
> > > What are good examples for setting OMRaster
> > > projections? these are still a bit confusing to
> me.
> > > appreciate any hints.
> > > TIA
> > >
> > >
> > >
> >
> > Do you Yahoo!?
> > Yahoo! Mail - 50x more storage than other
> providers!<omgrid-test.jpg>
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick@bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> --
> [To unsubscribe to this list send an email to
> "majdart@bbn.com"
> with the following text in the BODY of the message
> "unsubscribe openmap-users"]
> 


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
--0-1594917682-1090962213=:23145
Content-Type: application/octet-stream; name="GridTestLayer.java"
Content-Transfer-Encoding: base64
Content-Description: GridTestLayer.java
Content-Disposition: attachment; filename="GridTestLayer.java"

CgpwYWNrYWdlIGNvbS5iYm4ub3Blbm1hcC5leGFtcGxlcy5zaW1wbGU7Cgpp
bXBvcnQgY29tLmJibi5vcGVubWFwLio7CmltcG9ydCBjb20uYmJuLm9wZW5t
YXAuZXZlbnQuKjsKaW1wb3J0IGNvbS5iYm4ub3Blbm1hcC5vbUdyYXBoaWNz
Lio7CmltcG9ydCBjb20uYmJuLm9wZW5tYXAub21HcmFwaGljcy5ncmlkLio7
CgovKioKICogQSBMYXllciB0byBkaXNwbGF5IE9NR3JpZCBvZiBBUkdCIHZh
bHVlcwogKiA8cD4KICogPHVsPgogKiA8bGk+T01HcmlkIHVzZQogKiA8bGk+
T01MaW5lIHVzZQogKiA8L3VsPgogKi8KcHVibGljIGNsYXNzIEdyaWRUZXN0
TGF5ZXIgZXh0ZW5kcyBMYXllciB7CgogICAgLyoqCiAgICAgKiAgQSBsaXN0
IG9mIGdyYXBoaWNzIHRvIGJlIHBhaW50ZWQgb24gdGhlIG1hcC4KICAgICAq
LwogICAgcHJpdmF0ZSBPTUdyYXBoaWNMaXN0IG9tZ3JhcGhpY3M7CiAgICBm
bG9hdCBsYXRfbWluID0gMzAuNjIwZjsKICAgIGZsb2F0IGxvbl9taW4gPSAt
ODguNTM2ZjsKICAgIGZsb2F0IGxhdF9tYXggPSAzNy4zODBmOwogICAgZmxv
YXQgbG9uX21heCA9IC04MC40MzZmOwogICAgaW50IG51bV94ID0gMTA7CiAg
ICBpbnQgb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mFwaGljLkxJTkVUWVBFX1NUUkFJR0hUKTsKICAgICAgZXh0ZW50
c0FyZWEuc2V0RmlsbFBhaW50KG51bGwpOwoKICAgICAgZ3JhcGhpY3MuYWRk
T01HcmFwaGljKGV4dGVudHNBcmVhKTsKCiAgICAgIHJldHVybiBncmFwaGlj
czsKICAgIH0KCiAgICBwcml2YXRlIHZvaWQgY3JlYXRlR3JpZFRlc3RHcmFw
aGljcygpCiAgICAgICAgewogICAgICAgICAgLy8gY29sb3IgdmFsdWVzIHRv
IHVzZSBpbiBncmlkCiAgICAgICAgICBpbnQgYWxwaGEgPSAweDgwMDAwMDAw
OwogICAgICAgICAgaW50IGFtYmVyID0gMHgwMEZGRkYwMCB8IGFscGhhOwog
ICAgICAgICAgaW50IHJlZCAgID0gMHgwMEZGMDAwMCB8IGFscGhhOwogICAg
ICAgICAgaW50IGdyZWVuID0gMHgwMDAwRkYwMCB8IGFscGhhOwogICAgICAg
ICAgaW50IGJsdWUgID0gMHgwMDAwMDBGRiB8IGFscGhhOwoKICAgICAgICAg
IC8vIENyZWF0ZSBhIDEweDEwIGNoZWNrZXJlZCBhcnJheSBvZiBSR0IgdmFs
dWVzCiAgICAgICAgICAvLyBub3RoaW5nIGZhbmN5CiAgICAgICAgICBpbnQg
Y29sb3JzW10gPSB7Z3JlZW4sIGFtYmVyLCByZWQsIGJsdWV9OwogICAgICAg
ICAgaW50W11bXSBncmlkQ29scyA9IG5ldyBpbnRbbnVtX3hdW251bV95XTsK
ICAgICAgICAgIGludCBpID0gMDsKICAgICAgICAgIGZvciAoaW50IHggPSAw
OyB4IDwgbnVtX3g7IHgrKykgewogICAgICAgICAgICBmb3IgKGludCB5ID0g
MDsgeSA8IG51bV95OyB5KyspIHsKICAgICAgICAgICAgICBpZiAoeD09MCAm
JiB5PT0wICkgLy8gbWFrZSBvbmx5IHRoZSBvcmlnaW4gYmx1ZQogICAgICAg
ICAgICAgICAgZ3JpZENvbHNbeF1beV0gPSBibHVlOwogICAgICAgICA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ZXIg
aW50ZXJmYWNlIGltcGxlbWVudGF0aW9uCiAgICAvLy0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0KCgogICAgLyoqCiAgICAgKiBIYW5kbGVyIGZvciA8Y29k
ZT5Qcm9qZWN0aW9uRXZlbnQ8L2NvZGU+cy4gIFRoaXMgZnVuY3Rpb24gaXMK
ICAgICAqIGludm9rZWQgd2hlbiB0aGUgPGNvZGU+TWFwQmVhbjwvY29kZT4g
cHJvamVjdGlvbiBjaGFuZ2VzLiAgVGhlCiAgICAgKiBncmFwaGljcyBhcmUg
cmVwcm9qZWN0ZWQgYW5kIHRoZW4gdGhlIExheWVyIGlzIHJlcGFpbnRlZC4K
ICAgICAqIDxwPgogICAgICogQHBhcmFtIGUgdGhlIHByb2plY3Rpb24gZXZl
bnQKICAgICAqLwogICAgcHVibGljIHZvaWQgcHJvamVjdGlvbkNoYW5nZWQo
UHJvamVjdGlvbkV2ZW50IGUpIHsKICAgICAgICBvbWdyYXBoaWNzLnByb2pl
Y3QoZS5nZXRQcm9qZWN0aW9uKCksIHRydWUpOwogICAgICAgIHJlcGFpbnQo
KTsKICAgIH0KfQo=

--0-1594917682-1090962213=:23145
Content-Type: application/octet-stream; name="Simple_OMGridTest.java"
Content-Transfer-Encoding: base64
Content-Description: Simple_OMGridTest.java
Content-Disposition: attachment; filename="Simple_OMGridTest.java"

Ly8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKgovLwovLyAqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqCi8vICAgU2ltcGxlTWFwNCBpcyBtb2RpZmllZCBm
cm9tIFNpbXBsZU1hcCBzYW1wbGUgY29kZSBmcm9tIEJCTiBUZWNobm9sb2dp
Z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