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

IPStack provider doesn't set administration area. #1055

Open
mwisner opened this issue Apr 16, 2020 · 3 comments
Open

IPStack provider doesn't set administration area. #1055

mwisner opened this issue Apr 16, 2020 · 3 comments

Comments

@mwisner
Copy link

mwisner commented Apr 16, 2020

IPStack service does return region_name and region_code, but the provider doesn't seem to convert them into an administration area for the address model.

https://github.com/geocoder-php/Geocoder/blob/master/src/Provider/Ipstack/Ipstack.php#L104-L112

@jbelien
Copy link
Member

jbelien commented Apr 16, 2020

Hello @mwisner ,

Documentation seems indeed to mention a region_name (see https://ipstack.com/documentation#objects).

Would you be able to submit a PR ?
Thanks !

@mwisner
Copy link
Author

mwisner commented Apr 17, 2020

Hi @jbelien,

Sorry for the silly question but I'm kind of confused about where to actually contribute.

I see there are providers here: https://github.com/geocoder-php/Geocoder/tree/master/src/Provider/Ipstack

But there is also a repo here: https://github.com/geocoder-php/ipstack-provider

and both sets of code look the same, but they both have READY ONLY in the readme and whatnot.

I found this documentation: https://github.com/geocoder-php/Geocoder/blob/master/CONTRIBUTING.md

But it looks like it just covers code quality and PR review.

Is there another spot for documentation around which area to contribute to?

Thanks!

@jbelien
Copy link
Member

jbelien commented Apr 17, 2020

You have to submit your PR in this geocoder-php/Geocoder repository in the src/Provider/Ipstack folder.

The geocoder-php/ipstack-provider repository will be automatically updated once your PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants