Even Rouault
c331244989
[Vector file writer] Save source field domains to output file ( fixes #56184 )
2024-02-20 10:24:47 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.'
2024-02-18 20:46:01 +01:00
Nyall Dawson
dce7bbdeb1
[api] Add opt-in setting to make QgsVectorFileWriter transfer
...
field constraints to the output file
This is opt in to avoid potentially breaking existing scripts/plugins.
2023-09-12 13:23:06 +10:00
Nyall Dawson
a865a762a4
Add driver filter option for formats capable of multi-layer storage
2023-05-27 06:34:04 +10:00
Nyall Dawson
b0d67ecddf
Move QgsVectorFileWriter::SymbologyExport to Qgis, promote to enum class
2023-05-15 16:38:52 +10:00
Nyall Dawson
308eb1d86f
Expose api to determine capabilities of QgsVectorFileWriter
...
Currently allows determining whether field comments and aliases
are supported by the writer
2023-04-22 09:18:06 +10:00
Nyall Dawson
046883fa9c
Promote QgsWkbTypes enums to enum class, move to Qgis
2023-02-22 12:39:21 +10:00
Nyall Dawson
f9c3da1e06
Move unit enums to Qgis, promote to enum class
2023-02-19 13:29:06 +10:00
Julien Cabieces
fb50f69e2b
other const methods
2022-04-29 08:21:47 +10:00
Damiano Lombardi
20173fd609
User defined field names in export
2022-03-17 08:34:34 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306
run sipify
2021-10-12 16:34:05 +10:00
Nyall Dawson
93b7a0c3d5
[api] Add option to QgsVectorFileWriter to store layer metadata for
...
created layer
2021-05-05 14:12:50 +10:00
Nyall Dawson
352856f972
Slightly better worded QgsVectorFileWriter description
2021-04-19 12:54:13 +10:00
Nyall Dawson
705259e2d9
Fix a bunch of clazy warnings in QgsVectorFileWriter
2021-03-29 14:16:31 +10:00
Nyall Dawson
62ad6e3106
Add QgsVectorFileWriter::writeAsVectorFormatV3
...
Unfortunately QgsVectorFileWriter::writeAsVectorFormatV2 is missing
SIP_OUT arguments necessary to get the desired output arguments,
and it's not possible to add these now without breaking existing PyQGIS
code.
Solution = v3!
2021-03-29 14:16:31 +10:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
94522cf844
Add option to QgsVectorFileWriter to prefer using field aliases as output field name
2020-12-08 19:52:22 +10:00
Nyall Dawson
3eec9a47f0
Add a lastError() getter to QgsFeatureSink for retrieving the last error
...
encountered by the sink (e.g. after adding a feature fails)
2020-07-23 07:51:58 +10:00
Alessandro Pasotti
26643a6c66
Fix QgsVectorFileWriter python issue (leak & functional)
...
Fixes #37386
2020-07-08 07:58:23 +02:00
Denis Rouzaud
0cb8408425
more flags warnings fixes for Qt 5.15 ( #37309 )
...
* more flags warnings fixes for Qt 5.15
* fix sip compilation
2020-06-19 12:02:00 +02:00
Denis Rouzaud
044a05d828
run sipify
2020-06-19 08:47:23 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
nirvn
9ce12c0812
[vector file writer] Add coordinate transformation context to fix KML/GPX export
2020-02-13 07:50:34 +07:00
Andrea Giudiceandrea
70f3bd7f60
deleteShapeFile(): delete also ".cpg", ".sbn", ".sbx", ".idm", ".ind" files
...
Make QgsVectorFileWriter::deleteShapeFile() delete ".cpg" (and ".sbn", ".sbx", ".idm", ".ind") files along with ".shp", ".shx", ".dbf", ".prj", ".qix", ".qpj" ones.
2019-04-01 08:37:36 +10:00
Nyall Dawson
107b48a430
Add NULLPTR macro for use in doxygen comments
...
For the c++ api dox this expands to "\c nullptr" (the
\c directive indicates a code literal value), and for sipify/Python
it expands to ``None`` (`` is sphinx annotation for literal values)
Makes for nicer dox for both c++ and Python!
2019-02-27 09:41:11 +10:00
Nyall Dawson
a7ca08784c
Nullptr consistency in dox
2019-02-27 09:41:11 +10:00
Nyall Dawson
b6d66becab
Sipify
2019-02-27 09:41:11 +10:00
Matthias Kuhn
229c617785
Ignore FID field when merging vector layers to geopackage
2018-10-31 10:27:54 +01:00
Denis Rouzaud
4b7da692d6
run sipify all
2018-09-10 11:41:57 -04:00
Mathieu Pellerin
6196fd3753
[vector writer] Return actual layer name used
...
This is needed as some OGR drivers will modify the provided layer name
(e.g. the KML driver replaces dashes with underscores).
2018-08-23 15:02:28 +07:00
Nyall Dawson
981c6686c0
Dox++
2018-06-21 18:22:55 +10:00
Nyall Dawson
2ed547219a
Add globs to information returned by QgsVectorFileWriter.supportedFiltersAndFormats
2018-06-21 18:22:55 +10:00
Denis Rouzaud
65bb60e96c
run sipify
2018-05-28 10:39:34 -08:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Nyall Dawson
1c615c15cc
More documentation compliance
...
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Nyall Dawson
2cb8a33884
Fix broken see also links
2018-05-25 11:16:18 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00