-
-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement msPostGISLayerGetExtent (#3585)
- Loading branch information
Showing
1 changed file
with
137 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ebae992
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As of Mapserver-7.0, my Postgres database logs
ERROR: syntax error at or near "0" at character 29 STATEMENT: SELECT ST_Extent(geom) FROM 0
when rendering certain Postgis layers that worked fine with Mapserver-6.4. #3585 gave me the idea of settingows_extent
in my layer metadata, which prevents the error message. Looks likemsPostGISLayerGetExtent
was introduced to Mapserver in pull request #4825.