|
POST
|
Lot's of ways to do this, but the simplest is probably the Spatial Join tool. The parameter values you supply to Spatial Join are as follows: Target Features: your municipal boundary polygons Join Features: your "lights" feature class - I'm assuming these are point features. If not, this technique won't work. Output Feature Class: whatever you want. This will be a polygon feature class. Join Operation: JOIN_ONE_TO_ONE Field Map: (no change, leave as is) Match Option: INTERSECT The output feature class will have a Join_Count field which is the number of points that fall w/in the polygon
... View more
12-19-2012
12:44 PM
|
0
|
0
|
350
|
|
POST
|
FYI: In 10.1, there is a new data access Python module that has a ListDomains function that returns Domain objects. Domain objects have all the properties of the domain, not just the name. ListDomains is far superior to describing a workspace object.
... View more
12-19-2012
08:20 AM
|
0
|
0
|
1499
|
|
POST
|
isthere = False
for domain in domains:
if domain == "GOES_TO":
isthere = True
break
if not isthere:
# do something
... View more
12-18-2012
10:24 AM
|
0
|
0
|
1499
|
|
POST
|
The only way I can think of is to have the user supply the field mapping; they'll have to give you the name of a field on the shapefile and the corresponding field on your output FC. You'll then have to create your own field mapping object in a script to use in the append tool. Another way is to force your user to rename their fields to known names/types. There are no easy solutions to this I'm afraid.
... View more
12-17-2012
06:10 PM
|
0
|
0
|
2672
|
|
POST
|
Does the documentation help? Start with the Quick Tour of Feature and Record set topic. I think it'll answer all your questions.
... View more
12-05-2012
06:06 PM
|
0
|
0
|
558
|
|
POST
|
You're going to need to make input and output parameters for your models so that you can chain the output of one model into the input of another model. Here are two help topics that should get you started: A quick tour of creating tools with ModelBuilder Integrating a model within a model
... View more
12-05-2012
02:22 PM
|
0
|
0
|
1977
|
|
POST
|
If your species are in separate feature classes, just run Intersect once, feeding it the separate feature classes. If you have but one feature class containing all the species, just run Intersect on that one feature class. If you have some data you'd could let me play with, zip it up and email it to arcgisteamanalysis@esri.com. I've been playing with some made-up data... it looks like an Identity (not Intersect) is what you need... but w/o specific data, it's hard to say. In any case, this is not a straight-forward problem, so I'd like to help you solve it.
... View more
11-29-2012
12:13 PM
|
0
|
0
|
535
|
|
POST
|
Do you have polylines of each species? I'm guessing that these polylines overlap each other. It seems like you should be able to use the Intersect tool. Perhaps you can provide a small sample dataset?
... View more
11-26-2012
06:22 PM
|
0
|
0
|
535
|
|
POST
|
If you're running 10.1 Service Pack 1, try 64-bit background processing. This isn't a 'magic bullet' to use in place of careful optimization (all good points above).
... View more
11-18-2012
03:52 PM
|
0
|
0
|
2751
|
|
POST
|
I may be wrong here, but it sounds like you want to use the Concatenate Row Values tool found here: http://www.arcgis.com/home/item.html?id=52dfcef46fdb4c76bfbc08dc01570f3c
... View more
11-18-2012
03:49 PM
|
0
|
0
|
913
|
|
POST
|
Use Table. "Table View" is for tables in ArcMap's table of contents. Like a Feature Layer, a Table View can have a selection. For the output value, you will need to query the result object. The result object has a .getOutput method.
... View more
10-29-2012
08:15 PM
|
0
|
0
|
489
|
|
POST
|
More information about your script is needed... For example, are the variables "inLayer" and "pAOI" script parameters? Please reply with the full script that you use in ArcMap.
... View more
10-29-2012
08:02 PM
|
0
|
0
|
608
|
|
POST
|
See also this blog: Calculating Geodesic Distance Between Points
... View more
10-16-2012
12:58 PM
|
0
|
0
|
730
|
|
POST
|
Curtis -- you're absolutely right... my mistake (late night typo). I would never recommend personal geodatabases... File geodatabases all the way! Thanks for catching this! Dale
... View more
10-15-2012
03:56 PM
|
0
|
0
|
587
|
|
POST
|
Sounds like you're writing to a shapefile instead of a geodatabase. The reason is probably because your scratch workspace environment is set to a folder instead of a geodatabase. There are a couple of ways to fix this: - In ModelBuilder, make sure that the output of Aggregate Points is being written to a geodatabase (file or personal--I recommend personal). - Set you Scratch Workspace environment variable to a geodatabase. I suspect it's set to a folder. Using the current and scratch workspace environments explains scratch workspace and autogenerate output names (interesting stuff is at the bottom of the topic).
... View more
10-12-2012
07:25 PM
|
0
|
0
|
587
|
| 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
|