[mapserver-users] output template trimlast doesn't work

Steve Lime sdlime at gmail.com
Thu Sep 29 00:04:14 EDT 2011


Which version of MapServer? Template certainly looks ok. What happens
if you pull the closing feature tag up like so:

  },[/feature]

Steve

On Tue, Sep 27, 2011 at 6:15 PM, jjwang <jaja0506 at gmail.com> wrote:
> This is my template file.
> The *trimlast=','* statement doesn't work.
> Any idea on this?
>
> // mapserver template
> [resultset layer=pd]
> [
>    [feature trimlast=',']
>    {
>      "id": "[id]",
>      "description": "[description]",
>      "venue": "[venue]",
>      "year": "[year]"
>    },
>    [/feature]
> ]
> [/resultset]
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/output-template-trimlast-doesn-t-work-tp6838218p6838218.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list