Comments (7)
@balazsdukai for the #3 above ("The lod should be restricted to the allowed values"), I am not sure we want to do this... The specs state:
The value must be a string with the LoD identifying the level-of-detail (LoD) of the geometry. This can be either a single digit (following the CityGML standards), or "X.Y"-formatted if the improved LoDs by TU Delft are used.
If we restrict, we go up to what? LoD3.3? What if someone wants LoD4.2?
Maybe @fbiljecki has something smart to add here?
from specs.
If it follows the two standards, then it is better to constrain it with their possible values and ranges, that is, 3.3
being the maximum in the latter case.
from specs.
I fixed the 4th above (semantic surfaces) there: 5544e1b
in a branch for v2.0.1
from specs.
Point 1 above (version of CityJSON) has been fixed in 1dbd856
from specs.
this is the ones that would be accepted with CityGML3 (no LoD4 here)
"Lods": {
"enum": [
"0", "1", "2", "3",
"0.0", "0.1", "0.2", "0.3",
"1.0", "1.1", "1.2", "1.3",
"2.0", "2.1", "2.2", "2.3",
"3.0", "3.1", "3.2", "3.3"
]
}
from specs.
What if someone wants LoD4.2?
Then it would be an extended CityJSON file, with its own schema that allows LoD4.2 I think. 👍 for 29dfdc4
from specs.
Hmmm, no that would mean no geometry types since "lod" is a child of "geometry" and this is not possible to modify.
But CityJSON is CityGML (thus only 0-1-2-3) and the TUDelft-LoDs, so restricting is fine. If you want more than you can use IFC I guess
from specs.
Related Issues (20)
- Building "address" is a JSON object but Metadata "address" is string. HOT 7
- Missing name member in texture objects HOT 2
- Where to put semantics/materials/textures for Geometry Templates? HOT 1
- are "vertices-texture" restricted to [0, 1]? HOT 3
- Normals orientation HOT 1
- Are there any possibility or plans to support curved surfaces and lines? NURBS/bsplines, subdivisions or whatelse? HOT 1
- Missing Example for the ways of storing CityJSON Object properties in JSON Lines text HOT 2
- should "appearance" be inside a CityJSONFeature or in the "first line" (global)? HOT 16
- 2.2 and 2.12 miss info about which Objects must have parents
- Can a CityJSONFeature be of a 2nd-level type? HOT 4
- Which City Objects can be parents? HOT 1
- cityjson -> dotbim conversion
- support for compound-CRS?
- CityJSON 1.1 datasets using the "Generic" extension are broken HOT 2
- Add "+GenericSurface" to the Generic extension HOT 1
- Require at least one item in the boundaries array HOT 1
- Is an empty boundaries array allowed? HOT 1
- add `"additionalProperties": true` for "metadata"? HOT 1
- Convert ifc to cityjson? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from specs.