Skip to content
DefteZ edited this page Jul 7, 2015 · 4 revisions

Welcome to the westra2osm wiki!

Now this project contain draft lib and one tool (validator).

pass_validator.py

This tool can be used for comparing mountain passes that present in Openstreetmap database with database that present at site of "Westra" tourist club

Now you can see working example for Trans-Ili Alatau (Заилийский Алатау, Zailiysky Alatau) Trans-Ili Alatau is a part of the Northern Tian Shan mountain system.

Run with command

./westra2osm/pass_validator.py -s zaili.hlg -f IleAlatau_pass_validator.html

COntent of polygon file westra2osm/zaili.hlg (you can use --poly option instead. See /pass_validator.py -h for details):

[HIGHLIGHTING] zoom=11 PointLon_1=77.5422654402668 PointLat_1=43.3066934062597 PointLon_2=77.6219163191731 PointLat_2=43.118528363843 PointLon_3=77.4543748152668 PointLat_3=42.9086635939481 PointLon_4=77.3033128035481 PointLat_4=42.8945800403679 PointLon_5=77.1838364851887 PointLat_5=42.9126868755009 PointLon_6=77.1165452254231 PointLat_6=42.9579306957249 PointLon_7=77.0780930769856 PointLat_7=42.9679803637201 PointLon_8=77.0478806746418 PointLat_8=42.9418478124144 PointLon_9=76.9819627058918 PointLat_9=42.9669754707939 PointLon_10=76.8981919539387 PointLat_10=42.9498897793722 PointLon_11=76.7814622176106 PointLat_11=42.9297828921396 PointLon_12=76.7471299422199 PointLat_12=42.9187213054043 PointLon_13=76.7045579207356 PointLat_13=42.8915617174836 PointLon_14=76.6152940047199 PointLat_14=42.9036341226926 PointLon_15=76.5205369246418 PointLat_15=42.9106752675527 PointLon_16=76.5534959090168 PointLat_16=43.0402895094692 PointLon_17=76.5713486922199 PointLat_17=43.1135160495507 PointLon_18=76.8652329695637 PointLat_18=43.1345650106008 PointLon_19=77.0066819441731 PointLat_19=43.139575600515 PointLon_20=77.2140488875324 PointLat_20=43.2637068664931 PointLon_21=77.5422654402668 PointLat_21=43.3066934062597

Output result you can see: deftez.org/osm/IleAlatau_pass_validator.html

##Future plans

  • make direct link to westra.ru for each pass
  • make direct link to osm node for each pass
  • print difficult scale
  • print elevation
  • print distance between points