Tag Info

New answers tagged

1

Try this code: import arcpy mxd = arcpy.mapping.MapDocument(r"PATH") for df in arcpy.mapping.ListDataFrames(mxd): for lyr in arcpy.mapping.ListLayers(mxd, "*Microsoft*", df): arcpy.Delete_management(lyr) arcpy.mapping.RemoveLayer(df, lyr) print "Removed from "+ df.name+" dataframe: " +lyr.name mxd.save() del mxd, lyr, df ...


2

API conditions constantly change, but this should work right now. OSM: devtools::install_github("hrbrmstr/nominatim") library(nominatim) b1 <- osm_geocode("Berlin, Germany") b1[c("lat", "lon")] Yahoo: devtools::install_github("trestletech/rydn") library(rydn) options(RYDN_KEY="yourAPIkey", RYDN_SECRET="yourSecret") b2 <- find_place("Berlin, ...



Top 50 recent answers are included