Re: [OSM-dev] Comparing quality of different geocoders?
Aug 26, 2020, 11:04 by lon...@denofr.de: > Hi, > > On Wed, Aug 26, 2020 at 09:11:44AM +0200, Mateusz Konieczny via dev wrote: > >> Is anyone aware about some test suite comparing different geocoders? >> >> Something with query + expected result pairs, and listing where Nominatim / >> Photon / etc succeeded/failed? >> >> I want something like that, tried to find one and failed. >> >> I want to ask whatever I missed something like that before I will make it. >> > > There are a couple of test suits out there. The two that come > immediately to mind are: > https://github.com/geocoders/geocoder-tester > https://github.com/pelias/fuzzy-tester > Thanks! I will need to look how tightly pelias/fuzzy-tester is integrated with just pelias and is it viable to expand/use it to support testing REST apis. Maybe it will be easier to write something small from scratch. > The issue with all these is that you have to define what you > actually want to compare. Depending on what kind of queries you > run and how you define the results you get, you'll get very different > results. > Oh, I know! For example cases such as "Elementary school number 12, Streetname 19" where address and object are at different locations and expected result completely depends on what user wants. Or slang/local/vulgar names where some would prefer not finding them and not listing them over finding them, even if naming is real. ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Comparing quality of different geocoders?
Hi, On Wed, Aug 26, 2020 at 09:11:44AM +0200, Mateusz Konieczny via dev wrote: > Is anyone aware about some test suite comparing different geocoders? > > Something with query + expected result pairs, and listing where Nominatim / > Photon / etc succeeded/failed? > > I want something like that, tried to find one and failed. > > I want to ask whatever I missed something like that before I will make it. There are a couple of test suits out there. The two that come immediately to mind are: https://github.com/geocoders/geocoder-tester https://github.com/pelias/fuzzy-tester The issue with all these is that you have to define what you actually want to compare. Depending on what kind of queries you run and how you define the results you get, you'll get very different results. Sarah ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Questions on modifying openstreetmap-carto
"reading from relation" part is quite hard. I have no idea how to do that. Aug 26, 2020, 09:50 by mapper+...@minoa.li: > Hello again, > > I am starting to get the basics of adding new fields to project.mml, but I > now wish to update “amenity-points” so that bus stops use the network name > from the “stop_area”, like they do in France. At the moment I can manage: > > tags->'network' AS network, > > … which calls up the network tag from the node only. How do I make it to read > from the “stop_area” relation too? > > Apologies for being very specific: I am very new to anything beyond simple > recolours. > > — ika-chan! > >> On 25 Aug 2020, at 21:44, Andy Townsend wrote: >> >> On 25/08/2020 19:52, Mateusz Konieczny via dev wrote: >> >>> Yes, I always used normal text editor. >>> >> Same here. There are projects such as >> https://wiki.openstreetmap.org/wiki/TileMill which were / are designed to >> automate map reloading after changes, but when I last used TileMill (a long >> time ago) there were signnificant problems using TileMill with an OSM >> Carto-derived style (not least - there are so many tabs that they >> disappeared off the screen). I tend to just reload when I want to rerender. >> When changing my own OSM Carto-derived map style I use >> https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/update_render.sh >> and >> https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/update_carto.sh >> to reload data (the first if a lua script has changed and the database >> needs to be reloaded; the second if only a style file has changed and the >> style just needs to be recompiled). >> >> >>> If you want to see how changes are done >>> I would recommend looking at pull requests >>> and commit history. >>> >> I tried to summarise "Adding a change to OSM Carto" at >> https://www.openstreetmap.org/user/SomeoneElse/diary/43041 ; some of that >> won't be relevant but some of it might still be - things like testing the >> effect of a colour change. >> >> If you haven't seen it already, please do read >> https://ircama.github.io/osm-carto-tutorials/git-workflow/ and the related >> tutorials there - they're excellent! >> >> Best Regards, >> >> Andy >> >> >> >> ___ >> dev mailing list >> dev@openstreetmap.org >> https://lists.openstreetmap.org/listinfo/dev >> > > > ___ > dev mailing list > dev@openstreetmap.org > https://lists.openstreetmap.org/listinfo/dev > ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Questions on modifying openstreetmap-carto
Hello again, I am starting to get the basics of adding new fields to project.mml, but I now wish to update “amenity-points” so that bus stops use the network name from the “stop_area”, like they do in France. At the moment I can manage: tags->'network' AS network, … which calls up the network tag from the node only. How do I make it to read from the “stop_area” relation too? Apologies for being very specific: I am very new to anything beyond simple recolours. — ika-chan! > On 25 Aug 2020, at 21:44, Andy Townsend wrote: > > On 25/08/2020 19:52, Mateusz Konieczny via dev wrote: >> Yes, I always used normal text editor. >> > Same here. There are projects such as > https://wiki.openstreetmap.org/wiki/TileMill which were / are designed to > automate map reloading after changes, but when I last used TileMill (a long > time ago) there were signnificant problems using TileMill with an OSM > Carto-derived style (not least - there are so many tabs that they disappeared > off the screen). I tend to just reload when I want to rerender. When > changing my own OSM Carto-derived map style I use > https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/update_render.sh > and > https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/update_carto.sh > to reload data (the first if a lua script has changed and the database needs > to be reloaded; the second if only a style file has changed and the style > just needs to be recompiled). > > >> If you want to see how changes are done >> I would recommend looking at pull requests >> and commit history. >> > I tried to summarise "Adding a change to OSM Carto" at > https://www.openstreetmap.org/user/SomeoneElse/diary/43041 ; some of that > won't be relevant but some of it might still be - things like testing the > effect of a colour change. > > If you haven't seen it already, please do read > https://ircama.github.io/osm-carto-tutorials/git-workflow/ and the related > tutorials there - they're excellent! > > Best Regards, > > Andy > > > > ___ > dev mailing list > dev@openstreetmap.org > https://lists.openstreetmap.org/listinfo/dev ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Comparing quality of different geocoders?
Is anyone aware about some test suite comparing different geocoders? Something with query + expected result pairs, and listing where Nominatim / Photon / etc succeeded/failed? I want something like that, tried to find one and failed. I want to ask whatever I missed something like that before I will make it. ___ dev mailing list dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/dev