[mapserver-users] New to Mapserver

Sathiskumar Govindasamy gsathis at yahoo.com
Mon Feb 11 18:27:42 EST 2002


Thanks guys it works great. Thanks for your help. Yet another question. 
I downloaded shapefiles from nationalatlas.gov. In the state boundaries 
map, it has all the states in one shapefile. Is there a way to ignore 
Alaska,  U.S. Virgin Islands, Puerto Rico, etc keeping just the mainland 
US ?

-Sathis

Stephen Woodbridge wrote:

>Yes, there are two utility programs the come with shapelib (dbfdump and
>shpdump) that are comand line utilities (on Windows you have to run them
>from a DOS window) dbfdump prints all the attributes from the .dbf file
>and shpdump prints the shapefile extents and then all the coordinate
>info for every shape in the shape file.
>
>-Steve W.
>
>Sathiskumar Govindasamy wrote:
>
>>Steve,
>>
>>Is there a way to look at the contents of shapefile or its realted file
>>to know what is in it ?
>>
>>Sathis
>>
>>Stephen Woodbridge wrote:
>>
>>>Sathis,
>>>
>>>The EXTENT in the map file is wrong. The census data is in Decimal
>>>Degrees so it should look like
>>>
>>>EXTENT -180.0 -90.0 180.0 90.0
>>>
>>>which will cover the whole globe, you can set these numbers smaller
>>>based on the real extents of you shapefile.
>>>
>>>-Steve W.
>>>





More information about the mapserver-users mailing list