Skip to main content
deleted 40 characters in body
Source Link
Bera
  • 77.9k
  • 14
  • 78
  • 188

Cant find it either. But i foundSee Only read specific rows of a shapefile with GeoPandas / Fiona which give:

import geopandas as gpd
import fiona

c = fiona.open(r'C:\someshapefile.shp')
df = gpd.GeoDataFrame.from_features(c[0:5])

Cant find it either. But i found Only read specific rows of a shapefile with GeoPandas / Fiona which give:

import geopandas as gpd
import fiona

c = fiona.open(r'C:\someshapefile.shp')
df = gpd.GeoDataFrame.from_features(c[0:5])

See Only read specific rows of a shapefile with GeoPandas / Fiona:

import geopandas as gpd
import fiona

c = fiona.open(r'C:\someshapefile.shp')
df = gpd.GeoDataFrame.from_features(c[0:5])
Source Link
Bera
  • 77.9k
  • 14
  • 78
  • 188

Cant find it either. But i found Only read specific rows of a shapefile with GeoPandas / Fiona which give:

import geopandas as gpd
import fiona

c = fiona.open(r'C:\someshapefile.shp')
df = gpd.GeoDataFrame.from_features(c[0:5])