Skip navigation
All Places >

python snippets

Log in to follow, share, and participate in this socialgroup.

Recent Activity

A snippet, not big enough for a blog.. """ Script: Author: References: many Purpose: convert kmz to kml base script """ #import sys import zipfile #import glob from xml.dom import minidom def kmz_to_kml(fname):     """save kmz to kml"""     zf = zipfile.ZipFile(fname,'r')     for fn in zf.namelist():…
in python snippets
You are not authorized to view this content.
I have a tool for batch map output (ArcMap 10.2) that was written for me by a volunteer.  I need to modify the code for a publisher to embed document fonts and convert marker symbols to polygons in an EPS file.   Original code:    arcpy.mapping.ExportToEPS(mxd,saveloc + ".eps",data_frame = "PAGE_LAYOUT",resolution = res)   Modified code: … (Show more)
in python snippets
Trying to find the original post from Xander which really kicked of this part of GeoNet. Want to add something about one liner arcpy.da.SearchCursor stuff.   Where is it or how do I find it?
in python snippets
Load more items