← Back to team overview

dhis2-devs team mailing list archive

Re: hi

 

On Wed, Jul 21, 2010 at 10:12 AM, Knut Staring <knutst@xxxxxxxxx> wrote:

> We want the data in EPSG 4326, which is Lat/Lon.
>
>ogr2ogr s_srs EPSG:2736 a_srs EPSG:4326 -f "GeoJSON" outputfile.json inputfile.shp

There are a couple or errors in the above statement: The flags should
have a dash in front, and it is probably better to use -t_srs instead
of -a_srs. This means the statement to reproject the geojson files
should rather be as follows:

ogr2ogr -s_srs "EPSG:2736" -t_srs "EPSG:4326" -f "GeoJSON"
newname.geojson oldname.geojson

Knut



References