# Tagged Questions

Topology describes non-metric relationships among geometric figures, such as adjacency, containment, and orientation. It is a branch of Mathematics, which deals in geometry without measurement.

10 views

### TopoGeometry commands with postgres are really slow

After messing around quite a while, I was finally able to get a topogeometry converted from my geometry table following the example of toTopoGeom. I have the topology extension, with a topology schema ...
27 views

### Topology in ArcMap [on hold]

When creating a topology layer...what are some common errors that occur for users?
32 views

### Edit polygon borders in QGIS preserving topological correctness (planar partition)

Given a layer of polygons that is topologically perfect, i.e., has no overlaps or gaps between the polygons, is it possible to manually edit the edges of the polygons in QGIS in a way that preserves ...
34 views

### Checking if two WGS84 lines intersect in JavaScript

I am trying to work out given two GeoJSON lines (WGS84), if they intersect (i.e. cross one another). Let me give some pseudocode to illustrate: // Providing Line 1 = lon1, lat1 and Line 2 = lon2, ...
578 views

### JTS - Java Topology Suite - Calculate radius from a given point

From point A, I want to check if a point B is within a certain radius from A. How calculate it usindo JTS? I tried this: Coordinate posicaoAtual = new Coordinate(-12.974900375893823, ...
179 views

### Snapping polygons while reshaping edges?

I have two Polygons, A and B, in two shapefiles. Is there any automatic way to reshape the edge of Polygon A according to the edge of Polygon B?
642 views

### Road Topology Problem solution for junction

I am working with a Road Network. I have digitized the lines with AutoCAD Map 3D. Then Imported it to ArcMap. After entering all kind of database I have created Routing Dataset. But unfortunately its ...
17 views

### Moving feature classes between FGDB's creates unknown topology errors [closed]

I am attempting to merge together multiple large feature classes from different FDGB's into a single feature class and am getting unknown topology errors when checking for gap and overlap rules. I ...
4k views

### How to convert lines to polygons using NetTopologySuite?

I am trying to convert lines to polygons using NetTopologySuite(a C# port of Java Topology Suite JTS). I ran the sample console code succesfully and it generated two polylines. I then tried to run ...
390 views

### How to interact with GRASS GIS vector map topology “level/layers” from terminal/command line?

Is there anybody out there that can maybe assist in the most simplest form of code to call on command line to "export topology" (which is level 2 information in GRASS) as separate spatial data, as ...
2k views

### Intersecting two polylines using ArcObjects?

I have two polylines and would like to find the intersection(s) using ArcObjects / VB.NET. I'm using the following code: Dim topoOp As ITopologicalOperator = TryCast(pTestPoly2, ...
44 views

### Using ArcMap Topology to make admin boundaries match up?

I have two separate datasets ('Wards' and 'Census Output Areas'), whose boundaries don't quite match up (see below - wards in red, COAs in grey). Is there a way of automatically adjusting the Ward ...
75 views

### Simplify/generalize Polygons and keep topology of different layers PostGIS/QGIS

i have some polygons of a country, states, districts, communities and i want to simplify the geometry. i already simplified the geometry of each layer but afterwards of course it doesnt fit with the ...
107 views

### Snapping leaves small gap between features in ArcGIS for Desktop?

I'm using classic snapping in ArcGIS 10.1. At the scale (1:5,000) that I'm using to snap the edge of one rectangular feature to the edge of another rectangular feature, snapping seems to work fine. ...
1k views

### Creating adjacency matrix of topology graph of ArcMap for shortest path using ArcObjects? [closed]

I have created a topology graph of a polygon feature and I want to find the individual FIDS of the lines of the polygon. I want to construct an adjacency matrix to create the shortest path. How can I ...
86 views

### How to remove spikes in Polygons with PostGIS

I'm trying to validate the topology of a shapefile. I managed to repair cases of overlap and gaps, but i can't resolve cases of spikes. The image shows one example of this situation. I used the ...
2k views

### What's the difference between hypsography and topography?

I've recently come across some data that has been labeled "hypsography". I looked it up and it sounds like topography. But this data source has data labeled "topography" separate from its ...
308 views

### Determining if landlocked polygons in ArcGIS Desktop?

Imagine that I have the need to determine landlocked countries. Is there a way to do it automatically? Any known implementations? The target platform on this will be ArcGIS.
697 views

### How do I describe a special relationship between connected edges?

Consider this simple situation where three edges connect at a node: I’d like to write a succinct and clear description of the relationship between A and B in such a way that differentiates it from ...
281 views

### Is there a standard st_relation_readable() function for translate DE-9IM strings?

Spatial databases, such as PostGIS, implement the DE-9IM model with function st_relate(), which returns a string with domain of {0,1,2,F}, meaning 0=point, 1=line, 2=area, and F="empty set"... See ...
321 views

### How do I save topology errors in QGIS?

I'm currently doing a project on finding blocked roads in a road network layer. I've figured that I can use the topology checker with the rule 'must not have dangles' and find them this way. But I ...
57 views

### Create polygon from lines in PostGIS

I'm trying to divide a polygon in smaller polygons from a line, but I think I can't use the st_split function. What I need is to create small polygons inside a big one, using linestring grid. I've ...
396 views

### How to create a topologically correct dataset in PostGIS (with GRASS)?

I have shapefiles which I have loaded in postgis and now i am trying to use geometric function in postgis like ST_intersect and they fail because the data is not topological correct. I have tried to ...
200 views

### What controls the direction of TopoGeometry Linestrings?

In PostGIS, what if anything controls the direction that topogeometry LINESTRINGs will have when converted to geometry? It doesn't appear to be the order in which the edges are listed in the call to ...
36 views

### How to check if a point is snapped to a line in QGIS

I have two vector classes, sg_point and sg_line. Any sg_point HAS to be snapped to a sg_line. I should not find errors if I use snapping correctly, but in case there are errors how do I check in QGIS? ...
91 views

### Tool or program to clean polygon dataset

I have a polygon dataset (shapefile, mapinfo tab file) which I would like to "clean" to be topologically correct. The polygons are assigned an ID which represents a specific class. For example ID 3 is ...
30 views

### pgrouting - topology creation with explicit node file

Learning pgrouting, I would like to build a simple public transport routing engine. Starting with a simple metro network (DC in my case, see excerpt below), I would like to combine the line ...
37 views

### Problem for Map Topology creation in ArcMap

I will create a map topology in ArcMap. My code defines the layer in my map topology but after call EditTopology Tools, a message show "No topology .... bla bla bla.." Any ideas why this would be ...
75 views

### How to avoid topology errors when digitizing a road network?

I am working on a road layer project. For the snapping option I'm using the mode to vertex and segment and tolerance 5 pixels. When zooming in (to the max) I do not notice a gap. But when I use the ...
48 views

### Styles for Vector layers on QGIS

I'm trying to do some habitat suitability modelling on QGIS. I've downloaded several vector maps from Ordinance Survey (OS). So far I've found a Cartographic stylesheet for "OS VectorMap Local". This ...
83 views

### Automatic creation of polygons from Feature Class points in ArcGIS for Desktop?

I have two point feature classes, let's call them A and B. They are well-spaced and the points are non-overlapping: My objective is to create a topology using these two sets of points by connecting ...
246 views

### Delete all data from a PostGIS topology

I need to delete everything (faces, nodes, edges, anything I'm not thinking of) from a PostGIS topology, but I want to keep my database schema (schemas, tables, columns, sequences, etc.) intact. Is ...
2k views

### Efficiently finding the 1st order neighbors of 200k polygons

For every one of the 208,781 Census block groups, I'd like to retrieve the FIPS IDs of all of its 1st order neighbors. I have all the TIGER boundaries downloaded and merged into a single 1GB ...
62 views

### Arc-node topology data structures in Python GIS packages

I am looking at using the traditional arc-node topological data structure to make some spatial data analysis more efficient. I would like to avoid reinventing the wheel. Is there an implementation in ...
295 views

### Convert SmallWorld GIS topology to pgRouting topology

Is there any way to convert SmallWorld GIS topology to the format that pgRouting use? My costumer have use SmallWorld GIS and make his topology on it. but when he export his information as shape file, ...
115 views

### QGIS Topology Checker Wrong

I use topology checker and add a rule that polylines must not have dangles. It find errors for all 36 polylines but I think some topologies are correct at the right side. Can you help me how can I fix ...
185 views

### What is nontopological geometry?

I need a simple understanding of nontopological geometry. I am completely new in this area so please correct me if I am wrong. As far as I understand in topological geometry the object(say a line) ...
34 views

### ArcGIS: Is there any way to use topology on data in different feature datasets?

I am using ArcGIS 10.2 desktop on an SDE/versioned environment. We use the ESRI local government information model, except that we do not use parcel fabric. I am responsible for maintaining several ...
212 views

### How to test for 'if arcpy.exists' with RemoveFeatureClassFromTopology stand-alone script?

I have some datset topologies that i want to loop through, but I need to test for the assignment of feature classes so the scripts dont fail. (Using Win 7, ArcGIS 10.2, Python 2.7.5 and a file GDB) ...
499 views

### What is the difference between Intersect & Overlap in ArcGIS Server?

When you run a Query Task on the ArcGIS Server's REST Endpoint, you need to give a spatialRel There are two spatial relationships which are quite similar: esriSpatialRelIntersects & ...
206 views

### How can I remove the gap between two polygon boundaries in QGIS?

I have a couple of messy polygon boundaries (example data) that should share a boundary but don't: I've had a look at some suggested tools for a similar issue using ArcGIS in a separate question ...
81 views

### start editing encountered one or more layers with error and can not continue this data is not editable

I create two feature classes by importing an already existing layers then I create a topology and I set the rule such that a point feature class must be covered by endpoints of the other line feature ...
19 views

### Territories that are not connected

I am looking for territories that are divided between two or more countries in a non-contiguous way. E.g, country A receives the western part of the territory, then country B receives a part to its ...
85 views

### Problems using GRASS tools for topology validation in QGIS

I'm working with a shapefile of Enumeration Districts (Setores Censitários) of the 2010 Brazilian Census. Enumeration Districts (ED) are smallest areas for which Brazilian Census data is available. ...
121 views

### How to add rule and add feature class to topology using arcpy and stop getting error 000732?

This script successfully added feature classes to topology when that is all I had scripted it to do. Now I've added the add rule parts (#added) and it's still just adding feature classes without ...
71 views

I am working with OSM road data for a developing nation. Included in the dataset are various small networks of roads that are orphans or islands i.e. not connected to the main road network. For ...
50 views

### Select and count street pattern features (morphology) using ArcGIS for Desktop?

I'd like to be able to select and count the number of cul-de-sacs, lollipops, dead ends, or other types of street structure in a hillside community.
166 views

### What's difference between Topology and Check Validity in QGIS?

I would like to know what the difference is between the Topology Checker and Check Validity tools? Is there anyone who knows of a good document or tutorial that explains functions of these tools? ...