Hi Robert, Thanks for this info. It works.
Now, I have to parse all my SQL results to remove the space. I am wondering which one is the stardard for linestring, mutlipolygons, etc. with space or without space. Thanks again. Noli On 6/9/11, Robert Sanson <[email protected]> wrote: > 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 <[email protected]> 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 > [email protected] > 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 > _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
