openAIP / openaip

Public issue tracker of www.openaip.net.
39 stars 3 forks source link

Document airspace geojson format #303

Closed tobiasgru closed 1 year ago

tobiasgru commented 1 year ago

Thank you for providing the airspace data in geojson format. It would be very nice if you could document the individual properties. e.g. what is the meaning of the numerical codes for upperLimit.unit, upperLimit.referenceDatum, what is dayOfWeek 0, what is the icaoClass numerical code etc.

reskume commented 1 year ago

For the GeoJSON format, the enum values are the same as for the JSON format. The JSON format is documented here: https://docs.openaip.net/

To view the complete schema, please navigate to an endpoint that has the response schema that you are interested in, for example the airport GET endpoint: https://docs.openaip.net/#/Airports/get_airports_id

Then scroll down until you see the "Response" section. There you can see an example response. Above the actual response content you can see two links: "Example Value" and "Schema". Click on "Schema". You will find all enum values documented there.

Let me know if you need any further help and if I can close the ticket.

Bildschirmfoto 2023-06-12 um 10 03 37

tobiasgru commented 1 year ago

thank you for the prompt answer. This mostly answers my question. DayOfWeek 0 is Sunday or Monday? Operating times are in UTC?

reskume commented 1 year ago

Perfect! 0 is Monday. All times UTC. Feel free to reopen if you have other questions. Cheers!