Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Pelias][OpenRouteService][GeocodeEarth] Fix admin level ordering #1202

Closed
wants to merge 5 commits into from

Conversation

mrbig
Copy link

@mrbig mrbig commented Oct 24, 2023

Order of the adminLeves in Pelias did not have any particular order. I have changed the order according to this ticket: #852

Please note that this might be a breaking change for someone.

Order of the adminLeves in Pelias did not have any particular order.
I have changed the order according to this ticket:
geocoder-php#852

Please note that this might be a breaking change for someone.
mrbig added 2 commits October 26, 2023 10:40
AdminLevels are now ordered according to the following principles
geocoder-php#852
AdminLevels are now ordered according to the following principles
geocoder-php#852
@mrbig mrbig changed the title [Pelias] Fix admin level ordering [Pelias][OpenRouteService][GeocodeEarth] Fix admin level ordering Oct 26, 2023
@mrbig
Copy link
Author

mrbig commented Oct 26, 2023

I have noticed that there are two other providers that use the Pelias provider. That means that this change affects those as well.

I have update their unit tests.

I'm not sure if such a change is acceptable by your policy. This can be considered as a bugfix but also a breaking change.

@jbelien
Copy link
Member

jbelien commented Mar 19, 2025

I've been working on an improvement for Pelias provider and I've included a refactoring of the admin levels extraction in #1250.

@mrbig
Copy link
Author

mrbig commented Mar 24, 2025

I've been working on an improvement for Pelias provider and I've included a refactoring of the admin levels extraction in #1250.

This is a fix for #852
The main change here was only one line, the others are just the updated tests.

@mrbig
Copy link
Author

mrbig commented Mar 24, 2025

@jbelien I've reviewed your change in pr #1250 and I believe your order matches mine eventually making this PR a duplicate of yours..

@jbelien
Copy link
Member

jbelien commented Mar 28, 2025

Superseded by #1250

@jbelien jbelien closed this Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants