6

My question is similar to this one: Are there any online WKT editors? The links given in answers have been very useful to me.

However, it seems that when the tools in question display maps, they assume the WKT describes a geometry and not a geography.

By this I mean that they assume the geometry is on a Cartesian coordinate system, and not a geographic coordinate system.

This causes the edges of the polygon to just connect the vertices with the shortest distance on the map, and not great circle distances on the map.

Is there any Viewer which displays the polygons assuming great circle lines for the edges, instead of assuming that edges are in Cartesian space?

2 Answers2

2

I've made an attempt at this using Leaflet, Mapbox.js and the Arc.js plugin:

http://snorf.net/wkt_gc/

Currently this works with LINESTRING and POLYGON strings. Just enter the WKT in the input box to the top right and it will update.

Snorfalorpagus
  • 4,934
  • 3
  • 34
  • 51
0

You can try this (in case you still need it)

https://asapelkin.github.io/wkt_3d_viewer

(repo with examples and readme https://github.com/asapelkin/wkt_3d_viewer)

Arseniy
  • 121
  • 1