Is there any tool that will let me visualize a WKT polygon on a world map such as google maps?
Asked
Active
Viewed 3,268 times
3
-
1Probably lots of tools. Are you looking for something web based, thick client based, or own-hosted based? – BradHards Jan 18 '16 at 07:09
-
What GIS software are you already familiar with? If you check the documentation and find that it appears not to do it when its product description suggests it should then that would make a more focussed Q&A than your currently quite broad question. – PolyGeo Jan 18 '16 at 07:13
-
Possible duplicate of http://gis.stackexchange.com/questions/60534/are-there-any-online-wkt-editors – alphabetasoup Jan 18 '16 at 07:37
-
I'm willing to look at free software but an online tool would be best. – pguardiario Jan 18 '16 at 08:02
1 Answers
7
Yes.
QGIS: the QuickWKT plugin. The description of the tool is as follows:
Quick WKT/WKB viewer, this Qgis Plugin opens a dialog where the user can paste (E)WKT and WKB code and see it on the map. Pasted data are stored in a temporay (memory) layer and are completely lost when the user quits QGIS.
Wicket: if you need/want to do this in the browser.
alphabetasoup
- 8,718
- 4
- 38
- 78
-
WKT geometry can be read from a CSV file in QGIS, too. See Add Delimited Text Layer. – Zoltan Jan 18 '16 at 07:43
-
I must be doing something wrong, I can't wicket or other tools to work. Can you try with this and tell me what the problem is?
POLYGON((42.0095169 -124.415165, 42.0095169 -119.2732788, 37.2718906 -119.2732788, 37.2718906 -124.415165, 42.0095169 -124.415165))– pguardiario Jan 18 '16 at 08:04 -
-
Really? So you're saying WKT is always lng, lat instead of lat, lng? That seems very strange to me, I don't understand why that would be a thing. – pguardiario Jan 18 '16 at 08:36
-
2It's always
(x, y), it doesn't know anything about longitude or latitude. – alphabetasoup Jan 18 '16 at 08:55 -
Ok so for geo coordinates WKT is always lng, lat. Am I understanding that correctly? – pguardiario Jan 18 '16 at 09:15
-
No, it's always
(x, y). That is equivalent to(lon, lat), but does not have to be: they could be projected coordinates. – alphabetasoup Jan 18 '16 at 09:18 -
Excuse my ignorance, but can you please explain what you mean by projected coordinates? – pguardiario Jan 18 '16 at 09:54
-
-
Sorry, I had to go to bed. Basically I'm asking if with Google maps or Wicket, it's always lng, lat or am I still missing something? – pguardiario Jan 18 '16 at 21:29
-
1I don't know how I can make this any clearer. With WKT, the order is
(x, y), or(easting, northing). Think of a graph with x and y axes: vertical and horizontal. When using latitude and longitude coordinates, the x dimension is longitude, and the y dimension is latitude, so therefore WKT needs your location given as(lng, lat). Is that clear? – alphabetasoup Jan 18 '16 at 21:51 -
-
