Skip to content

Instantly share code, notes, and snippets.

@palewire
Created January 22, 2013 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palewire/4597413 to your computer and use it in GitHub Desktop.
Save palewire/4597413 to your computer and use it in GitHub Desktop.
UPDATE my_farked_table SET geom = ST_MakeValid(geom) WHERE NOT st_isvalid(geom);
NOTICE: IllegalArgumentException: Points of LinearRing do not form a closed linestring
ERROR: Geometry type (GeometryCollection) does not match column type (MultiPolygon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment