UNPKG

compare-geojson

Version:

Compare a features new and old versions in GeoJSON

97 lines (96 loc) 2.75 kB
{ "fixtures": [ { "description": "Fixture without old Version and having null geometry", "newVersion": { "type": "Feature", "properties": { "id": 76274, "type": "node" }, "geometry": null }, "oldVersion": null }, { "description": "Fixture without old Version and having geometry", "newVersion": { "type": "Feature", "properties": { "id": 76273, "type": "node" }, "geometry": { "type": "Point", "coordinates": [ 78.98437, 91.00899 ] } }, "oldVersion": null }, { "description": "Fixture with old Version and having null geometry", "newVersion": { "type": "Feature", "properties": { "id": 76276, "type": "node" }, "geometry": null }, "oldVersion": { "type": "Feature", "properties": { "id": 68736, "type": "way" }, "geometry": null } }, { "description": "Fixture without new Version and having null geometry", "oldVersion": { "type": "Feature", "properties": { "id": 76278, "type": "node" }, "geometry": null }, "newVersion": null }, { "description": "Fixture with old Version and new Version and non null geometries", "oldVersion": { "type": "Feature", "properties": { "id": 76279, "type": "node" }, "geometry": { "type": "Point", "coordinates": [ 76.9843716, 11.0089059 ] } }, "newVersion": { "type": "Feature", "properties": { "id": 76279, "type": "node" }, "geometry": { "type": "Point", "coordinates": [ 76.9843716, 11.0089059 ] } } } ] }