TransWikia.com

Trouble working with a .TSV containing WKT

Geographic Information Systems Asked by Carto0101 on December 2, 2020

I’m working with a .TSV file that represents district boundaries in a portion of a country in Carto. The polygon data is represented in a string column of Well-Known Text lat/long vertices, which I’m having trouble geocoding and visualizing. How would I go about representing the district boundaries as polygons on a map? Here is a screenshot of the data set for your reference. enter image description here

One Answer

An update query statement using ST_GeomFromText function like this should do the trick:

UPDATE table_name
SET the_geom = ST_GeomFromText(wkt_polygon, 4326)

Answered by ramiroaznar on December 2, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP