| ▲ | Stratoscope 3 hours ago | ||||||||||||||||||||||||||||||||||||||||
One task where GeoJSON falls down is simplification of a group of polygons with common boundaries, e.g. the 48 conterminous US states. If you start with a highly detailed set of polygons, you need to simplify them for practical display in an online map. GeoJSON doesn't encode the fact that the boundary points are common between adjacent polygons. When you simplify those polygons, each one is handled separately, and you end up with "slivers" where the boundaries are misaligned: https://www.bing.com/images/search?q=map+slivers+betwen+poly... TopoJSON solves this by encoding each such boundary only once. So when you simplify the polygons, they are all done together, and the same simplification applies to adjacent polygons. No more slivers! | |||||||||||||||||||||||||||||||||||||||||
| ▲ | Demiurge 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
Is this actually GeoJSON falling down, or decades of convention extended to JSON? Topology is great, but it is sidestepped by Shapefile/WKT/WKB/etc, in favor of independent primitives like POINT, LINE, POLYGON. If GeoJSON did not exist as a new JSON GIS data format encoding these primitives, TopoJSON would not have "replaced" it, due to the added mis-match with other non-topological formats. From what I can tell, the top criticism of GeoJSON is the under-enforced winding order specification, and crossing the antemeridian. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | pramsey an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
GeoJSON is not TopoJSON. Saying that is "falling down" is like criticizing a zebra for not being a giraffe. GeoJSON is a mapping of the (non-topological) "simple features" model into JSON, full stop. It does that fine. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | echoangle 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
How is that a geojson problem? If your dataset is correct, adjacent borders will just use the same points and will match exactly. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||