cjio icon indicating copy to clipboard operation
cjio copied to clipboard

CityJSON.get_info() only gets info from .j

Open balazsdukai opened this issue 5 years ago • 0 comments

When creating an empty CityJSON and adding one CityObject to it, print(CityJSON) still returns and empty CityJSON, because it doesn't read the contents of the .cityobjects.

{
  "cityjson_version": "1.0",
  "epsg": null,
  "bbox": [
    9000000000.0,
    9000000000.0,
    9000000000.0,
    -9000000000.0,
    -9000000000.0,
    -9000000000.0
  ],
  "transform/compressed": false,
  "cityobjects_total": 0,
  "cityobjects_present": [],
  "materials": false,
  "textures": false
}

balazsdukai avatar Oct 25 '19 06:10 balazsdukai