Re: [OpenMap Users] Re: Adding new shape layer

From: Pat Rundall, NØHR <pat.rundall@n0hr.com>
Date: Tue Mar 04 2003 - 22:21:47 EST

Owen

When you say menu, are you using the openmap sample app and
not seeing it in the layers menu? Read through the .properties
file if so and look at the openmap.layers line.

Hope this helps.
Pat

> Well, I just found in the archives a pointer to the
> com.bbn.openmap.layer.shape.SpatialIndex class which creates
> the ssx files.
>
> So I tried again:
> com.bbn.openmap.layer.shape.SpatialIndex -c co35_d00.ssx co35_d00.shp
> which produced
> Shapefile SpatialIndex Found 34 records
> Shapefile SpatialIndex recBufSize = 100000
>
> I tried this, using the .ssx file in the openmap.properties.
>
> Still doesn't show the NewMexLayer in the menu, alas.
>
> Am I getting warmer?
>
> Owen
>
> On Tuesday, March 4, 2003, at 05:12 PM, Owen Densmore wrote:
>
>> 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/
>>
>>
> 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"]

--
[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 22:23:28 2003

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