I am trying to convert some VMap 0 data to shapefiles. I'm using
vmap2shape with no sucsess. Can someone tell me if I am doing something
very wrong?
-----------------------------------------------------
/home/krbaker/openmap.properties
important section:
### VMAP Political layer
vmapNA.class=com.bbn.openmap.layer.vpf.VPFLayer
vmapNA.prettyName=VMAP Political North America
vmapNA.vpfPath=/mapdata/vmaplv0/v0noa/vmaplv0/
vmapNA.coverageType=bnd
vmapNA.featureTypes=edge
# just display coastlines and political boundaries
#vmapNA.edge= polbndl coastl depthl
vmapNA.edge= polbndl coastl
# just display political areas and not oceans
#vmapNA.area= oceansea polbnda
#vmapNA.area= polbnda
--------------------------------
Execution of:
krbaker@mosor:/opt/openmap/classes/openmap$ java
com/bbn/openmap/layer/vpf/VMAP2Shape -props
/home/krbaker/openmap.properties -prefix vmapNA
vmaptype=bnd
creating VPFLayerGraphicWarehouse
VMAP2Shape.getRectangle(): calling drawTile with boundaries:
LatLonPoint[lat=90.0,lon=-180.0]LatLonPoint[lat=-90.0,lon=180.0]
VMAP2Shape.getRectangle(): read time: 0.047 seconds
0 candidates.
Dumping 0 graphics.
Checking file length...
correct.
adjusting bounds
from min: ESRIPoint[0.000000,0.000000]
to min: null
from max: ESRIPoint[0.000000,0.000000]
to max: null
Exception in thread "main" java.lang.NullPointerException
at com.bbn.openmap.layer.shape.ShapeUtils.writePoint(Unknown Source)
at com.bbn.openmap.layer.shape.ShapeUtils.writeBox(Unknown Source)
at com.bbn.openmap.layer.shape.ShapeFile.verify(Unknown Source)
at com.bbn.openmap.layer.vpf.VMAP2Shape.writeShapeFile(Unknown Source)
at com.bbn.openmap.layer.vpf.VMAP2Shape.main(Unknown Source)
------------------------------------------------------------------------------
-- [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 Mon Sep 23 13:54:09 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT