Questions tagged [walk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
45 views

Deleting feature based on attribute using arcpy.da.Walk on file geodatabase

I'm very new to scripting and am having trouble figuring out how to use da.Walk to delete features based on attributes for my entire geodatabase. I got the script below to work on an individual ...
2
votes
1answer
38 views

“Raster map not found” error using GRASS r.walk

I'm using GRASS' r.walk for the first time, and I'm trying calculate the best path between two different points. I have a DEM (from SRTM) and a slope map derived from that same DEM. Both are in the ...
1
vote
1answer
38 views

Loop through directories and mosaic all raster TIFFs in each dir

I have 200+ directories, each directory contains x amount of TIFFs which I want to mosaic. I have a snip of code that will list the TIFF contents of all dirs under a parent directory, now I just need ...
1
vote
1answer
57 views

For loop for access to a directory files in ArcPy

I have a Python Toolbox and I want to use a directory to read different shapefiles. But when I run the script It only works for the first shape. fd is the directory and the code is: fd= parameters[0]....
4
votes
2answers
232 views

Get feature class names inside Esri file geodatabase

I have a project folder with many many folders within that. Some of these child folders contain a Esri .gdb file geodatabase. I want to list all the feature classes that are inside the GDBs that have ...
1
vote
1answer
23 views

Saving outputs from arcpy.da.Walk to the same folder

I have a number of sub-directories within my "BP Tiles" directory. Each of these sub-directories represents a different year (2016, 2017, 2018, etc.) and within each of these sub-directories is a list ...
3
votes
1answer
95 views

Describing element in geodatabase using ArcPy

With help from people on this site, I have the following code to look for all of the element types in the geodatabase and put them into a report. walk = arcpy.da.Walk(workspace, topdown=True) for ...
2
votes
2answers
379 views

Walk function in Arcpy

I posted a similar question before, but I am trying to list all of the element types in the geodatabase, such as feature datasets, networks, rasters, domains, non-spatial tables, etc. For rasters, I ...
1
vote
0answers
117 views

How to calculate walking distance between multiple addresses? - QGIS

I am working with historical data and I would like to calculate the walking distance between multiple addresses. For instance, in my excel dataset I have someone who lived on 1 Laurierstraat in ...
2
votes
1answer
49 views

Running Python code for ArcMap?

I want to use this Python script to check my D: for .mxd's and list them in a CSV, as I want to find which MXD is using a particular file, and this would help. I don't know where to put the file path ...
0
votes
1answer
102 views

Arcpy iteration in folder for all shp equivalent

I want to write a scrpit that automatize the process of clip and project (in one GCS) to many .shp in folders and subfolders (row downloaded data), with 2 different GCS (CH1903+ or Lambert93). For ...
2
votes
3answers
614 views

Mosaic to new raster on rasters with the same name in different locations

I have national woody vegetation raster files for Australia for years between 1988-2017. These files are separated into spatial tiles with the same name. So, what I would like to do is combine raster ...
1
vote
1answer
1k views

Adding Layers file to MXD using ArcPy

I tried to add several layer files to MXD file. when i run this code no error rise- but only one layer file added to the MXD and all the other 34 layer files in the workspace aren't added to the map. ...
1
vote
1answer
910 views

OSRM: no walking directions

I am using the OSRM 'match' service to snap GPS coordinates to the road network. I want to use the 'foot' profile, however, the OSRM server insists on providing me with car routing. I send this ...
0
votes
1answer
904 views

Merging all feature classes with same name nested in multiple geodatabases using ArcPy?

I am using arcpy and I want to extract a specific feature class called "building" nested in a number of geodatabase within my workspace. Here is the code: import arcpy import os workspace = "C:/...
0
votes
1answer
77 views

I'd like to see where commercial districts are, using color-coding. Is there any free map website, other than Google Maps, which can help me? [closed]

Background Google Maps nowadays shows "areas of interest" in pale orange. (Source.) As far as I can tell, "areas of interest" are basically just high-density commercial districts. I think it makes ...
1
vote
2answers
106 views

Loading multiple shapefiles with different names, from +1000 subfolders

I'm looking to add a large number of point files into an .mxd from a huge group of multi-layer folders. The script from Loading multiple shapefiles from +1000 subfolders worked with some tweaks, but ...
2
votes
1answer
560 views

Looping main and Sub-folder in ArcPy [closed]

I am writing a Python script, which can literate through all main folder and Subfolder. My main folder names are 2001, 2002.....and under main folder differents subfolder is there, Subfolder name : ...
0
votes
1answer
85 views

Recommendations for a fre OSM based walking tour mobile app? [closed]

I am working with a small municipality with a very small (read:no) budget. They would like to build a walking tour for mobile use based around natural features, and some history but mostly nature ...
2
votes
3answers
555 views

Optimizing arcpy.da.Walk performance?

I'm trying to automate a workflow that currently costs a co-worker about 45 minutes. General run down is this person copies files from a network drive onto a local one, and process it through four ...
2
votes
1answer
79 views

Optimized walk lists for door-to-door traversal of a region

Given a region in a city, I'd like to make a list of all the street addresses it contains in an order which is reasonably efficient for a person to traverse on foot. Ideally, I'd like the solution to ...
2
votes
1answer
2k views

Using ArcGIS Online to calculate walking times from points? [closed]

I am currently planning an accessibility analysis for the recycling infrastructure in my city (waste collecting points) and I want to determine the walking time from each point so that I could seek ...
1
vote
1answer
59 views

Specific Feature Copying

I'm trying to write a script to copy multiple feature classes from two different databases into a single database, but I want to be able to specity what features I actually want. I know I need to use ...
2
votes
3answers
1k views

Creating a simulation of how people moving around a site

I am working on a project aiming to create a geographic simulation for how people interact around a site. Situation: There are x people in an enclosed area (such as a zoo). There are y locations to ...
1
vote
1answer
152 views

Filtering out Annotation Feature Classes using arcpy.da.Walk()?

Is there a way to use: for dirpath, dirnames, filenames in arcpy.da.Walk(): to filter out annotation feature classes? The help doesn't specify them as a type, which is strange because using the ...