|
POST
|
(I was hoping Melita would answer you! Thanks Melita) David: Also take a look at this help topic: Coordinate system considerations for geoprocessing services. Even though this topic is about geoprocessing services, it has information useful for geoprocessing in general. A few points to look for in this topic: It links to a web application that shows how calculating length/area (using Cartesian math) is affected by the projection. It's a cool little app and shows just how awful Web Mercator is. It discusses the geoprocessing Output Coordinate System environment setting It specifically discusses the Near and Generate Near Table tools, two geoprocessing tools that compute distances using Cartesian math. It links to other help topics of interest
... View more
04-26-2013
01:16 PM
|
0
|
0
|
952
|
|
POST
|
Mike: I suspect this is just a refresh issue with the ArcToolbox window. There is definitely only one item description that you edit using the item description editor, available in ArcCatalog or the Catalog tree in ArcMap. After editing the Item Description in Catalog, exit the application (ArcMap/ArcCatalog). Open the application, show the ArcToolbox window, and see if your item description has been refreshed. If that doesn't work, try removing and adding your tool to the ArcToolbox window. If neither of these work, I'll do some more investigating. What version you running? Obviously, it has to be 10.x since Item Description was introduced at 10.0, but what specific version you on?
... View more
04-26-2013
11:10 AM
|
0
|
0
|
496
|
|
POST
|
Take a look at this blog article More adventures in overlay: counting overlapping polygons with spaghetti and meatballs. The first thing you'll need to do is to combine your 11 layers into one feature class. Use the Merge tool for this. Then you can follow the pattern outlined in the blog post: Create (spaghetti) polygons from the merged buffers above using the Feature to Polygon tool Create (meatball) centroid points using the Feature to Point tool Use Spatial Join to count the number of overlapping polygons
... View more
04-22-2013
01:47 PM
|
0
|
0
|
1518
|
|
POST
|
See "Example 3" in this help topic: Examples of inline model variable substitution. There are other useful examples in this topic as well.
... View more
04-04-2013
08:48 AM
|
0
|
0
|
2726
|
|
POST
|
If the input is a Feature Layer (and probably a Table View as well), you can determine whether it has selected records using the FIDSet property of the describe object. Here is some tests I made in the Python Window on a layer named "VennDiagram_1"). Note--for a dataset, the FIDSet property is not supported... you can only use this method with layers. >>> # no selected records >>> d = arcpy.Describe("VennDiagram_1") >>> print d.FIDSet >>> print len(d.FIDSet) 0 >>> # I select two features >>> print d.FIDSet 7; 9 >>> # I clear the selection >>> print d.FIDSet >>> # I select all records (note that this is the same as selecting none... in ArcMap/geoprocessing, >>> # nothing selected means to process all features. ) >>> print d.FIDSet 4; 6; 7; 8; 9; 12 >>>
... View more
04-03-2013
12:30 PM
|
0
|
0
|
1194
|
|
POST
|
If I understand the problem, it's really easy to solve. See attached. Basically, you create two string variables (Year and Type). Both these variables would be model parameters. You could set a value list filter on these two parameters. You then use Calculate Value with the expression "%Year%%Type%" with the output type set to String. [ATTACH=CONFIG]23152[/ATTACH]
... View more
04-02-2013
01:42 PM
|
0
|
0
|
3366
|
|
POST
|
See this blog post on concatenating field values. This is if you're concatenating field values. If you want to concatenate two string data elements in ModelBuilder, in-line variable substitution may be what you want.
... View more
04-02-2013
10:22 AM
|
0
|
0
|
3366
|
|
POST
|
I agree that the Spatial Join tool is probably the way to go, but take a look at the Identity or Intersect tools. Both these tools create new features by overlaying the input features, which may be something you want to do. This blog about overlay, and subsequent blogs may also be helpful.
... View more
04-02-2013
08:25 AM
|
0
|
0
|
3022
|
|
POST
|
Short answer: You need to make the output variable of your model (the new layer) a Model Parameter. Right-click the variable and choose "Model Parameter". See Creating Model Parameters in the help.
... View more
04-01-2013
09:38 AM
|
0
|
0
|
710
|
|
POST
|
I don't have an answer about the cursor problem, but in looking at your task, it seems that you don't need cursors at all -- you could overlay the buffers and the parcel features using Spatial Join, Intersect, or Identity. Spatial Join might be the most direct way -- it will give you a Join_Count attribute which would be the number of buffers that intersect a parcel. And it would be lighting fast compared to select by location for each individual parcel. For an example to get started, see this blog post and scroll down to the section on Spatial Join. Target features = parcels Join features = buffers Join operation = JOIN_ONE_TO_MANY Match Option = (you have a choice here) [INDENT]If you want buffers that just touch the boundary of a parcel to count, use INTERSECT[/INDENT] [INDENT]If the buffer has to cross into a parcel, use WITHIN_A_DISTANCE with a small distance. The blog explains this.[/INDENT]
... View more
03-28-2013
10:35 AM
|
0
|
0
|
850
|
|
POST
|
Curtis: PYTHON_9.3 is the way to go. The "9.3" python processor returns lists instead of enumerators, and numerous other benefits over the 9.2 processor (I'll ask around and see if I can get a list of these 'other' benefits, but we are going to have to step into the way-back machine and rummage around thru the muck). I don't have any performance numbers, but the 9.3 parser will be faster. Personally, I wish that the PYTHON_9.3 was the default parser for Calculate Field and Calculate Value, but deeply knotted technical issues prevented us from doing that at 10.0 (I think it might be possible now).
... View more
03-27-2013
10:03 AM
|
1
|
0
|
798
|
|
POST
|
Have a look at this blog post about spaghetti and meatballs. I *think* that your methodology is going to involve creating spaghetti and meatballs as discussed in the blog.
... View more
03-12-2013
08:48 AM
|
0
|
0
|
841
|
|
POST
|
You could also use the Spatial Join tool. The Target Features and the Join Features would be the same layer (your point layer). The Join Operation is JOIN_ONE_TO_ONE, the Match Option is WITHIN_A_DISTANCE and your Search Radius is 300 meters. This will give you a new output point feature class where TARGET_FID is the object ID of the input point and Join_Count is the number of points within 300 meters. Also, for most proximity (distance) calculations, I agree that projecting your data to a projected coordinate system such as UTM is usually a good idea.
... View more
02-26-2013
07:56 AM
|
0
|
0
|
1743
|
|
POST
|
For 'finding' features, start with Select Layer By Attribute For addresses, start with Geocode Addresses For Linear Referencing, start with Make Route Event Layer
... View more
02-25-2013
11:24 AM
|
0
|
0
|
584
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-30-2013 04:37 PM | |
| 1 | 03-27-2013 10:03 AM | |
| 2 | 11-15-2013 12:33 PM | |
| 1 | 04-30-2013 11:26 AM | |
| 1 | 07-26-2011 08:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|