list of common extents

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Tue Jun 26 07:52:41 EDT 2007


> > Anybody know if there exists a file with a list of common 
> extents, say 
> > countries, continents,...
> >
> > This could be useful.
> >
> > Would there be some way to automatize the creation of such a list?
> >
> 
> 
> The easiest way would be to load a countries shapefile into 
> postgis and calculate the extent of each country:
> 
>  select extent(the_geom), name
>  from countries
>  group by name;
> 
> I believe the community mapbuilder project also ships with an 
> xml file containing the extents for most countries.
> 

This can be found at:
http://nightly.communitymapbuilder.org/mapbuilder/demo/data/locations/Gl
obal.xml

..Tom



More information about the mapserver-users mailing list