Comments (4)
I suggested to the community in Dorsten, see
http://wiki.osm.org/wiki/Dorsten#Übersichtskarten
to use links of the form
([http://overpass-turbo.eu/map.html?Q={{urlencode:area[name="Dorsten"];node(area)["memorial:type"=stolperstein];out;}} Übersichtskarte])
While this is not a replacement for parametrized templates, it has two interesting aspects:
- It goes directly to the map, thus being simple to use for first-time users.
- It tells explicitly what it does, hence being simpler to manage.
I would suggest to go forward with parametrized links in general and include the option to share the map view instead of the query console, but I would ask you to keep nonetheless the "map.html?Q=" feature operational.
from overpass-turbo.
Thanks for the suggestion. It's certainly a nice idea, but there are some technical and conceptual design issues with this approach. So it's likely a won't-fix, I'm afraid.
Short-links simply get redirected to ordinary URLs with GET parameters. That means that those additional shortlink parameters could clash with ordinary existing (or future) GET parameters. That's my main concern.
Generally, I guess that one should probably use non-short URLs in such a documentation or wiki page. Those are easily changeable without the need to recreate all the shortlinks again. ps: here is how one can construct these URLs manually.
I also like @drolbr's idea to use the fullscreen map.html
endpoint for such use-cases. The map.html view will "soon" also support the full repertoire overpass turbo's features (mapcss, extended queries, etc.), thus being a 1-to-1 replacement for the currently linked pages.
from overpass-turbo.
I'm closing this because of the above mentioned concerns and current work which enabled the usage of custom (public or private, external or internal) URL-shortener services. Those services could in no way know what to do with those extra GET-parameters.
Instead, consider to use the new wizard-query API (#50, docu). Example: http://overpass-turbo.eu/?w=memorial%3Atype%3Dstolperstein%20in%20%22Dachau%22&R
from overpass-turbo.
I created a Wiki template for these links, which is used now in the mentioned list. The template has also some optional parameters for customizing the link. However it is still a bit limited due to #23.
from overpass-turbo.
Related Issues (20)
- Export with Level0 doesn't work when the query needs fixing
- Missing http -> https redirect HOT 2
- `"Drinking Water" in London` in Wizard query does not work HOT 3
- Stuck at 'rendering geoJSON' due to `TypeError: undefined is not an object`
- How to write request "show all gas stations" on current map cutout? HOT 1
- [suggestion] Let user use GPS coordinates to find a location
- Ability to automatically run query after loading
- Tiny-url creation fails HOT 3
- [suggestion] Use combobox in Query Wizard with suggestions
- [suggestion] Let user find location through GPS coordinates
- JOSM automatic fix break geocode HOT 1
- Broken link on "image" key
- Ways should have slight hover effect
- "This query returned quite a lot of data" threshold HOT 1
- Correct instantiation of attribution control
- On timeout, add button to search without relations
- popup black bar keeps on spinning forever due to error message loading error HOT 3
- Exported GeoJSON data missing HOT 2
- Issue with OSM tag HOT 5
- Building queries in query wizard doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from overpass-turbo.