Yes, those are exactly the behaviors I see.<div><br></div><div>Now, the results of the logs:</div><div><br></div><div><span class="objectBox objectBox-text ">MULTIPOLYGON(((-8528881.66131028 4765394.13129731,-8528940 ..... (note, no brackets or quotes)</span></div>
<div><br></div><div>object</div><div><br></div><div>string<br><br><div class="gmail_quote">On Tue, Jul 10, 2012 at 5:56 PM, Greg Allensworth <span dir="ltr"><<a href="mailto:gregor@greeninfo.org" target="_blank">gregor@greeninfo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 7/10/2012 2:47 PM, Joel Leininger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That's true, we do control both sides of that transaction.<br>
Any ideas why we should have to resort to this??<br>
</blockquote>
<br></div>
No, it sounds very strange. Looking at the JSON parser source code<br>
<br>
I do notice one thing: console.log(updateOutput[0]) is showing "["MULTIPOLYGON(((-8528843...<u></u>591 4765443.37168208)))"]" with the brackets, indicating that it's an array.<br>
<br>
What if you do this? Does it show a single string?<br>
console.log(updateOutput[0][0]<u></u>);<br>
<br>
What about this?<br>
console.log(typeof updateOutput[0]);<br>
console.log(typeof updateOutput[0][0]);<br>
<br>
<br>
And you're sure of the behavior:<br>
<br>
// works?<br>
new polygone = parcer.read("MULTIPOLYGON(((<u></u>123 456)))");<br>
<br>
// fails?<br>
var wkt = "MULTIPOLYGON(((123 456)))";<br>
new polygone = parcer.read(wkt);<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Greg Allensworth, Web GIS Developer<br>
BS  A+  Network+  Security+  Linux+  Server+<br>
GreenInfo Network - Information and Mapping in the Public Interest<br>
564 Market Street, Suite 510  San Francisco CA 94104<br>
PH: <a href="tel:415-979-0343%20x302" value="+14159790343" target="_blank">415-979-0343 x302</a>  FX: <a href="tel:415-979-0371" value="+14159790371" target="_blank">415-979-0371</a>    email: <a href="mailto:gregor@greeninfo.org" target="_blank">gregor@greeninfo.org</a><br>

Web: <a href="http://www.GreenInfo.org" target="_blank">www.GreenInfo.org</a>     <a href="http://www.MapsPortal.org" target="_blank">www.MapsPortal.org</a><br>
<br>
Subscribe to MapLines, our e-newsletter, at <a href="http://www.GreenInfo.org" target="_blank">www.GreenInfo.org</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>