Martin Dobias
31f6ce07c3
Changed data structure for added features from list to map to allow efficient lookups
2012-12-19 00:28:04 +01:00
Martin Dobias
9317ffd89a
Merge remote-tracking branch 'origin/master' into new_vector_api
...
Also disabled mapserver until compilation is fixed.
Fixed tests.
Conflicts:
src/app/legend/qgslegendlayer.cpp
src/app/qgsattributedialog.cpp
src/app/qgsattributedialog.h
src/app/qgslabelpropertydialog.cpp
src/app/qgsmaptoollabel.cpp
src/app/qgsvectorlayerproperties.cpp
src/core/CMakeLists.txt
src/core/composer/qgsatlascomposition.cpp
src/core/qgsexpression.cpp
src/core/qgspallabeling.cpp
src/core/qgsvectorlayer.cpp
src/core/qgsvectorlayer.h
src/core/qgsvectorlayerimport.cpp
src/mapserver/qgsprojectparser.cpp
src/mapserver/qgswfsserver.cpp
src/mapserver/qgswfsserver.h
src/mapserver/qgswmsserver.cpp
src/providers/postgres/qgspostgresprovider.cpp
src/providers/spatialite/qgsspatialiteprovider.h
tests/src/core/testqgsexpression.cpp
tests/src/python/test_qgsmemoryprovider.py
2012-12-18 01:35:06 +01:00
Martin Dobias
81b0930498
QgsVectorLayer: large internal refactoring
...
Most important changes:
- introduced feature iterator for QgsVectorLayer
- vector editing moved to QgsVectorEditBuffer
- complete rework of undo/redo commands for vector layers
- geometry cache separated from editing (QgsVectorLayerCache)
- non-essential editing functionality moved to QgsVectorLayerEditUtils
2012-12-17 21:22:42 +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
Larry Shaffer
9069f3bb90
Update undo/redo widget and vector layer rollback
...
- Allows for any number of undo/redo commands with only one refresh
- Significantly decreases time needed to cancel or redo many edits
- Disable undo/redo dock's widgets and toolbar actions when layer not in editing mode
2012-12-14 19:45:12 -07:00
Minoru Akagi
8a90e2cef6
fix references to joined fields of vector layer
2012-11-30 20:12:48 +09: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
Juergen E. Fischer
484f72cf0c
fix layer extent calculation
2012-11-07 01:23:40 +01:00
Radim Blazek
038acbc760
vector feature counts moved to vector layer, enabled feature counts in composer legend, fixes #6237
2012-11-06 17:58:24 +01:00
Matthias Kuhn
9ffca57e2f
Merged Squashed pull request #296 (tabs and groups for feature form)
2012-11-04 22:39:12 +01:00
Martin Dobias
999df64f4e
Skip rendering of features without geometry
2012-10-20 22:38:00 +02:00
Martin Dobias
51122d263a
Store attributes and fields in vectors instead of maps
2012-10-20 22:19:55 +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
Marco Hugentobler
a02225c324
[FEATURE]: possibility to exclude vector attributes from WMS and WFS publication
2012-10-17 13:04:34 +02:00
Martin Dobias
eb6d4d384d
Removed unused QgsFeature::typeName() and QgsFeature::setTypeName()
2012-10-13 13:06:57 +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
8c0a2b511f
Further tweaks to QgsFeatureRequest API, support featureAtId
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
Marco Hugentobler
efc4cb68dd
Possibility to ignore features in the avoid intersection function
2012-09-25 11:34:16 +02:00
Juergen E. Fischer
f3cb57b1eb
SIP bindings update:
...
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Juergen E. Fischer
5603cc0bd2
indentation update
2012-09-07 01:54:52 +02:00
Juergen E. Fischer
65b978fb57
[FEATURE] add optional filter value to value relation edit widget
...
and sync QgsVectorLayer sip bindings with C++ interface
2012-08-28 22:34:15 +02:00
Juergen E. Fischer
b72ddcab7e
typo fixes, translation string updates and german translation update
2012-08-25 11:28:32 +02:00
Matthias Kuhn
02f06f9968
Enable backbuffering / incremental drawing features only on supported platforms
...
Correct typo
2012-08-09 11:21:22 +02:00
Matthias Kuhn
295c464f90
Diabled backbuffering choice on any other system than X11
2012-08-09 11:20:48 +02:00
Matthias Kuhn
7a0467d4a0
Remove merge conflict
2012-08-09 11:17:02 +02:00
Matthias Kuhn
1fdacc5feb
Remove merge conflict
2012-08-09 11:13:07 +02:00
Juergen E. Fischer
2ab022184d
recalculate vector layer extent only when necessary ( fixes #6172 )
2012-08-09 00:30:07 +02:00
Juergen E. Fischer
5ae312cfad
add 'foreach' to astyle and re-run indentation
2012-08-03 06:57:11 +02:00
Juergen E. Fischer
cb1e7d3f6b
fix #6060
2012-07-18 19:08:35 +02:00
Etienne Tourigny
fab96ed093
add project defaults for layer symbology
2012-07-17 08:55:58 -03:00
Denis Rouzaud
67b3acf678
[FEATURE] add multiple selection option in value relations
2012-06-28 20:36:23 +02:00
Juergen E. Fischer
db91ea982b
fix runtime warning
2012-06-28 17:21:27 +02:00
Juergen E. Fischer
ee2f1bdbaf
Use QString::number with QDomElement::setAttribute with double/float ( fixes #5749 )
2012-06-08 18:50:49 +02:00
Martin Dobias
cd97d8235e
fix #5678 (old labeling does not work with rule-based rendering)
2012-05-31 20:38:38 +02:00
Juergen E. Fischer
b870b55683
node tool fixes:
...
- fix OTFR support (fixes #5327.16)
- smaller snap tolerance for geographic CRSs (fixes #5661 )
- use different snapping epsilons in QgsVectorLayer::snapToGeometry() for
layers with geographic and projected crs.
- [API] enhancements (to fix #5661 ):
* QgsGeometry::closestSegmentWithContext: allow passing of segment snapping
epsilon
* QgsPoint::sqrDistToSegment: allow assing of segment snapping epsilon
* QgsMapLayer::crs() add "const"
2012-05-29 22:07:42 +02:00
Juergen E. Fischer
23b40de5a6
vector layer: also consider changed geometries, when there's no select rectangle
2012-05-29 16:05:14 +02:00
Marco Hugentobler
5745fb90ee
Split tool: prefer default values for new features vs. values copied from original feature. Fixes ticket #5475
2012-05-22 09:03:46 +02:00
Etienne Tourigny
2bd054c8e0
fix .qml file loading in /vsigzip and /vsizip items
2012-04-24 22:27:28 -03:00
Juergen E. Fischer
46adf1a017
remap attribute by name not index on paste ( fixes #5425 )
2012-04-21 00:40:58 +02:00
Juergen E. Fischer
4d6cc6d15b
indentation update
2012-04-18 01:34:27 +02:00
Marco Bernasocchi
e1048a9b0a
defaulting to symbology V1 on android (workaround to http://hub.qgis.org/issues/5170 )
2012-03-28 23:58:49 +02:00
Giuseppe Sucameli
39069220b2
[FEATURE] load/save layer style (new symbology) from/to SLD document
...
This is a huge commit, but it's mostly new functions. It changes only few lines on the existing code.
- add conversion between QgsExpression and OGC Filter Encoding 1.1
- add conversion between QgsRendererV2 and OGC Symbology Encoding 1.1
Work done for Regione Toscana-SIGTA
2012-03-08 05:33:19 +01:00
Juergen E. Fischer
0ed1df83cc
fix #5000
2012-02-24 10:37:24 +01:00
Juergen E. Fischer
d52905ccc2
setRenderer(V2) also updates V2 renderer flag
2012-02-09 11:38:08 +01:00
Juergen E. Fischer
04a2824258
execute undo stack on rollBack() ( fixes #4635 )
2012-02-02 22:05:06 +01:00
Juergen E. Fischer
e87ff24009
reject empty field names in QgsVectorLayer::addAttribute
2012-02-01 09:28:32 +01:00
Juergen E. Fischer
f294c16b94
fix file permissions
2012-01-27 16:05:37 +01:00
Martin Dobias
ace2844da3
Rule-based renderer: enable new labeling
2012-01-27 00:50:47 +01:00
Martin Dobias
a7cf5e4b83
[FEATURE] Merge branch 'rules' - new rule-based rendering
...
Conflicts:
src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp
2012-01-24 11:51:36 +01:00