This polygon was created from a grid of 500 x 500 meters, then Union, Generalize and Dissolve was used to arrive at this geometry, the laspoint not help me, I just want to have points on each vertex.
How I can eliminate this point (lastpoint) that I can not enumerate my vertex.
I'm working with ArcGIS 10.1 and according to my workflow, it is performed as follows:
From a grid of 500 x 500 meters, I select an area and generated a polygon with
arcpy.Union_analysis
as shown in the graphs.Using
arcpy.Dissolve_management
andarcpy.Generalize_edit
, try to delete the intermediate points.From this polygon Figure A, generated a Feature (point type). With
arcpy.FeatureVerticesToPoints_management
to label then using the ID field and deploy the polygon to see a result like Figure B. Sometimes it works without problems, sometimes it fails.
Thanks again to everyone for their comments and suggestions. Well, the first graph posted has a wrong result, and the second graph has a correct result, was only posted to show that sometimes it works and sometimes it does not and I do not know why. In fact, unnecessary points that show the outcome of this third graph, I can remove the very fast and easy way to "Start Editing" ArcGIS, but the fact is that I am creating automated processes with python, then put them as services in ArcGIS Server. I have tried using many methods like Dissolve, Generalize, SimplifyPolygon_cartography, geometry Modify, Repair Geometry
, I tried to recreate the polygon convert to line UnsplitLine_management
. The most important thing for me is to label the vertices of the polygon with the corresponding geometry (would like to use some expression), as not doing so, I convert the polygon to get points and the geometry of these points as a label.