Skip to content

Logic behind CRS in def convert_pbf_to_parquet #235

Answered by RaczeQ
huelar asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @huelar
The OGC:CRS84 and EPSG:4326 (WGS84) are equivalent in value domains (degrees), but the order is changed (EPSG:4326 has latitude/longitude, and OGC:CRS84 has longitude/latitude).

I don't pass CRS explicitly, because the GeoParquet specification has it covered and I follow the X/Y order of coordinates (lon/lat):

https://github.com/opengeospatial/geoparquet/blob/main/format-specs/geoparquet.md#column-metadata

crs: If the field is not provided, the default CRS is OGC:CRS84, which means the data in this column must be stored in longitude, latitude based on the WGS84 datum.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@huelar
Comment options

@RaczeQ
Comment options

@huelar
Comment options

Answer selected by RaczeQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants