Skip to content

Commit

Permalink
Merge pull request #62 from Crop-R/use_proj
Browse files Browse the repository at this point in the history
Enable use_proj and tile mode #61
  • Loading branch information
sbrunner authored Sep 28, 2020
2 parents e626e09 + 98b9aa1 commit 8cd9f2d
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 8cd9f2d

Please sign in to comment.