<div dir="ltr"><div><div><div><div>Hello,<br><br></div>I encounter a problem using ogr2ogr (from gdal 1.10) when trying to convert a geojson to MapInfo Tab. The output MapInfo tab does not include the projection wich is defined in the geojson as EPSG:3857 so srs is defined as WGS84 as default.<br><br></div>I think its a known problem with MapInfo Tab (mitab driver) but I dont know if a solution exist. Anybody can help?<br><br></div>See;<br><br></div>geojson file<br><br><pre style="" class=""><code><span class="">{<br>   "type":"FeatureCollection",  <br>   "crs":{<br>      "type":"name",<br>      "properties":{<br>         "name": "3857"<br>      }<br>   },<br>   "features":[<br>      {<br>         "type":"Feature",<br>         "geometry":{<br>            "type":"LineString",<br>            "coordinates":[[-7551132, 6293816],[-7560916, 6260489]],<br>         },<br>         "properties":{<br>            "id":36<br>         }<br>      }<br>   ]<br>}<br><br></span></code></pre><pre style="" class=""><code><span class="">ogr2ogr -f "MapInfo File" output.tab line.geojson<br><br><br>gdalsrsinfo -o proj4 output.tab<br></span></code></pre><pre style="" class=""><code><span class="">>>> '+proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0 +no_defs '<br></span></code></pre><br><br clear="all"><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Stack Overflow: <a href="http://stackoverflow.com/users/1914034/burton449" target="_blank">http://stackoverflow.com/users/1914034/burton449</a><br></div></div>GIS Overflow: <a href="http://gis.stackexchange.com/users/14426/burton449" target="_blank">http://gis.stackexchange.com/users/14426/burton449</a><br></div>LastFm: <a href="http://www.lastfm.fr/user/burton449" target="_blank">http://www.lastfm.fr/user/burton449</a><br></div></div>
</div></div></div></div></div></div>