Quantcast
Channel: Forums - Geoprocessing
Viewing all 1751 articles
Browse latest View live

split polygons by lines

$
0
0
Hello all,
I want to split a polygon (or many polygons in one shapefile) by a line feature using the Advanced Editing Toolbar Split tool . It's exactly the type of situation shown in the "split polygon by overlapping features" entry in Help (which uses the Split tool).

Attachment 29017

Here's my scenario

Attachment 29016
What I really want to do is split the green polygon by the river lines and end up with 3 new polygons in a new shapefile. But I keep getting an error msg "No polygons were split. Ensure the selected features form continuous rings and overlap the polygons." the help only says to select the line(s) but I've also tried selecting both the lines and the polygon. The straight diagonal line is one I made as a test to control for possible gaps in the river lines, but that didn't work either.

I have an Advanced license for 10.1. Any help on what I'm missing here?
Thanks.
kathi
Attached Thumbnails
Click image for larger version

Name:	split-myscenario.jpg‎
Views:	N/A
Size:	86.6 KB
ID:	29016   Click image for larger version

Name:	Split-Resources.JPG‎
Views:	N/A
Size:	40.9 KB
ID:	29017  

Combination point and line data

$
0
0
Hi,

I have polyline data with line segments for a pipe network and point data for the depths of the pipes at certain (deviant) points. I want to combine these two datasets into a new dataset. Any suggestions on how I can do this efficiently? I tried spatial join where the points and lines intersect, but because only some of the points lie precisely on a line segment, I got very few results. Spatial join by point closest to the line doesn't work for me either, because not every line segment has a point.

What I want is the depth attribute for each point to be added to the attribute table in the row of the closest line. How can I automate this?

make a better map using gravity data

$
0
0
hello i want to improve my gravity data using arcgis. I am new at this program and could you mind to help me about this project?

Sate Plane System Coordinates

$
0
0
Hello,
I have received data which is supposed to be State Plane coordinates in the form of X and Y axis
I would like to process those State Plane coordinates.
However, the given coordinates are of a very strange pattern.
I wouldn`t even recognize them as spc.
Could anyone of you tell me how to process this data?
It reminds me more of the northing system which has absolutely nothing todo with the spcs.


77.622.684.679|294.631.099.384
78.814.501.846| 296.573.320.117
77.027.273.749| 295.039.807.711
76.969.866.395| 294.325.758.599
76.927.804.996| 295.245.146.084
23.602.251.681| 90.096.936.316
77.434.657.077| 295.592.623.019
23.614.945.817| 89.396.054.599
7.747.884.638 |293.302.244.032
23.285.352.299 |89.650.876.887
76.375.471.201 |29.414.572.426
23.508.870.933| 8.955.169.926
77.133.431.602 |293.801.031.141

Tools to automate assignment of attribute

$
0
0
Hello,

I have data about pipes that have 'diameter' as an attribute. About 0.1% of those line segments are missing data for this attribute. I would like to give those segments the value for the connecting pipe next to it. For a small test area, there were 42 segments missing the diameter and I just looked up the segments with select and used the identify tool to find the values of the connecting pipes and edited the attribute table by hand. However, I am trying to develop a method to automate this data improvement (eventually the data will be put into a 3D model) for a much much larger area.

Any ideas on what tools I might be able to try to automate the assignment of an attribute for the segments missing attributes, based on the value of the tangent segments with the attribute?

Thanks in advance!

How to create a constant numeration of ID (indexing) in an attribute table?

$
0
0
Hi,
Is it possible to create in ArcMap an indexing (as a numbers of ID) in an attribute table of the theme with many objects that manner that it will remain (will not change) during update of this theme?
I found the instrument “Drop Index (Coverage)”, but it works only with ArcInfo license. Is it possible to create a constant numeration of ID in ArcMap?

Identity error

$
0
0
I have a feature class containing ~300k polygon features. The features include identical overlapping polygons produced from Unioning a single feature class, as described here: http://resources.arcgis.com/en/help/...0000010000000/. The original dataset consisted of features stacked 100 or more in some areas, translating to 100 or more identical overlapping polygons in the new, Unioned feature class. My input and output data both reside in a file geodatabase.

Now I want to create a dictionary of overlaps. As a first step, I want to run Identity on the feature class containing the overlapping polygons to be able to compare overlapping OIDs, but after about 30 minutes the tool fails with a 999999 error and the output table is cleaned up before I can examine it. It may be that the complexity and/or depth of overlaps is causing a problem, but the tool results don't provide enough information to know.

I'm running the tool inside ArcGIS Desktop with 64-bit background processing enabled and monitoring the tool's memory usage, which is a little above 2GB at its peak, but the tool doesn't fail when the usage is at its highest. Also, the tool output doesn't indicate an out-of-memory error.

The input features are not complex in terms of their number of vertices, so Dice doesn't seem to be applicable here. The output does say "Processing Tiles...", however, which I assume means the dataset is large enough to tile: http://resources.arcgis.com/en/help/...0000000r000000.

What are the limitations of Identity? Is there a recognized maximum number of features or levels of overlap that would cause it to fail? If so, is there a known workaround?

Thanks.

publish gp service with python dependencies HELP!!

$
0
0
Hello,

I wrote several python classes myself and which is called from a python script in one custom toolbox created myself.

It works perfectly in desktop.
But when I publish it as a service on arcgis server, it seems like it cannot find the dependency files...

What should I do????

HELP!!

The possible reason of error of export attribute table in ArcMap in TXT fortmat

$
0
0
Hi,
I try to export an attribute (and dbf) table from ArcMap to txt file, but the program gives "An error occurred exporting the table"

I checked all others types of exporting - all give the same, except only dbf (so I can export attribute table only in dbf format).
What I did wrong?
My main goal now – find how to export the attribute table to EXEL. Now I can’t do it. Also I can’t copy my table from ArcMap and put it to EXEL (I read this way as advice), I don’t know the reason, but it doesn’t work. Maybe this relates with this error that gives ArcMap?

Spatial Join Problem: Returning Incorrect Counts

$
0
0
I'm trying to join 4,835 geocoded crimes into 134 Census Tracts to obtain the count of crimes in each area. Problem: the spatial join tool is returning join counts that don't match the total number of crimes.

I've attached a small file geodatabase with the two layers I'm trying to join. The target feature is Census_Tracts, and the join feature is the crime layer. I'm doing a 1-to-1 join, intersect (or "contains" -- they both produce the same error), with a 0 search radius.

In the attribute table for the resulting join feature, the sum of the "join count" column is 4,839 -- an overcount of 4.

I've tried everything I could find in the forums -- I've checked for geometry errors in the Census Tract polygon layer (no errors), I've tried using the "multipart to singlepart" tool and re-running the join (I still get an overcount of 4), and I've tried all the options in the spatial join tool.

Can anyone try this spatial join in the attached files and tell me what the problem is? These join counts are a pretty important part of an academic paper I'm working on, and I'm afraid I'm going to have to abandon ArcGIS if I can't get to the bottom of this. Thanks for your help!

(Note: I'm running ArcGIS Desktop, version 10.2.0.3348)
Attached Files

Help with relationship class

$
0
0
I have a feature class (fishnet) that I want to relate to another table using a relationship class. I want each cell of my fishnet to be linked to the relationship class so that every time the cell is updated, the relationship table will be added to (essentially creating an archive of all the edits that ever occur). I believe I want to set up a one-to-many relationship class with forwarding enabled from the origin (fishnet) to destination (table). I haven't had any luck with this though (no fields are ever updated in my table). Anyone done this before and can give me a pointer?

Thanks,
David

How to get separate features from multiple intersect with polygon and polyline?

$
0
0
I have wetlands data in a polygon feature and a road alignment in a polyline feature. I would like to make a new feature class for all the crossings and output this as a polyline. With this, I can calculate geometry and get lengths of my crossings.

This all seems to work with the intersect function, but one problem:

Some of the polygons are crossed multiple times by the alignment. When this happens, the intersect output returns one feature with many separate crossings. For example, I could have three crossings at 50' each, but the intersect function gives me one feature with a 150' length.

I'll attach a few screenshots to show this:
Attachment 29118

I don't have alot of experience with geoprocessing, so I assume there's a fairly simple way to break the crossing features into one feature for each of the lines.

I don't want to break the line at all the vertices, because I may have a vertex in the middle of a crossing.

Thanks in advance for any help you can provide!
Attached Thumbnails
Click image for larger version

Name:	Crossings.jpg‎
Views:	N/A
Size:	45.7 KB
ID:	29118  

Formatting Layer to KML to show popup box in Google Earth

$
0
0
Hi-
I recently started having problems with my Layer to KML export.
I am able to view my KML in Google Earth however when I click on a feature (Point in this case) nothing pops up? I used to be able to see the attribute pop up table associated with the feature, but not anymore?
Any idea why? and if I need to change the way I export to KML?
Thanks in Advance,

GIS SPECIALIST
Wallace

Union tool in Model Builder

$
0
0
I am trying to union together two polygon shapes in model builder. One is a model parameter, the other is created at an earlier step in the model (using ETGeowizards) I can union the two shapes together in ArcMap just fine. However when I try to connect them to the Union tool in my model, the parameter polygon will connect, but the model-derived polygon will not connect as an input to the tool, I only get the environment or precondition option.
The last piece of information is that the model-derived polygon is named using an in-line variable (%name%) I mention this because when I create a totally new model with the union tool and browse directly to my model-derived polygon (from a previous test run of my model) I am able to connect it and run the union tool. I did think about just making the union tool a sub model, but I would rather not have to do that and even when I tried it, I got the same error (although I've never really worked with sub models so its possible I did something else wrong)

What am I missing?!
Thanks!

Filling gaps in polygons

$
0
0
Hi there,
I have a shape-file with 10.000 polygons, some of them have little gaps (0,5 * 0,5 meters). Is there a way/process to fill these gaps automatically?

Thank you in advance, Kai

Find feature along route only calculating in 2D

$
0
0
Hello all,

I've searched the forums for an answer but have come up blank on this.

I create my route using a series of x,y,z attributed survey points, generate a M value, no problem. Checked my From/To measures on the 3D polyline, they are set correctly (0.00 to 630), and my Trim to length value is the 619' like I expected.

So I have a 3D polyline (2x checked, 2D length is 619', 3D is 630'), yet when I then try to find features along the route, I noticed that the station points I am using are only calculated on the 2D route length, not the measure.

I found this discrepancy as near the beginning of the route my line has two 90 degree turns. The first 90 is a ~6' on the line (elevation - 1115'), travels 8' (1107'), 90's again and then continues on to the next survey point 4' away from this 90.

2D measure of this section of line is 10', 3D measure is 18'.

Yet, when I then turn around and try to find features along route as I have additional events on the line that I need to find the stationing as they occur on this line, the return dbf only is calculating on the 2D length. Checked my From/To measures on the 3D polyline, they are set correctly, and my Trim to length value is the 619' like I expected.

For example, the station measure for the first 90 is 5.92, the second 90 is 5.93 (I slightly offset them in case it was causing error in overlapping the points), the next survey point station measure is 9.7. All according to the Find feature along route.

Ideas?

It seems like a simple thing, but I have not seen anywhere in the environments of the tool, nor anywhere else to dictate whether to use the 2D or 3D length.

Iteration in Model Builder

$
0
0
Hi All

I have been trying to create a feature iteration in model builder. I will quickly explain what I am trying to achieve and then how I have built my model. Any help on how to get the iteration to work would be appreciated.

So I have a spatial map with a point feature shape file (imagine a random spread of points across the UK) overlaid by a fishnet (2kmx2km grid). Each grid cell is an independent polygon and is assigned a unique identifier in the attribute table). What I am trying to do is take each polygon in turn, select the points within that cell and then run a nearest neighbour assessment. My end product would be a nearest neighbour ratio result for each polygon.

In model builder I have been able to create a model that works when I select an individual polygon but not when I try and add an iterator tool. So the model currently starts with a feature iteration of the polygon shape file, the output feature is used as an input into a select by location along with the point shape file (designed to select the points within each polygon progressively) and then this output is used to run the nearest neighbour tool. The nearest neighbour report being the final goal.

So as i mentioned the model runs for a selected polygon but no longer works when i try to automate the process and 'iterate'. If anyone has any thoughts and/or advice it would be greatly appreciated. Also if anyone has an idea how I create a process for pulling out and aggregating the NN results that would also be of great (obviously not opening each result and copy it out individually...)

Thanks

Chris

Attributing points within "row" of points

$
0
0
I have point crop yield data that I need to attribute based on planted rows. Is there anyway other then selecting each point in the row and performing a field calculation to achieve this? Or is there a way to automate the selection and attribution process I describe? Currently there is not a field in the attribute table that could be used to identify a point in one row of points vs another row of points.

Any ideas would be much appreciated.

Thanks!

Creating polygons based on values of other polygons

$
0
0
Hi,

I have a question about how to make new polygons based on the values of an attribute within existing polygons. I have a census block groups with values 0-20 (or so) and would like to group them so that the values equal 26 or as close as possible without going over. I think this could be done with a dissolve but I am not sure how to dissolve into groups like that.

Thank you for your help!

Why shp theme doesn’t have “Chart” for demonstration after use the Dissolve Tool?

$
0
0
Hi,
I’ve noticed that after use the Dissolve tool (from Data Management tools) on a point shp theme – the result new point theme hasn’t opportunity for demonstration as “Charts”.
The initial theme has this opportunity (in the "Properties – Symbology" it has Features, Categories, Quantities, Charts, Multiple Attributes).
But after dissolving the result theme (that also has some numerical fields) doesn’t have “Charts” opportunity.

Is it an error or I did something wrong? Is it possible to show theme after Dissolve tool as a charts?
Viewing all 1751 articles
Browse latest View live