[Mapserver-users] Full extent of the shape file

Thomas Chesky thomaschesky at yahoo.com
Thu Jul 22 18:55:09 EDT 2004


--0-818371446-1090536909=:45632
Content-Type: text/plain; charset=us-ascii

I have the shape file, which metadata says to have the extent of 

Spatial_Domain: 
  Bounding_Coordinates: 
    West_Bounding_Coordinate: -122.5 
    East_Bounding_Coordinate: -121.1 
    North_Bounding_Coordinate: 47.8 
    South_Bounding_Coordinate: 47.1
Mapserver however identifies the following boundary (when requested via GetCapabilities WMS request)

    <Layer queryable="0" opaque="0" cascaded="0">
        <Name>king_cou</Name>
        <Title>King County, WA</Title>
        <SRS>EPSG:2855</SRS>
        <LatLonBoundingBox minx="-111.388" miny="46.3886" maxx="-106.113" maxy="49.1724" />
        <BoundingBox SRS="EPSG:2855"
                    minx="1.21826e+006" miny="30932.7" maxx="1.57787e+006" maxy="287704" />
    </Layer>

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 file.
Why does Mapserver reads wrong full extent?

Any help would be greatly appreciated.

Thanks

		
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
--0-818371446-1090536909=:45632
Content-Type: text/html; charset=us-ascii

<DIV>I have the shape file, which metadata says to have the extent of </DIV>
<DT>Spatial_Domain: 
<DT>&nbsp; Bounding_Coordinates: 
<DT>&nbsp;&nbsp;&nbsp; West_Bounding_Coordinate: -122.5 
<DT>&nbsp;&nbsp;&nbsp; East_Bounding_Coordinate: -121.1 
<DT>&nbsp;&nbsp;&nbsp; North_Bounding_Coordinate: 47.8 
<DT>&nbsp;&nbsp;&nbsp; South_Bounding_Coordinate: 47.1</DT>
<P>Mapserver however identifies the following boundary (when requested via GetCapabilities WMS request)</P>
<P>&nbsp;&nbsp;&nbsp; &lt;Layer queryable="0" opaque="0" cascaded="0"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Name&gt;king_cou&lt;/Name&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Title&gt;King County, WA&lt;/Title&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SRS&gt;EPSG:2855&lt;/SRS&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LatLonBoundingBox minx="-111.388" miny="46.3886" maxx="-106.113" maxy="49.1724" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BoundingBox SRS="EPSG:2855"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; minx="1.21826e+006" miny="30932.7" maxx="1.57787e+006" maxy="287704" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/Layer&gt;</P>
<P>The LatLonBoundingBox is completely different than the real boundary defined by the meta info. Mapserver actually returns the&nbsp;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.</P>
<P>Any thoughts? What tool can I use to check the full extent of a shape file.<BR>Why does Mapserver reads wrong full extent?</P>
<P>Any help would be greatly appreciated.</P>
<P>Thanks</P><p>
		<hr size=1>Do you Yahoo!?<br>
<a href="http://advision.webevents.yahoo.com/yahoo/votelifeengine/">Vote for the stars of Yahoo!'s next ad campaign!</a>
--0-818371446-1090536909=:45632--



More information about the mapserver-users mailing list