• Conda... the dependency trail

    C onda   Packages. Stuff depends on other stuff.  A brief summary of packages and package management. Clone. Supposedly keeps stuff from getting muddled when you import the wrong version of a package which...
    danretired
    created by danretired
  • Create an IDLE shortcut for the ArcGIS Python you want

    IDLE is easy and fast and is always there with Python distributions. It isn't fancy, but it does get the job done. Old Unix hands will nod in agreement when it is praised as "the vi of Python IDEs".   The&#...
    curtvprice
    last modified by curtvprice
  • Using a user-specific Python startup script

    The following script gives you the ability to fully customize your python environment.   The example below is set up for ArcGIS 10.2 with ArcGIS background GP and  anaconda 32 and anaconda 64 installed. ...
    curtvprice
    last modified by curtvprice
  • Handy functions to save and restore the arcpy environment

    I have run across the need to save and restore the arcpy environment. For example, a function (or a tool packaged in a function) may alter the environment and it would be nice to have an easy way to set it back at the...
    curtvprice
    last modified by curtvprice
  • Fixing broken Python

    Sometimes the Python environment can get broken so ArcGIS will not work right; import arcpy fails, or tools will not open. Not an uncommon problem. A full install of ArcGIS includes both x32 (ArcMap) and x64 (backgrou...
    curtvprice
    last modified by curtvprice
  • Using env.parallelProcessingFactor in Python

    I have been attempting to get into Python multiprocessing. Just a warning, it's not for the faint of heart. It's great when it works, but there are many gotchas! Here's some background on that if you want to read up: ...
    curtvprice
    last modified by curtvprice
  • Python tool fails with: not a valid Win32 application

    If you see this error message from a Python script tool (usually during an import): ImportError: DLL load failed: %1 is not a valid Win32 application it is likely you have some non-ArcGIS versions of Python insta...
    curtvprice
    last modified by curtvprice
  • Notebooks .... in Spyder

    N otebooks   The new cool.  Everyone wants them.  A useful distribution tool for education. Soooo what's new?? We have notebooks now in the Esri fold. Spyder has had them for a while, yet they haven...
    danretired
    created by danretired
  • Matplotlib Plotting

    Matplotlib   In the ArcGIS ecosystem, I often use Matplotlib to plot geometry objects, particularly when I have a need to save a plot as an image for documentation purposes.   The following code example sh...
    danretired
    created by danretired
  • Free advanced tools ... Thiessen Polygons Delaunay Triangulation

    T hiessen Polygons / Voronoi Diagram and Delaunay triangulation.     Pick your discipline.  Delineate space around points.  Design stained glass patterns even (Use a Voronoi diagram) A basic ...
    danretired
    created by danretired
  • Spyder 4 ... the Python IDE for Science

    Spyder   I am reposting the original document as a pdf since I can no longer edit the original post.  New additions and updates will be posted here.   2020-05-27 : Version 4.1.3 Python 3.6.9 |Anacon...
    danretired
    created by danretired
  • Polygon Polyline Tools for Pro

    Poly* Tools   Version :  2020-05-19   Download : Polygon Polyline Tools   Some salient examples from the toolset. See the above link for a full listing. -----   Polygon Polyline tools.......
    danretired
    created by danretired
  • Table Tools for Pro

    Table Tools     Version :  2020-05-17   Download : Table Tools   Some salient examples from the toolset. See the above link for a full listing. ------ Calculations for numeric fiel...
    danretired
    created by danretired
  • Point Tools for Pro

    Reincarnation as myself since being "retired" from my organization.  Published earlier, but with updates.   Download the zip.  Unzip into a folder.  Load the toolbox. Alter Options to move/trans...
    danretired
    created by danretired
  • Point in Polygon ... Geometry Mysteries

    P i p   Point in polygon. There are two basic methods with numerous variants.  One or the other in some form forms the foundation of spatial queries.   I have opted to present the winding number appro...
    Dan_Patterson
    created by Dan_Patterson
  • Introducing the Raster Cell Iterator

    Have you ever wished you could easily interact with raster datasets in ArcGIS Pro at an individual cell level? Be able to read and write cell values directly, and create your own custom analysis routines? Look no furt...
    curtvprice
    created by curtvprice
  • Clone ... ArcGIS Pro 2.5

    C lone The visual guide. You can do it from within ArcGIS Pro.   The Visual Guide You can add packages through the ArcGIS Pro interface, but I prefer using conda. You just need to run the proenv...
    Dan_Patterson
    created by Dan_Patterson
  • ArcGIS Pro 2.5 ... Check your specs...

    It's that time!   And don't forget, this is your first step   ArcGIS Pro 2.5 system requirements—ArcGIS Pro | Documentation    Then check your specs. Check your computer's ability to run&#...
    Dan_Patterson
    created by Dan_Patterson
  • Buffer ... Geometry Mysteries

    Buffering Probably one of the first things you did in a GIS class. Select all the fast food outlets that are within 1 mile/km of a school.  To the rescue... a little buffer, a selectorama, intersect, spat...
    Dan_Patterson
    created by Dan_Patterson
  • Viewing Geometry in your Python IDE

    Geometry ...   Start with geometry SVG On to the Display Saving the SVG The Code Previously... Arcpy shapes... viewing in Spyder    I really think it is a bit of overkill to ...
    Dan_Patterson
    created by Dan_Patterson