Skip to content

Instantly share code, notes, and snippets.

@walkermatt
Created June 22, 2015 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save walkermatt/4d721c498c38e9210bbf to your computer and use it in GitHub Desktop.
Save walkermatt/4d721c498c38e9210bbf to your computer and use it in GitHub Desktop.
mapinfo.mapinfo_mapcatalog spatialtype values for PostGIS

MapInfo requires a mapinfo.mapinfo_mapcatalog relation to be present in a PostGIS database in order to load relations. The spatialtype column is a float which indicates the geometry type of the relation:

19.0 = POINT, MULTIPOINT
19.1 = LINESTRING, MULTILINESTRING
19.2 = POLYGON, MULTIPOLYGON
19.3 = GEOMETRY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment