Nyall Dawson
718c5fde2e
Catch errors when reprojecting for GeoJSON export
2016-05-09 21:19:28 +10:00
Nyall Dawson
9ea56acde0
[server] Always export GeoJSON in WGS84 ( fix #14609 )
2016-05-09 21:19:28 +10:00
Nyall Dawson
ca2c6290b1
Always export GeoJSON features in WGS84 (match specifications)
2016-05-09 21:19:28 +10:00
Nyall Dawson
55793a4534
Always create valid GeoJSON (both geometry and properties members
...
are required
2016-05-09 21:19:28 +10:00
Nyall Dawson
3681e2ceeb
Add method for exporting QgsFeatureList to GeoJSON featurecollection
2016-05-09 21:19:28 +10:00
Nyall Dawson
5c1a05c8a1
Support including attributes of related (child) features in
...
GeoJSON feature export
Sponsored by Kanton of Zug, Switzerland
2016-05-09 21:19:28 +10:00
Nyall Dawson
34d468e64b
Allow setting list of attributes to exclude from json exports
2016-05-09 21:19:28 +10:00
Nyall Dawson
9041c95464
Allow injecting extra properties into feature's GeoJSON export
...
Sponsored by Kanton of Zug, Switzerland
2016-05-09 21:19:28 +10:00
Nyall Dawson
c3f6c39784
Refactor to move JSON exporter to its own class
2016-05-09 21:19:28 +10:00
Nyall Dawson
935f4ad21c
Support encoding lists and maps to json
2016-05-09 21:19:28 +10:00
Nyall Dawson
819ed86a69
Correctly escape more json strings
2016-05-09 21:19:28 +10:00
Nyall Dawson
729c70379e
Blacklist PyQgsJSONUtils test from qt5 (uses null)
2016-05-09 21:19:28 +10:00
Nyall Dawson
24309dfb3a
[FEATURE] New class QgsJSONUtils with utilities for converting
...
features to and from GeoJSON strings
Sponsored by Kanton of Zug, Switzerland
2016-05-09 21:19:28 +10:00
Marco Hugentobler
8d70a5141b
Geometry type check in merge tool is not necessary any more (geometry type conversion is done in provider)
2016-05-09 11:22:14 +02:00
Alexander Bruy
f1e6d8731b
[processing] add support for int64 fields ( fix #14777 )
2016-05-09 11:43:58 +03:00
Matthias Kuhn
14acde5bb9
Merge pull request #3013 from pierstitus/pseudocolor_renderer
...
Rewrite pseudocolor render code to improve speed
2016-05-09 09:06:38 +02:00
Matthias Kuhn
fa11390dd3
Doxygen
2016-05-09 09:01:34 +02:00
Matthias Kuhn
ffcf655b85
Don't always show first column in attribute table
...
Add tests for some basic attribute table functionality
Fix #14774
Fix #14765
Fix #14766
2016-05-09 08:56:42 +02:00
mhugent
59db4d0ebc
Merge pull request #3045 from mhugent/convert_geometry_2
...
Convert geometry 2
2016-05-09 08:33:58 +02:00
Harrissou Sant-anna
cf45742fe8
use same icons as in other dialogs for this task
2016-05-09 07:02:30 +02:00
Nyall Dawson
a65d9c522f
Fix indeterminate state for numeric line edits was showing "NULL"
2016-05-09 13:49:20 +10:00
Nyall Dawson
8126d460db
New class QgsWebPage
...
QgsWebPage is a QWebPage subclass which automatically handles
redirecting JavaScript console output to the QGIS message log.
This makes it easier to debug JS errors and scripts used inside
composer HTML and label items.
Sponsored by North Road
2016-05-09 13:49:20 +10:00
Nyall Dawson
ea20149239
[FEATURE] New "Filled marker" symbol layer type
...
A "filled marker" is similar to the simple marker symbol layer, except
that it uses a fill sub symbol to render the marker. This allows use
of all the existing QGIS fill (and outline) styles for rendering
markers, eg gradient or shapeburst fills.
A new abstract class QgsSimpleMarkerSymbolLayerBase has been created
from which both QgsSimpleMarkerSymbolLayerV2 and
QgsFilledMarkerSymbolLayer derive. All common code has been moved to
this base class, allowing for easy addition of new shapes or features
to both simple markers and filled markers without duplication.
Also, adds a lot of missing docs to marker symbol layers.
2016-05-07 22:06:10 +10:00
Nyall Dawson
cda387cb6f
Ensure that @symbol_color is always correct for symbol layer types
...
with subsymbols
2016-05-07 21:52:19 +10:00
Nyall Dawson
d823be1ede
Add some clarifications to QgsRelation api
2016-05-07 21:49:31 +10:00
Marco Hugentobler
0b4961c224
Fix warning
2016-05-06 16:51:41 +02:00
Piers Titus van der Torren
9470c36aa0
Change QList to QVector for speed increase
...
mLUT and mColorRampItemList are changed,
for mLUT it shouldn't matter that much since an int is stored
sequentially anyway, also in a QList,
for mColorRampItemList it should make a difference,
though it has to be converted from/to QList to keep API
2016-05-06 15:56:16 +02:00
Marco Hugentobler
11b7a2702c
Move conversion of added/changed geometry to vector data provider
2016-05-06 15:26:13 +02:00
Marco Hugentobler
e9d3a3aca4
Slightly more precise numbers for circular string centroids
2016-05-06 14:07:13 +02:00
Marco Hugentobler
034c7dbbdb
Make sure the curve point is always on the segmentized curve
2016-05-06 10:40:13 +02:00
volaya
e6f1439c0a
[processing] add object name to custom menus
2016-05-06 09:00:33 +02:00
Juergen E. Fischer
e040cbd644
fix display of version in doxymentation
2016-05-05 23:51:58 +02:00
Alessandro Pasotti
8e781b4ec0
[server] Fixes segfault on wrong TypeName
...
Unreported - WFS-T
Funded by Boundless
2016-05-05 17:17:28 +02:00
Nyall Dawson
d75eaff573
Fixes to arrow line symbology:
...
- Fix crash in Python bindings caused by subsymbol ownership
- Make symbol work correctly with categorised and graduated
renderers
2016-05-05 16:56:20 +10:00
Even Rouault
52de4fb9ba
Use consistently dataSourceUri() with QgsOgrConnPool (follow up of https://github.com/qgis/QGIS/pull/3057 )
2016-05-04 22:33:17 +02:00
Even Rouault
02be0cb4d1
QgsOgrProvider::addAttributes(): call invalidateConnections() for MapInfo
2016-05-04 22:00:31 +02:00
Even Rouault
8ea447065c
Move QgsOgrConnPool::instance()->unref() from QgsOgrProvider::close() to destructor, since we can open()/close() several times
2016-05-04 22:00:31 +02:00
Even Rouault
338b835888
Un-blacklist PyQgsOGRProvider for QT5 tests
2016-05-04 22:00:31 +02:00
Even Rouault
ed08ffb2aa
Fix style in previous commit regarding comparisons against nullptr
2016-05-04 22:00:31 +02:00
Even Rouault
dc18b5b36b
[BUGFIX / FEATURE] [OGR] Allow concurrent edition of Shapefiles and Tabfiles in QGIS & MapInfo
...
- Closes https://hub.qgis.org/issues/14378
- Adds new virtual methods in QgsDataProvider(): enterUpdateMode() and leaveUpdateMode()
and implement them in the OGR provider. Limited to shapefiles and tabfiles
- Implements QgsOGRProvider:reloadData()
- Robustify OGR provider methods so they don't crash if dataset re-opening fails.
2016-05-04 22:00:30 +02:00
Sandro Mani
ca74cc0732
Merge pull request #3057 from manisandro/ogrpool_datasourceuri
...
Consistently use datasource instead of filepath when ref/unref-ing
2016-05-04 20:53:18 +02:00
Sandro Mani
f2618884fd
Also use datasource instead of filepath when ref/unref-ing and invalidating.
2016-05-04 16:02:59 +02:00
Juergen E. Fischer
919c54ef5f
release.pl: don't created branches from tag names
2016-05-04 13:20:10 +02:00
Nyall Dawson
99e5352d00
Fix coverity uninitialized member warnings
2016-05-04 19:37:03 +10:00
Nyall Dawson
d8dc02d7e7
Fix more uncaught exceptions in QgsOgcUtils
2016-05-04 19:36:50 +10:00
Matthias Kuhn
3de068894d
[travis] Fix warnings about invalid ccache options
...
https://travis-ci.org/qgis/QGIS/jobs/127438282#L731
2016-05-04 09:50:25 +02:00
Even Rouault
75cfb32683
[GDAL provider] Use GDALAutoCreateWarpedVRT() when the dataset has only RPC
2016-05-03 19:49:51 +02:00
Matthias Kuhn
871208922d
Fixes for actions in attribute table
...
* Initialize datastructure in vector layer configuration dialog
* Fix hidden widget if shown in last column
2016-05-03 11:14:50 +02:00
Matthias Kuhn
c1687abc80
Replace calls to deprecated assertEquals
method
2016-05-03 09:18:27 +02:00
Nyall Dawson
4335a77b7b
[FEATURE][multiedit] Add shortcut to modify attributes of selected
...
features to edit menu
Workflow:
- enter edit mode, select multiple features
- select Edit -> Modify Attributes of Selected Features
- edit attributes using feature form, click OK or Cancel
2016-05-03 15:06:41 +10:00