I am trying to read the following file with GeoPandas:
import geopandas as gp
gp.io.file.fiona.drvsupport.supported_drivers['KML'] = 'rw'
df = gp.read_file('http://watchthemed.net/index.php/json/layer/9', driver='KML')
This returns one geometry:
gp.read_file('http://watchthemed.net/index.php/json/layer/9', driver='KML').shape
>> 1,3
Which is a multilinestring of length 1.
print(gp.read_file('http://watchthemed.net/index.php/json/layer/9',
driver='KML').geometry.loc[0])
>> MULTILINESTRING Z ((11.526082 33.171136 0, 11.531247 33.196851 0,
11.537371 33.213983 0, 11.566443 33.298784 0, 11.585108 33.364755 0, 12
33.916667 0, 12.218734 34.175 0, 12.40997642454452 34.37477266876127 0,
23.583333 34.333333 0, 24.1667 34 0, 25.150691 31.669654 0))
However, if you visit the link, you can see that the file has many lines. How can I get the rest of them?