Commit graph

13249 commits

Author SHA1 Message Date
artemp
82a7d07b7f return error code when no feature can be read from shapefile + update unit test. 2017-06-01 15:44:25 +02:00
artemp
dfa8f100b2 freetype_engine - port singleton changes from v3.0.x 2017-06-01 12:47:18 +02:00
Dane Springmeyer
aeefd1cb58 fix typo in changelog [skip ci] 2017-05-31 13:26:35 -07:00
Dane Springmeyer
b9be377a7c update font path in test file 2017-05-31 10:42:03 -07:00
Artem Pavlenko
4d7e95c0c0 Merge pull request #3678 from mapycz/fix-polygon-closing-on-reprojection
fix closing polygons on reprojection
2017-05-30 19:08:51 +02:00
Dane Springmeyer
928a42da81 use latest mason version 2017-05-25 11:34:09 -07:00
Jiri Drbalek
7f11a7ab30 update visual test data 2017-05-24 13:59:47 +00:00
Jiri Drbalek
7590cdabb0 fix typo in file name 2017-05-24 13:59:47 +00:00
Jiri Drbalek
c7561c1dc9 unit test - vertex-last marker placement 2017-05-24 13:59:47 +00:00
Jiri Drbalek
0781f230be fix polygon handling 2017-05-24 13:59:44 +00:00
Jiri Drbalek
8d980d434e unit tests - closing polygon on reprojection 2017-05-24 12:10:11 +00:00
Jiri Drbalek
4084e670ec fix closing polygons on reprojection 2017-05-24 12:10:11 +00:00
artemp
abff549ed0 Merge remote-tracking branch 'origin/master' 2017-05-23 18:53:41 +02:00
artemp
c61e85b875 unify namespace names 2017-05-23 18:49:25 +02:00
Artem Pavlenko
b84b819d5b Merge pull request #3681 from mapnik/tiff-memory-mapped
Tiff memory mapped
2017-05-23 12:34:21 +02:00
artemp
3a475517c0 TIFF I/O - use memory mapping in tiff_reader.cpp when MAPNIK_MEMORY_MAPPED_FILE is defined. 2017-05-22 16:29:22 +02:00
artemp
34a622f48e TIFF I/O - use memory mapping for file based I/O. 2017-05-22 13:07:42 +02:00
artemp
3c1be21162 tiff_reader - use image_reader_exception 2017-05-22 13:05:08 +02:00
artemp
3811acfc5d Correct english spelling is OK. 2017-05-19 14:43:17 +02:00
Blake Thompson
436610da3a Updated changelog 2017-05-19 14:41:25 +02:00
Artem Pavlenko
f205f3859d Merge pull request #3671 from mapnik/tiff-multiband-grey
TIFF I/O : add support for multiple bands in 'scanline` reading metho…
2017-05-19 10:10:01 +02:00
artemp
12d6662009 TIFF I/O - read_tiled: remove std::swap_ranges and apply the same logic as in read_stripped. 2017-05-18 16:43:27 +02:00
artemp
4d8796dbd3 remove unused code 2017-05-18 15:23:22 +02:00
artemp
545bcb6585 remove bogus assert 2017-05-18 14:24:01 +02:00
artemp
23bdfdd821 use latest visual data 2017-05-18 13:26:05 +02:00
artemp
9ecc0041a0 Merge branch 'tiff-multiband-grey' of https://github.com/mapnik/mapnik into tiff-multiband-grey 2017-05-18 13:19:18 +02:00
artemp
9ee0deb3a1 update test data 2017-05-18 13:18:33 +02:00
Artem Pavlenko
c5ee5072ad Merge pull request #3679 from mapnik/tiff-stripped-read
The last stripe of a tiff could be read incorrectly due to a swap
2017-05-18 13:17:14 +02:00
artemp
cb7a3abfcb follow up fix for the bug reported by @flippmoke + fix return value check in TIFFReadRGBAStrip 2017-05-18 13:12:52 +02:00
Blake Thompson
efcb667f03 The last stripe of a tiff could be read incorrectly due to a swap 2017-05-17 17:06:40 -05:00
artemp
599f187968 update visual-data. 2017-05-17 21:20:03 +02:00
artemp
0968e13159 fix compile oops #3669 #3670 2017-05-17 17:41:44 +02:00
artemp
bf1225cd76 Use updated visual data from `tiff-multiband-grey' branch. 2017-05-17 15:17:28 +02:00
artemp
310eb71bdf TIFF I/O tests - refactor to reduce code duplication + remove std::cerr 2017-05-17 15:07:51 +02:00
artemp
6ac4ce66b3 TIFF I/O unit tests - check tiff_reader is able to read various permutations of TIFF format (rgb8|rgba8|gray8 + interleave:band|pixel + tiled|stripped)
(ref #3669 #3670)
2017-05-17 15:07:23 +02:00
artemp
ef9b1025fa fix bug - use tile_width_ and tile_height_ + cleanup 2017-05-17 14:55:41 +02:00
artemp
1d95cad922 TIFF I/O - make read_stripped handle both RGBA and raw encoded strips (#3670) 2017-05-16 13:44:55 +02:00
artemp
62260dd3d4 raster.input - increase default tile size to 1024x1024 px. 2017-05-16 13:43:52 +02:00
artemp
e8cd4b9aef TIFF I/O : update and fix logic handling rgba vs grey scale. 2017-05-12 18:39:58 +02:00
artemp
e62bf6e18f TIFF I/O - use scanline to read stripped grey for now. 2017-05-12 15:55:46 +02:00
artemp
5d48d98697 port latest changes from "raster_overzoom_quest" branch. 2017-05-12 15:37:12 +02:00
artemp
88fb137061 TIFF I/O - make read_tiled templated on ImageData ref #3669 #3670 (WIP) 2017-05-11 17:25:07 +02:00
artemp
74f295c6c4 small formatting 2017-05-11 16:58:37 +02:00
artemp
db2eaf2e2b TIFF I/O : add support for interleaved data in void tiff_reader<T>::read_tiled(std::size_t x0,std::size_t y0, ImageData & image) ref #3669 #3670 2017-05-11 12:13:07 +02:00
artemp
1725b1ebba TIFF.input - port changes from https://github.com/mapnik/mapnik/pull/3668 (ref #3669) 2017-05-10 14:33:29 +02:00
artemp
77f849b136 TIFF I/O : add support for multiple bands in 'scanline reading method in read_any_gray` (partially fixes #3669)
(NOTE: we default to `scanline` even for `stripped` images, TODO add support as per #3670)
2017-05-10 13:21:51 +02:00
artemp
6e025956ae add simple WKT round-trip test (required updated data) 2017-05-05 16:32:17 +02:00
artemp
97a796ba0e fix polygon_coord rule to generate required enclosing brackets. 2017-05-05 16:29:33 +02:00
artemp
2847c3bee9 format WKT to be able to test WKT<->WKT round-trip. 2017-05-05 16:28:05 +02:00
artemp
333ef9fde1 update copyright year 2017-05-05 13:02:01 +02:00