Re: [gdal-dev] Reading MXD files

2010-09-04 Thread Lucena, Ivan
Ben, There are some interfaces on the ArcObject package that let you not exactly *ready* the MXD but you can get some useful information from the document. I believe that you can access the ArcObject COM API in ArcGIS 10 or 9 by using the win32com.client.Dispatch() the same way as you can load

Re: [gdal-dev] Reading MXD files

2010-09-04 Thread Benjamin Welton
Can you do that with ArcGIS 9.3? i was under the impression from the doc's/forums that it's only available in the arcpy package in 10. Ben On 9/4/2010 5:44 PM, Paolo Corti wrote: Im wondering if there is any way to read MXD files in ether gdal or some other python based extension. I'm n

Re: [gdal-dev] Reading MXD files

2010-09-04 Thread Paolo Corti
>Im wondering if there is any way to read MXD files in ether gdal or some > other python based extension. I'm not looking for the raster data for the > files only the filename/SDE name of the layer and the name of the layer in > the MXD file. Is there any easy way to pull this information ou

[gdal-dev] Reading MXD files

2010-09-04 Thread Benjamin Welton
Hey All, Im wondering if there is any way to read MXD files in ether gdal or some other python based extension. I'm not looking for the raster data for the files only the filename/SDE name of the layer and the name of the layer in the MXD file. Is there any easy way to pull this informat

Re: [gdal-dev] Need help if OGR C-API (Resolved)

2010-09-04 Thread Even Rouault
Ah ok, but I wasn't refering to that. I meant that you shouldn't do OGR_FD_Release( hFDefnIn ) on a field definition returned by OGR_L_GetLayerDefn(), otherwise you'll get into memory corruption issues. Le samedi 04 septembre 2010 05:17:38, Stephen Woodbridge a écrit : > Thank you, still learnin