updated streets handler to support multilanguage#39
updated streets handler to support multilanguage#39ozhol wants to merge 1 commit intomissinglink:masterfrom
Conversation
|
Hi Alex, I don't really understand what the purpose of this change is and what functionality it improves. Could you please write a description about why this change is needed? |
|
Hey Alex, copying from Linkedin for visibility:
The existing implementation only exports the "name" field, so I can see how that's limiting, although I don't love the pipe concatenation method you've used to expose the additional language(s): (ie. I see a few issues with this:
The existing implementation has a code comment which helps me remember what I was thinking here So in this case it sounds like you'd like to use a bit more storage in order to have additional tags available. I'd suggest that instead of concatenating the string, instead store both in the Regarding extensibility (ie. the ability to add additional languages and tags), this can either be configurable so that it can be merged upstream into this repo, or can remain on a fork. The final piece of the puzzle would then be to update any commands which use this handler (ie. |
|
I would be hesitant to merge a change which wasn't backwards compatible as I know there are already consumers using this code to generate extracts of OSM containing all the street intersections, changing the output format could break those implementations. |
No description provided.