5506 Commits

Author SHA1 Message Date
Alexander Bruy
ee9c811d43 fix QgsDistanceArea bindings 2012-12-12 20:29:30 +02:00
Alexander Bruy
dcf3ede3c3 make username and password in-out parameters in QgsCredentials bindings 2012-12-11 14:04:56 +02:00
Tim Sutton
cd74d71a1d Transfer ownership of transparency to prevent crashing python apps. 2012-12-06 12:52:17 +02:00
Alexander Bruy
d32a3773c3 add missed renderer capabilities to Python bindings 2012-12-04 12:09:09 +02:00
Giuseppe Sucameli
dffae7962f move svg utils functions to the symbollayerv2utils class 2012-12-02 20:28:15 +01:00
Giuseppe Sucameli
e81b044889 fix segfaults and memory leaks in sip files (fix #6805) 2012-12-02 19:52:50 +01:00
Magnus Homann
69308d3767 Merge branch 'master' into qgsexpression_DA 2012-11-28 19:17:15 +01:00
Larry Shaffer
ee12df2f4e Add option to set inside and outside maximum for delta angle between curved label characters
- Addresses #6763, #6673 and #2113, but does not perform any feature simplification
- Recommend adding some letter [and word] spacing before applying any delta angle adjustment
2012-11-27 17:48:01 -07:00
Giuseppe Sucameli
454c732a3d [FEATURE] add support to SVG images from url.
Work done for Regione Toscana-SITA
2012-11-27 01:02:51 +01:00
Magnus Homann
e063c237d0 Update from master 2012-11-23 21:01:04 +01:00
Giuseppe Sucameli
3700d84306 fix build 2012-11-23 00:30:51 +01:00
Tim Sutton
7dd8a2ec5e Better annotation of vector file writer api changes 2012-11-22 10:35:20 +02:00
Etienne Tourigny
4c53c62a03 adjust .sip file after rebase 2012-11-17 19:01:46 -02:00
Etienne Tourigny
31c11edb2f make QgsCptCityColorRampV2 subclass of QgsVectorGradientColorRampV2 and adjust both accordingly (changed stops map to list) 2012-11-17 19:01:46 -02:00
Larry Shaffer
e3d30af735 Update to limit of number of features sent to PAL
- Distributes max number across total number of features registered in PAL
- Caveat: PAL may not show label for every registered feature
2012-11-15 21:21:13 -07:00
Jürgen Fischer
9183adce9f Merge pull request #320 from matthias-kuhn/fix-attredit
Fix for http://hub.qgis.org/issues/6647
2012-11-15 16:12:39 -08:00
Larry Shaffer
f210668cb2 Add option to limit number of labels rendered per layer (OFF by default)
- Initial limit set to 2000
- Results would look better if limited subset was a random sampling of all features
2012-11-13 15:40:19 -07:00
Larry Shaffer
bb947b4762 Add custom line direction symbols to labeling
- Options to place symbol above or below label text
- Option to reverse symbol direction
- Add character selector dialog for single font to src/gui
2012-11-11 16:12:45 -07:00
Larry Shaffer
15fe9926ce Add data defined option to always show a label, unless overridden
- Label is skipped during PAL priority calculation, permitting collisions and overlaps
- Overridden by layer and data defined 'scale/pixel size visibility' and data defined 'show label'  options
- Add option to Change Label tool
2012-11-10 00:49:50 -07:00
Nathan Woodrow
a7699e2696 [FEATURE] Add ability to create user defined Python (and C++) expression functions 2012-11-10 11:20:26 +10:00
Larry Shaffer
e5f07edf55 Add pixel size limiting for labels defined in map units
- Allows user to quickly set visibility thresholds based upon text legibility
- By default initially on for map unit labels to skip rendering at sizes < 3 px
2012-11-09 14:27:55 -07:00
Matthias Kuhn
d218d0a69f Add python bindings for setEditorLayout 2012-11-08 08:56:01 +01:00
Radim Blazek
a8934a28f7 invert raster colors better 2012-10-27 21:32:08 +02:00
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