Skip to content

Commit

Permalink
Add CRS to inference GeoPackage output.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 706599023
  • Loading branch information
jzxu authored and copybara-github committed Dec 16, 2024
1 parent 890ea8c commit 3811ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skai/model/inference_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def postprocess(
else:
geometries.append(shapely.wkt.loads(wkt))
gdf = gpd.GeoDataFrame(
df.drop(columns=['footprint_wkt']), geometry=geometries
df.drop(columns=['footprint_wkt']), geometry=geometries, crs='EPSG:4326'
)
output_dir, output_file = os.path.split(output_path)
gpkg_path = os.path.join(output_dir, f'{output_file}.gpkg')
Expand Down

0 comments on commit 3811ea4

Please sign in to comment.