Björn
6aeda2a29e
[metasearch] Fix missing import
...
fix https://github.com/qgis/QGIS/issues/47823
2024-09-05 16:49:52 +10:00
pathmapper
4de4f7c3bc
Fix deprecation warning
2024-08-23 06:11:10 +10:00
Nyall Dawson
5188e67bc4
Avoid use of pygments in metasearch
...
This isn't required -- it was used to convert xml/json to
a prettified HTML representation, but we get better results
by just using the QgsCodeEditor widget subclasses instead
(eg bracket highlighting, collapsing, line numbers etc)
2024-02-04 05:54:10 +10:00
Nyall Dawson
e42abf7dc5
Update python files
2024-01-22 05:46:15 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Julien Cabieces
9d12ae8e6d
[PyQt6] Add scope for enums and get rid of PyQt5.XXX import
...
this has been done automatically with the following comand line
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Denis Rouzaud
59399cd186
Update MetaSearch with new settings API ( #54238 )
...
* Update MetaSearch with new settings API
fixes #54144
* remove Arcgis Map Server
* fix test
2023-08-16 13:38:03 +02:00
Etienne Trimaille
3ebb5af1fb
Python - Upgrade metasearch to Python 3.7 minimum
2023-04-19 05:25:57 +10:00
Nyall Dawson
1f6e53b2c4
[metasearch] Fix messed up QgsRubberBand constructor
2023-02-22 12:39:21 +10:00
Andrea Giudiceandrea
29b40e48da
[MetaSearch] fix CSW search when user/passwords are empty ( Fix #48201 ) ( #48288 )
...
* [MetaSearch] fix CSW search when user/passwords are empty
* [MetaSearch] avoid to send username/passwords if empty
2022-05-05 06:37:21 -04:00
Alexander Bruy
91fb92f650
fix adding vector layers to QGIS from MetaSearch ( fix #46135 )
2022-01-26 07:06:37 +10:00
Nyall Dawson
8dc8331394
Merge pull request #46270 from gbd-consult/feature/metasearch
...
[MetaSearch] Save Settings
2021-12-20 11:35:15 +10:00
towa
1f025e5315
Update python/plugins/MetaSearch/dialogs/maindialog.py
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-12-10 21:56:35 +01:00
Tom Kralidis
6d8ec08223
keep default connection list format for backward compat
2021-12-10 11:23:24 +10:00
Tom Kralidis
082cf9e756
[MetaSearch] support OGC API - Records in default connections ( #46336 )
2021-12-10 11:23:24 +10:00
towa
a416d87e17
Apply suggestions from code review
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-12-07 09:01:10 +01:00
towa
f5d6800a43
Bug fixes
2021-11-30 11:35:41 +01:00
towa
02af9ce81a
remove blank lines
2021-11-30 09:50:13 +01:00
towa
ec78d2f598
save Settings to QgsSettings
2021-11-29 17:33:21 +01:00
Tom Kralidis
e3a179680f
add support for OGC API - Records
2021-08-23 15:58:50 -04:00
Nyall Dawson
3cf9083743
Don't assume that owslib >= 0.20 is available
...
Fixes #38074
2021-06-11 06:17:10 +10:00
Andrea Giudiceandrea
4f786ae5a7
[MetaSearch] Reset rubber band when treeRecords selection is changed
2021-01-06 08:36:29 +10:00
Andrea Giudiceandrea
fd9b246ac5
[MetaSearch] Also disable buttons after inspecting CSW in server tab
...
in order to fix "AttributeError: 'CatalogueServiceWeb' object has no attribute 'records'" python error
2021-01-06 08:36:29 +10:00
Andrea Giudiceandrea
1559908c73
[MetaSearch] Fix navigation through the results pages
2021-01-06 08:00:04 +10:00
Tom Kralidis
65a134ca47
MetaSearch: update bbox CRS
2020-12-30 08:25:51 +10:00
Tom Kralidis
0579b20b53
[MetaSearch] clear search results when inspecting CSW in server tab ( #37448 )
2020-07-13 08:36:27 +10:00
Samweli Mwakisambwe
a17a49ea38
handle import and name errors with the Authentication class
2020-06-15 11:16:44 +10:00
Samweli Mwakisambwe
c22d429a52
updated disable ssl label
2020-06-06 07:00:03 +10:00
Samweli Mwakisambwe
94106dc2d6
fix SSL error
2020-06-06 07:00:03 +10:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Harrissou Sant-anna
61d1ac1226
more robust code
2020-03-10 07:52:17 +10:00
Harrissou Sant-anna
ca89d34059
Allow to cancel server connections list modification
2020-03-10 07:52:17 +10:00
Harrissou Sant-anna
eca5261160
Allow to open data loader dialog from metasearch
...
fixes #34759
2020-03-10 07:52:17 +10:00
Harrissou Sant-anna
1eae00e07a
Update some use of QgsCoordinateReferenceSystem
2020-03-05 16:17:20 +10:00
Tom Kralidis
fe82890055
[MetaSearch] OWS GetCapabilities checking regression ( fixes #19787 ) [needs-docs]
2019-02-05 12:26:23 +11:00
Nyall Dawson
1002824cc6
[metasearch] Minor UI updates to conform to HIG ( #7810 )
...
* [metasearch] Use QgsFilterLineEdit for keyword search box
* [metasearch] Remove version number from dialog title
This is no longer required now that the plugin is bundled with
QGIS - the version number now follows QGIS version numbering
* Capitalization, ellipsis
* [metasearch] Use a question messagebox
2018-09-06 20:49:57 -04:00
Nyall Dawson
689126b18a
[FEATURE][metasearch] Add FILE:GEO to known link types
...
Adds GIS File link type to known link types, and for records with
a FILE:GEO link enables a new "Add GIS File" action. Clicking this
adds the linked GIS file to the current project.
2018-09-06 09:44:04 +10:00
Nyall Dawson
c0d9528090
Silence python warnings from 3rd party libraries on startup
2018-05-22 06:02:55 +10:00
Tom Kralidis
04b18f4d43
[bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
...
(fixes #17739 )
2017-12-22 16:21:25 -05:00
Nyall Dawson
86d9492372
Remove context-unaware QgsCoordinateTransform constructors from Python bindings
...
This forces Python code and plugins to become datum transform
aware, and given that upgrading python code is easy (just
add QgsProject.instance() as a new argument to the constructor)
it's relatively painless to force this on PyQGIS users.
Also fix upgrade the easy QgsCoordinateTransform c++ constructors
where the project is available, or where using QgsProject::instance()
is safe to do.
For others, just avoid the deprecated warnings until we can
get access to the correct project instance where the transform
is being constructed.
2017-12-15 14:13:22 +10:00
Tom Kralidis
3ea8b74e18
[bugfix] [MetaSearch] fix Esri ArcGIS service chaining ( fixes #17347 )
2017-11-17 16:24:30 -05:00
Alessandro Pasotti
1b79177bc9
[bugfix] Fix WFS in metasearch
...
Fixes #17347
2017-11-17 17:35:04 +01:00
Alessandro Pasotti
a0639b1a20
[bugfix] Fix WMS in metasearch
2017-11-17 16:52:41 +01:00
Mario Baranzini
78af413dcc
Remove python future compatibility layer
2017-08-07 10:27:15 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors
2017-07-30 21:51:22 +02:00
Harrissou Sant-anna
338b4c0621
Add catalog to spell_check
2017-07-02 22:28:50 +02:00
Harrissou Sant-anna
8d6af77287
Replace catalogue by catalog
2017-07-02 22:28:50 +02:00
Matthias Kuhn
a9d7630a69
Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
...
Because 3D coordinates should be the default.
References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Nyall Dawson
ba2fdf00ab
Rename some QgsProviderRegistry methods to clarify that they are factories
...
- provider() was renamed to createProvider()
- selectWidget() was renamed to createSelectionWidget()
- providerLibrary() was renamed to createProviderLibrary()
2017-05-06 12:28:06 +10:00
Tom Kralidis
c403994d02
[FEATURE] [needs-docs] MetaSearch: add support for ESRI MapServer/FeatureServer layer integration ( fixes #16320 )
2017-04-03 12:22:59 -04:00