geodesign / django-raster

Django-raster allows you to create tiled map services (TMS) and raster map algebra end points for web maps. It is Python-based, and requires GeoDjango with a PostGIS backend.
BSD 3-Clause "New" or "Revised" License
96 stars 39 forks source link

Refactor tiling tests #11

Closed ArnaudLevaufre closed 8 years ago

ArnaudLevaufre commented 8 years ago

All inline tiles are moved to the tests/expected_tiles directory. This separation brings the following benefits:

An helper method named `assertIsExpectedTile' is provided in the RasterTestCase and is used to check result tiling against the expected one.

mflaxman10 commented 8 years ago

Nice contrib, thanks. Even works graphically inside github. Certainly beats "reading" image code.