mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
19 lines
849 B
Python
19 lines
849 B
Python
# The following has been generated automatically from src/core/geocoding/qgsgeocoder.h
|
|
# monkey patching scoped based enum
|
|
QgsGeocoderInterface.Flag.GeocodesStrings.__doc__ = "Can geocode string input values"
|
|
QgsGeocoderInterface.Flag.GeocodesFeatures.__doc__ = "Can geocode QgsFeature input values"
|
|
QgsGeocoderInterface.Flag.__doc__ = """Capability flags for the geocoder.
|
|
|
|
* ``GeocodesStrings``: Can geocode string input values
|
|
* ``GeocodesFeatures``: Can geocode QgsFeature input values
|
|
|
|
"""
|
|
# --
|
|
QgsGeocoderInterface.Flags = lambda flags=0: QgsGeocoderInterface.Flag(flags)
|
|
try:
|
|
QgsGeocoderInterface.__virtual_methods__ = ['geocodeFeature', 'appendedFields', 'wkbType', 'geocodeString']
|
|
QgsGeocoderInterface.__abstract_methods__ = ['flags']
|
|
QgsGeocoderInterface.__group__ = ['geocoding']
|
|
except (NameError, AttributeError):
|
|
pass
|