[GIS] How to compare a SHP file and a GeoJSON file

geojsonogr2ogrshapefile

I am working on a project to convert a mass of GIS data in Shapefile format to GeoJSON. I am able to complete the conversion using ogr2ogr but I would like to be able to test the resultant GeoJSON against the originating Shapefile. Is there an equivalent of diff that would tell me if the geometries encoded in the two files are different?

Best Answer

Bring them into QGIS, and run a difference between them.

Vector> Geoprocessing Tools> Difference