[gdal-dev] ArcGIS 10
Jason Roberts
jason.roberts at duke.edu
Wed Aug 11 12:49:06 EDT 2010
ArcGIS 10 installs Python 2.6 and numpy 1.3.0. It does not install GDAL with
Python bindings. It includes a new Python module from ESRI called ArcPy.
This module supposedly provides the capability of reading and writing raster
layers in the form of numpy arrays, similar to GDAL's Python bindings. I
have not played with it much-only very briefly in Arc 9.4 Beta 2, when it
did not seem to work very well. If you search the Arc 10 online
documentation you can probably find more information.
In principle, the ArcPy module may make it less necessary those developing
for ArcGIS with Python to resort to GDAL to read or write rasters. If you do
wish to use GDAL from ArcGIS 9.3 or 10, you must contend with an important
bug in ArcGIS that affects GDAL; see http://trac.osgeo.org/gdal/ticket/3672.
I am corresponding with the ESRI developer who is investigating this. He
expressed an interest in fixing this in Arc 10 SP1 but has not committed to
doing so at this time.
To work around that, when creating Python-based geoprocessing tools that use
GDAL, you must disable the "Run Python script in process" option in the
ArcGIS UI. That has certain implications on performance but is probably fine
for most people. I developed a hack that works around the ArcGIS bug that
allows you to enable the "Run Python script in process" but unless you are
pretty savvy with Python (comfortable writing C extension modules) I do not
recommend that approach. If anyone is interested I can provide an example.
Best,
Jason
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Discourse Maps
Sent: Wednesday, August 11, 2010 10:38 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] ArcGIS 10
I hear the new ArcGIS10 has GDAL and NumPy built into the geoprocessor. If
this is true, does that mean that users will not have to install the various
Python library bindings GDAL, numpy, etc. after a full Arc10 install?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100811/b25c0123/attachment.html
More information about the gdal-dev
mailing list