Opened 14 years ago
Closed 13 years ago
#3185 closed defect (fixed)
Allow mapshape & imgshape CGI params to take WKT values
Reported by: | sdlime | Owned by: | jmckenna |
---|---|---|---|
Priority: | normal | Milestone: | 5.6 release |
Component: | Documentation - MapServer | Version: | |
Severity: | normal | Keywords: | |
Cc: | havatv |
Description
Would be nice to allow the CGI mapshape and imgshape to take WKT shape descriptions in addition to the simple delimited format currently supported. Should be straight forward, just check the parameter value for '(' and if present try to load the value with msShapeFromWKT(), else process as normal.
Steve
Change History (2)
comment:1 by , 14 years ago
Component: | MapServer CGI → MapServer Documentation |
---|---|
Owner: | changed from | to
comment:2 by , 13 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed for 6.0 and trunk documentation in r12523.
Note:
See TracTickets
for help on using tickets.
Pretty simple change. Allowed us to get rid of SelectShape from the goofy mapservObj in favor of populating the map queryObj directly. This is a good thing, simple is better. I tested with mapshape using the old definition and WKT, same answer.
Now to expand msQueryByShape() to handle more than just polygons...
Committed in r9503. Moving to the documentation component.
Steve