Re: [OpenMap Users] Problems with MultiRoadLayer

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 12 Sep 2006 17:56:12 -0400

Hi Andrea,

The layer requires that you actually make queries on it, to draw a
path from one place to another. It then comes up with a path over
the roads between your starting and ending points.

I don't think the layer renders anything if you don't make that query.

- Don


On Sep 6, 2006, at 12:13 PM, pennyw 81 wrote:

> Hi, I can't still solve my problem. I've tried also with other maps
> but I can't figure out why no roads are found. Do I have to use a
> particular map ? Does anybody use successfully this layer?
> I'm using this property file
>
> # layers to load and show on the map
> routes.layers=mroads
> routes.drawIntersections=true
> routes.drawResults=true
>
> map.class=com.bbn.openmap.layer.shape.MultiShapeLayer
> map.prettyName=Mappa
> map.shapeFileList=wshape
> map.wshape.shapeFile=data/roads.shp
> map.wshape.spatialIndex=data/roads.ssx
> #map.wshape.drawIntersections=true
> #map.wshape.drawResults=true
>
> mroads.class=com.bbn.openmap.layer.shape.MultiRoadLayer
> mroads.prettyName=Strade
> mroads.shapeFileList=roads
> mroads.roads.shapeFile=data/road.shp
> mroads.roads.spatialIndex=data/road.ssx
> mroads.roads.drawIntersections=true
> mroads.roads.drawResults=true
> mroads.roads.lineColor=6495ED
> mroads.roads.fillColor=FFFF00
>
> graticule.class=com.bbn.openmap.layer.GraticuleLayer
> graticule.prettyName=Graticule
>
> Thank you again
> Andrea
>
>> From: "pennyw 81" <pennyws81_at_hotmail.com>
>> To: openmap-users_at_bbn.com
>> Subject: [OpenMap Users] Problems with MultiRoadLayer
>> Date: Mon, 28 Aug 2006 13:52:51 +0000
>>
>> Hi everybody,
>> I've got some problems with the MultiRoadLayer class. I can't
>> set drawIntersections and drawResults properties through the
>> properties' file and, examining the log, I see that no data were
>> found in the map (INFO get data 0). I'm using the USA roads map
>> found at openmap.bbn.com/data/shape.
>> How can I set the property and use the getPathOnRoad(..) method,
>> visualising the roads ?
>> Thank you in advance
>> Andrea
>>
>> _________________________________________________________________
>> Bolletta del telefono pesante? Risparmia con il nuovo Messenger
>> http://imagine-msn.com/messenger/launch80/?locale=it-it
>>
>> --
>> [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"]
>
> _________________________________________________________________
> Bolletta del telefono pesante? Risparmia con il nuovo Messenger
> http://imagine-msn.com/messenger/launch80/?locale=it-it
>
> --
> [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"]



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
[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 Tue Sep 12 2006 - 17:57:14 EDT

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