Tag Info

New answers tagged

1

When specific shapes exhibit strange behavior as a result of a geoprocessing tool or editing operation, one of the first things to check is whether they have valid geometries. Geometry errors can result in null results or other errors. QGIS has a Check Geometry Validity tool, and another option would be to load it into GRASS and run v.clean. There are ...


1

You can do this in the Field Calculator, using an expression like: calc(!SHAPE!) and Codeblock: def calc(shape): return arcpy.PointGeometry(shape.firstPoint).distanceTo(arcpy.PointGeometry(shape.lastPoint)) Distance > 0 means not closed. Granted, this will not zoom to the offending vertices.


0

As Maksim suggests, using a Topology with the no dangles rule would be one approach. Another would be using the COGO Traverse tool, although this would be a bit slow and requires more than Basic licensing. You can load a traverse from a sketch, and then once it's loaded there's a closure button that will tell you how far off it is. Looking at the sketch ...


0

Based on your version and software, the ArcGIS Snap tool should do what you want. It does require a Standard or Advanced license. Alternatively, ET GeoWizards has a snap polyline tool that may also work.


4

The reason you cannot edit these layers is because it is not a file. It is a map service. What you are seeing is a web service. A web service is data that is hosted on a server elsewhere, that is not your computer. Your computer is going out and getting the data live from OLIVER when you look at it in ArcMap. In this case the data you want to edit is ...


0

The IEditLayers interface will tell you. This interface is a coclass of IEditor. The link gives some code on how to use this interface but the guts of it is: //get editor extension UID editorUID = new UIDClass(); editorUID.Value = "esriEditor.Editor"; IEditor editor = m_application.FindExtensionByCLSID(editorUID) as IEditor; // works but is an old way // ...


0

Use the ModifyFeature control. Add your layer to the control, add the control to the map, activate the control and then call selectFeature() on the control and pass it your feature. The API makes it sound like you have to be in standalone mode but it works for me without being in standalone mode. I'm using OL 2.13.1.


1

One approach I have not seen posted yet is using a buffer of your circles and using either a positve value for the buffer radius if you want the circle to be larger or a negative value for the buffer radius if you want the circle smaller.


2

Quantum GIS can read GPX tracks, allow you to edit them over a base layer map (google, openstreetmap, stamen toner, etc) and save in any of a zillion formats. Its Open Source, runs on Linux, Mac and Windows. There is an android port but I think its a bit beta and might be less functional. www.qgis.org I know you said "basic" GPX editor but these things ...


0

I am using Garmin Basecamp for GPX editing. Possible free background maps can be all Openstreetmap derived Garmin maps. With routable maps, it is even possible to create new routes and upload them to the device. BaseCamp unfortunately does not run on Linux. Editing capabilities are also offered by Viking, which can also have OSM tile background. ...


2

Try this in the python window in ArcMap: points = [] for row in arcpy.da.SearchCursor('C:/Temp/line.shp', ["SHAPE@"]): # change this to your source line layer length = int(row[0].length) for i in xrange(0, length + 10, 10): # assuming units are in meters for feature spatial reference point = row[0].positionAlongLine(i) ...


4

You can achieve this using the Construct Points tool while in edit mode. If you need to do this to multiple features, you could use the Densify tool, then use the Feature Vertices to Points. Keep in mind that this assumes you currently have lines, and not polylines, because ALL vertices (even one's not at your specified densify distance) will also become ...


2

Instead of cutting out polygons, an alternative is to reshape your polygon (Toggle editing > Edit > Reshape Features) into your desired corridor. The topology should remain intact as no polygons are being removed.


0

I found the solution.... The parameter in Options|Digitizing|Snapping "Search radius for vertex edits" has to be non zero... With zero value Node tool gives the reported message.


1

This has now been fixed in QGIS 2.6. Non-editable widgets are now greyed-out.



Top 50 recent answers are included