Tag Info

Hot answers tagged

19

If you are willing to put your data in Postgis (or Spatialite), you could use ST_Snap to do what you want. Just use lines layer\table as input, and your points layer as reference, and set the tolerance. Something like this: SELECT f.gid as gid, ST_Snap(f.Geometry, g.Geometry, 2) as geom FROM pipe as f, (SELECT ST_Collect(Geometry) as ...


17

Use Eliminate (ArcInfo License required) Eliminates polygons by merging them with neighboring polygons that have the largest area or the longest shared border. Eliminate is often used to remove small sliver polygons that are the result of overlay operations, such as Intersect or Union. ...


15

Snapping points to a line using ArcGIS geoprocessing tools Assumptions: You have a point layer and a line layer. You want a points to be snapped to the line layer. Instructions 1. Use the Near tool to find snap locations In ArcGIS's Toolbox pane, Select Analysis Tools -> Proximity -> Near Choose your point layer as Input features, your line layer as ...


12

To do this by hand in QGIS, go to Settings|Project Properties... On the General tab at the bottom is Snapping options... Check the layer that you want to snap, set the mode to to vertex and set the tolerance to some value less than the shortest distance between two points that you have. If you're not sure, set the units to pixels and the tolerance to ...


10

There are several steps I use. Ensure you are Data View NOT in Layout View (thanks MW) is easiest but don't necessarily try it second. copy the layer you need to edit, snap to and use for reference (as few as possible) to another document (for editing). make sure you don't have a definition query.


9

If I understood you correctly, you have to move the selection anchor first: use edit tool and hold down the CTRL key drag selection anchor to the corner of your borderline More information in ArcGIS Help.


8

The direction of the answer would depend on the license level of your ArcMap. ArcInfo does have this capability built in. Even Editor has some tools to accomplish this task. However with ArcView level you would need to depend on other tools to do this. Not sure if it has changed in 10. I have ArcMap editor 10 and the snap command Summary Moves ...


8

If you are a QGIS user than you get all the power of GRASS, as it is a fully topological GIS. Inside QGIS activate the GRASS plugin, create a location/mapset where to import your data. Open the mapset and import you dirty layer with v.in.ogr: play with the two advanced parameters "snapping threshold for boundaries" and "minimum size of area to be imported". ...


8

You can find a detailed description of topological cleaning routines in the source code and manuals of GRASS GIS: http://grass.osgeo.org/programming7 The cleaning routines are coded here: http://trac.osgeo.org/grass/browser/grass/trunk/vector/v.clean Examples for the underlying routines: Select dangles: ...


8

In Settings / Options / Digitizing, you can define the distance radius in pixel or map units to snap to other points, and in Settings / Snapping options you can choose which layers can be used for snapping. Only thing that does not work is snapping to the points of a line or polygon you are just creating.


8

If you have a Standard or Advanced license, a simple approach is to use the Snap (Editing) tool. The example shows the results of the snap using vertex snapping at a 20m distance. Be advised this alters the input features but preserves the snap environment (in your case, the gray polygons).


7

If you use the drop arrow on the snapping toolbar, you can select "intersection snapping". It will snap intersections even if there are no vertices.


6

Maybe the answers to this question are helpful: How to simplify a routable network? I used GRASS v.clean in the end.


6

What it takes to make Snapping sometimes become unusable in the way that you describe seems to depend on a number of factors, including the specification of your hardware, and the number and size of feature classes being displayed at the time. My recommendations to avoid/alleviate the problem are: Try to use the highest specification hardware that you ...


5

If you'r familiar with QGIS: In the QGIS trunk 1.9 (can be installed as qgis.dev via the OSGEO installer, see qgis homepage) is a new function in the vector menu called "Eliminate sliver polygons", which exactly does what you want. You can select the problematic polygons and merge them to adjacent polygons based on a common boundary or area propotion. Try it ...


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

You can use the geoprocessing "Integrate" tool which clusters vertices in the same way that topology validate does (without the need of creating a topology). At ArcGIS 10.0 there is a new tool called "Snap" in the Editing toolbox. The tool snaps the feature's vertices from 1 layer to the edge, vertex, endpoint of another feature. See link below. Desktop ...


5

ArcGIS 9.3.x: In the ArcGIS interface, use the snapping environment within the Editing toolbar. Programmatically, you can find a number of snapping-based Visual Basic examples at the ESRI resources page (note: personally, I like to use the old page. I think it's easier to find stuff. VB resources). See for instance, VB code to "bulk snap": "The Bulk Snap ...


5

A quick Google Scholar search turned up the following well-cited articles: Thierry Ubeda and Max J. Egenhofer. Topological error correcting in GIS. Advances in Spatial Databases, Lecture Notes in Computer Science, 1997, Volume 1262/1997, 281-297, DOI: 10.1007/3-540-63238-7_35 (PDF) Sylvie Servigne, Thierry Ubeda, Alain Puricelli and Robert Laurini. A ...


5

What Brad said (especially make sure you're in data view - focus your data frame or edit in data view rather than layout). You can also tighten your snapping tolerance. Under the snapping drop down arrow, select "options". Change the number value shown in my printscreen below. Sometimes this works for me. I've seen instances where this seems to refresh ...


4

Although not an algorithm, this page gives you some info as to what types of topology errors "check geometry" looks for in the ArcGIS tools Check Geometry/Repair Geometry. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000003v000000 Null geometry: The record will be deleted from the feature class. To keep records with null geometry, ...


4

Depending on the distance identified as "close" there are tools. If you have at least an ArcEditor License for ArcGIS Desktop then you could create a Topology on the data. Once done during validation process the lines will move the distance of the cluster tolerance to snap to each other. By default the cluster tolerance is .001 m which is 10 times the ...


4

I discovered that snapping won't work if the layer you're editing is in the Map Document more than once.


4

Quick guess for question #1: QGIS only projects vertices and your straight lines have only an start- and endpoint?


4

You can use ST_RemovePoint(line, index) and ST_AddPoint(line, point, index). First, get first and last point with ST_pointN(line, index) and ST_NumPoints(line), then use ST_Snap to those points. Then use returned points to replace the old ones. These functions should be in Postgis < 2.0 ST_ReplacePoint hould be in Postgis 2.0


4

Here are three options. Hopefully one will help. v.clean Using the GRASS tools in QGIS you can clean up the topology of a spatial object. User @R.K. gives a good set of instructions on how to do this in an answer to a different question. The advantage that GRASS gives is that it will infer the shapefile's topology. The disadvantage for your situation is ...


4

You have to allow snapping and then play around with the options until you configure settings that suit your needs best. You can open the snapping options as shown here: And then configure your settings, either using map units or pixels as your tolerance unit. Alternatively you could go to Options (same screenshot), and then navigate to the Digitizing ...


4

In ArcGIS, you should be able to use the Integrate tool to snap these features together (I am pretty sure it will work on a single feature class). You should BE SURE TO MAKE A COPY OF YOUR DATA before running this tool, though, as the Integrate tool modifies the input data directly (you are not writing to a new output). You could however get around this ...


3

@ MaryBeth - You have valid concerns, It probably is not ever going to be as easy to "draft" in arcmap as it is in autocad, or microstation, or "Their/Your CAD System Here". *EDIT: * what's new There are some SUPER nice features however that I am beginning to really love in desktop 10. ESRI has come a long way to making or facilitating a (used to be ...


3

You can create a geometric network from those polylines and during the creation wizard you can enable feature snapping: Create geodatabase Create feature dataset Import your polylines Right-click on the feature dataset New -> Geometric Network Select your feature class When asked if the features are to be snapped, click yes and define a snapping tolerance ...



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