def METHOD_NAME(self,
                  window: Optional[Box] = None,
                  to_map_coords: bool = False) -> gpd.GeoDataFrame:
    """Return geometries as a :class:`~geopandas.GeoDataFrame`.
    Arguments:
        window (Optional[Box]): If specified, return only the features that
            intersect with this window; otherwise, return all features.
            Defaults to None.
        to_map_coords (bool): If true, will return GeoJSON in map
            coordinates.
    """
    if self._gdf is None:
        geojson = self.get_geojson(to_map_coords=to_map_coords)
        self._gdf = geojson_to_geodataframe(geojson)
    gdf = self._gdf
    if window is not None:
        window_geom = window.to_shapely()
        gdf: gpd.GeoDataFrame = gdf[gdf.intersects(window_geom)]
    return gdf