Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable arrow/parquet format in mapserver (full gdal) #668

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.7.3 as gdal
FROM ghcr.io/osgeo/gdal:ubuntu-full-3.7.3 as gdal
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This image is relay too big to be used by default. If you need that, you should create a separate image!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanx @sbrunner,
I agree the full image is too large.
I'm not aware how to build Arrow into GDAL separately (except via conda, is that an option?)
What is your suggestion here?


FROM gdal as builder
LABEL maintainer Camptocamp "[email protected]"
Expand Down Expand Up @@ -61,6 +61,7 @@ RUN if test "${WITH_ORACLE}" = "ON"; then \
-DWITH_RSVG=1 \
-DUSE_PROJ=1 \
-DUSE_WFS_SVR=1 \
-DGDAL_USE_ARROW=1 \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's these build options?
I didn't find any reference in the MapServer sources...

Copy link
Author

@pvgenuchten pvgenuchten Dec 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arrow/Parquet support is here:
https://gdal.org/development/building_from_source.html#cmdoption-arg-GDAL_USE_ARROW
ah wait, this is a gdal build option, not a mapserver build option, my bad!

-DUSE_OGCAPI_SVR=1 \
-DWITH_ORACLESPATIAL=${WITH_ORACLE}

Expand Down