[Photon] Need help

Christoph Lingg christoph at lingg.eu
Mon Apr 20 13:37:22 UTC 2015


Hi!

photon has a number of filter you can use to limit your search results to certain osm tags. For instance only places (city, town, village, …) Here are more information
https://github.com/komoot/photon#filter-results-by-tags-and-values

With this solution photon will have all the data for which you need a big server. As you only need a small part of it you might be better off importing your own data. And as you need Russian language support you have to do it anyway. Therefore you need to install nominatim https://github.com/twain47/Nominatim and find a way to import only the stuff you need. Their mailinglist will be a better place to get help for that.

After nominatim import is finished you can proceed on importing your customized data to photon: https://github.com/komoot/photon#customized-search-data

Cheers,
Christoph

> Am 07.04.2015 um 21:40 schrieb Станислав Дмитренко <stanislavskiy93 at gmail.com>:
> 
> Hello. I found you framework is so cool but i don't know how i can use it for my needs. Can you please help me? 
> 
> I have an iPhone app (Android app and a webservice coming soon). User can register and choose his location. How it looks like:
> User enters town's name in searchbox and see the results. I need to find only towns, regions, countries, lat&long and id of the town. Other data like streets, nearby places is not needed. Then i will save his choice (town id and coordinates) in his profile. Of course i need multilanguage support (en, es, ru for now) and geocoding because my app used worldwide. 
> 
> As i understand Open Street Map data is too large and consists of too many unneeded features for me. I use Geonames but it has really bad data. 
> 
> I found that you working on project Photon. But i don't see how to use only towns (and not streets, places, etc), and i also don't know how to parse Open Street Map data from all planet to small amount of megabytes (just countries, regions, towns, coordinates, ids on 2-3 languages) and then use it with Photon. 
> 
> Sorry, English is not my good known language:)
> 
> Can you help? Thank you.
> _______________________________________________
> Photon mailing list
> Photon at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/photon




More information about the Photon mailing list