Ogr2ogr is the standard way to convert files from Shapefile to GeoJSON on the command line. But it has a few limitations for me:
- The output format is not condensed (ie, it contains a lot of needless whitespace, which adds up for huge files)
- There doesn't seem to be an option to suppress null values (again, very inefficient on space)
- GDAL is an enormous package that does a lot of stuff I don't need (so it's a very heavy dependency for this one tiny job).
Is there any better tool for the job?