Skip to content

Releases: komoot/photon

Release 0.4.1

31 Aug 12:30
Compare
Choose a tag to compare

This is a bug fix release that fixes a regression with the -language parameter. Photon would no longer use the languages as imported when the parameter was omitted but fall back to the defaults.

Release 0.4.0

30 Jul 08:50
Compare
Choose a tag to compare

This release brings limited support for synonym lists and classification terms (#585). This allows simple replacements of terms at query time. See the documentation for details on how to configure and use synonyms.

The API endpoints for updates is now disabled by default for security reasons. If you want to trigger updates while Photon is running, start Photon with -enable-update-api. Note: updates are not supported against version of Nominatim >= 4.0. See #638 for details.

The search and reverse APIs have a new filter parameter layer. It allows to restrict results to a certain address level like house, street or city. Use multiple times to allow more than one level. Thanks to @macolu for implementing this feature.

This release makes some changes to the database schema. Database dumps from versions < 0.4 are not compatible. The extracts on the graphhopper extract server have been updated to provide extracts for this new release. If you still need to run an older version of photon, there is a final set of dumps for versions 0.3.4 and 0.3.5 in the archived/0.3 directory.

Further changes:

  • compatibility fixes for the upcoming version 4.1 of Nominatim (#635)
  • log4j JndiLookup class removed for security reasons (#621)
  • fix duplicate call to completeDoc on updates (#639)
  • add sanity checks for housenumbers (#642)
  • remove dependencies to jackson-jaxrs, common-io, guava and nv-i18n
  • ensure import thread is always terminated (#650, thanks @codepainters)
  • dependencies updated to latest versions
  • code cleanup and reorganization (#648, #651, #653, #655, #661, thanks @tahini)

Release 0.3.5

12 Jul 08:49
Compare
Choose a tag to compare

This release introduces a major reorganisation of the query structure resulting in better results for mixed-lingual queries (#538), addresses
with house numbers, short terms for search-completion-requests and queries with a location bias (#580). There is a new parameter 'zoom' for the location bias which allows to indicate the extent to which the location bias is applicable.

The Photon database now can save global properties (#582). This is currently used to ensure that the database is compatible with the Photon version running and to remember the languages that were imported into the database. The latter means that the -language parameter is not longer necessary when running Photon in server mode.

There is a new parameter -extra-tags which is applicable at import time (#576). It takes a comma-separated list of tags to import from Nominatim's extratags column. The imported tags are displayed on result but are not searchable.

Further changes:

Release 0.3.4

13 Sep 19:06
Compare
Choose a tag to compare

This is a bug-fix release which fixes the following issues:

  • missing state and county information (#483, #492)
  • missing country code due to incompatible library change (#491)
  • adapt to new location of linking information in Nominatim (#490)
  • make popups on website readable (#486)

Release 0.3.3

08 Jul 09:59
Compare
Choose a tag to compare

This release adds major improvements to the computation of the address for each place. Please note that when you create a Photon database yourself, then you need Nominatim >= 3.5.1 to fully benefit from the changes. The weekly dumps already contain the improved addresses.

Further changes:

  • new command-line option for running updates (#454)
  • update dependencies (#459, #461)
  • add new fields: county, district, locality and type (#303, #468, #473)
  • allow searching for house name (#458)
  • respect Accept-Language header (#413)
  • make default language configurable (#469)

The default behaviour for Photon is now to return the local language unless the use chooses a language via the lang parameter or the Accept-Language header. To revert to the previous behaviour of returning the English version as default, please run photon with -default-language en.

Release 0.3.2

29 Nov 19:11
Compare
Choose a tag to compare

This release adds the following new features to the API:

  • new options for enabling CORS headers (#398)
  • new bbox parameter (#364, #421)
  • output country codes (#425)
  • new debug flag for debugging ES queries (#407)

In addition, it adds improvements to the developement infrastructure:

  • improve dependency handling (#399)
  • add support for Java 11 (#408, #409)
  • add API-level tests next to existing unit tests (#420)

Many thanks to all contributors.

Note: when updating from an older version of Photon, you need to remove the module jar files from your photon data directory. Run rm photon_data/elasticsearch/modules/lang-painless/*jar (where photo_data is your photon data directory). If you forget to do this, startup fails with Jar Hell.

Release 0.3.1

08 Mar 22:18
Compare
Choose a tag to compare

This is a bug fix release which fixes the following issues:

  • respect -cluster setting also when running standalone (#331)
  • remove diacritics from words (#330)
  • set distance_sort default to true for ReverseRequest (#328)
  • add osm_value to dedupe key (#367)
  • fix scripts for continuous updates from nominatim
  • compatibility with latest nominatim version

Release 0.3.0

14 Apr 10:30
de5611c
Compare
Choose a tag to compare

This release contains major updates of the software dependencies:

  • update elasticsearch to 5.5
  • update sparkjava, groovy and painless
  • switch to slf4j-log4j
  • add support for JDK9
  • update to Nominatim 3.1.0

In addition, there are the following functional changes:

  • improve performance of reverse geocoding
  • improve house number handling (interpolations, housenumbers with hyphens)
  • improve algorithm for computing location bias
  • new country code filter for export
  • new parameter limit and radius for reverse geocoding

First 0.3 test release

19 Feb 15:05
4c22d7f
Compare
Choose a tag to compare
Pre-release
0.3-beta3

release 0.3-beta2

photon v 0.2.2

06 Mar 11:53
Compare
Choose a tag to compare