Ticket #4063 (closed defect: invalid)
trimlast does not work in templated JSON output
|Reported by:||davidfawcett||Owned by:||sdlime|
|Component:||MapServer C Library||Version:||6.0|
|Severity:||normal||Keywords:||json template trimlast|
In the template-driven output section of the MapServer docs, the geoJSON example demonstrates the use of 'trimlast' to remove the trailing delimiter in the output.
When trying to use this functionality in MapServer 6.0.1, I can't get trimlast to work. Others have also had the same issue.
Attached is a simple map file with a shapefile containing one feature (the state of MN). The URL used to make the query call is: