<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body class="" style="word-wrap:break-word" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">The yh would have the same effect IF you set xf to "" - you have to overcome the defaults. --Steve
<div><br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF476776" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Basques, Bob (CI-StPaul) [bob.basques@ci.stpaul.mn.us]<br>
<b>Sent:</b> Thursday, March 02, 2017 1:07 PM<br>
<b>To:</b> Lime, Steve D (MNIT)<br>
<b>Cc:</b> mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: SHPXY output formatting, how can I drop the comma in the X/Y separator??<br>
</font><br>
</div>
<div></div>
<div>Thanks Steve,
<div class=""><br class="">
</div>
<div class="">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?</div>
<div class=""><br class="">
</div>
<div class="">Anyway, it worked.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Now that I read the docs in more detail, it does say that the default for xf=“,”.  So that explains that.</div>
<div class=""><br class="">
</div>
<div class="">Sorry to bother.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Mar 2, 2017, at 12:48 PM, Lime, Steve D (MNIT) <<a href="mailto:Steve.Lime@state.mn.us" class="" target="_blank">Steve.Lime@state.mn.us</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="font-family:ComicSansMS; font-size:12px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Try xf=” “…</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)">Steve</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:11pt; font-family:Calibri,sans-serif; color:rgb(31,73,125)"> </span></div>
<div class="">
<div class="" style="border-style:solid none none; border-top-color:rgb(225,225,225); border-top-width:1pt; padding:3pt 0in 0in">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<b class=""><span class="" style="font-size:11pt; font-family:Calibri,sans-serif">From:</span></b><span class="" style="font-size:11pt; font-family:Calibri,sans-serif"><span class="Apple-converted-space"> </span>mapserver-users [<a href="mailto:mapserver-users-bounces@lists.osgeo.org" class="" style="color:rgb(149,79,114); text-decoration:underline" target="_blank">mailto:mapserver-users-bounces@lists.osgeo.org</a>]<span class="Apple-converted-space"> </span><b class="">On
 Behalf Of<span class="Apple-converted-space"> </span></b>Basques, Bob (CI-StPaul)<br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Thursday, March 02, 2017 12:40 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:mapserver-users@lists.osgeo.org" class="" style="color:rgb(149,79,114); text-decoration:underline" target="_blank">mapserver-users@lists.osgeo.org</a><br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>[mapserver-users] SHPXY output formatting, how can I drop the comma in the X/Y separator??</span></div>
</div>
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 </div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
All,<span class="Apple-converted-space"> </span></div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
I’m using this in my Template:</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 </div>
</div>
<blockquote class="" style="margin-left:30pt; margin-right:0in">
<div class="">
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 ([shpxy precision="6" xh="(" yf=")"])</div>
</div>
</div>
</blockquote>
<div class="">
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 </div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
and it’s returning each group of coordinates for a polyline like this:</div>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 </div>
</div>
</div>
<blockquote class="" style="margin-left:30pt; margin-right:0in">
<div class="">
<div class="">
<pre id="line1" class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'">((576829.620110,157690.579906) (576835.359928,157694.480161) (576845.120079,157701.119911))</pre>
</div>
</div>
</blockquote>
<div class="">
<div class="">
<pre id="line1" class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'">and I need it to look like this:</pre>
</div>
</div>
<blockquote class="" style="margin-left:30pt; margin-right:0in">
<div class="">
<div class="">
<pre id="line1" class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'">((576829.620110 157690.579906) (576835.359928 157694.480161) (576845.120079 157701.119911))</pre>
</div>
</div>
</blockquote>
<div class="">
<div class="">
<pre id="line1" class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'">No commas.  Is there a way to set a “ “ as the separator?  “the “cs” parameter is not it, that separates the pair groups.</pre>
<pre id="line1" class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'"> </pre>
<pre id="line1" class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'">Thanks</pre>
<div class="">
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:'Courier New'"> </pre>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
 </div>
</div>
</div>
<div class="">
<div class="">
<p class="MsoNormal" style="margin:0in 0in 12pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:9pt; font-family:'Comic Sans MS'"> </span></p>
</div>
<div class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:9pt; font-family:'Comic Sans MS'">"In the end, everything is a gag."</span></div>
<div class="" style="margin:0in 0in 0.0001pt 0.5in; font-size:12pt; font-family:'Times New Roman',serif">
<span class="" style="font-size:9pt; font-family:'Comic Sans MS'">- Charlie Chaplin</span></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div class="" style="color:rgb(0,0,0); font-family:'Comic Sans MS'; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<br class="Apple-interchange-newline">
<br class="">
</div>
<div class="" style="color:rgb(0,0,0); font-family:'Comic Sans MS'; font-size:12px; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px">
<div class="wp_quotepage_quote">Work like you don’t need money, love like you’ve never been hurt, and dance like no one’s watching</div>
<div class="wp_quotepage_author">—Unknown Author</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div>
</body>
</html>