User:Kim filitz

From OpenStreetMap Wiki
Jump to navigation Jump to search

топографические карты

я люблю топографические карты. Поскольку я не мог найти никаких карт для своего региона, я сделал один сам. Модель - советская топографическая карта 1983 г.


топографическая карта масштаб 1:25.000

Красногородский район к востоку от реки Синяя

https://drive.google.com/file/d/1n6NWNi4H5fxqfrVzh5hXaFXlGR0r30KG/view?usp=sharing




Общественный транспорт

Псковская область Общественный транспорт

/автобусные маршруты Псковская область


overpass-turbo queries for Public Transport

showing all bus routes in Pskovskaja Oblast (Russia)

visualized with a custom MapCSS Stylesheet, the bus-routes are just black lines, the bus-stops are not visible


try it yourself in overpass-turbo
[out:json];
area["addr:region"~"Псковская область"]->.boundaryarea;
relation[route=bus](area.boundaryarea);

out body;
>;
out skel qt;

{{style: /* this is the MapCSS stylesheet */

relation {
  	color:black;
  	opacity:0.2;
  	width:2;
    /*text: name;*/
}

relation node
{ opacity:0; fill-opacity:0;}

relation:active {
  color:blue;
  width:4;
  fill-color:blue;
}

relation:placeholder
{ opacity:0; fill-opacity:0;}


}}


finding Bus route relations that have members which are not highways

like OSM-Inspector "error_over_rail", a bus route uses unpassable ways (ways without highway=*, footways or railway tracks).


try it yourself in overpass-turbo
[bbox:{{bbox}}];

(

  relation[type=route][route=bus];

)->.route;

(

  way(r.route)[!highway];

  way(r.route)[highway=footway];

  way(r.route)[railway];

);

out body;

>;

out skel qt;


finding Members of Bus Route Relations, which has the wrong role.

for example: a Bus route with a Node as its member, but the node has no role.


try it yourself in overpass-turbo
// all relations with type=route and route=bus
// validates only public_transport version 2 Roles

// Nodes must have only one of the following roles: stop, stop_entry_only, stop_exit_only, platform, platform_entry_only, platform_exit_only
// Ways must have only one of the following roles: platform, platform_entry_only, platform_exit_only, empty role
//Relations must have only one of the following roles: platform, platform_entry_only, platform_exit_only

[bbox:{{bbox}}];
relation[type=route][route=bus] -> .route;
(
  node(r.route:"stop");
  node(r.route:"stop_entry_only");
  node(r.route:"stop_exit_only");
  node(r.route:"platform");
  node(r.route:"platform_entry_only");
  node(r.route:"platform_exit_only");
)->.regularNodeRoles;

(
  way(r.route:"");
  way(r.route:"platform");
  way(r.route:"platform_entry_only");
  way(r.route:"platform_exit_only");
)->.regularWayRoles;

(
  relation(r.route:"platform");
  relation(r.route:"platform_entry_only");
  relation  (r.route:"platform_exit_only");
)->.regularRelationRoles;

node(r.route)->.allNodes;
way(r.route)->.allWays;
relation(r.route)->.allRelations;

(
	(.allNodes; - .regularNodeRoles;);
	(.allWays; - .regularWayRoles;);
	(.allRelations; - .regularRelationRoles;);
);

out body;
>;
out skel qt;

Category:Bus routes