[GRASS-user] v.out.ogr to GeoJSON + crs definition

Panagiotis Mavrogiorgos pmav99 at gmail.com
Mon Feb 1 12:14:11 PST 2016


Hi everybody,

is it possible to make v.out.ogr specify the projection when exporting to
GeoJSON?

I.e. to have a "crs" field:

{
    "type": "FeatureCollection",
    "crs": {
        "type": "name",
        "properties": { "name": "urn:ogc:def:crs:EPSG::3358" }
    },
    "features": [
        {
            "type": "Feature",
            "properties": { "cat": 1 },
            "geometry": {
                "type": "Point",
                "coordinates": [ 642989.51049, 227690.559441, 0.0 ]
            }
        }
    ]
}

all the best,
Panos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160201/5b61a210/attachment.html>


More information about the grass-user mailing list