Re: projection

From: Prakash Manghwani <pmanghwa@bbn.com>
Date: Thu Dec 06 2001 - 18:51:24 EST

Hi,
My answers are below.

Prakash
At 05:25 PM 12/6/01 -0500, Chhaya Mudgal wrote:
>Hi,
>
>I have ascii file containing latitude and longitude in decimal degrees
>for a coast line. I just want to plot those coordinates as a mercator
>projection.
>Can I read a file of coordinates?

Yes.

>Is it possible to do this kind of
>plotting using openMap?

Yes.

>I am not using any shpae file or image file, I
>have only text file of lat/lon coordinates.
How are latitudes and longitudes seperated(Spaces/Commas/Tabs/?)
Take a look at CSVLocationHandler class. It reads lat-lons from a Comma Seperated Value file and plots them.

Prakash

>Thanks
>
>Chhaya
>
>On Thu, 6 Dec 2001, Donald Dietrick wrote:
>
>> Hi Chhaya,
>>
>> Yes, you can, by instantiating the Mercator class.
>>
>> Do you want to plot the points on a map, or just translate the decimal
>> degree coordinates to Mercator coordinates? If you just want to
>> translate the coordinates so that they map to another Mercator map, then
>> you might have to play around with the 'scale' of the Mercator
>> projection you create. It's a relative term that doesn't have much
>> meaning outside of OpenMap, but definitely will affect the values of the
>> translated coordinates.
>>
>> Regards,
>>
>> Don
>>
>> On Thursday, December 6, 2001, at 01:39 PM, Chhaya Mudgal wrote:
>>
>> > I have an ascii file of latitude and longitude values in decimal
>> > degrees.
>> > Can I make a mercator projection of it using openmap projection and
>> > mercator classes.
>> >
>> > 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"]
>> >
>> >
>>
>>
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> Donald 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"]
Received on Thu Dec 6 18:54:59 2001

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