Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuttgart: add generic DatexScraperMixin and Stuttgart #21

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

hbruch
Copy link
Contributor

@hbruch hbruch commented May 5, 2023

Stuttgart publishes static and dynamic DATEXII publications via MDM (see also this discussion offenesdresden/ParkAPI#36) . As requesting these requires a registration and MDM-provided certificate, I republish (mirror) them under https://data.mfdz.de/. The data itself is published unter dl-de/by-2-0 by the city of Stuttgart.

This PR adds a scraper and geojson for Stuttgart. This scraper uses a DatexScraperMixin which is a slightly generalized version of the current Frankfurt scraper.

Note: the static publication currently doesn't publish some important information like coordinates, type, address. I contacted the data owner and asked for additional information in the publication.

In case this information will not be provided soon, the geojson will need to be enhanced manually :-/

@hbruch hbruch marked this pull request as ready for review December 10, 2023 08:45
@hbruch
Copy link
Contributor Author

hbruch commented Dec 10, 2023

This PR is ready for review now.

Still missing in the data: information that could be used to determine lot_type.
All parkings are (wrongly) assigned <parkingFacilityLayout>singleLevel</parkingFacilityLayout> in the Stuttgart feed.

Besides the currently extracted information, some more could be extracted as v3 properties:

  • opening hours: currently wrongly modelled as start/end period. All parkings, according to the data, are available 7/24 (described as a per weekday period from 00:00:00 to 23:59:00).
  • height restrictions
  • assigned Parking Spaces, though Stuttgarts seems to used them currently only to distinguish between longTerm and shortTerm parkings. No other assignment class seems to have values > 0 currently.

Such possible extensions are left for future addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant