[Mapserver-users] finding extents of polygon in shapefile
mapserver@digger.net
mapserver@digger.net
Mon, 12 Apr 2004 17:58:19 -0500 (CDT)
I am using MapServer 4 with PHP 4 (but not MapScript). I am looking for a
way to quickly find the extents of polygon(s) in a shapefile. In a nutshell,
I am using the Tiger PLC00 data, and would like to be able to take a city
name and look up the extents of the polygon(s) for that city so that I can
set the extents of the map to display just that city.
I've tried playing with '-where' in ogrinfo, but even when I restrict the
results to just one city, the displayed extents are still for the entire file.
Any suggestions how I might do this?
Thanks,
Dave
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users