TheSwamp

CAD Forums => Vertically Challenged => Land Lubber / Geographically Positioned => Topic started by: dusca on August 18, 2015, 10:15:26 AM

Title: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 18, 2015, 10:15:26 AM
Hello

Gdal is open source that can do it but, no with custom CRS...

There is another option?

Thanks
Title: Re: Converting Esri gdb to shp open source???
Post by: mjfarrell on August 18, 2015, 10:17:31 AM
you will enjoy QGIS  http://www.qgis.org/en/site/ (http://www.qgis.org/en/site/)

New version Just released!!
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 18, 2015, 10:27:04 AM
Hello mjfarrell

Yes indeed, but I need c++ or python option...

Thanks
Title: Re: Converting Esri gdb to shp open source???
Post by: mjfarrell on August 18, 2015, 10:43:24 AM
supports Python Console....

what are you really trying to do?
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 18, 2015, 11:02:43 AM
GDB: export to SHP (done)

now, I'm trying to do the inverse...
Title: Re: Converting Esri gdb to shp open source???
Post by: mjfarrell on August 18, 2015, 11:10:45 AM
so now you want to take generic shp file and export it as ESRI GDB?
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 18, 2015, 11:16:43 AM
yhap  :-D

Title: Re: Converting Esri gdb to shp open source???
Post by: mjfarrell on August 18, 2015, 11:19:24 AM
interesting, I wonder why?  ESRI can read generic shp files


and, that is exactly the opposite of what you stated you wanted to do at start of post....? 
Quote
Converting Esri gdb to shp open source???
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 18, 2015, 02:19:16 PM
Thats because I have filegdbapi.dll
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 20, 2015, 08:01:01 PM
shp to gdb python code, please?
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: mjfarrell on August 21, 2015, 08:36:04 AM
try here :http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00120000003m000000 (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00120000003m000000)

or here:  http://stackoverflow.com/questions/22945394/iterate-through-folders-and-extract-shapefiles-to-a-geodatabase-in-python (http://stackoverflow.com/questions/22945394/iterate-through-folders-and-extract-shapefiles-to-a-geodatabase-in-python)
Title: Re: Converting Esri gdb to shp and vice versa open source???
Post by: dusca on August 21, 2015, 05:07:19 PM
 Hello mjfarrell,
I made already arcpy option but I need open source, please...