Skip to content

Commit

Permalink
Add crs
Browse files Browse the repository at this point in the history
  • Loading branch information
GISRedeDev committed Jun 24, 2024
1 parent 24569fb commit 0deb1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion areasofcontrol/get_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def filter_and_save(geojson: dict, id: int, gpkg_dir: Path | str) -> None:
assert Path(gpkg_dir).is_dir()
if not Path(gpkg_dir).exists():
Path(gpkg_dir).mkdir(parents=True)
gdf = gpd.GeoDataFrame.from_features(geojson)
gdf = gpd.GeoDataFrame.from_features(geojson, crs="EPSG:4326")
gdf = gdf[gdf["name"].str.contains("уп|ОРДЛО|Крим", case=False)]
if not gdf.empty:
layer = datetime.fromtimestamp(id).strftime("%Y-%m-%d")
Expand Down

0 comments on commit 0deb1bb

Please sign in to comment.