Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Enable use_proj and tile mode camptocamp#61
Browse files Browse the repository at this point in the history
  • Loading branch information
ivorbosloper committed Sep 25, 2020
1 parent e626e09 commit 98b9aa1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions acceptance_tests/test_tile.py
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 98b9aa1

Please sign in to comment.