diff --git a/Dockerfile b/Dockerfile index 3f756654..9d58bee7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,7 @@ RUN if test "${WITH_ORACLE}" = "ON"; then \ -DWITH_POINT_Z_M=1 \ -DWITH_CAIRO=1 \ -DWITH_RSVG=1 \ + -DUSE_PROJ=1 \ -DWITH_ORACLESPATIAL=${WITH_ORACLE} RUN ninja install diff --git a/acceptance_tests/test_tile.py b/acceptance_tests/test_tile.py new file mode 100644 index 00000000..5e933056 --- /dev/null +++ b/acceptance_tests/test_tile.py @@ -0,0 +1,5 @@ +def test_get_tile(connection): + answer = connection.get_raw("?layer=polygons&mode=tile&tilemode=gmap&tile=0+0+0") + if answer.headers["content-type"] != 'image/jpeg': + print(answer.text) + assert answer.headers["content-type"] == 'image/jpeg'