Skip to content

Replace macro defining SPATIAL_REF_SYS_CSV with a global variable#684

Merged
estebanzimanyi merged 1 commit intoMobilityDB:masterfrom
Diviloper:spatial-csv
Jul 28, 2025
Merged

Replace macro defining SPATIAL_REF_SYS_CSV with a global variable#684
estebanzimanyi merged 1 commit intoMobilityDB:masterfrom
Diviloper:spatial-csv

Conversation

@Diviloper
Copy link
Copy Markdown
Member

Fixes #683.

Convert SPATIAL_REF_SYS_CSV from a macro to a global variable, as the ones used for the date order and style, and adds a function to modify it (meos_set_spatial_ref_sys_csv).
Also changes the default value of the macros to the proper path in /usr/local/share (and not /usr/local/lib).
Improves log on load error.

@estebanzimanyi estebanzimanyi merged commit a3a1c74 into MobilityDB:master Jul 28, 2025
16 checks passed
@Diviloper Diviloper deleted the spatial-csv branch July 31, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hardcoded SPATIAL_REF_SYS_CSV makes it awkward to package

2 participants