[Photon] Q: can photon search on tags? Can I add it?

Sachin Dole sdole at genvega.com
Wed Feb 11 01:17:17 UTC 2015


Hello, is the reg_name now indexed? I don't seem to find it with this query:

```http://photon.komoot.de/api/?q=big%20island&limit=50&lat=20.77&lon=-157.82```

I can find it on nominatim:

```http://nominatim.openstreetmap.org/search.php?q=big+island&viewbox=-176.88%2C30.21%2C-139.07%2C11.65```

Thanks.

On Tue, Jan 27, 2015 at 9:55 AM, Sachin Dole <sdole at genvega.com> wrote:
> Thank you for checking up.
>
> On Jan 27, 2015 9:47 AM, "Christoph Lingg" <christoph at lingg.eu> wrote:
>>
>> Hi Sachin,
>>
>> I added a checked and verified that regional names are getting indexed
>> correctly:
>> https://github.com/komoot/photon/commit/79f01b844338274013d0fb096a14e207062a86a5
>>
>> The document is missing in the elastic search index. For any reason it did
>> not get imported from Nominatim. At the moment I am setting up a nominatim
>> instance myself in preparation for the 0.2.1 release. I am confident the
>> document will be part of the index then.
>>
>> Cheers,
>> Christoph
>>
>> > Am 27.01.2015 um 13:38 schrieb Sachin Dole <sdole at genvega.com>:
>> >
>> > Hi Christoph,
>> >
>> >>
>> >> Reg name is not used very often, see
>> >> http://taginfo.openstreetmap.org/keys/reg_name. Anyway, you were just
>> >> writing at a moment when I was working on the importer, so I > just
>> >> regional names to the photon index. see
>> >> https://github.com/komoot/photon/commit/a8bc9b255ddffd47103172b579e47fd38c642786
>> >>
>> >
>> > Did you release it to the public search? It would be great to know if
>> > that was your plan.
>> >
>> > On nominatim, I can search for "Big Island" and get the following:
>> > http://nominatim.openstreetmap.org/details.php?place_id=167577621
>> > On photon, I don't get my intended result:
>> >
>> > http://photon.komoot.de/api/?q=big%20island&limit=50&lat=19.5908&lon=-155.4346
>> >
>> > Thanks!
>> >
>> >
>> > On Mon, Jan 12, 2015 at 11:21 AM, Christoph Lingg <christoph at lingg.eu>
>> > wrote:
>> >>
>> >> Hi Sachin,
>> >>
>> >> thanks for your feedback. Photon searches in much more than name, also
>> >> street country, housnumber, postcode and administrative levels.
>> >>
>> >> We are already including a bunch of name variants, like loc_name.
>> >>
>> >> Reg name is not used very often, see
>> >> http://taginfo.openstreetmap.org/keys/reg_name. Anyway, you were just
>> >> writing at a moment when I was working on the importer, so I just  regional
>> >> names to the photon index. see
>> >> https://github.com/komoot/photon/commit/a8bc9b255ddffd47103172b579e47fd38c642786
>> >>
>> >> We are currently working on reimporting new data, if we are lucky we
>> >> will have a new photon version by the end of this week. Keep the finger
>> >> crossed.
>> >>
>> >> Cheers,
>> >> Christoph
>> >>
>> >> Am 12.01.2015 um 13:09 schrieb Sachin Dole <sdole at genvega.com>:
>> >>
>> >> Hello,
>> >>
>> >> Can photon search on other tags than just name? For example, if you
>> >> search for "Big Island", photon does not return the main island of United
>> >> States state of Hawai'i. On nominatim, it returns correctly. In this case,
>> >> the "name" of the relation is "Hawai'i" but "reg_name" is "Big Island" and
>> >> nominatim search correctly. If photon currently does not allow for this, can
>> >> I try to add this ability on a fork? I will have to start from scratch
>> >> (create a new database etc), and I have no problem doing so if indeed it is
>> >> needed. If it already exists, it will be great if you can show me an example
>> >> on http://photon.komoot.de/
>> >>
>> >> THANKS a lot!
>> >>
>> >> Best,
>> >> Sachin Dole
>> >>
>> >> _______________________________________________
>> >> Photon mailing list
>> >> Photon at openstreetmap.org
>> >> https://lists.openstreetmap.org/listinfo/photon
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Photon mailing list
>> >> Photon at openstreetmap.org
>> >> https://lists.openstreetmap.org/listinfo/photon
>> >>
>> >
>> >
>> >
>> > --
>> > President  |  Genvega Inc.  |  www.genvega.com  |  tel: 630.290.2561
>> >
>> > _______________________________________________
>> > Photon mailing list
>> > Photon at openstreetmap.org
>> > https://lists.openstreetmap.org/listinfo/photon
>>
>>
>> _______________________________________________
>> Photon mailing list
>> Photon at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/photon



-- 
President  |  Genvega Inc.  |  www.genvega.com  |  tel: 630.290.2561



More information about the Photon mailing list