[mapserver-users] shapefile error only when zoomed out
Wendell Turner
wendell at enflight.com
Mon Jul 26 12:09:06 PDT 2010
Why would a shapefile only display when the map display is
zoomed in?
When zoomed in, the image displays correctly. When zoomed
out, it gets this:
msDrawMap(): Image handling error. Failed to draw
layer named 'tfr'.; msDrawShape() General error
message. Only polygon shapes can be drawn using
a POLYGON layer definition.
shpdump shows this:
Shapefile Type: Polygon # of Shapes: 2
...
Shape:1 (Polygon) nVertices=0, nParts=0
Bounds:( nan, nan, 0, 0)
to ( nan, nan, 0, 0)
Is that a problem? If so, is there a way of removing that
shape (possibly using gdal)?
Thanks,
Wendell
More information about the MapServer-users
mailing list