7.2.1 html [shpxy] formating (templating)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

7.2.1 html [shpxy] formating (templating)

pe_lord
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: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: 7.2.1 html [shpxy] formating (templating)

Lime, Steve D (MNIT)
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 <[hidden email]> on behalf of pe_lord <[hidden email]>
Sent: Tuesday, May 7, 2019 11:41:44 AM
To: [hidden email]
Subject: [mapserver-users] 7.2.1 html [shpxy] formating (templating)
 

_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: 7.2.1 html [shpxy] formating (templating)

Seth G-2

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 <[hidden email]> on behalf of pe_lord <[hidden email]>
Sent: Tuesday, May 7, 2019 11:41:44 AM
To: [hidden email]
Subject: [mapserver-users] 7.2.1 html [shpxy] formating (templating)
 
_______________________________________________
mapserver-users mailing list
https://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: 7.2.1 html [shpxy] formating (templating)

pe_lord
In reply to this post by Lime, Steve D (MNIT)
Thanks Steve you were right!

 xf="&"  




--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users