Re: [OpenMap Users] Making Road objects from Shapefiles of Roads?

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 11 May 2005 11:15:52 -0400

Hi Ed,

On May 10, 2005, at 3:13 PM, Ed MacKerrow wrote:

> Dear OM Users,
>
> I see that OM has a Road class along with some other Road related
> classes. I have a Shapefile of Roads that has a header (dbf) that
> looks like:
>
> ID_ NAME1_ NAME2_ PARTS_ POINTS_ LENGTH_ CLASS
>
> My goal is to parse the Shapefile, create my own objects (perhaps
> extensions of OpenMap.Road), and then utilize these road objects in
> a model.
>
> >From what I can currently see, the OpenMap Road object does not
> really have any connection to a Shapefile of Roads. Is this correct?

The com.bbn.openmap.layer.shape.MultiRoadLayer uses that Road object
to create a road network from a set of shape files. The
MultiRoadLayer can then find routes over that road network.

Regards,

Don


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed May 11 2005 - 11:16:02 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT