UrbanOptGeoJson

class geojson_modelica_translator.geojson.urbanopt_geojson.UrbanOptGeoJson(filename, building_ids=None)

Bases: object

Root class for parsing an URBANopt GeoJSON file. This class simply reads and parses URBANopt GeoJSON files.

__init__(filename, building_ids=None)
Parameters:
  • filename – str, path to the GeoJSON file to parse

  • building_ids – list[str | int] | None, optional, list of GeoJSON building IDs to parse from the file. If None or an empty list, parse all buildings.

Methods

__init__(filename[, building_ids])

param filename:

str, path to the GeoJSON file to parse