I'm looking for a way to export a stack profile graph as an xml. Just like this Exporting the graph data—Help | ArcGIS for Desktop but through the use of python.
If you extract the values of your profile using numpy, you can give it any format you like and analyze it the way you want: see: Extract Raster Values using Numpy
Dan,
I already built some code, before realizing you could not automate xml export from graph, to parse the data from the xml export to analyze the topographic profile. This code uses ElementTree along with Matplotlib but I wasn't wanting to change the code since the xml export comes out formatted really nice. I hopping for a quirky work around for this solution.
Thanks though.
the only arcpy access to graphing is here Graph—Help | ArcGIS for Desktop
If you want a python solution, then recent installs of arcmap include matplotlib which offers huge capabilities and integrating with gis data is a breeze matplotlib: python plotting — Matplotlib 1.5.1 documentation
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.