Tag Info

Hot answers tagged

5

In the OGC specification, which can be downloaded here they state: "Polygon rotation is not defined by this standard; actual polygon rotation may be in a clockwise or counter-clockwise direction." In SQL Server Spatial, the geography datatype follows a counter clockwise rule for the outer-ring, and clockwise for the inner rings -- see this MicroSoft ...


5

Those lines and vertices are actually holes or islands on your polygon. Try using the delete part or delete ring tools in the advanced digitizing toolbar, and click on one of the nodes. I have noticed that sometimes you need to drag one or more nodes a bit to be able to click on the hole\island boundaries to delete it. Hope it helps.


5

Apparently this is already implemented in ArcMap 10 (from the ArcGIS link). What software and version are you using?


5

What licence level is your ArcMap? Intersect should work with a set tolerance. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00080000000p000000.htm should create a new polyline with nodes where your vertices were. You will need to rebuild your network afterwards


4

It sounds like you are working with polygons. I created a 4-corner polygon in a FGDB, and when I look at it in the editor, it does have 4 vertices: However, when I run the following script on it, you can see it does indeed have 5 vertices (as it should), where the first and last are the same in order to close the polygon: import arcpy infc = ...


4

To display more, go to editor -> options -> general tab in Arc 10.


4

You can use the Select (Analysis) tool to select a subset of features based on a SQL expression and export the selected results to a new feature class. In this case, I used the following expression: SHAPE_Area > 100 Alternatively, you can perform the same action directly on the attributes using the following workflow: Open attribute table > Select ...


3

The Multipart To Singlepart tool explodes multipart features, creating a new feature class of single part features.


3

I don't know that anybody will be able to provide a definitive answer for your question since each vector file format is different and each GIS, in terms of how they internally handle these data, will also be different. But I can tell you for certain that the clockwise ordering is not only for ESRI Shapefiles. There are other formats that use a similar ...


3

I think you're getting the error because the fieldnames list still contains the field LABEL, but you said you're not adding it to the output_fc. for field in fields: fieldnames.append(field.name) Right here you're getting all the field names. If you do a print statement above this line: cursor = arcpy.da.InsertCursor(output_fc, fieldnames) I ...


3

There is a great chapter in concept and samples explaining editing in ArcGIS Engine: ArcGIS Engine editing and How to work with the snap environment


3

In order to solve your problem: Create a FileGeodatabase In the FileGeodatabase create a FeatureDataset Import the shape in the FeatureDataset In the FeatureDataset create a Topology In the wizard choose next and in the Rules page click Add Rule Select "Must Not Overlap" or "Must Not Have Gaps", check "Show Errors" and click OK. Complete the wizard and ...


2

There is an example in the SDK samples http://resources.esri.com/help/9.3/arcgisdesktop/com/COM/ExtendAO/VertexLineSymbol.htm Description This project provides a custom symbol to draw a line and its vertices. Simple custom functionality is provided to alter both the symbol used to draw the basic shape of the line, and the symbol used to draw its vertices. A ...


2

I don't know of a way to do this OOTB, but in the past I've handled this requirement with a layerextension. The extension would draw vertices when ILayerExtensionDraw.AfterLayerDraw was called. This requires ArcObjects though.


2

You could use the free draw vertices tool from Ian Ko's geowizards. Works very nicely.


2

In ArcMap, open the Attribute Table of the feature class in question. Go to the field properties by right-clicking the column heading of the fields in question (one at a time) and selecting Properties Click the box that looks like this [...] next to Numeric and set the rounding.


2

I am a GIS trainer in France and this problem happened to one of my students. The file he was editing on (process of georeferencing before) was not correct and the georeferencing tool was still open when the problem occurred. When referencing the image properly and closing the georef tool before editing the problem didn't appear anymore. Hope this will help. ...


2

If the SpatialPolygonsDataFramehas just one part for each polygon, you can use the following: # test data from www.gadm.org: administrative boundaries Liechtenstein/Level 1 R> load("LIE_adm1.RData") # check number of parts R> sapply(gadm@polygons, function(x) length(x)) [1] 1 1 1 1 1 1 1 1 1 1 1 # number of vertices R> sapply(gadm@polygons, ...


2

Just been looking at this thread and followed the link to the other thread which showed Numpy being used. I've personally never used this approach before so I started reading the help file about it and I think this can all be done in 5 lines! The dataset I tested this on was a polyline layer representing the rivers of the Amazon. So my code is as: InFc = ...


2

There are several ways of doing this. If you know ArcObjects and a bit of VBA you could knock a simple update script together calling the ITopologicalOperator.Simplify() method. But you mentioned python so I guess ArcObjects is not a solution for you? Well how about this: create an update cursor python script which steps through, gets the polyline geometry ...


1

I think that, there are some gaps. Try to create new Topology with rule "must have not dangles" for your network and validate it.


1

From your screenshot it looks like you're editing a fiber network, so I assume you're using a geometric network. You need to add the Geometric Network Editing toolbar Highlight the line you want to disconnect from the geometric network and press the second button from the left (Disconnect). You can only disconnect one feature at a time. After you move it ...


1

Sometimes feature classes that participate in geometric networks or composite relationship classes in geodatabases tend to move and delete together during editing. Maybe check to see if your lines participate in a geometric network, or a composite relationship class? If so, try deleting the geometric network or the relationship class in question and attempt ...


1

Such holes can often occur when you merge polygons (depending on the data quality). There is a tool called delete ring on the Advanced Digitizing toolbar. Select it and then click near (depending on your snapping presets) one of the nodes around the "hole". This will delete the ring.


1

Run the Check Geometry tool first. This creates an output table listing feature level geometry issues.


1

Just landed on this query. Hope you have found the answer by now, or if not, here I guess is the answer. For a given roi object, say 'oroi', use this command to get the vertices >> oroi -> GetProperty, data=a so, here 'a' will have the X,Y,Z values of the vertices. Actually do 'a(*)+=0.5' to get the vertices values (at the center of the pixels). ...


1

In the editor toolbar there is a tool called split line. You must click within the snapping tolerance, but this should allow you to do what you need to do. It will break the feature into two parts and than you can delete the portion you no longer want.


1

I don't know what this tool will do to COGO attributes but, if you have an Advanced license, then the Split Line At Vertices tool from Data Management may be what you should try.


1

I seem to remember a few split line at vertex tools in the editing or advanced editing tools. There is one that will split lines at intersection and I think that's the name of it. I'd give better guidance but I'm not at my desk to see the tools in front of me.



Only top voted, non community-wiki answers of a minimum length are eligible