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
    Please clarify what you mean by geographies ? Well-known text (WKT) is a text markup language for representing vector geometry objects on a map. – gene May 19 '15 at 15:37
  • But PostGIS has a GeogFromText function, which accepts WKT input without trouble. This gives different results than GeomFromText does, for logical reasons. So how is WKT geometry-only? – Chris Morrow May 19 '15 at 16:47
  • But what you mean by geographies ? What is the difference with geometries for you ? – gene May 19 '15 at 16:49
  • 1
    I think what you are trying to ask is: "Is there any Viewer which displays the polygons assuming Great Circle Lines for the edges, instead of assuming that Edges are in Cartesian Space" Is this correct? – Devdatta Tengshe May 19 '15 at 16:53
  • Devdatta Tengshe, yes – Chris Morrow May 19 '15 at 17:08

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


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

  • Any plans to bring this back online? – dbaston May 7 '18 at 14:16
  • 1
    @dbaston I think this got wiped out accidentally when I changed blogging platform. I'll try and get it (or something similar) back up this week. – Snorfalorpagus May 14 '18 at 8:31

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


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.