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".
23 questions
0 votes
0 answers
30 views
How to explode GeometryCollection25D features in QGIS after importing from DXF?
I'm working in QGIS (version 3.38.3) and have imported a DXF file that contains various geometries. After import, the resulting layer has features with geometry type GeometryCollection25D along with ...
2 votes
1 answer
163 views
Exploding lines with PyQGIS [closed]
Are there ways to realize exploding lines through PyQGIS? I have layer with very complicated line and exploding lines is so slow, it doesn't end even after an hour. I've created spatial index and run ...
3 votes
1 answer
597 views
GeoPandas Explode Multi-Polygon Holes Filled Inexplicably
I've run into an issue with the Geopandas explode method. When I run the explode method, multi-polygons which originally had holes are filled inexplicably. I need to expolode the multi-polygons in a ...
1 vote
2 answers
1k views
GeoPandas .explode() FutureWarning: Currently, index_parts defaults to True, but in the future, it will default to False to be consistent with Pandas
I have a simple GeoDataFrame containing 2 records, with MultiPolygonZ having several single parts as geometry elements. When I try to split those in their single parts using the .explode() method, it ...
0 votes
0 answers
70 views
QGIS explode takes forever
I'm doing a project on accessibility analysis in Hannover using QGIS 3.26.1 and everything went well. Creating a service area was ok, but when I use the explode function, the loading bar just shows an ...
2 votes
1 answer
2k views
How to convert polygons to line segments using Python
I have one shapefile with building polygons. I would like to convert them into lines split at each vertex, keeping the original source info as an attribute (Name). Name category height_ag ...
5 votes
3 answers
919 views
Difference in QGIS multipart to single parts and geopandas.explode()
I noticed that QGIS tool multipart to single parts produces different results than geopandas explode when used to MultiLineString geometries. Having a multiple lines which are randomly split along ...
5 votes
2 answers
3k views
Exploding LineString into segments using Shapely
I am trying to find explode lines tool in QGIS equivalent in shapely or geopandas (which uses shapely anyway). does anyone know this? note that geopandas.GeoDataFrame.explode() does not work because ...
1 vote
0 answers
282 views
Exploding multipart feature if different parts are over certain distance using ArcMap
I'm using ArcMap 10.4 and working with parcel data. I'm trying to come up with a way to combine parcels owned by the same person that are close to each other, but leave parcels that are further out as ...
6 votes
1 answer
3k views
Exploding column in GeoPandas
I have a shp with a column NOM_CONCAT and I can not explode it to have a unique information, Each time, I have the same error message and I can't find solutions. #TypeError: explode() takes 1 ...
1 vote
0 answers
52 views
Create multiple features from a single field
I have a point feature class showing addresses where trees were planted. A single row in the attribute table represents a single address. I have a field in the attribute table called "...
1 vote
0 answers
1k 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
2 answers
2k 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
1 answer
3k 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
1 answer
334 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"]: ...