987 Commits

Author SHA1 Message Date
Larry Shaffer
e257227050 Fix local test server response parsing and add debug output for url 2014-06-13 10:20:55 -06:00
Larry Shaffer
72c33799d3 Add ability to define QImage format for render jobs via map settings
- Defaults to QImage::Format_ARGB32_Premultiplied, as before
- Update labeling unit tests to use defined format
2014-06-13 10:20:55 -06:00
Larry Shaffer
34aeed7450 Add convenience functions to Python test utilities for rendering with map settings
- Update labeling unit tests to use new functions
- All labeling test classes render separately from QgsRenderChecker
- Update labeling server test class to sync map settings to temp project
2014-06-13 10:20:55 -06:00
Juergen E. Fischer
3682384675 indentation update 2014-06-13 09:03:15 +02:00
Martin Dobias
ec310a0e94 Allow some mismatched pixels in inverted renderer test
On my machine, there were ~200-800 mismatched pixels in each test image,
but visually they look the same.
2014-06-10 12:06:22 +07:00
Martin Dobias
3fe12df507 Fix #10355 (crash) and #10338 (overlapping polygons) in inverted polygon renderer
Conflicts:
	python/core/symbology-ng/qgsinvertedpolygonrenderer.sip
	src/core/symbology-ng/qgsinvertedpolygonrenderer.cpp
	src/core/symbology-ng/qgsinvertedpolygonrenderer.h
	src/gui/symbology-ng/qgsinvertedpolygonrendererwidget.cpp
	src/gui/symbology-ng/qgsinvertedpolygonrendererwidget.h
2014-06-10 11:54:45 +07:00
Martin Dobias
882912f748 Fix #10365 (incorrectly escaped strings from QgsExpression) 2014-06-09 14:31:42 +07:00
Martin Dobias
48b099c8b6 Fix #10212 (fail to handle relative paths to gzipped files) 2014-06-09 12:46:50 +07:00
Hugo Mercier
9d49422878 Inverted polygon renderer: add test for projected and merged 2014-05-27 09:03:18 +02:00
Hugo Mercier
315b28c21c Inverted polygon renderer: fix rendering when projection is enabled 2014-05-26 18:43:34 +02:00
Hugo Mercier
80ae9ef28b Inverted polygon renderer: add an option to preprocess polygons using an union 2014-05-26 17:15:22 +02:00
Nyall Dawson
9329980085 [composer] Fix multiple refresh of items 2014-05-25 13:09:04 +10:00
Martin Dobias
0775a89ed5 Merge pull request #1380 from Oslandia/mask_renderer
[FEATURE] Inverted polygons renderer
2014-05-24 11:26:41 +07:00
Juergen E. Fischer
43dfb9c484 indentation update 2014-05-24 03:55:54 +02:00
Hugo Mercier
79061547d4 Add unit tests for the inverted polygon renderer 2014-05-23 19:57:21 +02:00
Hugo Mercier
084fa8992b [FEATURE][composer] Add a 'predefined scales' mode to atlas maps, which sets an atlas maps' extent to the largest predefined scale which fits the atlas feature. Scales are taken from the project's predefined scales, or the global predefined scales. 2014-05-23 11:17:05 +10:00
Nyall Dawson
f31e637ed1 [FEATURE] Add right click menu to color buttons, allowing copying and pasting colors. Pasting colors accepts clipboard text in a variety of common formats, including hex and css style rgb and rgba strings. 2014-05-20 21:35:21 +10:00
Nyall Dawson
2ce741678f Add expression functions for bounding box (bounds), bounding box width & height (bounds_width/bounds_height), and min/max x/y coordinates (xmin/xmax/ymin/ymax) 2014-05-18 21:53:00 +10:00
Juergen E. Fischer
7c75ffa3b0 spelling fixes 2014-05-17 22:02:03 +02:00
Juergen E. Fischer
6a6cc194d9 fix warnings 2014-05-15 22:26:01 +02:00
Juergen E. Fischer
57c7b8ac50 indentation update 2014-05-15 22:26:01 +02:00
D'Hont René-Luc
07c57585c1 [RASTER][Feature] Applying scale and offset to raster data - funded
Ifremer

An issue has been opened 5 mounth ago
[BUG] #8417 incorrect value loaded from netcdf file
The data has not be loaded incorrectly, but QGIS doesn't apply scale
and offset defined for each band.

This commit will apply scale and offset to GDAL Provider BandStatistics
and to RASTER block of data.

It also adds bandScale and bandOffset method to QgsRasterDataProvider Python API.
2014-05-15 16:55:30 +02:00
Nyall Dawson
dc905accac [FEATURE][composer] Rework attribute tables to make tables more flexible.
- Add support for reordering columns in a table (fix #5942)
- Add support for expression based columns
- Add support for setting column alignment (fix #2957)
- Add support for setting column header alignment
- Make sorting in tables correctly handle nulls, dates, times, locale aware string sorting
This work also paves the way for future expansion of attribute tables to allow for setting column widths, column colors, etc.
2014-05-15 12:06:32 +10:00
Nyall Dawson
fa0f0bd176 [FEATURE][composer] Add option for controlling placement of rendered images inside a picture item (eg, top left, bottom right, etc) 2014-05-15 11:58:54 +10:00
Nyall Dawson
1af7581bf0 Add tests for composer html multi frames using smart breaks 2014-05-06 21:12:09 +10:00
Nyall Dawson
68de42724d Fix failing composer html tests 2014-05-06 20:53:15 +10:00
Nyall Dawson
6cf3003e67 Fix some failing tests 2014-05-06 20:44:42 +10:00
Nyall Dawson
3afee3c629 [composer] Add tests for expression based picture source (sponsored by City of Uster, Switzerland) 2014-04-28 20:19:01 +10:00
Nyall Dawson
963ae707f4 [composer] Add tests for picture resize modes (sponsored by City of Uster, Switzerland) 2014-04-28 20:19:00 +10:00
Nyall Dawson
53cda0a9c7 [composer] Move composer picture related tests into their own seperate test suite (sponsored by City of Uster, Switzerland) 2014-04-28 20:19:00 +10:00
Nyall Dawson
e48225ca35 [composer] Add more tests to attribute table test suite 2014-04-28 19:29:05 +10:00
Nyall Dawson
9f84e9fd98 [composer] Add test for text table cell values 2014-04-28 19:29:04 +10:00
Nyall Dawson
d070558bb2 [composer] Start test suite for composer tables. 2014-04-28 19:29:04 +10:00
Juergen E. Fischer
bc7a5517dd cleanup: replace boolean comparison (x==true => x / x==false => x) (followup b40868c8) 2014-04-22 10:35:01 +02:00
Etienne Tourigny
2d737510d4 Merge pull request #1213 from etiennesky/histogram_bars
Histogram bars
2014-04-16 21:46:42 -03:00
Juergen E. Fischer
a7b5a8a574 indentation update 2014-04-06 12:41:09 +02:00
Denis Rouzaud
8b06a16a75 model/view for layer/field selectors 2014-04-03 14:51:26 +02:00
Nyall Dawson
0b32f2ac38 [tests] Fix composer tests. Rebuild images following MTR rendering changes. Switch tests to use standard test font. 2014-04-03 22:56:34 +11:00
Juergen E. Fischer
4619246f54 fix regression992 test 2014-03-31 23:07:12 +02:00
Juergen E. Fischer
0693fe93ee fix some tests crashes, fix some tests and some mtr updates 2014-03-29 17:55:29 +01:00
Carl Simonson
8dff030787 Be explicit with Qt link libraries
For the analysis tests, instead of linking with all the found
QT_LIBRARIES, pick only the ones that are needed.
2014-03-27 18:43:49 -05:00
Martin Dobias
d0c93b94b2 Merge pull request #1244 from simonsonc/qt-no-deprecated
Fix uses of deprecated Qt methods
2014-03-26 15:37:59 +01:00
Larry Shaffer
20933dedd9 Add README.rst for labeling unit tests 2014-03-25 17:09:42 -06:00
Martin Dobias
af9da1deb4 Invalid CRS instances should be equal 2014-03-25 15:15:36 +01:00
Larry Shaffer
f29d44e759 Add PDF composer output labeling tests setup
- Only support for Poppler with Cairo (pdftocairo), since without Cairo a PDF's vectors are not always rendered properly
2014-03-24 20:40:19 -06:00
Larry Shaffer
db4401fe00 Rebuild labeling tests control images with smaller size (420 x 280) 2014-03-24 20:40:19 -06:00
Larry Shaffer
d4c257f2a9 Fix labeling local server test class setup error 2014-03-24 11:47:04 -06:00
Larry Shaffer
a6f25c5386 Add render checker color tolerance to labeling tests 2014-03-24 11:47:04 -06:00
Nyall Dawson
942d5da59b Add option to ignore interior polygon rings when calculating buffered shading for shapeburst fill mode (can be useful for eg ignoring islands when shading water bodies) 2014-03-22 07:39:14 +11:00
Nyall Dawson
dd4975f285 Merge pull request #1255 from Oslandia/atlas_signals
Atlas signals
2014-03-21 13:23:59 +11:00