663 Commits

Author SHA1 Message Date
Nathan Woodrow
7e29d7ced1 [API] Add method to QgsMapLayerRegistry to get layers using name 2013-01-08 07:12:10 +10:00
Juergen E. Fischer
460f578d93 - [API] add optional progress dialog to QgsVectorLayerImport
- postgres/mssql: fix primary key generation on import (fixes #6907)
- fix crash on browser refresh after vector layer import
2013-01-07 01:01:27 +01:00
Larry Shaffer
5cd7dc5d4d Merge pull request #372 from dakcarto/iface_enviro_3
[FEATURE] Configure custom environment variables
2013-01-06 00:00:30 -08:00
Larry Shaffer
6a936b936b Draw SVG symbol from cached QImage unless it exceeds half of cache size, then use QPicture
- Fix #6855, SVG markers/fills larger than half cache (559^2 X 32 + SVG) are drawn with QPicture
- Fix #6861, make QPicture SVG symbols scale with Composer page zoom
- Fix #6861, make SVG symbol output to print/image more accurate by setting 'size' to double
- Update/add support for non-squared SVG via QImage and QPicture, on screen and in output to print/image
- Non-squared SVG QImage/QPicture can now be used in pattern fill, without excess space
2013-01-04 09:43:59 +01:00
Larry Shaffer
8d582ade2e [FEATURE] Configure custom environment variables
- Fix for #3097
- Could help plugins, like SEXTANTE, work better across platforms via abstracted coding based upon env vars
- In app prefs, configure variables and view current set, with tooltips to show pre-startup value (if any)
2013-01-03 03:33:43 -07:00
Alexander Bruy
5e45a22d06 remove deprecated methods from API 2012-12-23 10:40:23 +02:00
Marco Hugentobler
79947fe942 Merge branch 'master' of github.com:qgis/Quantum-GIS 2012-12-21 13:58:19 +01:00
Radim Blazek
d58d3476c0 raster creation moved from QgsGdalProvider::create() to GDAL provider extern C function 2012-12-20 14:44:10 +01:00
Marco Hugentobler
ac5267178c Merge branch 'crs_transform_cache' 2012-12-18 22:28:41 +01:00
Radim Blazek
9fce669ba2 Improved raster singleband pseudocolor classification GUI 2012-12-18 13:46:45 +01:00
Radim Blazek
76115ec886 Raster statistics and histogram moved from QgsRasterDataProvider to QgsRasterInterface 2012-12-17 18:29:08 +01:00
Radim Blazek
d435bfc876 QgsRasterBlock::DataType moved to QGis::DataType 2012-12-17 14:04:10 +01:00
Marco Hugentobler
e0d9796fda Use coordinate transform cache in maprenderer 2012-12-17 08:55:31 +01:00
Marco Hugentobler
d4aa0ed62a Change binding for QgsMapRenderer::render 2012-12-16 11:05:51 +01:00
Larry Shaffer
3b3d1a75da Update labeling tools and make more undo/redo friendly
- Change QgsVectorLayer::redoEditCommand to only strip invalid QVariants, not null ones
- Update undo/redo command text to start with action and end with sample of label text
- Update pin/unpin labels tool to be fully undo/redo-able
- Store generated label text in QgsLabelPosition (sans direction symbols)
- Update change label properties dialog to show whether label text is expression
2012-12-15 17:30:39 -07:00
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
Marco Hugentobler
d6b155f74c Add const 2012-10-20 00:56:44 +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
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