GIS: When and why use ArcObjects to program GDAL for working with ArcGIS rasters and vectors?

I am just starting with GDAL + python to support operations that cannot be performed using ArcGIS python geoprocessing scripts. I mainly do spatial modeling / analysis / editing of raster and vector data.

I'm a little confused when ArcObject development is required in comparison with GDAL. Are there any ArcObjects features that GDAL does not do? And vice versa? I assume ArcObjects are more useful when developing online tools than desktop analysis and modeling, where the difference is more related to preference? In my case, I prefer GDAL because of python support, which I think ArcObjects is missing.

thank!

+3
source share
3 answers

GDAL is included in ArcGIS to work with some raster data formats. They do not use the GDAL utilities for any geoprocessing. I would suggest that ESRI has implemented most, if not all, of the functionality in GDAL with its own geoprocessing features. Thus, there is a large overlap of functionality between them.

ESRI geoprocessing functions can be started and run through Python. Geoprocessing tools are higher-level abstractions (simplifications) of ArcObjects and are built using ArcObjects. They should cover your “spatial modeling / analysis / editing of raster and vector data” requirements.

http://webhelp.esri.com/arcgisdesktop/9.2/index.cfm?id=596&pid=592&topicname=Geoprocessing_framework

, , ESRI?

GDAL Python ( ). , , .

http://www.gdal.org/gdal_utilities.html

+5

. , gdal/ogr, . , , ( ). , , . Gdal/ogr , COM ArcObjects . ( , ESRI MS COM , Microsoft.) . ESRI arcgisscripting GDAL ogr2ogr 6 10 .

, , , , gdal, - Lineage . ESRI ( ).

, ESRI. . ArcObjects, , arcgisscripting (arcpy in v10), python dot net.

+4

ArcObjects , GDAL, . Python QGIS API- python - Free Open Source .

There are also many python libraries for doing spatial work, such as Shapely. I would say that for a raster, GDAL is your best choice, but for a vector you can use something like a slender one.

+1
source

Source: https://habr.com/ru/post/1733068/


All Articles