Git Product home page Git Product logo

geocoder-nlp's People

Contributors

rinigus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zhouning

geocoder-nlp's Issues

bug poormaps>OSMS-server

HELLO RINIGUS

  • thank you for your immense work on OSMSserver
  • I just want to notify you of the words TARGET-START Continue showing in poormaps navigation.

geocoder: add support for type

We would need to return types of the results. In addition to POI type, way, address, and few other types have to be supported. Requires change in database format and results reporting

clean database from common substrings

as a part of a solution allowing to search for substrings of the locations (for example, if the street is named "John Smith", you could search for Smith), some common substrings are probably in the database. For example, "street". Make stats and remove them automatically on the basis of database record distributions.

Impossible to find exact address matches in Italy

Searching for addresses with OSM Scout + WhoGo maps never returns an exact match. I've tried this with few addresses I use often. With a bit of luck I am able to get results near the desired address, but the are all POIs (mainly bus stops that have the name of the street I'm searching, or in other cases small business activities that also, for same reason, have the name of the street in their name.

I sent a private mail to rinigus with a log and some examples including sensible data I don't want to publicly share here.

geocoding: use joins when looking up top levels

we can look up prim_id and last_subobject immediately . if we know that the best result already has a higher level of the match, we can even drop any elements without subnodes (use join instead of left join)

Collaboration?

Hi @rinigus

I tried to find contact detail for you online but came up blank :)

I think there might be a possibility for some collaboration as we are working in similar areas.
Please send me an email if you'd like to catch up (either video call or in-person in Berlin).

You can find my contact details on my GitHub profile.

-P

add version into the database

make separate table for format and other data. format would be

key, value as a string

add version as a first record

optimize search for common street names

for example, Parkstraße searches in Germany take a while.

Adding index combining prim_id and normalized name fixed it for me. Consider reorganizing the database and add separately link and normalized names tables.

POI search: Please add aliases (and their translations) for POI tags

Searching for POIs can be improved by using aliases for POI tags:

My use case: I wanted search next filling stations around my current position. (My car was low on gas)

In German the appropriate word would be "Tankstelle". This translates to the English words "filling station" or "gas station". But POI searches with both translations failed in PoorMap (+ OSM Scout Server), since the "official" tag name for this kind of infrastructure is "amenity : fuel". (http://wiki.openstreetmap.org/wiki/Map_Features)

Another example: Search for "drugstore" gives no results, since the "official" tag name is "pharmacy".

Possible tag lists:

But I am not sure, whether the "... in" or "... near" variations will help.

Example: The user searches for "Tankstelle", OSM Scout Server detects that this is an alias for a POI tag and adds "amenity_fuel" to the search string.

See also:
otsaloma/poor-maps#59

optimize search: group normalizations

with the current version of libpostal, it would be better to group normalizations so we could search for group immediately and not transverse the tree many times.

optimize search: skip primitive when possible

if libpostal managed to parse the string into several hierarchies and we found a result, there is no need to use primitive parser search.

also, if libpostal and primitive parser both have not found any hierarchy, we don't need to repeat the same search

in general, have to record performed searches and skip the copies of them.

importer is missing

either submit importer to libosmscout or write a separate one to get data from pbf

Do not drop POIs without name

Originally from rinigus/osmscout-server#228

@palbr:

As mentioned in https://talk.maemo.org/showthread.php?p=1539764&postcount=119, OSM Scout Server drops OSM POIs, which do not have a name.

This will delete many POIs (which are interesting for me) like parking lots, public toilets or playgrounds, since those typically do not have special names.

Example: Looking at the parkings lots in my home town, I see the following POI search results:

  • OsmAnd: 3 parkings lots with names and 25 parking lots without a name
  • PoorMap with OSM Scout Server: only the 3 parking lots with names

Could you please remove this filter criterion?

installation

hey can you please provide step by step procedure for libpostal language specific installation

geocoder: add poi search

use spatialite to support search with geometry restrictions, if needed

perform search by type as well as name of the feature

Please don't merge POI tags

From: https://talk.maemo.org/showthread.php?p=1539768#post1539768

Do you do some kind of tag merging, when creating the OSM Scout Server database? In OsmAnd I can search for POI with tag "amenity _library" or "amenity_police". In OSM Scout Server database libraries and police stations in my hometown can be found, but only by their name. And the type is listed by PoorMaps as "Building".

In my opinion, it would be helpful, to be able to explicitly search for "libraries" or "police stations" by tag, since if I am new in town, I don't know the name of the library.

@rinigus:

As far as I remember, types are merged in the import and assigned as only one for POI. Hence the problem.
...
When designing geocoder, I was mainly focused on getting results by name since that was really poor. Now it's time to look into search by type as in nearby search and make it work well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.