You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(sorry for the delayed response)
The sort parameter is wrong, try removing "+asc" and just use the field-name to sort A-Z...
and also use "area" instead of "location"
A little more explanation, since you sorted on a non-existing field ("location asc") there was no proper sorting, this could lead to duplicate entries.
Hi from NRK.
We use your API regularly, but we have found duplicate locations when using a smaller limit. Earlier we used 100 as the limit/page-size, like this: http://api.npolar.no/placename/?q=&filter-status=official&limit=100&start=0&sort=location+asc,ident+asc&format=json
We have tried to start with this base, following your own next-links, but we end up with lots of duplicate locations. If we change to batch-size 5000, there will be no duplicates.
http://api.npolar.no/placename/?q=&filter-status=official&limit=5000&start=0&sort=location+asc,ident+asc&format=json
Best regards,
Andreas Thomassen
NRK
The text was updated successfully, but these errors were encountered: