question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nominatim's 'importance' not being returned in Photon's response

See original GitHub issue

Nominatim includes importance as part of its responses. We augment it internally, aggregating with other data sources.

Photon, on the other hand, doesn’t include importance, even though it’s being imported.

Would it be acceptable if we added that key in Photon’s responses? Is there a particular reason why it wasn’t included (or perhaps removed some time in the past)?

Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kurkocommented, Sep 2, 2018

@karussell e.g a street and an airport are returned, we want to show the airport first.

2reactions
hannesaddeccommented, Aug 20, 2018

because one could filter based on importance…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nominatim limit and importance - GIS Stack Exchange
Yes, the results are always sorted by importance according to the code. Consequently limiting the search to one result will return the ...
Read more >
Importer > Import "importance" Nominatim field #12 - GitHub
The Nominatim importance field is not imported from Nominatim to Solr. ... I plan to use photon with a map and sort search...
Read more >
Place Output Formats - Nominatim 4.2.0
Use polygon_geojson to output the full geometry of the object instead of the centroid. XML . The XML response returns one or...
Read more >
Nominatim Blog
Going forward the API will only return JSON, XML, geoJSON data while you can install nominatim-ui to visualize results and aid debugging. For...
Read more >
Status - Nominatim 4.2.0
Status . Useful for checking if the service and database is running. The JSON output also shows when the database was last...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found