Questions tagged [explode]

To break a polyline or polygon into its component line segments. Also to break a multipart feature into its component parts. Also known as "drop".

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

ogr2ogr: How to export / explode GeoJSON features from collections into separate files

I would like to use an ogr2ogr command to export features as multiple separate geojson files from a single GeoJSON feature collection. I have tried using the -explodecollections command but I am ...
2
votes
2answers
246 views

Join point attributes to lines

I'm working in QGIS with two shapefiles: point and line. Points mark nodes of the lines, and each of them have their own attributes. Lines are related to an attribute table too. The goal is, once the ...
0
votes
1answer
550 views

Why gdf.explode() doesn't work?

I'm trying to merge 2 geodataframes and combine all entities. So I use : cloudNshadow = gpd.overlay(cloud, shadow, how='union') cloudNshadow = cloudNshadow.unary_union() But it returns me : ...
1
vote
1answer
208 views

Access qgis.explodelines in Python (outside QGIS)

I want to access the explodelines function in Python outside of QGIS from a standalone script. import sip for api in ["QDate", "QDateTime", "QString", "QTextStream", "QTime", "QUrl", "QVariant"]: ...
2
votes
2answers
503 views

equivalent Explode lines in Postgis

I want to divide linestring into separate segments via Postgis, like it "Explode lines" tool in QGIS does, e.g. from linestring I want to get separate segments I have some thoughts about take it by ...
8
votes
2answers
334 views

Exploding polygons and adding consistent space/buffer between groups using QGIS?

I have a set of shapefiles grouped by regional area in Western Australia. What I want to do for visual purposes is add a consistent amount of space between each region. What's the best way to do this? ...
1
vote
1answer
1k views

Exploding multipart features in qgis using python [duplicate]

I want to explode a multipart layer to singlepart in python. I see through the qgis gui there is a way to do it under vector--geometry--tools--Multipart to Singleparts.. which does what I need, I just ...
2
votes
1answer
238 views

QGIS explode line function fails with OSM file

I am exporting a small extract from OSM. I load the lines(layer 1) into QGIS and apply the function Explode lines. I get the error: Algorithm Explode lines starting... __len__() should return >= 0 ...
15
votes
2answers
10k views

Accessing `processing` with Python?

I want to access the explode lines function in Python outside of QGIS from a standalone script. What module do I have to load in order to use it? How can I access processing? from qgis.core import ...
0
votes
2answers
708 views

Explode/Decompose Polyline Network with MapInfo

I have a network of polylines which possibly include multi polylines as well. I wish to decompose these polylines into their fundemental line segments so I can produce the following table: Link_ID | ...
1
vote
1answer
108 views

How do I create multiple polylines from single polyline that consists of disjunct sections?

My goal was to create a network of polylines in NHD plus based on start and end points associated with sampling locations. Dissolving by stream name was my first step and has worked just fine for ...