cityjson / specs

Specifications for CityJSON, a JSON-based encoding for 3D city models
https://cityjson.org
Creative Commons Zero v1.0 Universal
108 stars 25 forks source link

Why using an indexed scheme instead of a "feature-approach”? #20

Closed hugoledoux closed 1 year ago

hugoledoux commented 6 years ago

One of the main criticism/discussion-point/question is that CityJSON uses, for the geometries and textures, an "indexed scheme" instead of a "feature-based approach". An indexed scheme means that the coordinates (x,y,z) of the vertices are given in a separate list, and that the geometries refer to the indices of the vertices. In contrast, a feature has all its coordinates listed directly in its geometries (à la GML).

There are obviously pros and cons in having an indexed scheme, and I drafted here below a list as a starting point for discussion. Please contribute.

Cons of indexed scheme

(CityJSON avoids these by having a global list of Implicit Geometries, and there are no XLinks)

Pros

clausnagel commented 5 years ago

Linked a discussion in the @3DCityDB development team: https://github.com/3dcitydb/importer-exporter/pull/92.