mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-26 00:02:43 -04:00
Add catalog to spell_check
This commit is contained in:
parent
e6a8e360dd
commit
338b4c0621
@ -47,7 +47,7 @@ from qgis.core import (QgsApplication, QgsCoordinateReferenceSystem,
|
|||||||
QgsProviderRegistry, QgsSettings)
|
QgsProviderRegistry, QgsSettings)
|
||||||
from qgis.gui import QgsRubberBand
|
from qgis.gui import QgsRubberBand
|
||||||
|
|
||||||
from owslib.csw import CatalogueServiceWeb
|
from owslib.csw import CatalogueServiceWeb # spellok
|
||||||
from owslib.fes import BBox, PropertyIsLike
|
from owslib.fes import BBox, PropertyIsLike
|
||||||
from owslib.ows import ExceptionReport
|
from owslib.ows import ExceptionReport
|
||||||
|
|
||||||
@ -821,7 +821,7 @@ class MetaSearchDialog(QDialog, BASE_CLASS):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
|
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
|
||||||
cat = CatalogueServiceWeb(self.catalog_url, timeout=self.timeout,
|
cat = CatalogueServiceWeb(self.catalog_url, timeout=self.timeout, # spellok
|
||||||
username=self.catalog_username,
|
username=self.catalog_username,
|
||||||
password=self.catalog_password)
|
password=self.catalog_password)
|
||||||
cat.getrecordbyid(
|
cat.getrecordbyid(
|
||||||
@ -899,12 +899,12 @@ class MetaSearchDialog(QDialog, BASE_CLASS):
|
|||||||
self.rubber_band.reset()
|
self.rubber_band.reset()
|
||||||
|
|
||||||
def _get_csw(self):
|
def _get_csw(self):
|
||||||
"""convenience function to init owslib.csw.CatalogueServiceWeb"""
|
"""convenience function to init owslib.csw.CatalogueServiceWeb""" # spellok
|
||||||
|
|
||||||
# connect to the server
|
# connect to the server
|
||||||
try:
|
try:
|
||||||
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
|
QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
|
||||||
self.catalog = CatalogueServiceWeb(self.catalog_url,
|
self.catalog = CatalogueServiceWeb(self.catalog_url, # spellok
|
||||||
timeout=self.timeout,
|
timeout=self.timeout,
|
||||||
username=self.catalog_username,
|
username=self.catalog_username,
|
||||||
password=self.catalog_password)
|
password=self.catalog_password)
|
||||||
|
@ -40,6 +40,7 @@ images/themes/default/propertyicons/diagram.svg
|
|||||||
images/themes/default/propertyicons/general.svg
|
images/themes/default/propertyicons/general.svg
|
||||||
images/themes/default/svgbase/hammer.svg
|
images/themes/default/svgbase/hammer.svg
|
||||||
LexerR.py
|
LexerR.py
|
||||||
|
python/plugins/MetaSearch/resources/connections-default.xml
|
||||||
python/plugins/processing/algs/grass7/description/i.landsat.toar.txt
|
python/plugins/processing/algs/grass7/description/i.landsat.toar.txt
|
||||||
python/plugins/processing/gui/algnames.txt
|
python/plugins/processing/gui/algnames.txt
|
||||||
python/plugins/processing/tests/testdata/expected/orthagonal_lines.gfs
|
python/plugins/processing/tests/testdata/expected/orthagonal_lines.gfs
|
||||||
|
@ -1137,6 +1137,7 @@ casues:causes
|
|||||||
casuing:causing
|
casuing:causing
|
||||||
casulaties:casualties
|
casulaties:casualties
|
||||||
casulaty:casualty
|
casulaty:casualty
|
||||||
|
catalogue:catalog
|
||||||
catagories:categories
|
catagories:categories
|
||||||
catagorized:categorized
|
catagorized:categorized
|
||||||
catagory:category
|
catagory:category
|
||||||
|
Loading…
x
Reference in New Issue
Block a user