The yh would have the same effect IF you set xf to "" - you have to overcome 
the defaults. --Steve

________________________________
From: Basques, Bob (CI-StPaul) [[email protected]]
Sent: Thursday, March 02, 2017 1:07 PM
To: Lime, Steve D (MNIT)
Cc: [email protected]
Subject: Re: SHPXY output formatting, how can I drop the comma in the X/Y 
separator??

Thanks Steve,

That did it, but it wasn’t obvious from the docs that the before/after options 
would supersede the separators.  I mean, shouldn’t yh= do the same thing, it 
doesn’t, is just adds in a space?

Anyway, it worked.


Now that I read the docs in more detail, it does say that the default for 
xf=“,”.  So that explains that.

Sorry to bother.




On Mar 2, 2017, at 12:48 PM, Lime, Steve D (MNIT) 
<[email protected]<mailto:[email protected]>> wrote:

Try xf=” “…

Steve

From: mapserver-users [mailto:[email protected]] On 
Behalf Of Basques, Bob (CI-StPaul)
Sent: Thursday, March 02, 2017 12:40 PM
To: [email protected]<mailto:[email protected]>
Subject: [mapserver-users] SHPXY output formatting, how can I drop the comma in 
the X/Y separator??

All,

I’m using this in my Template:

 ([shpxy precision="6" xh="(" yf=")"])

and it’s returning each group of coordinates for a polyline like this:


((576829.620110,157690.579906) (576835.359928,157694.480161) 
(576845.120079,157701.119911))

and I need it to look like this:

((576829.620110 157690.579906) (576835.359928 157694.480161) (576845.120079 
157701.119911))

No commas.  Is there a way to set a “ “ as the separator?  “the “cs” parameter 
is not it, that separates the pair groups.



Thanks





"In the end, everything is a gag."
- Charlie Chaplin



Work like you don’t need money, love like you’ve never been hurt, and dance 
like no one’s watching
—Unknown Author

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to