Skip to content

Commit

Permalink
chore: add explicit geometry casting
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Sep 24, 2024
1 parent 895bc49 commit cd14ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quackosm/pbf_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@ def _save_parquet_file_with_geometry(
f"""
COPY (
SELECT
* EXCLUDE (geometry), ST_MakeValid(geometry) geometry
* EXCLUDE (geometry), ST_MakeValid(geometry::GEOMETRY) geometry
FROM ({relation.sql_query()})
) TO '{file_path}' (
FORMAT 'parquet',
Expand Down

0 comments on commit cd14ef2

Please sign in to comment.