This object is in archive! 
Add overpass queries like: where is the next bicycle shop
Declined
Hello,
overpass (http://overpass-turbo.eu/) allows for special queries in OpenStreetMap, see following example.
/*
This has been generated by the overpass-turbo wizard.
The original search was:
“shop=bicycle”
*/
[out:json][timeout:25];
// gather results
(
// query part for: “shop=bicycle”
node["shop"="bicycle"]({{bbox}});
way["shop"="bicycle"]({{bbox}});
relation["shop"="bicycle"]({{bbox}});
);
// print results
out body;
>;
out skel qt;
A dialog for overpass query creation would be really helpful, even if it only does create the "skeleton" - it's quite difficult on a mobile while on the move!
A dialog for overpass query creation would be really helpful, even if it only does create the "skeleton" - it's quite difficult on a mobile while on the move!
Hi guys,
is this really needed? Isn't better to use offline POI database that is already in Locus and that is generated from same source as use this wizard (OpenStreetMap)? Because search for some POI is already quite easy and I hope that in future it will be even easier :).
Hi guys,
is this really needed? Isn't better to use offline POI database that is already in Locus and that is generated from same source as use this wizard (OpenStreetMap)? Because search for some POI is already quite easy and I hope that in future it will be even easier :).
From my point of view, offline POI DB is very different from Overpass turbo.
1) POI DB has to be downloaded "as sidecar" in a complete vector map, so it's a hundreds of mbytes heavy data transfer, whereas overpass offers a way for one single query only (few kbytes) - but on the other hand, Overpass requires Internet connection
2) Each POI DB file is limited to a single country, overpass can also search across boarders and even world wide
3) In POI DB, we can only search what you imagined we might need to search - or at least I did not find any possibility to search for cross country tracks (e.g. because the planned track is closed), climbing spots (e.g. because it's raining where we currently are), bridges or fords (e.g. important in Iceland),...
4) In POI DB, I did not find any way to add predicates to search, e.g. just gasoline stations currently open AND with LPG, cross country tracks of a certain difficulty AND minimum length, climbing sports with maximum ascend/rope length 30m AND min 5 routes between grade IV and VI, ...
5) Due to design principles, POI DB will always be outdated compared to OSM database
I'm happy that POI DB has finally come and I see a lot of potential, but not the potential to completely replace something like overpass - that would be too much work.
From my point of view, offline POI DB is very different from Overpass turbo.
1) POI DB has to be downloaded "as sidecar" in a complete vector map, so it's a hundreds of mbytes heavy data transfer, whereas overpass offers a way for one single query only (few kbytes) - but on the other hand, Overpass requires Internet connection
2) Each POI DB file is limited to a single country, overpass can also search across boarders and even world wide
3) In POI DB, we can only search what you imagined we might need to search - or at least I did not find any possibility to search for cross country tracks (e.g. because the planned track is closed), climbing spots (e.g. because it's raining where we currently are), bridges or fords (e.g. important in Iceland),...
4) In POI DB, I did not find any way to add predicates to search, e.g. just gasoline stations currently open AND with LPG, cross country tracks of a certain difficulty AND minimum length, climbing sports with maximum ascend/rope length 30m AND min 5 routes between grade IV and VI, ...
5) Due to design principles, POI DB will always be outdated compared to OSM database
I'm happy that POI DB has finally come and I see a lot of potential, but not the potential to completely replace something like overpass - that would be too much work.
Thank you for a summary Georg, understand perfectly.
Seems that there exists usable API: http://wiki.openstreetmap.org/wiki/Overpass_API , which may be used to creating an service in Locus. To be true, I can't imagine how I (or any user), write some search queries on mobile device. I can imagine also some kind of "wizard" for this, but such task is already far away from what I consider as important now.
Thank you for a summary Georg, understand perfectly.
Seems that there exists usable API: http://wiki.openstreetmap.org/wiki/Overpass_API , which may be used to creating an service in Locus. To be true, I can't imagine how I (or any user), write some search queries on mobile device. I can imagine also some kind of "wizard" for this, but such task is already far away from what I consider as important now.
Hello,
have a look at http://overpass-turbo.eu/, there is a wizard to create simple queries. And as Georg already mentioned: If you need a certain type of POI on tour (ie. your glasses got broken and you need repair), most probably you don't have the right POI-DB with you.
Hello,
have a look at http://overpass-turbo.eu/, there is a wizard to create simple queries. And as Georg already mentioned: If you need a certain type of POI on tour (ie. your glasses got broken and you need repair), most probably you don't have the right POI-DB with you.
Oki and when you are on tour, can you imagine you will write such queries on a device to search for required POIs?
Oki and when you are on tour, can you imagine you will write such queries on a device to search for required POIs?
Hello,
a proposal:
I select 'around_me', then I get a choice like:
doctor | mechanican | shop | restaurant | leisure ...
If I choose ie doctor, I get:
dentist | practioner | ent | surgeon ...
Addionally I can choose:
open now | open next hours | ingnore opening hours
distance 500m | 1km | 10km.
Probably, this is just a xml-list with tag keywords and corresponding icons.
Hello,
a proposal:
I select 'around_me', then I get a choice like:
doctor | mechanican | shop | restaurant | leisure ...
If I choose ie doctor, I get:
dentist | practioner | ent | surgeon ...
Addionally I can choose:
open now | open next hours | ingnore opening hours
distance 500m | 1km | 10km.
Probably, this is just a xml-list with tag keywords and corresponding icons.
Hello Georg D and others.
I'm had discussion about this with Petr, who use this tool also during his work on maps/pois etc. We both agree that it may be an useful tool. But, not a tool that should be available as another feature in Locus. Sorry to say this, but this should be very complex feature that should take huge amount of time. If anyone will be really interested, it should be possible to create this as an add-on - separate application - that will do all hard work and display result in Locus or any other map application.
I see you invested a lot of time to previous post, but such feature is really far beyond from what I wants to have in Locus. Thanks for understanding.
Hello Georg D and others.
I'm had discussion about this with Petr, who use this tool also during his work on maps/pois etc. We both agree that it may be an useful tool. But, not a tool that should be available as another feature in Locus. Sorry to say this, but this should be very complex feature that should take huge amount of time. If anyone will be really interested, it should be possible to create this as an add-on - separate application - that will do all hard work and display result in Locus or any other map application.
I see you invested a lot of time to previous post, but such feature is really far beyond from what I wants to have in Locus. Thanks for understanding.
Replies have been locked on this page!