Tag Info

Hot answers tagged

16

Use the "Feature Vertices To Points" tool within ArcToolbox or if you do not have ArcInfo license then you could use the Polygon to Point tool from ET Geowizard (free tool), then in ArcMap you can use the "Add XY Coordinates" tool to get the XY value for each vertex.


8

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 ...


7

There is a sample toolbox which includes a Write Features To Text File python script which: Writes feature coordinates to a text file. Note: Technically, the tools in the Samples toolbox have been deprecated. They are still installed with ArcGIS so that any existing script or model tools you developed before 10 continue to work.


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

This works with a standard ArcGIS license: desc = arcpy.Describe(fcl) shapefieldname = desc.ShapeFieldName gebieden = arcpy.UpdateCursor(fcl) for gebied in gebieden: polygoon = gebied.getValue(shapefieldname) for punten in polygoon: for punt in punten: print punt.X, punt.Y


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


5

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


5

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 ...


5

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 ...


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.


3

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


3

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.


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

Try the geo-wizard tools fron Spatial technologies. It has several free tools that can do what you want. Try the get polygon coordinates. Or polygon to points et geo-wizards


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

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 had a similar problem and this mailing list post helped me: http://lists.osgeo.org/pipermail/postgis-users/2010-June/026887.html The solution they came up with is as follows: SELECT gid, ST_AsText(replace(ST_AsEWKT(geom), 'LINESTRING', 'MULTIPOINT')::geometry) FROM (SELECT 1 as gid, 'LINESTRING (0 0, 0 3, 3 4)'::geometry AS geom UNION ALL SELECT 2 ...


3

Yo can use ST_DumpPoints(geom) to get the points listed. Look at the example how to use it. The result contains both the geometry and a path telling where in the polygon the point belongs. So to just get the geometry (points) do like this: SELECT (ST_DumpPoints(the_geom)).geom


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

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

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

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 ...


2

No, but you can extract the vertices to a new point layer, make the point layer transparent and label the points. Menu: Vector > Geometry Tools > Extract Nodes...


2

Take a look at these tools: Generalize (Editing) or Simplify Polygon (Cartography) Input your features, and an optional tolerance.


2

For an FME solution, the most useful transformer would probably be the Generalizer. It has several algorithms grouped into four types. Here's a list of algorithms: From the documentation: Generalizing algorithms: Reduce the density of coordinates by removing vertices. Smoothing algorithms: Determine a new location for each vertex. ...



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