Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert WKT to SVG

I have some Well-known text (WKT) for representing geometry object such as Point, MultiPoint, LineString, Polygon, MultiPolygon etc. I have a multipolygon with in total 40000 Points.

I have found this plugin to convert SVG to WKT. Is there any JavaScript or PHP plugin which converts WKT to SVG?

like image 711
Jetson John Avatar asked Sep 25 '13 08:09

Jetson John


1 Answers

Use Wellknown to convert WKT to GeoJSON, then use D3 to convert GeoJSON to SVG.

Source : A comment to the same question you asked here : https://gis.stackexchange.com/questions/72323/how-to-convert-wkt-to-svg

like image 98
Tim Nguyen Avatar answered Sep 24 '22 06:09

Tim Nguyen