OGR has a layer creation option to create an RFC7946-compliant GeoJSON file. (The only difference is that RFC7946 excludes a CRS parameter in the header, and is always EPSG 4326). This is required by Mapbox for uploading GeoJSON files. Could a checkbox be added to add -lco RFC7946=YES to the ogr2ogr call? I'd suggest labelling this option as "Create Mapbox-compatible GeoJSON." It should also disable the Target SRS field when checked.
OGR has a layer creation option to create an RFC7946-compliant GeoJSON file. (The only difference is that RFC7946 excludes a CRS parameter in the header, and is always EPSG 4326). This is required by Mapbox for uploading GeoJSON files. Could a checkbox be added to add
-lco RFC7946=YES
to the ogr2ogr call? I'd suggest labelling this option as "Create Mapbox-compatible GeoJSON." It should also disable the Target SRS field when checked.http://www.gdal.org/drv_geojson.html