We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fd07bc commit 457550fCopy full SHA for 457550f
predictor/app.py
@@ -94,6 +94,13 @@ async def predict(
94
95
print(f"It took {round(time.time()-start)} sec to extract polygons")
96
97
+ if gdf.crs and gdf.crs != "EPSG:4326":
98
+ gdf = gdf.to_crs("EPSG:4326")
99
+ elif not gdf.crs:
100
+ # if not defined assume its 3857 because above 3857 is hardcoded
101
+ gdf.set_crs("EPSG:3857", inplace=True)
102
103
+
104
gdf["building"] = "yes"
105
gdf["source"] = "fAIr"
106
0 commit comments