Re: [gdal-dev] problem with importing gml file to PostGIS with ogr2ogr

2013-08-06 Thread Piotr Pachół
I have older configuration: - PostgreSQL 9.1.5, compiled by Visual C++ build 1500, on Windows XP 32bit - PostGIS 2.0.1 - gdal, geos and proj based on FWTools 2.4.7 for Windows 32bit Should I install newer versions ? What can I do with your script ? I made additional test importing gml to shp (in

Re: [gdal-dev] problem with importing gml file to PostGIS with ogr2ogr

2013-08-06 Thread Even Rouault
Selon Piotr Pachó : > Thanks for your explanations but I still can't import polygons which > contains many vertices. > I do some test with polygons which contains different quantities of > vertices and > on my computer and configuration I can import polygon which has 2046 > pairs (x,y) of coordina

Re: [gdal-dev] problem with importing gml file to PostGIS with ogr2ogr

2013-08-05 Thread Piotr Pachół
Thanks for your explanations but I still can't import polygons which contains many vertices. I do some test with polygons which contains different quantities of vertices and on my computer and configuration I can import polygon which has 2046 pairs (x,y) of coordinates but I can't import when i

Re: [gdal-dev] problem with importing gml file to PostGIS with ogr2ogr

2013-08-05 Thread Even Rouault
Selon Piotr Pachó : > Hello list, > I have problem with importing gml file (with polygons) to postgis using > standard ogr2ogr command which look like: > > ogr2ogr -a_srs EPSG:2180 -f "PostgreSQL" PG:"host=localhost > user=postgres dbname=test password=postgres port=5432" > d:\test\BDOT10k\OT_ADJA

[gdal-dev] problem with importing gml file to PostGIS with ogr2ogr

2013-08-05 Thread Piotr Pachół
Hello list, I have problem with importing gml file (with polygons) to postgis using standard ogr2ogr command which look like: ogr2ogr -a_srs EPSG:2180 -f "PostgreSQL" PG:"host=localhost user=postgres dbname=test password=postgres port=5432" d:\test\BDOT10k\OT_ADJA_A.xml I tried to import two GML