Re: Getting LAT/LON coordination?

From: Donald Dietrick <dietrick@bbn.com>
Date: Sat Sep 08 2001 - 15:17:06 EDT

Hi Joonhwan,

This functionality isn't built into OpenMap, but you could use parts of
OpenMap to do it. Right now, the main obstacle you'll have to get
around is accessing the address information out of the dbf files. You
have a couple of options:

1. Doug Van Auken submitted a package that reads dbf file that goes
with his implementation of a ShapeLayer. That package hasn't been
integrated into the OpenMap package yet, but it's available for download
on the submissions page of the OpenMap website (http://openmap.bbn.com).

2. You can convert the dbf file to a csv file (using Excel), and use
OpenMap components to access it. The com.bbn.openmap.layer.shape.areas
package is an example of how to tie csv files and shape files together.

If you find the street address in the data file, you will have the index
of the corresponding graphic in the shape file, and you can access that
graphic with the com.bbn.openmap.layer.shape components (I think
SpatialIndex). You may have to play around with address ranges from the
database file to interpolate a specific point. Anyway, that graphic
will have the coordinates for that address.

Hope this helps,

Don

On Saturday, September 8, 2001, at 03:24 AM, Joonhwan Lee wrote:

> Hello,
>  
> I would like to get latitude and longitude coordination from street
> theme.
> Is it possible to do with OpenMap?
> I'm going to use ESRI Shape files.
>  
> Thanks,
> Joonhwan Lee

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald F. Dietrick, dietrick@bbn.com
BBN Technologies, 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"]
Received on Sat Sep 8 15:18:53 2001

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