In the previous post, we investigated how tobring QGIS maps into Jupyter notebooks. Today, we’ll take the next step and add basemaps to our maps. This is trickier than I would have expected. In particular, I was fighting with “invalid” OSM tile layers until I realized that my QGIS ...
Processing: New algorithm for geometry boundary Processing: New algorithm for calculating feature bounding box Processing: Processing dissolve algorithm accepts multiple fields Processing: Optimised processing clip algorithm Processing: New algorithm for merging connected lines General: Automatic links in identify...
[]: continue # dissolve point buffers of line segment: # dissolve all polygons based on line vertices into single feature buffer_union = QgsGeometry().unaryUnion(buffer_list) # set fields and attributes: # empty fields buffer_fields = QgsFields() # loop through line fe...
def buffering(progress, writer, distance, field, useField, layer, dissolve, segments): if useField: field = layer.fieldNameIndex(field) outFeat = QgsFeature() inFeat = QgsFeature() inGeom = QgsGeometry() outGeom = QgsGeometry() current = 0 features = vector.features(layer) total = ...
- Processing: New algorithm for geometry boundary - Processing: New algorithm for calculating feature bounding box - Processing: Processing dissolve algorithm accepts multiple fields - Processing: Optimised processing clip algorithm - Processing: New algorithm for merging connected lines ...
Processing: New algorithm for geometry boundary Processing: New algorithm for calculating feature bounding box Processing: Processing dissolve algorithm accepts multiple fields Processing: Optimised processing clip algorithm Processing: New algorithm for merging connected lines General: Automatic links in identify...
\ 'DISSOLVE':False,\ 'OUTPUT':BufferTraceWithoutTroncon}) driver = ogr.GetDriverByName("gpkg") #new srcShp1 = driver.Open(BufferTraceWithoutTroncon)#new srcLay1 = srcShp1.GetLayer() for feat1 in srcLay1: geom1 = feat1.GetGeometryRef() driver = ogr.GetDriverByName("gpkg"...
if False: buffered_layer = processing.run("native:buffer", { 'INPUT': dest_id, 'DISTANCE': 1.5, 'SEGMENTS': 5, 'END_CAP_STYLE': 0, 'JOIN_STYLE': 0, 'MITER_LIMIT': 2, 'DISSOLVE': False, 'OUTPUT': 'memory:' }, context=context, feedback=feedback)['OUTPUT...
filter:=touches($geometry, geometry(@parent)) ) ps1. When I use the count function, it returns zero for all the countries. ps2. When I use the Zip Codes shapefile, the same issue appears (e.g. in the zip code 98406, where should be 6 neighbors, but only 3 appear). ...