-
Notifications
You must be signed in to change notification settings - Fork 58
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
Add result_type support to csv geocoding #790
Comments
Hello,
|
@jdesboeufs thanks for the reply. It's been some time since I tested this, so I'm not certain that the API's behaviour is still the same (in fact, I can't reproduce the sample above, so I'm gessing something changed). That will teach me a lesson about pasting a sample without the related code... In any case, you can see that the
You'll get:
Instead, if I use the individual requests (with geopandas that time, to process geometries), I do :
That time, the results are indeed filtered by
It might very well be that I made a mistake in the code: the Can you reproduce this behaviour and confirm this is a bug ? |
Hello
The mass geocoding API (CSV) of the BAN doesn't accept filtering by result_type (which the individual API does).
I'm currently looking to enhance cities fields in datasets (see this python project); as of today, the CSV geocoding API returns those results for instance :
In the present state, I'll have to switch to multiple individual queries for each line, setting the parameter
type=municipality
. (To give some background, I'm trying to enhance malformed datasets which could easily end in thousands of lines).Would it be possible to add this parameter inside the CSV (as is actually the case with official/postoffice codes) ?
The text was updated successfully, but these errors were encountered: