Skip to content

pycensus.census.countries.germany.mid_hamburg

Hamburg: share of public transport in residents' trips, Mobilitaet in Deutschland 2023 (MiD), Hamburg short report (hvv sample boost). City of Hamburg 23 % of all trips (2017: 21 %); rest of the hvv area (Umland) 9 %. No Gemeinde breakdown of the Umland is published.

Per Bezirk and per Stadtregion (the finest published units of the city): the city's modal-split WFS (HH_WFS_Modalsplit, MiD 2023: residents' trips by main mode, walking / cycling / public transport / car driver / car passenger). Around the city: the Kreise of the Metropolregion, MiD 2017 regional report (kreise).

from pycensus.census.countries.germany import mid_hamburg
mid_hamburg.load()       # {"hamburg": {...}, "hvv_umland": {...}}
mid_hamburg.bezirke()    # GeoDataFrame: 7 Bezirke, trip shares by mode (2023)
mid_hamburg.kreise()     # GeoDataFrame: 13 Kreise of the Metropolregion around the city, trip shares by mode (MiD 2017 regional report)

load(cache_dir=None, verify=True)

Published travel-mode figures for Hamburg (MiD survey), checked against the source document.

Parameters:

Name Type Description Default
cache_dir Optional[str]

Cache folder; None = the pycensus cache.

None
verify bool

Check each figure in its document.

True

Returns:

Type Description
dict

{key: figure}.

bezirke(cache_dir=None)

The 7 Bezirke with the MiD 2023 shares of residents' trips by main mode (the city's WFS HH_WFS_Modalsplit, layer modalsplit_bezirke; the same values as slide 24 of the MiD 2023 Hamburg presentation).

Parameters:

Name Type Description Default
cache_dir Optional[str]

Cache folder; None = the pycensus cache.

None

Returns:

Name Type Description
GeoDataFrame EPSG:4326

GEOID (Bezirk number), name, the five shares (0-1), car_trip_share (driver + passenger).

stadtregionen(cache_dir=None)

The 7 Stadtregionen (the MiD's own structural zoning of the city: Kernstadt, Äußerer Ring, ...) with the MiD 2023 shares of residents' trips by main mode (WFS layer modalsplit_stadtregion). A second partition of the city, crossing the Bezirke.

Parameters:

Name Type Description Default
cache_dir Optional[str]

Cache folder; None = the pycensus cache.

None

Returns:

Type Description

GeoDataFrame (EPSG:4326), columns as :func:bezirke.

kreise(data_dir=None)

The Kreise of the Metropolregion Hamburg with the MiD 2017 shares of residents' trips by main mode (chart labels transcribed).

Parameters:

Name Type Description Default
data_dir Optional[str]

Folder of the raw boundary downloads; None = the pycensus cache.

None

Returns:

Name Type Description
GeoDataFrame EPSG:4326

GEOID (NUTS3), name, transit / car passenger / car driver / bike / walk trip shares (0-1), car_trip_share.