Class: QgsGmlSchema¶
-
class
qgis.core.
QgsGmlSchema
¶ Bases:
PyQt5.QtCore.QObject
Enums
Methods
Gets error if parseXSD() or guessSchema() failed
Gets fields for type/class name parsed from GML or XSD
Gets list of geometry attributes for type/class name
Guess GML schema from data if XSD does not exist.
Gets fields info from XSD
Gets list of dot separated paths to feature classes parsed from GML or XSD
Signals
Attributes
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
error
(self) → QgsError¶ Gets error if parseXSD() or guessSchema() failed
-
fields
(self, typeName: str) → object¶ Gets fields for type/class name parsed from GML or XSD
-
geometryAttributes
(self, typeName: str) → List[str]¶ Gets list of geometry attributes for type/class name
-
guessSchema
(self, data: Union[QByteArray, bytes, bytearray]) → bool¶ Guess GML schema from data if XSD does not exist. Currently only recognizes UMN Mapserver GetFeatureInfo GML response. Supports only UTF-8, UTF-16, ISO-8859-1, US-ASCII XML encodings.
- Parameters
data – GML data
- Returns
true in case of success *
-
isSignalConnected
()¶
-
parseXSD
(self, xml: Union[QByteArray, bytes, bytearray]) → bool¶ Gets fields info from XSD
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
timerEvent
()¶
-
typeNames
(self) → List[str]¶ Gets list of dot separated paths to feature classes parsed from GML or XSD
-