[mapserver-users] extent question

Vu Pham vu at sivell.com
Wed Mar 20 09:21:29 PST 2002


Stephen Woodbridge wrote:

> The File Bounds:  (MINX, MINY, MINZ, MINV)
>               to   (MAXX, MAXY, MAXZ, MAXV)
> 
> and
> 
> EXTENT  MINX  MINY  MAXX  MAXY
> 
> This file is in UNITS DD
> (longitude, latitude)
> 
> -Steve


Thank, Steve. Ok, I understand now. After reading some samples, I 
supposed that the extent is some conversion between long/lat to some 
"integer" number.
After putting those long/lat to EXTENT and adjust the UNITS to dd, this 
map is displayed now.

Thanks again,

Vu


> 
> Vu Pham wrote:
> 
>>Stephen Woodbridge wrote:
>>
>>
>>>Download a copy of shapelib it has utilities dbfdump and shpdump which
>>>will display info about shapefiles. shpdump will display the extents
>>>info.
>>>
>>>http://gdal.velocet.ca/projects/shapelib/index.html
>>>
>>>-Steve
>>>
>>Hi Steve,
>>
>>Thanks. I use shpdump to dump a shp file and it says
>>------------------------------------------------
>>Shapefile Type: Polygon   # of Shapes: 51
>>
>>File Bounds: (    -178.215,      18.925,3.75455e+072,0)
>>          to  (     -66.970,      71.407,0,0)
>>Shape:0 (Polygon)  nVertices=276, nParts=3
>>   Bounds:(    -124.731,      45.543, 0, 0)
>>       to (    -116.918,      49.000, 0, 0)
>>      (    -122.401,      48.225, 0, 0) Ring
>>      (    -122.462,      48.229, 0, 0)
>>      (    -122.453,      48.129, 0, 0)
>>[...]
>>--------------------------------------------------
>>Am I wrong if I say these numbers are longitute and attitute ? What is
>>the relationship between extent and long/lat ?
>>
>>Thanks again,
>>
>>Vu
>>
> 
> 






More information about the MapServer-users mailing list