Ticket #608 (closed feature: fixed)
add WKT support
|Reported by:||tschaub||Owned by:||tschaub|
Here's an example: http://dev.openlayers.org/sandbox/tschaub/wkt/examples/wkt.html
The following patch includes the new format, tests, and the above example. If this makes it in, I'll make a multi-purpose example that demonstrates all vector formats.
Also, I think I'll propose next that geometry.toString be changed simply to
This would mean that all geometries would require Format/WKT.js - but it seems like a pretty slick solution. I'll leave that for another patch.
Note that we already have one user who is using this to insert feaatues into an Oracle db with ArcSDE.