Opened 20 years ago
Last modified 20 years ago
#624 new defect
Enhancement bug: layerObj->getbounds() method
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapScript-PHP | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Hello developers, Daniel suggested I file a bug enhancement in regards to my desire to have a getBounds() method associated with the layerObj in PHP Mapscript (and the other languages too I suppose). This would help when creating zoomToActiveLayer and zoomToAllLayers types of functions. I realize the bounds of a shapefile can be discovered through the shapefileObj class, but their is no method available for determining bounds in other data sources (eg: postgis). I suppose one could get around this by parsing the connection and data properties of the layerObj, but it would be much nicer to have a getBounds() method to do this. Thanks a bunch :D Aaron Koning
Note:
See TracTickets
for help on using tickets.