Geocoding on OSM-shape files via elasticsearch

المشرف العام

Administrator
طاقم الإدارة
I want to get a geocoding system based on osm data and elasticsearch engine. I've tried some projects like komoot\photon, but, as I a really newbie in this, I stuck on preparing of the data for my area and many troubles with a Nominatim server. I could be using the whole world dump of indices but it is too big data for me(about 56Gb space). However, I found out I can use just Elasticsearch from scratch and some tool such as ogr2ogr which provide a support of a files converting from shape to elasticsearch. So, I downloaded a shape files from geofabrik and converted some of them to elasticsearch. What kind of shapefiles(points,roads,places..) should I import to elasticsearch for organize simple geocoding? I'm thinking of using it on my leaflet html page. And what kind of requests should be to work with elasticsearch engine then? Sorry if my explanations looks confusedly. Probably I choose a wrong way, but any assistance gratefully received.



أكثر...
 
أعلى