4

According to switchfromshapefile.org, there is no way to describe topological relations in a shapefile. I am aware that this can be done using a Geodatabase and I have heard of TopoJSON.

If there are any other alternatives which GIS Software works with them?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Thomas
  • 1,735
  • 11
  • 26
  • Have you looked at TopoJSON? Here is a discussion: https://gis.stackexchange.com/a/69439 – Aaron Feb 07 '19 at 21:57
  • Spatialite? with Topology > https://www.gaia-gis.it/fossil/libspatialite/wiki?name=topo-intermediate – Mapperz Feb 08 '19 at 02:30

2 Answers2

3

You can run the ArcGIS Tool Polygon_Neighbors on a Polygon Shapefile. The output is a Table that lists the neighbors to each Polygon. There is also an option to analyse Overlaps. This tool works with any license level. This ArcGIS functionality seems to contradict your statement, "there is no way to describe topological relations in a shapefile".

klewis
  • 7,475
  • 17
  • 19
0

For the coding inclined you could consider Mapbox's Geobuf format. It's basically a binary representation of GeoJSON/TopoJSON data (protocol buffers for those who want the technical details).

There's a Python version here. I haven't found a good, open source, Python library to generate TopoJSON from geometries yet (at least for server side work). But you can use QGIS or PostGIS to create topogolies.

The format's main shortcoming is that no desktop app will open it directly (but that's to be expected from something brand new and not yet stable). You would need to write your own JavaScript/Python code to decompress the data and then create the geometry objects. So, for example, you could write some Python code in QGIS and open it there.