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 their geometries can be dissolved to one using the dissolve tool that works the same in QGIS and GPD. Using GPD.explode()
will produce geometrically the same result as before dissolving. QGIS will instead keep some lines continous without splitting them, if they are "logically" better than way (for example one long line that before was split to multiple smaller parts will be a one line after QGIS tool). But geopandas will split it again into multiple small parts.
I need to emulate the behaviour of QGIS tool in geopandas. Is that possible? What is the difference in those two tools?