[Mapserver-users] Full extent of the shape file
Tom.Kralidis at ec.gc.ca
Thu Jul 22 20:14:47 EDT 2004
Try ogrinfo, i.e.
$ ogrinfo -al ./shapefile.shp
The first bit of information returned provides an overview of the data
(extent, field definitions, geometry type), then followed by a
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Thomas
Sent: Thursday, July 22, 2004 18:55
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Full extent of the shape file
I have the shape file, which metadata says to have the extent of
Mapserver however identifies the following boundary (when requested via
GetCapabilities WMS request)
<Layer queryable="0" opaque="0" cascaded="0">
<Title>King County, WA</Title>
<LatLonBoundingBox minx="-111.388" miny="46.3886"
maxx="-106.113" maxy="49.1724" />
maxx="1.57787e+006" maxy="287704" />
The LatLonBoundingBox is completely different than the real boundary
defined by the meta info. Mapserver actually returns the image if
requested with an extent within "it's own" boundary but return only
blank if boundary is outside of that, but within the metainfo boundary.
Any thoughts? What tool can I use to check the full extent of a shape
Why does Mapserver reads wrong full extent?
Any help would be greatly appreciated.
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
More information about the mapserver-users