An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
I was at the local university participating in a lecture about OpenStretMap presented by the Brazilian OSM chapter. I seized the opportunity to talk about OpenStreetBrowser -- they didn't know it, they like it -- then I noticed that querying within a boundary would be necessary, but that wasn't possible. So that's my idea:
Say I want query all shops within this suburb. The workflow would be the following:
Menu "Places" > "Administrative Areas"
Click on a boundary.
The boundary pop-up will have the options show details, edit and select to query only here. Click on select to query only here. It gets the relation number 7734528;
All the boundaries are "dehighlighed" while the selected boundary will keep its black outline.
Now menu "Leisure, Sport and Shopping" > "Shopping"
Generate the following query:
[out:json][timeout:25];
relation(7734528);
out geom;
map_to_area -> .a;
(
node[shop](area.a);
way[shop](area.a);
relation[shop](area.a);
);
out geom;
To avoid to query too big or too small areas, the boundary query will depend of zoom level availability.
Once the user selects select to query only here, this option becomes remove boundary query and the left panel menu gets a [querying within: {relation name} × ] label. Clicking on the × or remove boundary query removes the boundary query.
EDIT: Forgot to add way and rel in the overpass-query. Fixed.
I was at the local university participating in a lecture about OpenStretMap presented by the Brazilian OSM chapter. I seized the opportunity to talk about OpenStreetBrowser -- they didn't know it, they like it -- then I noticed that querying within a boundary would be necessary, but that wasn't possible. So that's my idea:
Say I want query all shops within this suburb. The workflow would be the following:
show details
,edit
andselect to query only here
. Click onselect to query only here
. It gets the relation number 7734528;Notes:
select to query only here
, this option becomesremove boundary query
and the left panel menu gets a[querying within: {relation name} × ]
label. Clicking on the×
orremove boundary query
removes the boundary query.EDIT: Forgot to add way and rel in the overpass-query. Fixed.