gemgis.web.load_as_gpd
gemgis.web.load_as_gpd#
- gemgis.web.load_as_gpd(url: str, typename: str = None, outputformat: str = None) geopandas.geodataframe.GeoDataFrame #
Requesting data from a WFS Service
- Parameters
url (str) – URL of the Web Feature Service, e.g.
url="https://nibis.lbeg.de/net3/public/ogc.ashx?NodeId=476&Service=WFS&"
typename (str) – Name of the feature layer, e.g.
typename='iwan:L383'
, default isNone
outputformat (str) – Output format of the feature layer, e.g.
outputformat='xml/gml2'
, default isNone
- Returns
feature – GeoDataFrame containing the feature data of the WFS Service
- Return type
gpd.geodataframe.GeoDataFrame
New in version 1.0.x.
Example
>>> # Loading Libraries and WFS Service as GeoDataFrame >>> import gemgis as gg >>> wfs = gg.web.load_as_gpd(url="https://nibis.lbeg.de/net3/public/ogc.ashx?NodeId=476&Service=WFS&") >>> wfs gml_id OBJECTID ID SURVEYNAME ARCHIV MESSJAHR OPERATOR OP_NACHFOL MESSFIRMA MESSPUNKTE UP_DATE geometry 0 1541 1541 112 Jemgum 2007 0127494 2007 GdF Produktion Exploration Deutschland GmbH Neptune Energy Deutschland GmbH Geophysik und Geotechnik Leipzig GmbH 1340 2020-01-20T00:00:00+01:00 MULTIPOLYGON (((32395246.839 5907777.660, 3239...
See also
load_wfs
Load WFS Service