Hi,<br><br>1) I need to convert .tab file into .shp format. <br><br>I've got error by using following command:<br>C:\Program Files\FWTools2.4.7>ogr2ogr -f "ESRI Shapefile" test.shp SHP.shp<br><br>The error:<br>
ERROR 1: Attempt to write non-linestring (POINT) geometry to ARC type shapefile.<br>ERROR 1: Terminating translation prematurely after failed<br>translation of layer tab (use -skipfailures to skip errors)<br>C:\Program Files\FWTools2.4.7>ogr2ogr -f "ESRI Shapefile" test.shp tab.TAB<br>
ERROR 1: test.shp is not a directory.<br>ESRI Shapefile driver failed to create test.shp<br><br>It am sure it is general practice that .tab files contain multityped data in it (points, lines, polygonds).<br>I wonder how to handle tab->shp conversion by using ogr2ogr function?<br>
<br>Another relative issue I have:<br>2)During the same conversion tab->shp I've got next message wich means that the field name 'Flood_Risk_Comment' will be reduce to 'Flood_Ri_1' in resulting shp attribute table:<br>
C:\Program Files\FWTools2.4.7>ogr2ogr -f "ESRI Shapefile" test_pnt.shp tab_pnt.TAB<br>Warning 6: Normalized/laundered field name: 'Flood_Risk_Comment' to 'Flood_Ri_1'<br>Any idea how to handle filed name reduction issue?<br>
<br>Thank you in advance.<br><br clear="all"><br>-- <br>Best regards,<br>Andrey Khmelevskiy<br>