Make the old and new API available at the same time from openstreetmap.org #32
Replies: 2 comments 12 replies
-
If we do away with way nodes I don't believe anything else than a read only "old API" would be tenable*, but as the API is actually "the editing API" providing that would not really serve any practical purpose. Note that there are naturally parts of the API, for example all user related bits, that would not be impacted. * "old" nodes would have to be synthesized. |
Beta Was this translation helpful? Give feedback.
-
FWIW: in #18 I already talked at length about running two versions in parallel and keeping the old API working. TL;DR version: As part of the migration, the full history needs to be rewritten to match the new data model. This also has to happen behind the scenes without impacting today’s users. We would need a few TB more disk space to keep both data model variants around at the same time. (Note: this isn’t part of the 2023 OWG budget!) Everyone will have enough time to prepare for the day when the final switch to a read write new API happens, and the old API will be shut down. |
Beta Was this translation helpful? Give feedback.
-
If we want to make this change smooth there has to be a simple changeover procedure from the perspective of the tools. Phase III of the paper is very briefly described, but it is in my opinion, at least on a technical level, the most important phase. The paper talks about that tools need to be available to convert between data formats. That would be great, but I think it should be done by openstreetmap.org to make the change the least disruptive to data consumers.
What I think should happen is a long overlap period where two API's are available at the same time from openstreetmap.org. Any tools still using the old API shouldn't break. The new API should allow tools to slowly support the new data format, while keeping it behind a toggle. This old API should be available for a few years to allow for tools to slowly make the transition.
I don't know how feasible this is, but it would make it a whole lot less disruptive to tool makers. The behind the scenes data model change can be done at any time, given the old API stays working.
Beta Was this translation helpful? Give feedback.
All reactions