183 Commits

Author SHA1 Message Date
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
wonder
68f2530603 Added missing bindings to QgsMapRenderer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-04 22:23:50 +00:00
gcontreras
6100301b6f Changes to remove password from ogr database uris in legend and setting port 5151 as default for sde connections.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-03 04:01:19 +00:00
jef
1e64ed34c6 make SSL mode of PostgreSQL connections configuable
git-svn-id: http://svn.osgeo.org/qgis/trunk@10456 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-04-02 21:32:13 +00:00
cfarmer
1e7c7e86f2 adds both simplify and centroid to qgsgeometry -> these will be used by the qgsanalysis branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@10392 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-21 21:53:52 +00:00
gcontreras
5083264fc7 Changes in openvector dialog to support all drivers available in ogr including database and protocol drivers
git-svn-id: http://svn.osgeo.org/qgis/trunk@10289 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-18 05:38:23 +00:00
mhugent
8f02ced2d6 Remove the private members from the composer sip files as they cannot be used from Python anyway
git-svn-id: http://svn.osgeo.org/qgis/trunk@10275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-03-13 20:46:02 +00:00
mhugent
233cf07bb6 Added /TransferThis/ keywords in the constructor of the composer item classes as suggested by Martin, fixed the possibility of moving the paper item
git-svn-id: http://svn.osgeo.org/qgis/trunk@10248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-28 14:35:45 +00:00
mhugent
f7fd50ffa4 Python bindings for composer classes
git-svn-id: http://svn.osgeo.org/qgis/trunk@10244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-27 13:57:26 +00:00
jef
bb61177a46 revert accidental commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@10239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 20:58:19 +00:00
mhugent
0baa9349ea saver string list handling
git-svn-id: http://svn.osgeo.org/qgis/trunk@10236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-25 19:15:23 +00:00
wonder
3ac50201b5 QgsGeometry::asCollection works also for single-part geometries
git-svn-id: http://svn.osgeo.org/qgis/trunk@10034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-27 12:44:59 +00:00
wonder
55d52f76ff implemented QgsGeometry::asGeometryCollection()
git-svn-id: http://svn.osgeo.org/qgis/trunk@10026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-26 22:04:12 +00:00
jef
7cd83173d5 fix #1490
git-svn-id: http://svn.osgeo.org/qgis/trunk@9977 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-16 21:08:35 +00:00
wonder
fde5e77bb0 Added QgsRectangle::contains predicate.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9973 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-01-15 18:02:58 +00:00
jef
bac663a4cd fix #1462
git-svn-id: http://svn.osgeo.org/qgis/trunk@9805 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-15 13:15:47 +00:00
mhugent
c569639b7c Applied patch from Borys to invert selection when ctrl-key pressed
git-svn-id: http://svn.osgeo.org/qgis/trunk@9754 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-08 17:02:01 +00:00
jef
270fe71f75 new fix for #1162 restoring lost qml features
git-svn-id: http://svn.osgeo.org/qgis/trunk@9747 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-07 03:10:00 +00:00
wonder
635abe2b88 Added QgsVectorLayer::deselect()
git-svn-id: http://svn.osgeo.org/qgis/trunk@9729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-02 23:09:55 +00:00
wonder
0baad2b3ae PyQGIS: another missing bits
git-svn-id: http://svn.osgeo.org/qgis/trunk@9711 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-26 11:01:03 +00:00
wonder
538827ccc9 Allow editing when _any_ of the editing capabilities is supported by data provider
(instead of checking only AddFeatures)


git-svn-id: http://svn.osgeo.org/qgis/trunk@9708 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-25 23:37:13 +00:00
wonder
48724e0561 fixed #1305
git-svn-id: http://svn.osgeo.org/qgis/trunk@9683 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-21 22:55:58 +00:00
wonder
e9f6cecda8 PyQGIS: fixed QgsSnapper / QgsMapCanvasSnapper bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@9671 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-19 20:03:30 +00:00
wonder
43bf222968 - QgsSnapper: use one list of QgsSnapper::SnapLayer structs rather than three separate lists
- PyQGIS: finished QgsSnapper binding, added QgsMapCanvasSnapper


git-svn-id: http://svn.osgeo.org/qgis/trunk@9657 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 17:20:21 +00:00
wonder
84eafcc8a2 Added python bindings for changes in r9649.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9653 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-17 16:04:30 +00:00
wonder
e15424a23e PyQGIS fix: QgsMapLayer has QObject as subclass
(it wasn't possible to connect to its signals)


git-svn-id: http://svn.osgeo.org/qgis/trunk@9637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-14 23:42:08 +00:00
wonder
acd3a32c1f typedef for size_t changed to be defined outside classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@9629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-12 19:54:21 +00:00
wonder
9221974159 QgsVectorLayer::featureAtId() - use the same semantics as QgsVectorDataProvider::featureAtId()
i.e. return true on success


git-svn-id: http://svn.osgeo.org/qgis/trunk@9620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-11 13:13:13 +00:00
timlinux
b40ceb2d62 API cleanups for QgsRect that got overlooked...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-09 00:14:12 +00:00