211 Commits

Author SHA1 Message Date
mhugent
b19baed341 [FEATURE]: Possibility to rotate composer map
git-svn-id: http://svn.osgeo.org/qgis/trunk@11847 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-26 09:46:21 +00:00
jef
2872f0f057 fix sip error
git-svn-id: http://svn.osgeo.org/qgis/trunk@11834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-24 20:34:18 +00:00
timlinux
763fbb2049 [FEATURE] Applied patch from #1974 to enable render caching capability in QGIS. This speeds up common operations such as layer re-ordering, changing symbology, WMS / WFS client, hiding / showing layers and opens the door for future enhancements such as threaded rendering and pre-compositing layer cache manipulation.
git-svn-id: http://svn.osgeo.org/qgis/trunk@11831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-24 13:30:36 +00:00
timlinux
e99592f10b Updated sip bindings to match changes in r11825
git-svn-id: http://svn.osgeo.org/qgis/trunk@11827 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-22 11:34:42 +00:00
timlinux
49b970adfd [FEATURE] Added option to display position as Degrees,Minutes,Seconds in the status bar
git-svn-id: http://svn.osgeo.org/qgis/trunk@11825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-21 14:59:44 +00:00
jef
94ab29b1cf different fix for #1942
git-svn-id: http://svn.osgeo.org/qgis/trunk@11780 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-08 23:00:39 +00:00
jef
3d35c57d9d fix #1959
git-svn-id: http://svn.osgeo.org/qgis/trunk@11773 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-08 16:10:36 +00:00
jef
4ed28f36b8 wider support for vector layer queries:
- add query support for OGR and spatialite layers (additional to postgres)
- QgsDataProvider::setSubsetString() now returns if the query is successful.
- add optional parameter to limit number of values returned from QgsVectorDataProvider::uniqueValues() 
- rename QgsDbSourceSelect to QgsPgSourceSelect, use QgsVectorLayer for layer queries and make it wider
- QgsDataSourceURI: improve quoting
- fix relative path support for SpatiaLite on windows
- rename QgsPgQueryBuilder to QgsQueryBuilder and use QgsVectorLayer for
  queries instead of postgres

cleanups:
- rename QgsServerSourceSelect to QgsWMSSourceSelect



git-svn-id: http://svn.osgeo.org/qgis/trunk@11762 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-06 22:05:52 +00:00
jef
ed34b139f4 - fix load of layers saved with relative paths on *x
- also save relative paths to spatialite databases
- show path mode as combobox
- add QgsDataSourceURI::setDatabase()


git-svn-id: http://svn.osgeo.org/qgis/trunk@11729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-28 21:38:25 +00:00
jef
dfb5aa118d fix line endings
git-svn-id: http://svn.osgeo.org/qgis/trunk@11640 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-12 20:37:31 +00:00
jef
92bb2a3117 [FEATURE] multi-layer identify
git-svn-id: http://svn.osgeo.org/qgis/trunk@11572 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-05 19:49:47 +00:00
jef
ddd64be82b improve relative path support
git-svn-id: http://svn.osgeo.org/qgis/trunk@11571 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-05 19:49:10 +00:00
mhugent
9764c23594 Function argument can be const
git-svn-id: http://svn.osgeo.org/qgis/trunk@11545 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-04 19:47:07 +00:00
mhugent
20591bac19 [FEATURE] A reshape tool to apply to line/polygon geometries. The part of a geometry between the first and last intersection of the reshape line will be replaced
git-svn-id: http://svn.osgeo.org/qgis/trunk@11500 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-25 19:54:28 +00:00
mhugent
a51fb58fa7 Consider transparency in composer legend (even though legend items for transparent layers are problematic because of background). Removed private section from qgslegendmodel.sip as private members cannot be used anyway
git-svn-id: http://svn.osgeo.org/qgis/trunk@11439 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-19 15:02:55 +00:00
wonder
013bbd2819 PyQGIS: fixed invalid signature of writeXML function
git-svn-id: http://svn.osgeo.org/qgis/trunk@11407 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-17 10:40:36 +00:00
mhugent
702fc884ed Fix current_date field in composer label
git-svn-id: http://svn.osgeo.org/qgis/trunk@11350 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-12 07:35:38 +00:00
jef
bd71472ba0 fix syntax error
git-svn-id: http://svn.osgeo.org/qgis/trunk@11278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-05 19:55:30 +00:00
homann
b4f7e94235 Updated SIP-files after r11275 and r11276. Fix for #1220.
git-svn-id: http://svn.osgeo.org/qgis/trunk@11277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-08-05 16:43:33 +00:00
jef
0c59c74425 [FEATURE] symbology enhancements:
- add QgsMarkerCatalogue::refreshList() to refresh the symbol list w/o restart
- allow refresh of symbols via popup menu on the renderer's symbol selection
- add support for data define symbol(name)s
- add support for font symbol markers (only data define - no gui yet)
- pass QgsRenderContext to rendering methods
- add symbol size in map units (ie. symbols that keep the size in mapunits
  independant of the mapscale)



git-svn-id: http://svn.osgeo.org/qgis/trunk@11152 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-23 10:59:59 +00:00
wonder
0054b7a41d Undo changes in active edit command when it gets destroyed.
Fixed return value for deletion of vertices.
Contributed by Richard Kostecky.


git-svn-id: http://svn.osgeo.org/qgis/trunk@11143 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-22 11:40:13 +00:00
mhugent
de9d62fcde Add missing edit types in python bindings (ticket #1781)
git-svn-id: http://svn.osgeo.org/qgis/trunk@11084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-15 11:33:17 +00:00
mhugent
0408094792 Updated python bindings with some added functions
git-svn-id: http://svn.osgeo.org/qgis/trunk@11014 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-07-03 15:42:42 +00:00
jef
be7c156a3f sync QgsVectorDataProvider sip interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@10983 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-26 17:37:59 +00:00
jef
7331968172 re-add vector attribute method removed in r10863
git-svn-id: http://svn.osgeo.org/qgis/trunk@10982 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-26 17:04:31 +00:00
jef
4f604a6aaf fix a warning and add a note about QgsVectorDataProvider::addAttributes() change
git-svn-id: http://svn.osgeo.org/qgis/trunk@10979 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-25 17:03:48 +00:00
wonder
7fd5ba816a Added infrastructure for vector editing undo/redo functionality.
Note - when implementing edit tools for vector layer:
All editation should be done between beginEditCommand() and endEditCommand()
calls so that the operation are stored. 

Note - when doing changes inside QgsVectorLayer code:
When doing any changes inside QgsVectorLayer they should be done using edit*() functions
and _not_ directly e.g. mChangedGeometries[fid] = (...) otherwise the change won't be
stored in the undo stack and it would lead to invalid behaviour of undo.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 14:17:18 +00:00
mhugent
535490afff Support for enumerations as an edit type in the infotool dialog (with combo box selection)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10902 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-11 07:23:31 +00:00
jef
c45c93c47e fix build problems with GRASS 6.5 GEOS support and #1723
git-svn-id: http://svn.osgeo.org/qgis/trunk@10893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-09 06:57:55 +00:00
mhugent
bbc5fdc891 Use a DPI parameter in the WMS request. This allows printing with QGIS from QGIS mapserver (and is ignored by the other WMS servers)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10885 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-05 13:13:45 +00:00
jef
3e01e6d3d5 - allow setting of field width and precision when adding attributes
- update vector data providers accordingly
- postgres provider:
  - add support for more native types and setting of column comments
  - catch errors on retrieval of defaults values (fixes #1713)



git-svn-id: http://svn.osgeo.org/qgis/trunk@10863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-30 17:48:49 +00:00
mhugent
cfd97adee1 Revert change in qgsvectorlayer.sip
git-svn-id: http://svn.osgeo.org/qgis/trunk@10847 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-25 19:29:15 +00:00
mhugent
9a2e66a11f added overlay methods to python bindings for QgsVectorLayer
git-svn-id: http://svn.osgeo.org/qgis/trunk@10845 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-25 14:08:27 +00:00
wonder
1e6882ada9 Fixed documentation of QgsGeometry::asMulti*() functions
git-svn-id: http://svn.osgeo.org/qgis/trunk@10836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-22 10:58:55 +00:00
mhugent
749390f2e4 Change in overlay classes such that pal object and geos geometry don't appear in the public interfaces (important for python bindings)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-14 15:58:24 +00:00
wonder
c2d0a40061 Renamed delete hole tool to delete ring per suggestion by Borys.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10705 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-02 19:38:46 +00:00
wonder
c245c644ae Added changeGeometry() method as have been suggested on mailing list.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10701 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-02 16:13:59 +00:00
wonder
cbc57dcb27 New vector editing tools:
- delete part of multipart feature
- delete hole from polygon
- simplify feature

These tools are in the new "advanced" editing toolbar.
Contributed by Richard Kostecky (qgis-mapper project).


git-svn-id: http://svn.osgeo.org/qgis/trunk@10700 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-02 15:37:35 +00:00
jef
468550c6d2 speed up loading of projects with (complex) views:
save key column of postgresql layers to projects file and try it first on
reload.



git-svn-id: http://svn.osgeo.org/qgis/trunk@10657 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-26 22:49:37 +00:00
jef
02bf44eb2c complete QgsDataSourceURI() methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@10581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-16 22:09:45 +00:00
jef
93b2f42c8e add QgsDataSourceURI::database()
git-svn-id: http://svn.osgeo.org/qgis/trunk@10579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-16 20:15:45 +00:00
wonder
62d01abe74 PyQGIS: wrapped QgsMapTip and QgsRunProcess.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10557 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-13 12:29:59 +00:00
wonder
4f14c52aed Fixed handling of tolerance for projected layers (#1634).
Patch contributed by Richard Kostecky.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10555 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-13 10:55:56 +00:00
wonder
48d858bf63 Added a bunch of missing functions in bindings for QgsSymbol.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10548 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-12 22:01:13 +00:00
mhugent
fbd3adeff0 remove overlay classes in core.sip until some problems are fixed...
git-svn-id: http://svn.osgeo.org/qgis/trunk@10507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-08 10:29:48 +00:00
mhugent
03c843844c Add overlay object, modify core.sip to include it
git-svn-id: http://svn.osgeo.org/qgis/trunk@10506 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-08 10:15:22 +00:00
mhugent
ae26704a0b add sip-file for vector overlay
git-svn-id: http://svn.osgeo.org/qgis/trunk@10505 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-08 09:59:33 +00:00
jef
a415b87860 added notes about new optional sslmode parameter in 1.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@10493 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-07 08:24:55 +00:00
jef
326f4727d7 make sslmode optional
git-svn-id: http://svn.osgeo.org/qgis/trunk@10482 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-06 09:41:30 +00:00
wonder
2b08dfda2b Added possibility to express tolerances for digitising also in pixels in addition to map units. Patch contributed by Richard Kostecky.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-05 16:46:13 +00:00