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