Skip to content

Commit

Permalink
Remove OGDI support (VMAP)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 29, 2025
1 parent d24e064 commit c71274e
Show file tree
Hide file tree
Showing 95 changed files with 4 additions and 1,638 deletions.
1 change: 0 additions & 1 deletion .github/workflows/alpine/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ RUN apk add \
muparser-dev \
netcdf-dev \
odbc-cpp-wrapper-dev \
ogdi-dev \
openexr-dev \
openjpeg-dev \
openssl-dev \
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/alpine_32bit/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ RUN apk add \
mariadb-connector-c-dev \
netcdf-dev \
odbc-cpp-wrapper-dev \
ogdi-dev \
openexr-dev \
openjpeg-dev \
openssl-dev \
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/alpine_32bit/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ make quicktest
PYTEST_SKIP=
PYTEST_XFAIL="gcore/tiff_ovr.py gdrivers/gribmultidim.py gdrivers/mbtiles.py gdrivers/vrtwarp.py gdrivers/wcs.py utilities/test_gdalwarp.py pyscripts/test_gdal_pansharpen.py"

# Fails with ERROR 1: OGDI DataSource Open Failed: Could not find the dynamic library "vrf"
PYTEST_SKIP="ogr/ogr_ogdi.py $PYTEST_SKIP"

# Stalls on it. Probably not enough memory
PYTEST_SKIP="gdrivers/jp2openjpeg.py $PYTEST_SKIP"

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/asan/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ find -L \
! -name netcdf_cfchecks.py \
! -name ogr_fgdb.py `# Don't run these` \
! -name ogr_pgeo.py `# Don't run these` \
! -name ogr_ogdi.py `# Error on ogdi_5 test` \
! -name ogr_gpsbabel.py `# new-delete-type-mismatch error in gpsbabel binary that we can't suppress` \
! -name "__init__.py" \
! -path 'ogr/data/*' \
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/cmake_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
libfreexl-dev unixodbc-dev libwebp-dev libepsilon-dev liblcms2-2 libcrypto++-dev libkml-dev \
libmysqlclient-dev libarmadillo-dev wget libfyba-dev libjsoncpp-dev libexpat1-dev \
libclc-dev ocl-icd-opencl-dev libsqlite3-dev sqlite3-pcre libpcre3-dev libspatialite-dev libsfcgal-dev fossil libcairo2-dev libjson-c-dev libdeflate-dev liblz4-dev libblosc-dev libarchive-dev \
libqhull-dev libcfitsio-dev libogdi-dev libopenjp2-7-dev libheif-dev \
libqhull-dev libcfitsio-dev libopenjp2-7-dev libheif-dev \
python3-dev libpython3-dev libpython3.8-dev python3.8-dev python3-numpy python3-lxml pyflakes python3-setuptools python3-pip python3-venv \
python3-pytest swig doxygen texlive-latex-base make cppcheck ccache g++ \
libpq-dev libpqtypes-dev postgresql-12 postgresql-12-postgis-3 postgresql-client-12 postgresql-12-postgis-3-scripts
Expand Down Expand Up @@ -94,9 +94,6 @@ jobs:
sudo apt-get update
sudo apt-get install -y -V libarrow-dev libparquet-dev libarrow-dataset-dev
#
# Workaround bug in ogdi packaging
sudo ln -s /usr/lib/ogdi/libvrf.so /usr/lib
#
PYTHON_CMD=python3 && $PYTHON_CMD -m pip install -U pip wheel setuptools numpy importlib_metadata
PYTHON_CMD=python3 && $PYTHON_CMD -m pip install -r $GITHUB_WORKSPACE/autotest/requirements.txt
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
liblzma-dev \
libmysqlclient-dev \
libnetcdf-dev \
libogdi-dev \
libopenexr-dev \
libopenjp2-7-dev \
libpcre3-dev \
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/s390x/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ RUN apt-get update && \
liblzma-dev${APT_ARCH_SUFFIX} \
libmysqlclient-dev${APT_ARCH_SUFFIX} \
libnetcdf-dev${APT_ARCH_SUFFIX} \
libogdi-dev${APT_ARCH_SUFFIX} \
libopenexr-dev${APT_ARCH_SUFFIX} \
libopenjp2-7-dev${APT_ARCH_SUFFIX} \
libpcre3-dev${APT_ARCH_SUFFIX} \
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/ubuntu_20.04/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ RUN apt-get update -y \
libmuparser-dev \
libmysqlclient-dev \
libnetcdf-dev \
libogdi-dev \
libopenexr-dev \
libopenjp2-7-dev \
libpcre2-dev \
Expand Down Expand Up @@ -124,9 +123,6 @@ RUN mkdir tiledb \
&& cd ../.. \
&& rm -rf tiledeb

# Workaround bug in ogdi packaging
RUN ln -s /usr/lib/ogdi/libvrf.so /usr/lib

# Build libjxl
# libjxl being still unstable, if the main branch fails to compile/test
# you can replace JXL_TREEISH=main by JXL_TREEISH=sha1_of_known_working_commit
Expand Down Expand Up @@ -276,7 +272,7 @@ RUN if test "${OPENDRIVE_VERSION}" != ""; then ( \
); fi

# Install exprtk
RUN wget -q -P /usr/local/include https://raw.githubusercontent.com/ArashPartow/exprtk/refs/heads/master/exprtk.hpp
RUN wget -q -P /usr/local/include https://raw.githubusercontent.com/ArashPartow/exprtk/refs/heads/master/exprtk.hpp

RUN ldconfig

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ubuntu_22.04/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ RUN apt-get update && \
liblzma-dev \
libmysqlclient-dev \
libnetcdf-dev \
libogdi-dev \
libopenexr-dev \
libopenjp2-7-dev \
libpcre3-dev \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/ubuntu_24.04/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ RUN apt-get update && \
libmuparser-dev \
libmysqlclient-dev \
libnetcdf-dev \
libogdi-dev \
libopenexr-dev \
libopenjp2-7-dev \
libpcre3-dev \
Expand Down Expand Up @@ -158,10 +157,6 @@ RUN curl -L -O https://download.oracle.com/otn_software/linux/instantclient/1990
&& apt-get install -y libaio1t64 \
&& ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1

# Workaround libogdi packaging issue
# Cf https://lists.debian.org/debian-gis/2024/04/msg00006.html
RUN ln -s /usr/lib/x86_64-linux-gnu/ogdi/4.1/libvrf.so /usr/lib/x86_64-linux-gnu

COPY requirements.txt /tmp/
RUN PYTHON_CMD=python3 && $PYTHON_CMD -m pip install -U --break-system-packages -r /tmp/requirements.txt

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Supported Formats: (ro:read-only, rw:read-write, +:update, v:virtual-I/O s:subda
WAsP -vector- (rw+v): WAsP .map format (*.map)
PGeo -vector- (ro): ESRI Personal GeoDatabase (*.mdb)
MSSQLSpatial -vector- (rw+): Microsoft SQL Server Spatial Database (BCP)
OGR_OGDI -vector- (ro): OGDI Vectors (VPF, VMAP, DCW)
PostgreSQL -vector- (rw+): PostgreSQL/PostGIS
MySQL -vector- (rw+): MySQL
OCI -vector- (rw+): Oracle Spatial
Expand Down
2 changes: 0 additions & 2 deletions autotest/ogr/data/vm2alv2_texash/README

This file was deleted.

Binary file removed autotest/ogr/data/vm2alv2_texash/dht
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/lat
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/bndtxt.tft
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/char.vdt
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/edg.fit
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/end.fit
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/end1_id.pti
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/f_code.tti
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/fac.fit
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/fac1_id.ati
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/fca
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/fcs
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/fcx
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/int.vdt
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/polbnda.aft
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/polbndl.lft
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/symbol.rat
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/txt.fit
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/bnd/txt_id.tti
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/cat
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/dqt
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/dqx
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/grt
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/lht
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/cnd
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/ebr
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/edg
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/edx
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/esi
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/fac
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/fbr
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/fca
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/fcs
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/fcx
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/fsi
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/nsi
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/rng
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/tsi
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/txt
Binary file not shown.
Binary file removed autotest/ogr/data/vm2alv2_texash/texash/tileref/txx
Binary file not shown.
204 changes: 0 additions & 204 deletions autotest/ogr/ogr_ogdi.py

This file was deleted.

1 change: 0 additions & 1 deletion cmake/helpers/CheckDependentLibraries.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ gdal_check_package(NetCDF "Enable netCDF driver" CAN_DISABLE
NAMES netCDF
TARGETS netCDF::netcdf NETCDF::netCDF
VERSION "4.7")
gdal_check_package(OGDI "Enable ogr_OGDI driver" CAN_DISABLE)
gdal_check_package(OpenCL "Enable OpenCL (may be used for warping)" CAN_DISABLE)

set(PostgreSQL_ADDITIONAL_VERSIONS "14" CACHE STRING "Additional PostgreSQL versions to check")
Expand Down
Loading

0 comments on commit c71274e

Please sign in to comment.