github komoot/photon 1.1.0
Release 1.1.0

7 hours ago

This release adds support for exporting postcodes from Nominatim's database. The postcodes will also be available in future dumps from the export server.

A new '-reverse-only' mode allows to create smaller database without a forward search functionality. This can be useful when you know that you only want to do address lookups on a coordinate. A reverse-only database saves about 60% of space and import time.

The free-form search now revisits the results to make sure that those float on top that match the original query best. In addition we've tweaked the location bias. Setting a low location_bias_score should now have a noticeable effect to favour results close to the focus point. Please note that the default values for the 'zoom' and 'location_bias_zoom' parameters have changed. If you have been setting them to custom values, you might have to tweak the parameters a bit to account for the new scoring algorithm.

Other notable changes in this release:

  • countrycode filters are now available for the /api forward search endpoint (thanks @tsamaya)
  • json dumps may now contain arbitrary json data in the extra field
  • alternative names like alt_name now correctly appear in the json dumps
  • various small performance optimisations (thanks @otbutz, @henrik242)

The export server will switch to 1.1.0 for the next export cycle. If you regularly consume dumps, please make sure you run at least Photon 1.0.1. Older versions are not compatible with the new dump.

Don't miss a new photon release

NewReleases is sending notifications on new releases.