Saturday, 15 September 2018

Guidelines for using ArcObjects from Python


By far, Accessing ArcObjects from Python? is my most read and referenced Q&A on GIS. In spite of that success, it's probably one of my weakest areas when it comes to actual use. A large part of that poor showing derives from my poor ability to read and understand the ArcObjects docs.


So, for any given task what are some guidelines for translating .net/c++/java/... docs and examples into their python equivalents? (which language is the best one to work from for that matter?) and what is the best index or landing page to start from? what stuff should be focussed on, and likely at least as important, what can be freely ignored?


Assume your audience is at least somewhat python literate, and illiterate in other development languages. Walk us through a small coding exercise, from initial idea and research to working python results.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...