|
POST
|
Some links: I'd probably go with Route or Closest Facility. See the examples at: ArcGIS Help (10.2, 10.2.1, and 10.2.2) - Types of Network Analysis One could do the iteration though each record with Modelbuilder or Python. More helpful links: ArcGIS Help (10.2, 10.2.1, and 10.2.2) - What is Network Analyst Creating a network dataset—Help | ArcGIS for Desktop Caution: Keep in mind that this analysis requires really good data and that many datasets (like street centerlines) that seem like they would be easy to use actually require considerable cleanup before the analysis can be run. Minute gaps, like those found in many CAD-derived street centerlines - will stop an analysis cold. Don't be surprised if you find that dozens of hours of cleanup are required before one can push the Solve button and a minute later get the results. Also, the Network Analyst extension is not the easiest extension to learn - it has many oddities. Chris Donohue, GISP
... View more
02-14-2017
01:21 PM
|
1
|
0
|
2635
|
|
POST
|
After reading this post and your other one, it sounds like a Network Analyst approach wouldn't be the best way to tackle the problem. However, that doesn't rule it out, so here's some information on how to use Network Analyst. Creating a network dataset—Help | ArcGIS for Desktop Note that a large portion of running Network Analysis involves data cleanup to match the goals in Network Analysis. All the lines need to connect to each other at the ends. If there is any gap, even a tiny one that is difficult to see, and the analysis will fail to see the connection. Likewise, slight overshoots can cause issues. Also, while it is not an absolute requirement that the points need to be coincident with the lines, it is highly recommended. The bottom line is to expect to spend quite a bit of time getting the data into shape before the actual network data set build. While one can build a network dataset using just shapefiles, using data in a geodatabase allows one to use Topology to detect and resolve connectivity issues. For example, building a geodatabase topology with Rules (like "Must Not Have Dangles") to check connectivity is highly recommended. Note that you will need to load your source shapefiles into a geodatabase as feature classes in a feature dataset to enable geodatabase topology. ArcGIS Help 10.1 - Topology Also, be aware that the Network Analyst extension is an odd beast. It's not the most intuitive extension to figure out, so it is not surprising that it seems confusing. Some of the terminology used in the instructions differs from how it is used in the rest of the ESRI GIS world, which is a legacy result from it being originally developed outside ESRI. Chris Donohue, GISP
... View more
02-14-2017
09:12 AM
|
1
|
1
|
2475
|
|
POST
|
It sounds like there are multiple line segments in some cases between each point pair. If that is the case, I'd suggest running the geoprocessing tool Dissolve on the lines to create a new aggregated line layer, then use one of the techniques Dan Patterson suggested to split the aggregated lines. Then each point will be connected to another point by one line segment. Note - when running the Dissolve, you will fill in the tool setting "Dissolve Field(s) (optional)" to use a Route ID field so as to keep the areas where routes overlap from dissolving down to a single line. For example, in your original image, in the upper right, there will need to be some sort of route distinguishing field for where lines meet and overlap. ArcGIS Help (10.2, 10.2.1, and 10.2.2) - Dissolve (Data Management) Chris Donohue, GISP
... View more
02-14-2017
08:41 AM
|
1
|
0
|
3014
|
|
POST
|
One approach would be to parse out all your Flood Zones into separate Feature Classes, add a field to each like "Floodzone", then calculate it with the appropriate floodzone designation (like "AE-6"). Then do a Spatial Join of each feature class back to the Building Footprints. Finally, once all the Flood feature classes are joined, do a compound query using the Code Block in Field Calculator (see below). ArcGIS Help (10.2, 10.2.1, and 10.2.2) - Calculate Field examples - scroll down to the sections "Calculate fields using logic with Python" and "Calculate fields using logic with VBScript". Decide which scripting method you'd prefer to use and reconfigure the examples to your fieldnames and conditions. When running it, be sure to use the appropriate Parser setting (VBScript or Python). Partial code example (VBScript): If [Floodzone.AE6] = "AE6" and [Floodzone.AE7] = "AE7" Then
[FinalFloodzone] = "AE7" You will need to build out all the hierarchy logic as part of the coding. Chris Donohue, GISP
... View more
02-13-2017
11:09 AM
|
1
|
1
|
1569
|
|
POST
|
In theory, if one has an Advanced license, one could do this: 1. Use Feature Vertices to Points with the Both Ends option to create end points for each street. Feature Vertices To Points—Data Management toolbox | ArcGIS Desktop 2. Copy the Feature Class. 3. Use Generate Near Table, using the original and the copy, and with the ANGLE option on ArcGIS Help 10.1 4. Cull the data down in the resulting output table to the original end points and check the angle of matching points (the output will be a comparison of all points to all points, so will be many records, of which only a few are actually needed). I suspect some Spatial Joins will be needed here to keep the points correlated with the roads so one can eliminate the many unneeded angle results generated. Alternatively, one could work out this process in Modelbuilder by Iterating just one street at a time so as to keep the confusion down. Also, note the angle directions comment from the Generate Near Table tool help: A near angle measures from the x-axis (horizontal axis) to the direction of the line connecting an input feature to its nearest feature at their closest locations, and it is within the range of 0 to 180 or 0 to -180 decimal degrees - 0 to the east, 90 to the north, 180 (-180°) to the west, and -90 to the south. In other words, the measuring starts at zero with East, then increases as one goes counter-clockwise to North, producing positive angles. So North is 90 degrees, increasing to a maximum of 180 degrees at West. Starting at East and heading to South (clockwise), the angle values are increasingly negative. East is zero and South is -90, and West is at -180. As a result, to query out North for your streets, try checking for an angle between 45 and 135. For South, check between -45 to -135. Caveats: This assumes the street data is set up in a way that allows checking of whole streets. If a street is segmented out into multiple pieces, a Dissolve or other aggregation method may be needed to combine the pieces. Also, I suspect there probably is a refined way to do all this in Python. I'll leave suggestions on how to do that to the many Python guru's we have here on GeoNet. Chris Donohue, GISP EDIT: cleaned up some wording for clarity
... View more
02-10-2017
08:23 AM
|
1
|
1
|
3229
|
|
POST
|
One thing to quickly check on the longshot that it is the culprit is the extent of the clip feature class polygons. I noticed from your example that the land use layer is symbolized. It may be that the chosen symbology is hiding the fact that there are land use polygon(s) outside the visual extent shown there by not symbolizing them. To check this, make a copy of the land use layer in the Table of Contents. Then set the symbology to Single Symbol and see if the extent is greater than what is currently being depicted. Chris Donohue, GISP
... View more
02-02-2017
09:38 AM
|
1
|
0
|
1860
|
|
POST
|
I'm not sure if this would do exactly what you want, but I will throw it out there as a possibility: If the data can be loaded into a Parcel Fabric, there are some tools to work with that may be of help. Note that you would need access to a Standard or Advanced license level. Dividing parcels by area—Help | ArcGIS Desktop Chris Donohue, GISP
... View more
02-02-2017
08:44 AM
|
1
|
2
|
2021
|
|
POST
|
Another idea (as the caffeine finally kicks in ) An slightly easier option than using Explode in the workflow I posted above is to substitute in the Multipart to Singlepart (Data Management) geoprocesssing tool instead of going into an Editing session and using Explode. Same workflow otherwise. Multipart To Singlepart—Help | ArcGIS for Desktop Chris Donohue, GISP
... View more
02-02-2017
07:57 AM
|
3
|
0
|
13245
|
|
POST
|
There are probably other ways, but here's the first thing I could think of: Save off a copy of the layer and then check the number of records. Then start an Editing session on that saved layer, "Select All" records, turn on the "Advanced Editing toolbar", and hit the "Explode Multipart Features" button. Then check the number of records. If the number has increased, you have multipart features. And if you want to find them, Save the edits, then do a Select by Location with the Identical option versus your original layer, then Switch Selection the records. Chris Donohue, GISP
... View more
02-02-2017
07:49 AM
|
2
|
0
|
13245
|
|
POST
|
One approach - use Dissolve (Data Management). There is a Python code example in the tool help (look up Dissolve in your version of ArcGIS in case there are any differences in Python over time). Dissolve ArcGIS Help (10.2, 10.2.1, and 10.2.2) Chris Donohue, GISP
... View more
01-31-2017
08:43 AM
|
0
|
0
|
1582
|
|
POST
|
Commas won't work. Instead, the links need to be space or TAB separated (see the image I posted last - they state the format in the box below "Open Links File". Chris Donohue, GISP
... View more
01-31-2017
07:37 AM
|
1
|
1
|
2858
|
|
POST
|
The Links Table is just a text file, so you could develop a process that outputs your Control Points to a text format (.txt). Then to do the alignment, use "Open Links File..." (or "Open Control Points File...") to load it. For the format of the text file, see the image below. Chris Donohue, GISP
... View more
01-30-2017
03:49 PM
|
1
|
3
|
2858
|
|
POST
|
Edit - ignore this - just noticed someone else previously posted the information I just found. Chris Donohue, GISP
... View more
01-30-2017
01:07 PM
|
0
|
0
|
1543
|
|
POST
|
Do you have access to the Spatial Analyst Extension and/or the 3D Analyst Extension? Both have tools for what you would like to do. In particular, the Aspect and Slope tools in the Spatial Analyst toolbox. Note that if you just have 3D Analyst, that automatically gives you access to many of these Spatial Analyst tools. ArcGIS Help (10.2, 10.2.1, and 10.2.2) - Spatial Analyst introduction Chris Donohue, GISP
... View more
01-24-2017
01:17 PM
|
0
|
0
|
2750
|
|
POST
|
If all the feature classes reside in the same Feature Dataset, they can be done en masse. (coincidentally, I'm actually doing this exact process at this very moment). Go into Editing Mode, then on the Spatial Adjustment Toolbar click on the word Spatial Adjustment, then click Set Adjust Data... Then change the radio button to "All features in these layers" and put a check in the boxes on the layers you want to Adjust. Then proceed with the rest of the spatial adjustment process. Chris Donohue, GISP
... View more
01-23-2017
01:17 PM
|
1
|
1
|
2858
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-18-2015 12:04 PM | |
| 1 | 09-29-2015 12:41 PM | |
| 1 | 11-29-2018 07:51 AM | |
| 1 | 05-08-2018 02:07 PM | |
| 1 | 07-26-2016 07:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-03-2022
01:39 PM
|