[Mapserver-users] Full extent of the shape file

Eduardo Patto Kanegae eduardo at consultoria.eti.br
Thu Jul 22 20:15:14 EDT 2004


Hi

try shpdump from ShapeLib package...

see http://shapelib.maptools.org/shapelib-tools.html#shpdump

best regards

Eduardo Patto Kanegae
http://www.consultoria.eti.br
UIN: 303747254

Treinamento em UMN MapServer - http://www.consultoria.eti.br/ptbr/?menuoption=mapserver
I Encontro Nacional de Usuários MapServer - http://mapserver.cttmar.univali.br/encontro2004
Projeto MapServer Brasil - http://mapserver.cttmar.univali.br

***Fim da Mensagem / End of Message ***





On Thu, 22 Jul 2004 15:55:09 -0700 (PDT), Thomas Chesky <thomaschesky at yahoo.com> escreveu:

> De: Thomas Chesky <thomaschesky at yahoo.com>
> Data: Thu, 22 Jul 2004 15:55:09 -0700 (PDT)
> Para: mapserver-users at lists.gis.umn.edu
> Assunto: [Mapserver-users] Full extent of the shape file
> 
> 
> 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!
> 



More information about the mapserver-users mailing list