As of now to check if the input gdf contains Linestring or Multilinestring we look at the first entry of the shapefile. If this entry has no geometry (geometry column =None) or it is a non compatible geometry, the import fails and prints Only Point and Line geometries can be imported - aborting.. We should fix this either by:
Analyse the Geometry column and select only LineString/MultilineString
Print a different warning (e.g. "check the shapefile for anomalous geometries/entries")
As of now to check if the input gdf contains Linestring or Multilinestring we look at the first entry of the shapefile. If this entry has no geometry (geometry column =None) or it is a non compatible geometry, the import fails and prints Only Point and Line geometries can be imported - aborting.. We should fix this either by: