4,155 reputation
11122
bio website whatutmzoneamiin.blogspot.com
location Ontario, Canada
age 33
visits member for 3 years, 10 months
seen Aug 13 at 15:10

Open source GIS user & advocate.


Jun
13
comment Split Lines at Intersection of Other Lines
After some more work, I was able to import the data using the DB Manager Plugin, and checked off "Create Single Part Geometries instead of multi-part" and it seems to work!
Jun
13
comment Split Lines at Intersection of Other Lines
Thanks! I am not familiar enough with Python to try your first solution just yet. The OpenJump solution somewhat works, but leaves all of the data in one layer, with no attributes present to separate them back out into the original layers. Any thoughts on how to do this?
Jun
13
comment Split Lines at Intersection of Other Lines
Thanks! I was able to mess around with this a bit, and found it didn't quite work. I had the error "Splitting a Line by a MultiLineString is unsupported." After some further research, it seems that ST_LineMerge may solve the problem, so I tried: 'SELECT ST_Split(r.geometry, c.geometry) FROM (SELECT ST_LineMerge(geom) from contour AS linemergec) c, (SELECT ST_LineMerge(geom) from roads AS linemerger) r' - but now I'm getting the error: "cannot cast type record to topogeometry ^ DETAIL: Cannot cast type geometry to integer in column 1"
Jun
13
reviewed Approve suggested edit on DEM mosaic: gaps
Jun
13
comment Is it possible to create Rule-Based Styling with $geometry intersecting a second layer?
Thanks underdark; at least I wasn't missing something! I figured perhaps it was not possible.
Jun
10
accepted Is it possible to create Rule-Based Styling with $geometry intersecting a second layer?
Jun
6
comment Is it possible to create Rule-Based Styling with $geometry intersecting a second layer?
The second layer is a polygon shapefile that has been added to the QGIS project.
Jun
6
asked Is it possible to create Rule-Based Styling with $geometry intersecting a second layer?
May
29
awarded  Famous Question
May
29
comment Split Lines at Intersection of Other Lines
gene; as per my above comment, the Union in OpenJump is not working as expected (in fact it is doing nothing.) I also noticed that there are multiple Union commands (which is bizarre). Can you walk me through that step? How is Tools>Analysis>Union/Dissolve/Merge command different than Tools>Geometry Functions>Union (Function)? Neither of these seem to make sense based on any "Union" command I have used in other software.
May
28
comment Split Lines at Intersection of Other Lines
gene; can you walk me through this? I can't actually seem to perform a Union of the two line layers in OpenJump either--it just does nothing, presumably because it is also expecting a polygon layer as one of the inputs.
May
27
comment Split Lines at Intersection of Other Lines
Care to expand on that with a possible solution?
May
27
comment Split Lines at Intersection of Other Lines
gene; unfortunately, v.overlay is expecting an area for one fo the layers as well. As per the manual: "v.overlay allows the user to overlay two vector maps. Features in ainput can be lines or areas and are cut with areas in binput."
May
27
asked Split Lines at Intersection of Other Lines
May
22
awarded  qgis
May
21
answered Can I draw free hand figures in QGIS?
May
20
reviewed Reject suggested edit on QGIS display does not reflect projection
May
20
awarded  Notable Question
May
1
awarded  Custodian
May
1
reviewed Approve suggested edit on How can I create a pdf map at a high resolution while still keeping the file size manageable?