783 Commits

Author SHA1 Message Date
Radim Blazek
e210a57101 QgsError for better error propagation to user, started using for rasters 2012-10-24 13:59:19 +02:00
Larry Shaffer
e08833ac3b Adv labeling, add multi-line spacing and alignment 2012-10-23 08:01:06 -06:00
Larry Shaffer
332ce329af Fix #6505, set typedef for Mac size_t in bindings 2012-10-22 17:30:16 -06:00
Juergen E. Fischer
dbab4a2425 update QgsVectorLayer bindings (fixes #6550) 2012-10-21 13:21:35 +02:00
Martin Dobias
51122d263a Store attributes and fields in vectors instead of maps 2012-10-20 22:19:55 +02:00
Marco Hugentobler
d6b155f74c Add const 2012-10-20 00:56:44 +02:00
Martin Dobias
8bf959093f QgsFeature: use a vector of attributes instead of a map (for faster access) 2012-10-19 00:31:03 +02:00
Radim Blazek
b5412cbf95 raster identify sip fix 2012-10-18 22:42:35 +02:00
Radim Blazek
df85492c40 raster identify context, QVariant values, enables wcs caching and makes wms more robust 2012-10-17 14:51:35 +02:00
Radim Blazek
5a6401c983 VSI/CPLMalloc/Free replaced by QgsMalloc/Free where feasible 2012-10-16 11:10:43 +02:00
Radim Blazek
6b55ee4fa0 undersampling if possible in QgsRasterDataProvider, multicolor widget loadMinMax fix 2012-10-16 10:34:34 +02:00
Martin Dobias
4bc60ff423 Removed unused QgsFeature::isDirty() and QgsFeature::clean() 2012-10-13 13:33:12 +02:00
Martin Dobias
eb6d4d384d Removed unused QgsFeature::typeName() and QgsFeature::setTypeName() 2012-10-13 13:06:57 +02:00
Radim Blazek
7cb523a26f + QgsRasterBlock 2012-10-11 16:12:09 +02:00
Alexander Bruy
b1ac9469cf expose encodedUri() method in bindings 2012-10-10 11:57:00 +03:00
Larry Shaffer
e125e98eb4 [FEATURE] Fix #6482, options for showing upside-down labels
- Adv Labeling option to 'Show upside-down labels': never, when rotation defined, or always
- 'Never' (default) option is same as before, labels with 90 <= angle < 270 are turned so their text is always upright
- 'When rotation defined' option shows upside-down labels if their rotation is layer- or data-defined (dynamic labels are turned upright)
- 'Always' option shows upside-down labels at layer- or data-defined rotations and for dynamic labels
2012-10-09 18:50:47 -06:00
Martin Dobias
f217a7fb19 Fixes after rebase 2012-10-09 20:57:35 +02:00
Martin Dobias
e110855e6c [API] added QgsFeatureIterator, changed QgsVectorProvider API
Vector data provider now has getFeatures() method to access features.
select(), nextFeature(), featureAtId(), rewind() were removed resp. moved to provider's feature iterator implementations.

Providers that currently do not implement the new API were disabled.
2012-10-08 17:47:51 +02:00
Martin Dobias
b863ca195e Allow access to feature attributes by name 2012-10-08 17:16:54 +02:00
Martin Dobias
70ff8ef6dd Added select() variant with QgsFeatureRequest for simpler construction of requests 2012-10-08 17:14:45 +02:00
mhugent
9f0d858175 Merge pull request #274 from Oslandia/atlas_integration
Add access to the atlas layer in the expression builder GUI for labels.
2012-10-06 06:24:58 -07:00
Alexander Bruy
29e009f0ae fix SIP bindings after atlas merge 2012-10-06 14:49:01 +03:00
Hugo Mercier
9135226514 Add access to the atlas' layer in the expression builder GUI for labels.
QgsAtlasComposition is now held by QgsComposition
2012-10-06 13:22:04 +02:00
Marco Hugentobler
68494068da Merge atlas branch 2012-10-06 11:36:15 +02:00
Juergen E. Fischer
9fb31117cb sip updates 2012-10-06 11:22:52 +02:00
Juergen E. Fischer
3c525fdf30 python fixes:
- update sip bindings (including QgsRasterPipe and QgsOWSSourceSelect)
- helpConsole: show icons from resources
2012-10-05 21:56:43 +02:00
Hugo Mercier
77761b0894 Merge branch 'master' of https://github.com/qgis/Quantum-GIS into atlas 2012-10-05 17:26:16 +02:00
Hugo Mercier
d904da4ce1 Update of QgsAtlasComposition SIP (with Python unit tests as well) 2012-10-05 16:25:11 +02:00
Juergen E. Fischer
14cad93bae setup sip dependencies 2012-10-04 13:15:42 +02:00
Hugo Mercier
e4364f3615 Merge branch 'atlas' into atlas2
Conflicts:
	python/core/composer/qgscomposition.sip
	tests/src/python/CMakeLists.txt
2012-10-04 11:44:18 +02:00
Hugo Mercier
b5f736ad21 Revert "Resolved merge conflicts when reverting 686f632"
This reverts commit a654e274a352ef29354de0bcb13e96444868c806.
2012-10-04 11:19:04 +02:00
Hugo Mercier
45593bf4b5 Revert "Revert "Merge pull request #245 from Oslandia/atlas_integration""
This reverts commit 8a1953b9e710ea25dac502b32eab9e0e8d652b10.
2012-10-04 11:18:17 +02:00
Etienne Tourigny
777ce59420 replace QgsRasterLayer::thumbnailAsPixmap() with previewAsPixmap() : return QPixmap and add size and background color parameters ; remove QgsRasterLayer::thumbnailAsImage() as it's not used 2012-10-04 01:45:27 -03:00
Radim Blazek
d2a54d525c wcs capabilities cache, fix extent verification 2012-10-03 23:45:37 +02:00
Juergen E. Fischer
8349d52015 indentation cleanup 2012-10-02 16:20:04 +02:00
Hugo Mercier
2aa566d316 Add/Fix SIP for QgsComposition, QgsComposerMap and QgsAtlasRendering 2012-10-02 14:27:42 +02:00
endmax
7f208338ae - QgsSymbolLayerV2 descendants missing from sip.
QgsSymbolLayerV2 class has been modified to convert into SubClass as needed
- A test is provided for check subclasses binding and behaviour
- A fix has been done for src\core\symbology-ng\qgsellipsesymbollayerv2.cpp because of an error in createFromSld about fillColor

Signed-off-by: endmax <massimo.endrighi@geopartner.it>
2012-10-02 13:18:00 +02:00
Tim Sutton
8a1953b9e7 Revert "Merge pull request #245 from Oslandia/atlas_integration"
This reverts commit fe8385e7f5735507adf1acfcce81a399fa6bc6f5, reversing
changes made to 23352ce0d66855a4a9c403a81feaa1884415e45c.
2012-10-01 11:04:04 +02:00
Tim Sutton
a654e274a3 Resolved merge conflicts when reverting 686f632 2012-10-01 11:03:48 +02:00
Juergen E. Fischer
4b263d6b06 and more sip fixes 2012-09-30 18:18:40 +02:00
Juergen E. Fischer
686f632f32 fix destruction of private members in atlas and add sip bindings (also adds
CORE_EXPORT)
2012-09-29 16:20:08 +02:00
Hugo Mercier
6e2320f26a Merge branch 'master' of https://github.com/qgis/Quantum-GIS into atlas
Conflicts:
	src/core/composer/qgscomposition.cpp
2012-09-28 15:46:13 +02:00
Hugo Mercier
ff6b04b672 Fix QgsExpression SIP 2012-09-27 11:06:03 +02:00
Juergen E. Fischer
c918952c74 more sip fixes 2012-09-26 18:46:52 +02:00
Juergen E. Fischer
71c5d4cff9 sip fixes 2012-09-26 17:56:27 +02:00
Hugo Mercier
ff41bec29b Merge branch 'master' of https://github.com/qgis/Quantum-GIS into atlas
Conflicts:
	python/core/qgsexpression.sip

Add a missing function to QgsExpression
2012-09-26 17:51:44 +02:00
Hugo Mercier
e70b1524f9 Update QgsExpression's SIP 2012-09-26 16:40:22 +02:00
Hugo Mercier
9a671f98a0 Add support for user-defined special columns in expressions 2012-09-26 16:39:18 +02:00
Juergen E. Fischer
b86453a390 typo fixes and german function help update 2012-09-26 09:01:07 +02:00
Juergen E. Fischer
4c97806d26 fix doxygen warnings 2012-09-25 21:29:32 +02:00