I import file in MapInfo format into PostGIS by using ogr2ogr<br>Example<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; export PGCLIENTENCODING=WIN874&nbsp; // I import file which use this encoding.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ogr2ogr -append -skipfailures -f &quot;PostgreSQL&quot; PG:dbname=MapDB ADMIN_BND.TAB -nln ADMIN_BND
<br><br>The map is composed in many file So I have write python script to import file. I import one file per table.<br>While I import I found these error<br>&nbsp; - ERROR:&nbsp; new row for relation &quot;ROADCL&quot; violates check constraint &quot;enforce_geotype_wkb_geometry&quot;
<br>&nbsp; - Error: Character 0x81 in WIN874 encoding cound not mach any character in UTF-8 encoding.<br>&nbsp; -&nbsp; ERROR:&nbsp; geometry requires more points<br><br>I have very headache. Could you sugest a solution or tool to convert a mapinfo to postgis
<br><br><br>-- <br>Surachai Locharoen<br>