[Mapserver-users] i found it!!!! i found it!!!!!!

Daniel Morissette morissette at dmsolutions.ca
Wed Dec 17 18:45:58 EST 2003


Hugo Nathaniel Rodrigues wrote:
>  
> now, i only need to see this (i think my last question):
>  
> with ogrinfo i found this information:
> INFO: Open of `distrito.tab'
> using driver `MapInfo File' successful.
>  
> Layer name: distrito
> Geometry: Polygon
> Feature Count: 9
> Extent: (598047.223047, 781652.733880) - (619791.428883, 812944.406142)
...

> with that, i know my type (polygon), my connection (ogr), my unit 
> (meters), but, i dont know what i need to put in "EXTENT", can anyone 
> help me?
>  

The syntax of the EXTENT directive is:
   EXTENT [minx] [miny] [maxx] [maxy]

So based on the OGRINFO output above, you should use:

   EXTENT 598047.223047 781652.733880 619791.428883 812944.406142

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list