[OpenMap Users] Adding new shape layer

From: Owen Densmore <owen@backspaces.net>
Date: Tue Mar 04 2003 - 19:12:42 EST

I'm trying to add a layer of the New Mexico counties to the OpenMap
viewer by adding a new section to the openmap.properties file. I got
the data from the Census web site:
        http://www.census.gov/geo/www/cob/bdy_files.html
These files are viewable using the ArcExplorer viewer so are apparently
in good shape.

Each set of Census files contain three file types: .shp .shx .dbf
suffixes.
I've copied the .shp and .shx files to the shared/data/shape openmap
directory,
presuming they are the files I need to specify. The openmap.profiles
additions
include first appending my new layer to the layers statement, and
defining NewMexLayer:
openmap.layers=date drawing quake ... politicalCombo etopo NewMexLayer
        ...
### Layer used by the NewMexico handler
NewMexLayer.class=com.bbn.openmap.layer.shape.ShapeLayer
NewMexLayer.prettyName=New Mexico
NewMexLayer.shapeFile=data/shape/co35_d00.shp
NewMexLayer.spatialIndex=data/shape/co35_d00.shx
NewMexLayer.lineColor=ff000000
NewMexLayer.fillColor=ffbdde83

The problem is that the layer does not show up on the layers menu.

What steps am I leaving out? ..or is the data not viewable
by OpenMap? I get no error report so haven't a clue!

Owen Densmore 451 Camino Don Miguel Santa Fe, NM 87505
Work: 505-983-6305 Cell: 505-570-0168 Home: 505-988-3787
owen@backspaces.net http://backspaces.net/

--
[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 Tue Mar 4 19:15:30 2003

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