Denis Rouzaud
e48cf98edb
run sipify
2017-12-06 07:19:50 -04:00
Nyall Dawson
2a33844416
Pass by const ref where possible
2017-09-11 21:19:22 +10:00
Nyall Dawson
5b0bc93834
Rename QgsJSONExporter/Utils to QgsJsonExporter/Utils
...
Follows proper QGIS/Qt capitalization convention
2017-05-25 07:43:03 +10:00
Nyall Dawson
a5e3f1931b
Use field formatter when exporting feature attributes to JSON
...
This means that field values which utilise widget setups like
value maps will correctly show the "friendly" value
for the field, instead of the raw values.
2017-05-25 07:29:53 +10:00
arnaud.morvan@camptocamp.com
8e61d48362
Sipify core.QgsJsonUtils
2017-05-04 08:26:31 +02:00
Denis Rouzaud
7d459149c7
[sip] align missing bits and replace nullptr by 0
2017-05-02 08:09:53 +02:00
Denis Rouzaud
93971d5ed3
[sip] align pointer and reference in blacklisted files
...
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Patrick Valsecchi
6260f9dea5
Add support for arrays in the spatialite provider
...
New versions of GDAL/OGR (since trunk@35289) convert list types (StringList,
IntegerList, Integer64List and RealList) to a JSON string when it stores a
Spatialite table. It sets the column type as JSONSTRINGLIST, JSONINTEGERLIST,
JSONINTEGER64LIST or JSONREALLIST.
2016-09-20 13:18:32 +02:00
Nyall Dawson
7d2027faa9
Fix most remaining methods which return a reference to
...
QgsCoordinateReferenceSystem or which take a pointer to a
CRS
2016-07-15 06:01:39 +10:00
Nyall Dawson
ca2c6290b1
Always export GeoJSON features in WGS84 (match specifications)
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
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