[mapserver-users] 7.2.1 html [shpxy] formating (templating)

Seth G sethg at geographika.co.uk
Fri May 10 00:06:08 PDT 2019


https://mapserver.org/mapfile/template.html#query is a little unclear

It states:

[shpxy formatting options]

Available attributes (h = header, f=footer, s=separator)

Along with Steve's suggestion maybe try s="&"


--
web:http://geographika.co.uk
twitter: @geographika


On Fri, May 10, 2019, at 4:53 AM, Lime, Steve D (MNIT) wrote:
> I think cs is coordinate separator so it only comes into play if you have multiple points. Try xf=“&” where xf means “x footer”. 
> *From:* mapserver-users <mapserver-users-bounces at lists.osgeo.org> on behalf of pe_lord <pe_lord at protonmail.com>
> *Sent:* Tuesday, May 7, 2019 11:41:44 AM
> *To:* mapserver-users at lists.osgeo.org
> *Subject:* [mapserver-users] 7.2.1 html [shpxy] formating (templating) 
> 
> I try to format my html getfeatureinfo response with my geometry coordinate
>  (point).
> 
>  In my html.html response, I want [shpxy] with a "&" separator. 
> 
>  Here what I set into my html template:
>  [shpxy xh="x=" yh="y=" cs="&"]
> 
>  and I get this response:
>  x=701467,y=305958 
> 
>  I need to concatenate my x an y with a & to build an url. Something I'm
>  doing wrong?
> 
> 
> 
> 
>  --
>  Sent from:  https://gcc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FMapserver-User-f4226646.html&data=02%7C01%7Csteve.lime%40state.mn.us%7C518d2ae99b60442b0d2c08d6d30ae651%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636928441098283309&sdata=ylBKFHAzd9lQj7fqZSvr9%2FtxsTfBJajah0FayYoBOHw%3D&reserved=0
>  _______________________________________________
>  mapserver-users mailing list
>  mapserver-users at lists.osgeo.org
> https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=02%7C01%7Csteve.lime%40state.mn.us%7C518d2ae99b60442b0d2c08d6d30ae651%7Ceb14b04624c445198f26b89c2159828c%7C0%7C1%7C636928441098283309&sdata=YRDYd7RQTNsXjfKRT99mSCeYAib8RuV3BXSwjbZ1zNc%3D&reserved=0
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20190510/bfefb894/attachment.html>


More information about the mapserver-users mailing list