|
POST
|
I'm confused. The Make XY Event Layer tool has a spatial reference parameter that does exactly what you want -- allows the user of the tool to specify the spatial reference of the XY points in their input table. Reading "between the lines" it sounds as if you're in ModelBuilder. Perhaps you need to expose the spatial reference as a model parameter. See the help topics Exposing tool parameters as variables and Creating model parameters
... View more
12-03-2013
07:52 AM
|
0
|
0
|
1586
|
|
POST
|
You need to first establish a join between the two feature classes. See About joining and relating tables. In geoprocessing, you'd use the Add Join tool. After selecting features with the same ID value, use Copy Features.
... View more
12-02-2013
08:57 AM
|
0
|
0
|
696
|
|
POST
|
This blog about creating a street intersection list may be a good place to start. After you've digested this blog, have a look at the attached PDF. This PDF is in response to a comment on the blog post about adding an attribute to street segments containing the cross-streets. Once you have the cross-street information on your street segments, you should be able to select streets with bike lanes and copy the selected rows to a new table.
... View more
11-27-2013
12:57 PM
|
0
|
0
|
906
|
|
POST
|
There's not much to go on here. Can you turn the text files into tables? The text files would need to be comma-delimited and have a header. If you have a table, you can use the Get Field Value tool (found in the ModelBuilder main menu Insert > Model Only Tools If your text is free-form and can't be turned into a table, then you'll have to use some Python code to open the files, read thru them, and parse out the numbers.
... View more
11-27-2013
12:50 PM
|
0
|
0
|
569
|
|
POST
|
Your index is off. It should be self.params[2].filter.list = valueList not 3. Also, for future reference, here's a blog about populating a parameter with field values. Generating a choice list from a field
... View more
11-25-2013
09:02 AM
|
0
|
0
|
441
|
|
POST
|
Have your tried setting the diagram properties and then clicking Auto Layout? There are a bunch of options to layout a model. For complex models, I set the Incremental Layout option to Active, then arrange my model elements near to my liking, then click Auto Layout. It's a fun time waster!
... View more
11-20-2013
08:27 AM
|
0
|
0
|
1664
|
|
POST
|
Sounds like you're trying to generate territories where each territory has something close to 26 "whatevers". Generally, this is done by first selecting one "seed" polygon, then selecting all polygons that share a border with the seed polygon, get the total of "whatever". If it exceeds 26, remove one or more polygons from the selection until you get a good number. Once you have a good set of adjacent polygons, assign them to "territory 1". Then move on to another seed polygon, building territory #2. Here's a picture of what I mean (from our 9.3 help): [ATTACH=CONFIG]29231[/ATTACH] You can use Select Layer By Location with the BOUNDARY_TOUCHES or SHARE_A_LINE_SEGMENT_WITH relationship -- essentially selecting polygons that are adjacent. See the help topic Select By Location: Select based on spatial relationship within the layer. But this is just the start. What you want to do is really difficult to do in any sort of optimized way and requires some specialized algorithms. Our Business Analyst product has a Territory Design toolbox which will probably do what you need (I haven't used these tools). But if your dataset is small and you think you could survive doing it manually, you could use Select By Location and iterate. Here's a 9.3 topic about this specific workflow: Iteration using a count of Boolean condition. There's some gobblygook at the end of this topic about getting the sum of attributes -- you can use the Get Field Value tool instead (accessed from ModelBuilder menu > Insert > Model Only tools. Get Field Value didn't exist at 9.3.
... View more
11-19-2013
04:24 PM
|
0
|
0
|
797
|
|
POST
|
The GeoTagged Photos To Points tool does not honor the Coordinate System Environment setting (see the bottom of the tool doc for environments that are honored -- the only one is Current Workspace). You'll need to use the Project tool to project the point feature class output by the GeoTagged Photos To Points tool into another projection. But this doesn't explain why the points won't display -- ArcMap should be able to 'project on the fly' unless it doesn't know how to do a datum shift between NAD_1983 and WGS_1984 (I haven't checked, but I believe ArcMap finds the proper datum transformation for you). If you change the data frame to WGS_1984, do the points display? If not, then the next question is did you edit/save your photos using Photoshop? I've found that interjecting Photoshop into the workflow will mangle the EXIF header on your photo.
... View more
11-19-2013
01:10 PM
|
0
|
0
|
683
|
|
POST
|
The topic Authoring geoprocessing tasks with Python scripts might be helpful. It has a section about how imported libraries are handled when published to server. The help topic dives into behind-the-scenes details of script consolidation.
... View more
11-15-2013
03:29 PM
|
0
|
0
|
1120
|
|
POST
|
Sounds like the Eliminate Polygon Part tool will do what you need.
... View more
11-15-2013
12:33 PM
|
2
|
0
|
3171
|
|
POST
|
The reason for the mismatch is that some of your points fall exactly on the polygon boundaries and get double-counted. In addition, some of your points are not inside any polygon (0.1 meters outside a polygon). We can debate the philosophy of what to do with points exactly on a polygon boundary, but clearly in your case, you'd like Spatial Join (or any overlay tool) to just assign the point to a single polygon -- maybe just by random (choose polygon on left or right -- it doesn't matter). As far as the points outside the polygon, that can be handled by a search tolerance. I'm working on a model now that will assign the points-on-the-border to one of the neighbor polygons and will post when done. (Also, there is a datum mismatch between your census and crime points. The only reason I bring this up is because projecting one of the datasets so that it matches the datum of the other dataset may resolve some of the positional problems -- points outside or on border. I'll check into that as well.) After running tests on your full dataset, you have 9 points that fall on boundaries and 5 points that fall outside, for a difference of 4. (9 "extra" points because of boundary issues minus the 5 "less" points because they fall outside).
... View more
11-14-2013
01:04 PM
|
0
|
0
|
4558
|
|
POST
|
Take a look at the Calculate Distance Band from Neighbor Count tool or even the Generate Near Table tool. My idea is that these tools can be used to calculate a buffer distance for each point. If you have 3D Analyst, creating a TIN surface may be useful as the TIN will contain lines connecting the closest points (but not guaranteed to be 5 points).
... View more
11-08-2013
11:58 AM
|
0
|
0
|
529
|
|
POST
|
The output of Change Privileges has a data type of "composite", not "feature class". This means you cannot directly connect the output of Change Privileges to a tool that expects a feature class, such as Add Spatial Index. There are two workarounds: 1. "Recast" the output to a data type of feature class. This is done with the Calculate Value tool. To insert the Calculate Value tool into your model, choose Insert > Model only tools > Calculate Value from the ModelBuilder menu. Attached is a screenshot of a simple model I made with the Calculate Value dialog box. [ATTACH=CONFIG]28885[/ATTACH] The Expression parameter is the name of the variable output by Change Privileges surrounded by percent signs (%). (See inline variable substitution for more information about the percent signs) The Data type parameter is Feature Class. You can connect the output of Calculate Value to Add Spatial Index. This technique will only work if there is only one input dataset to Change Privileges. If you input two or more datasets to Change Privileges, the output will contain multiple datasets and you'll have to parse the output. 2. You could also use a precondition. Using the precondition connector tool, connect the output of Change Privileges to the Add Spatial Index as a precondition, then connect the input to Change Privileges to Add Spatial Index. This way, Change Privileges will execute before Add Spatial Index.
... View more
11-05-2013
12:33 PM
|
0
|
0
|
1017
|
| 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
|