Sure,
The trick will be parsing the file. As you are reading it the L lines,
you can allocate a float array for the next lat/lons to be read - for L
4, allocate a float[8], and store them in order as you read them after
that, as lat, lon, lat, lon. Make the code flexible, obviously, to
create an array appropriate for the the number of coordinates to follow,
and then you can create an OMPoly with them.
I'm not sure I understand what a line with one coordinate is (L 1). You
might want to make an OMPoint for that one.
Cheers,
Don
On Wednesday, January 2, 2002, at 12:55 PM, Chhaya Mudgal wrote:
> Hi,
> My file is not exactly point locations it is something in this format:
> It is segmented where L 4 is the segment of 4 point which are is a line.
> L 4
> 39.49718808 -74.5868619
> 39.49946747 -74.6443262
> 39.49432565 -74.7565366
> 39.50450034 -74.3446784
> L 1
> 39.44879344 -74.3443445
> Is it still possible to do the map in the same way as you suggested?
>
> Thanks
>
> Chhaya
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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"]Received on Wed Jan 2 13:03:56 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT