[OpenLayers-Users] WKT example, this one (ol 2.6) does not work?

Robert Sanson Robert.Sanson at asurequality.com
Wed Jun 8 21:15:25 EDT 2011


There shouldn't be any spaces or carriage returns after the commas. Try:
 
LINESTRING(7.120068 43.583917,7.120154 43.583652,7.120385 43.582716,7.12039 43.582568,7.120712 43.581511,7.120873 43.580718)
regards,
 
Robert Sanson

>>> Noli Sicad <nsicad at gmail.com> 9/06/2011 12:38 p.m. >>>
Hi,

I am trying to understand how WKT works.

I got this WKT (below linestring) from my Spatialite query,

LINESTRING(7.120068 43.583917, 7.120154
43.583652, 7.120385 43.582716, 7.12039 43.582568, 7.120712 43.581511,
7.120873 43.580718)

Now, I am putting in the text box in this example.

   http://dev.openlayers.org/releases/OpenLayers-2.6/examples/wkt.html 

I got bad wkt result.

Any ideas why? What is the format acceptable for WKT?

Any link for a good example that can render linestring mentioned above?

Thanks.

Regards, Noli
_______________________________________________
Users mailing list
Users at lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/openlayers-users


This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted Security.
www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110609/dadb1520/attachment.html


More information about the Users mailing list