Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geocoder requirements #1

Closed
5 of 6 tasks
samuliheljo opened this issue Mar 11, 2015 · 2 comments
Closed
5 of 6 tasks

Geocoder requirements #1

samuliheljo opened this issue Mar 11, 2015 · 2 comments

Comments

@samuliheljo
Copy link
Contributor

Imported Datasources

  • Seudullinen osoiteluettelo
  • MML kunnat
  • Palvelukartta pääkaupunkiseutu
  • OSM
  • Valtakunnallinen palvelukartta
  • Liikuntapaikat (lipas-service)

Searchable data

  • Geocoding (position for given text):
    • Address
    • Stop short number
    • Stop long number
    • POI
    • District (kaupunginosa)
    • City
  • Reverse geocoding (text for given position)
    • Address

Search metadata parameters

  • Search modes
    • "Pääkaupunkiseutu tagged": Only search for tagged data for "pääkaupunkiseutu".Note: "Kaupunkiseutu" is not an area on map. It is all data that is tagged for it.
    • "All": Search in all of Finland
  • Zoom level
    • Geocoding should take zoom level as parameter. This should affect whether addresses are returned. I.e. on low zoom level only city district or city should be returned.
  • True/False whether services (e.g. libraries) should be returned. Check http://dev.hel.fi/servicemap
  • How many search results are returned per "result type" (address, poi, ...)

Matching of search results

  • Match should be full text search. E.g. "man" should match "man"
  • Match should work with typos. Consider Levenshtein algorithm.
  • Matching should work with "typos" and "suggestions"
  • Address search should recognize match without comma before city in search string e.g: "opastinsilta 6 helsinki"
  • Address search should recognize match without the name of the city e.g: "linnankoskenkatu 10" finds: "Linnankoskenkatu 10, Helsinki".

Language support

  • Support: Finnish and Swedish.
  • If UI language is in Swedish: Return results in Swedish
  • If UI language is in Any other language: Return results in Finnish

Returning results

  • No duplicates should be returned if same target is found from multiple datasources.

Ordering of results

  1. Address
  2. POI (e.g. Finlandia house, Tampere)
  3. Service (e.g. Library)
  4. Stop name
  5. Stop number
    If same street name exists in multiple times, order is according alphabetic order of city name. e.g. "koivutie 4" gives first "Koivutie 4, Kirkkonummi".

Search speed

  • Search should be as fast as possible. One second is too slow, it should be around 100 - 300ms.

Documentation

  • Document how geocoding is implemented

Requirements on UI

  • When user clicks on search box, system should immediately show:
    1. Favourites. Order these by distance from current location if possible.
    2. Previous searches
@hukka
Copy link
Contributor

hukka commented Mar 19, 2015

Elasticsearch performance considerations:

@hukka
Copy link
Contributor

hukka commented Apr 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants