[Mapserver-users] finding extents of polygon in shapefile
mapserver at digger.net
mapserver at digger.net
Mon Apr 12 15:58:19 PDT 2004
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
More information about the MapServer-users
mailing list