Skip to content

Commit

Permalink
Merge pull request #51 from ParkenDD/fix-karlsruhe-mapping
Browse files Browse the repository at this point in the history
add static capacity to karlsruhe mapping
  • Loading branch information
the-infinity committed Jun 9, 2024
2 parents f75d9bb + 8bcd0c6 commit 914c550
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 914c550

Please sign in to comment.