Some various python code that have been useful for ESRI ArcMap 10.6+ arcpy tools.
- 1. Boilerplate for VSCode
- 2. Get count function nested in a function to return the int result
- 3. Function to provide the oid field name in cases where shapefile or GDB featureclass could be used
- 4. Function to check that two input datasets have the same spatial reference
- 5. Script to convert surface features to points