UMT coordenates

From: Mitxelko Iriso Compains <miriso@polar.es>
Date: Fri Jun 28 2002 - 07:08:05 EDT

Hi all,

    I'm making a test of openMap, but all our shape files are in coordenates
UTM. Is it possible that openMap read them directly througth some
configuration?

Bye and thanks,

Mitxelko Iriso Compains
Ingeniero Software
91 515 38 27
POLAR SHS
----- Original Message -----
From: "Don Dietrick" <dietrick@bbn.com>
To: "MARTIJN VAN DER PAUW" <martijnp@meteocon.nl>
Cc: <openmap-users@bbn.com>
Sent: Friday, June 28, 2002 5:32 AM
Subject: Re: example OMGrid wanted

> Hi Martijn,
>
> The OMGrid display is really dependent on the OMGridGenerator. In the
> case of the SimpleColorGenerator, the int[][] values should be ARGB
> values.
>
> Also the resolution values should reflect the decimal degrees between
> int[][] values, so the generator can figure out the spacing if needed.
> Make sure they're floats.
>
> I was able to get your example to work after making these changes.
>
> - Don
>
>
> On Wednesday, June 26, 2002, at 04:52 AM, MARTIJN VAN DER PAUW wrote:
>
> > Hello,
> >
> > Does someone have an example of a OMGrid. I can't find any
> > documentation on this topic.
> >
> >
> >
> > This is a piece of testcode I have, but that doens't show anything on
> > my map.
> >
> > /////////////////////
> > int [][]
> >
b1={{23,24,25,11,11,11},{14,37,49,11,11,11},{25,93,72,11,11,11},{75,68,49,
> > 11,11,11},{25,93,72,11,11,11},{75,68,49,11,11,11}};
> > com.bbn.openmap.omGraphics.OMGrid hh= new
> > com.bbn.openmap.omGraphics.OMGrid( 52.6f,6.5f,2,2,b1);
> > com.bbn.openmap.omGraphics.grid.SimpleColorGenerator gener =new
> > com.bbn.openmap.omGraphics.grid.SimpleColorGenerator();
> >
> > hh.setGenerator(gener);
> >
> > hh.generate(new com.bbn.openmap.proj.Mercator(new
> >
com.bbn.openmap.LatLonPoint(52.6,6.5f),8000000,this.returnimagewidth,this.
> > returnimageheight));
> >
> >
> >
> > v.set(j,hh);
> >
> > ///////////////////////
> >
> > When creating a OMCircle , it shows up. So, the code construction
> > should be ok.
> >
> > Martijn
> >
> >
> >
> >
> > Martijn van der Pauw, internetontwikkelaar.
> > Meteo Consult
> > martijn@weer.nl
> > tel: 0317 - 399800
> > fax: 0317 - 423164
> > http://www.weer.nl
> >
> > --
> > [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, BBN Technologies, dietrick@bbn.com
> 10 Moulton Street, Cambridge, MA 02138
> 617-873-3031 [fax]-2794
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> --
> [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"]
Received on Fri Jun 28 07:12:35 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT