Open joto opened 5 months ago
I'm not sure it's possible to control the precise output type on all generation systems and someone may not have a choice between int, uint, and sint. If it comes to it I can just produce non-compliant tiles as any use-case won't depend on what the message type is.
Aside: The most efficient way to represent integers that could be negative is probably to pick the type based on the individual value, using uint for positive and sint for negative.
I think there are two separate issues with the numbers:
I think for 1 this is really a case of we should be defining the allowable values. So admin_level is an integer between 2 and 8, layer is an integer between -5 and 5, etc.
There are several issues with the documentation of the
boundaries
layer:admin_level
property is defined asnumeric
. I believe this should be clarified as unsigned integer (see also #31)admin_level
2 or 4. But in the description of thedisputed
property it says "unset or between 2 and 4". Is it on purpose that level 3 is allowed here? That unset is allowed here?and
s andor
s without braces, it is ambigous.disputed
case.