<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm currently using OSGeo4W with ESRI's 1.4 version of the File Geodatabase API and trying to ingest a filegdb into postgresql 9.2.2 that is configured with ArcSDE and is using st_geometry as the default type.  When I execute an ogr2ogr -update -append on a feature class that contains either mulitlinestring or multipolygon I get an error that the copy statement failed.  The debug info is listed below:</div><div><br></div><div><div>>ogr2ogr -update -append -preserve_fid -fieldmap identity -f "PostgreSQL" PG:"host=******* user=**** dbname=******* port=5432 password=*****" C:\Users\dvick99\Documents\fgcm\TDS61_Merged_FJ.gdb AeronauticSrf_AM --config PGSQL_OGR_FID "objectid" --config PG_USE_COPY "YES" --config PG_USE_BASE64 "YES" --config FGDB_BULK_LOAD "YES" --config PG_LIST_ALL_TABLES "YES" --config OGR_TRUNCATE "YES" --debug ON -progress</div><div><br></div><div>FileGDB: Really opening C:\Users\dvick99\Documents\fgcm\TDS61_Merged_FJ.gdb</div><div>OGR: OGROpen(C:\Users\dvick99\Documents\fgcm\TDS61_Merged_FJ.gdb/03B3D220) succeeded as FileGDB.</div><div>PG: DBName="fgcmdev3wk"</div><div>PG: PostgreSQL version string : 'PostgreSQL 9.2.2 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3), 64-bit'</div><div>PG: PostGIS version string : '2.0 USE_GEOS=1 USE_PROJ=1 USE_STATS=1'</div><div>OGR: OGROpen(PG:host=<a href="http://lnsvr0800.gcsd.harris.com">lnsvr0800.gcsd.harris.com</a> user=fgcm dbname=fgcmdev3wk port=5432 password=fgcm/054050E8) succeeded as PostgreSQL.</div><div>PG: Using column 'objectid' as FID for table 'aeronauticsrf_am'</div><div>PG: Field shape is of unknown format type st_geometry (type=st_geometry).</div><div>0...10...20...30...40...50...60...70...80...90...100 - done.</div><div>PG: PQputCopyEnd()</div><div>ERROR 1: COPY statement failed.</div><div>ERROR:  ESRI: invalid hexa character in hexa string [30000]:</div><div>CONTEXT:  COPY aeronauticsrf_am, line 1, column shape: "{C8CDC53F-9478-4CB9-9CD3-7ADA9558FFC2}"</div><div><br></div><div>OGR2OGR: 118 features written in layer 'aeronauticsrf_am'</div><div>FileGDB: ref_count of C:\Users\dvick99\Documents\fgcm\TDS61_Merged_FJ.gdb = 0 now</div><div>FileGDB: Really closing C:\Users\dvick99\Documents\fgcm\TDS61_Merged_FJ.gdb now</div></div><div><br></div><div>Does anyone have any other suggestions to try?  Our current process of loading data is taking in excess of 12 hours and getting ogr2ogr to work will improve this time to just minutes.</div><div><br></div><div>Thank you,</div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Vick</div><div dir="ltr"><br>Professional Services Engineer | <a href="http://www.boundlessgeo.com" target="_blank">Boundless</a><br><a href="mailto:dvick@boundlessgeo.com" target="_blank">dvick@boundlessgeo.com</a><br>mobile: 1-636-698-3174</div><div dir="ltr"><br><img src="https://docs.google.com/a/boundlessgeo.com/uc?id=0B47HJesavZUJaks1NUN1cEsxNFU&export=download"><span></span><span></span></div></div></div></div></div></div></div></div></div>
</div>