Closed qgib closed 3 years ago
Author Name: Sandro Santilli (@strk)
See http://strk.keybit.net/blog/2011/10/14/postgis-topology-iso-sqlmm-complete/comment-page-1/#comment-7521 for some design ideas about PostGIS-topology specific editing toolbar.
Author Name: Luís Ferreira (Luís Ferreira)
Some ideas [[http://strk.keybit.net/blog/2011/10/14/postgis-topology-iso-sqlmm-complete/comment-page-1/#comment-7638]] (1) topology layer (in memory or else), where we can define the intervening layers/postgis tables; (2) rules (overlaps, gaps, covers, must contain point, touch line, ...); (3) a list of errors in face of choosen rules; (4) tools to merge/subtract/create feature/mark as exception or error.
Author Name: Martin Dobias (@wonder-sk)
The main issue we are facing here is that the topological models of various data sources (grass, postgis-topo, osm) differ quite a lot between each other. From what I know:
PostGIS. Primitives: nodes, edges, faces - they correspond to the elements of a graph from graph theory: node is a point, edge is a polyline connecting two nodes, faces are formed by enclosing edges. Planar graph is enforced.
GRASS. Primitives: point, line, boundary, centroid. Points and (poly)lines are standalone objects, boundaries are polylines that should touch at the endpoints to form areas. Centroids are special type of points that assigns a layer to the area enclosed by the boundaries. Only boundaries are required to form a planar graph (?)
OSM. Primitives: nodes, ways. Ways are constructed strictly from nodes. There is no explicit notion of areas: a closed way is usually considered as an area, although that is not always true (e.g. roundabout is a closed way, but it represents a linear ring). The situation with polygons with holes and multipolygons is difficult: relation elements may connect individual ways. Planar graph is not enforced.
Please correct me if I am wrong.
The question is how to handle these differences:
The former approach sounds much better
Author Name: Sandro Santilli (@strk)
I'd like to avoid too much abstraction on the PostGIS side actually. All I can tell is that for postgis topology you have these operations:
Note that some of the above operations (those creating new edges or faces or removing them) also have an option to decide whether or not to save pre-existing faces/edges or always replace them with the new ones.
Seems all very postgis-specific (or should I say ISO SQL/MM specific). Unless someone from GRASSland sees an unification opportunity (beside icons?) I'd move this into another ticket.
Author Name: Sandro Santilli (@strk)
FYI: I've started a project on github for postgis topology editing. At least will serve for brainstorming.
Author Name: Pirmin Kalberer (Pirmin Kalberer)
Author Name: Markus Neteler (Markus Neteler)
Sandro Santilli wrote:
FYI: I've started a project on github for postgis topology editing. At least will serve for brainstorming.
Sandro, do you continuously develop this plugin?
Author Name: Sandro Santilli (@strk)
Markus, I'm not developing it, no. But I'm maintaining it (unfortunately needed as QGIS API changes more often than I'd like). Mind you: that plugin is postgis-specific.
Author Name: Giovanni Manghi (@gioman)
Author Name: Paolo Cavallini (@pcav)
Still true in QGIS3. Unclear status: it's a lot of work, and possibly we should better concentrate in native QGIS tools.
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.
Author Name: Paolo Cavallini (@pcav) Original Redmine Issue: 3483
Redmine category:digitising
Currently QGIS has two different methods for editing: