Opened 12 years ago
Closed 12 years ago
#4123 closed defect (fixed)
Change documentation for GeoJSON example in Template-Driven Output
Reported by: | davidfawcett | Owned by: | havatv |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Documentation - MapServer | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Due to a bug in template tag parsing, the GeoJSON example on this page does not work correctly.
http://mapserver.org/output/template_output.html
The 'trimlast' functionality will only work if the character is wrapped in double quotes. The example currently uses single quotes.
There is a ticket to fix this issue (#4122), but I don't know how far the fix will be back-ported. If the documentation is switched to use double-quotes, the example code will work now, even without the bug fix.
In line 6 of the GeoJSON example, please change:
[feature trimlast=','] to [feature trimlast=","]
Change History (2)
comment:1 by , 12 years ago
Owner: | changed from | to
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed for trunk and 6.0 in r12896.