Some of you have e-mailed me directly asking for windows binaries of this arcobjects driver so I decided to e-mail the mailing list in case other people were also interested.
<div><br></div><div>You can download them from <a href="http://bit.ly/clDrmd">http://bit.ly/clDrmd</a></div><div><br></div><div>Some questions that I was asked:</div><div><br></div><div>1.- What are the requirements?</div>
<div><div><br></div><div>- An ArcView license (the cheapest of the ESRI licenses) - I know, most people here won't have it.</div><div>- The ESRI libraries installed. This typically happens if you have ArcEngine or ArcGIS Desktop or Server installed.</div>
<div><br></div></div><div><br></div><div>2.- So what can you do with this?</div><div><br></div><div><br></div><div>A) Connect to many of the ESRI Datasources (using the same code ESRI uses to connect):</div><div><br></div>
<div> a) FileGDB</div><div> b) Enterprise Geodatabase (aka ArcSDE) - note this regularly requires ArcEditor - but this driver manages a connection with only ArcView.</div><div> c) AccessDB. Wow, big deal, we were able to do that before hand :)</div>
<div><br></div><div><br></div><div>B) Read Feature Classes (write not implemented). </div><div><br></div><div> These include 'Normal' Feature Classes, Annotation Classes, Dimension Classes, Representation Classes, Network Features, etc etc</div>
<div><br></div><div>3.- Why would I use this connect to Enterprise Geodatabase or AccessDB instead of the other OGR equivalent drivers (namely ESRI ArcSDE or ESRI Personal GeoDatabase)?</div><div><br></div><div>It's your choice. If you have an ESRI ArcView license, you can use these. The advantage is that this driver will allow you to open some of the ESRI Complex FeatureClasses</div>
<div>since it is going through ESRI's data access layer. The disadvantage is that it is going through ESRI's data access layer ;-)</div><div><br></div><div>4.- Why did you write this?</div><div><br></div><div>- I wanted to load data in one shot into a PostGIS and one of my customers did not have an ArcEditor nor ArcGIS Server license. The FileGDBs we were</div>
<div>using were 100GB+ in size and I was tired of trying to do magic to manage the 60+shapefiles exported everytime to then call another command to load them into PostGIS.</div><div>Keeping track of which features were failing was a pain since I had to preserve IDs across my exports. Now I can do it all with one shot.</div>
<div><br></div><div>5.- How do you use it?</div><div><br></div><div>Prefix the Datasource with "AO:"</div><div><br></div><div>Example:</div><div><br></div><div>- Read from FileGDB and load into PostGIS</div><div>
<br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 204); background-position: initial initial; background-repeat: initial initial; ">ogr2ogr</span> -overwrite -skipfailures -f "PostgreSQL" PG:"host=myhost user=myuser dbname=mydb password=mypass" AO:"C:\somefolder\BigFileGDB.gdb" "MyFeatureClass"</p>
<p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">- Get detailed info of Personal GeoDatabase:</p>
<p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ogrinfo -al AO:"C:\somefolder\PersonalGDB.mdb"</p>
<p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
- Get detailed info of Enterprise GeoDatabase (.sde contains target version to connect to):</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
ogrinfo -al AO:"C:\somefolder\MySDEConnection.sde"</p><div><br></div><p></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
6.- What about *nix?</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
This code should compile using the ArcEngine Unix SDK, I just did not have access to it to test this.</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
7.- Questions/Known issues?</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
- Date and blob fields have not been implemented. It is probably just a few lines of code, I just have not had time to do it.</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
- This version is a little bit more up to date than the patch that was submitted to GDAL. Once that patch gets committed, I'll submit the couple of bug fixes this binary has.</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
- This version is alpha, so pardon any obvious mistakes :)</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
If there are any issues, submit them to the GDAL Trac and contact me.</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Best wishes,</p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">
<br></p><p class="MsoNormal" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">- Ragi Burhum</p></span></div>