Re: [OpenMap Users] getData returns 0 items

From: Don Dietrick <>
Date: Wed, 22 Feb 2006 21:30:43 -0500

Hi Dave,

The ShapeLayer reads the files for the first time when it thinks it's
been added to the map and receives a projection in the
projectionChanged(...) method. If you aren't really interested in
displaying the file and just want to pull the information out of the
file, you might want to use the
com.bbn.openmap.dataAccess.shape.EsriGraphicList to read the Shape
file. You can also use the DbfTableModel to read the dbf file.



On Feb 22, 2006, at 1:45 PM, Dave Brown wrote:

> Hi All,
> Hoping someone might be able to shed light on my current issue..
> I have a shapefile. a streetmap of cairo.. however routing is
> proving difficult as when I load the shapefile, the logging info is
> stating that no items were read.. no intersections and no roads..
> I was wondering is there a special property I have to add ? So far
> these are the properties i'm setting...
> shapeLayerProps.put("prettyName", "cairo");
> shapeLayerProps.put("lineColor", "000000");
> shapeLayerProps.put("fillColor", "BDDE83");
> shapeLayerProps.put("drawIntersections","true");
> shapeLayerProps.put("drawResults","true");
> shapeLayerProps.put("cairo.shapeFile", "C:/Cairo.shp");
> shapeLayerProps.put("cairo.spatialIndex", "C:/Cairo.ssx");
> shapeLayerProps.put("shapeFileList","cairo");
> shapeLayer.setProperties(shapeLayerProps);
> thanks again in advance.
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.15.12/266 - Release Date:
> 21/02/2006

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Feb 22 2006 - 21:31:10 EST

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