Skip to content

Commit

Permalink
add static capacity to karlsruhe mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
the-infinity committed Jun 5, 2024
1 parent 1f23428 commit 8bcd0c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parkapi_sources/converters/karlsruhe/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def to_static_parking_site_input(self) -> StaticParkingSiteInput:
name=self.properties.ph_name,
lat=self.geometry.coordinates[1],
lon=self.geometry.coordinates[0],
capacity=self.properties.gesamte_parkplaetze,
address=f'{self.properties.parkhaus_strasse}, {self.properties.parkhaus_plz} {self.properties.parkhaus_gemeinde}',
max_height=None if self.properties.max_durchfahrtshoehe is None else int(self.properties.max_durchfahrtshoehe * 100),
public_url=self.properties.parkhaus_internet,
Expand Down

0 comments on commit 8bcd0c6

Please sign in to comment.