Browse Source

Updated polygons, basic elevation processing notes, info

master 20180324.1
Mike C 3 years ago
parent
commit
b131e95e5c
  1. BIN
      bin/osmconvert64
  2. 4728
      custom_polys/north-america/usa/michigan/alger-county.poly
  3. 3601
      custom_polys/north-america/usa/michigan/baraga-county.poly
  4. 13414
      custom_polys/north-america/usa/michigan/chippewa-county.poly
  5. 8788
      custom_polys/north-america/usa/michigan/delta-county.poly
  6. 743
      custom_polys/north-america/usa/michigan/dickinson-county.poly
  7. 3501
      custom_polys/north-america/usa/michigan/gogebic-county.poly
  8. 10164
      custom_polys/north-america/usa/michigan/houghton-county.poly
  9. 2364
      custom_polys/north-america/usa/michigan/iron-county.poly
  10. 5928
      custom_polys/north-america/usa/michigan/keweenaw-county.poly
  11. 308
      custom_polys/north-america/usa/michigan/luce-county.poly
  12. 11197
      custom_polys/north-america/usa/michigan/mackinac-county.poly
  13. 2498
      custom_polys/north-america/usa/michigan/marquette-county.poly
  14. 4545
      custom_polys/north-america/usa/michigan/menominee-county.poly
  15. 2602
      custom_polys/north-america/usa/michigan/ontonagon-county.poly
  16. 1696
      custom_polys/north-america/usa/michigan/schoolcraft-county.poly
  17. 19
      custom_polys_and_extracts.md
  18. 31
      elevation.md
  19. 0
      lists/australia-oceania.txt
  20. 1
      lists/midwest-srtm1.txt
  21. 1
      lists/midwest-srtm3.txt
  22. 15
      lists/upper-peninsula.txt
  23. 10
      process_maps.py
  24. 41
      pymapsforge/process.py

BIN
bin/osmconvert64

Binary file not shown.

4728
custom_polys/north-america/usa/michigan/alger-county.poly
File diff suppressed because it is too large
View File

3601
custom_polys/north-america/usa/michigan/baraga-county.poly
File diff suppressed because it is too large
View File

13414
custom_polys/north-america/usa/michigan/chippewa-county.poly
File diff suppressed because it is too large
View File

8788
custom_polys/north-america/usa/michigan/delta-county.poly
File diff suppressed because it is too large
View File

743
custom_polys/north-america/usa/michigan/dickinson-county.poly

@ -0,0 +1,743 @@
polygon
1
-88.133528 45.8233072
-88.132456 45.8241559
-88.131468 45.8247749
-88.130699 45.825208
-88.1300341 45.8255599
-88.1295091 45.8258789
-88.128827 45.8263149
-88.128523 45.8265099
-88.128012 45.8269229
-88.127414 45.8273799
-88.1269261 45.8277209
-88.1264931 45.8280239
-88.1258251 45.8285139
-88.125069 45.8291359
-88.124534 45.8295069
-88.124421 45.8295999
-88.1239011 45.8299789
-88.123127 45.830544
-88.121832 45.8317609
-88.120901 45.8329619
-88.119175 45.834031
-88.118445 45.8344949
-88.117589 45.8349819
-88.116672 45.8355409
-88.1160281 45.8359879
-88.1152231 45.8366119
-88.1140621 45.8374099
-88.113128 45.8380359
-88.112283 45.8387209
-88.111173 45.83929
-88.1102671 45.8395189
-88.109066 45.8399979
-88.1079981 45.8405349
-88.10702 45.841162
-88.106169 45.8416639
-88.1051961 45.8424129
-88.103943 45.8437429
-88.1027931 45.8448869
-88.102349 45.8454909
-88.102021 45.8460389
-88.101552 45.8465939
-88.101114 45.847121
-88.1006521 45.8475979
-88.0998641 45.8483489
-88.099109 45.849137
-88.0984691 45.8498199
-88.0977581 45.8504379
-88.097089 45.8508509
-88.0963851 45.8510559
-88.095628 45.8513829
-88.09507 45.851779
-88.094069 45.852515
-88.093294 45.8530939
-88.0916361 45.8540349
-88.090787 45.8544659
-88.090267 45.8548399
-88.0898341 45.8552569
-88.0892901 45.8555869
-88.088496 45.8564299
-88.0882021 45.8566699
-88.0877191 45.8569499
-88.087568 45.8572479
-88.087392 45.8575029
-88.087068 45.8578249
-88.0867551 45.8583229
-88.0865531 45.8588809
-88.0863911 45.8594159
-88.0863001 45.8599949
-88.085891 45.861242
-88.085601 45.8616679
-88.085075 45.8621629
-88.084484 45.862933
-88.0840761 45.8633139
-88.0832871 45.8641339
-88.082822 45.8646769
-88.082612 45.8648429
-88.0824651 45.8649609
-88.082174 45.8650489
-88.081763 45.8650769
-88.0811131 45.8649959
-88.08025 45.8647449
-88.079487 45.8643889
-88.0790061 45.8641099
-88.078557 45.863912
-88.078081 45.863787
-88.0776531 45.8637439
-88.07736 45.8637599
-88.0769721 45.8639399
-88.07601 45.8642669
-88.075302 45.8646089
-88.0748281 45.8649049
-88.0745461 45.8652389
-88.074351 45.865531
-88.074316 45.8657679
-88.074375 45.8660379
-88.0743961 45.8661899
-88.0751261 45.8671179
-88.0753751 45.8674419
-88.075614 45.867748
-88.075983 45.868224
-88.0762531 45.8685879
-88.07603 45.8687169
-88.076003 45.8689049
-88.0759841 45.8693239
-88.075838 45.8696299
-88.075566 45.869935
-88.0742721 45.8703739
-88.074102 45.8706299
-88.0740061 45.8709849
-88.07399 45.8713869
-88.073867 45.871676
-88.0737681 45.8717259
-88.073696 45.8718189
-88.0728751 45.8719869
-88.072037 45.8721499
-88.070973 45.8723409
-88.0702901 45.8724739
-88.0701761 45.8725069
-88.0698635 45.8727379
-88.0697631 45.8729379
-88.06981 45.873317
-88.070001 45.8738099
-88.070483 45.8743289
-88.071103 45.8746439
-88.0722891 45.8749949
-88.0724591 45.8750759
-88.0744361 45.8755219
-88.075576 45.87573
-88.076039 45.8758509
-88.07645 45.8760129
-88.0769901 45.8763149
-88.077549 45.8767389
-88.078204 45.8773669
-88.078389 45.8775109
-88.0783891 45.8775119
-88.0784161 45.8775339
-88.078479 45.877622
-88.078541 45.8777209
-88.0787071 45.8779479
-88.0791581 45.8785189
-88.079594 45.879006
-88.0801481 45.8794549
-88.080653 45.8797659
-88.0811661 45.8799889
-88.08182 45.8802009
-88.082489 45.880369
-88.083285 45.8805469
-88.084157 45.8806379
-88.0848881 45.8806679
-88.086562 45.880639
-88.0875991 45.8805539
-88.0901801 45.8800939
-88.091962 45.879856
-88.0928181 45.8797649
-88.0942091 45.8797549
-88.095654 45.87983
-88.0964961 45.8798609
-88.0973 45.8799819
-88.097465 45.8800059
-88.0988601 45.8804399
-88.09953 45.8807509
-88.1000431 45.8810339
-88.1005181 45.8814169
-88.100914 45.881773
-88.101264 45.8822819
-88.1016051 45.8828799
-88.1017571 45.8831919
-88.101891 45.883597
-88.1019031 45.8836319
-88.101973 45.8840269
-88.102018 45.8843169
-88.102068 45.8852459
-88.1020401 45.8860799
-88.102146 45.8867889
-88.102307 45.8889589
-88.102358 45.8898189
-88.1022931 45.8906949
-88.102527 45.8922219
-88.103226 45.8946819
-88.103629 45.8952259
-88.1041851 45.8956899
-88.104488 45.8959719
-88.104997 45.8963649
-88.105146 45.8964729
-88.105599 45.8968
-88.105994 45.8972669
-88.106491 45.8979679
-88.106758 45.8985289
-88.1069501 45.8991299
-88.1069931 45.8997739
-88.106894 45.9007499
-88.1066241 45.9022129
-88.106263 45.9028659
-88.10592 45.9042669
-88.1057101 45.9052049
-88.1053601 45.9058949
-88.105023 45.9064539
-88.1044801 45.9070429
-88.104032 45.907656
-88.103133 45.9088039
-88.1022521 45.9099419
-88.101727 45.9105199
-88.101338 45.9109069
-88.1010871 45.9110719
-88.100627 45.911331
-88.1003201 45.9114989
-88.0999061 45.9117589
-88.0994291 45.9120349
-88.099068 45.912218
-88.098347 45.9125179
-88.0974841 45.9127409
-88.096841 45.9129139
-88.096284 45.9130979
-88.0957281 45.9133639
-88.095314 45.9136569
-88.095097 45.9141139
-88.0949681 45.9146689
-88.094927 45.915323
-88.0950341 45.9158389
-88.0951931 45.9161079
-88.0958181 45.9167329
-88.096518 45.9173559
-88.097112 45.9178589
-88.098473 45.9188429
-88.0990041 45.9192529
-88.0996371 45.9196949
-88.100792 45.9204269
-88.101109 45.9206949
-88.101694 45.9210849
-88.102461 45.9215459
-88.103006 45.9217749
-88.103503 45.921905
-88.104007 45.9220069
-88.104362 45.9220879
-88.1046221 45.9221639
-88.105268 45.922244
-88.1062991 45.9223439
-88.1081881 45.9224189
-88.109108 45.922398
-88.109873 45.9223679
-88.110043 45.9223619
-88.111372 45.9222679
-88.1120951 45.9222489
-88.113055 45.9222559
-88.1136141 45.9222529
-88.1142421 45.9221739
-88.115303 45.9219879
-88.116119 45.9218309
-88.116845 45.9216269
-88.1172781 45.9214439
-88.1186751 46.121628
-88.117798 46.2471199
-87.7424471 46.246937
-87.6188741 46.247551
-87.618683 46.1582489
-87.6204911 46.071239
-87.6203381 45.985188
-87.620827 45.8973199
-87.699295 45.8975639
-87.6993232 45.8439692
-87.6993416 45.8087177
-87.699387 45.7218889
-87.8187331 45.721695
-87.844355 45.7218116
-87.8455284 45.721802
-87.845991 45.722097
-87.846602 45.7225439
-87.847337 45.723083
-87.848325 45.7238219
-87.849486 45.7247209
-87.8500481 45.7250459
-87.850429 45.7252659
-87.8513361 45.7255619
-87.8529071 45.7258709
-87.853337 45.7259739
-87.853975 45.726126
-87.854524 45.7262809
-87.854594 45.7263009
-87.8547311 45.7264009
-87.855106 45.7266719
-87.85548 45.7269429
-87.8562151 45.7275769
-87.857357 45.729072
-87.8576321 45.7294089
-87.858556 45.7305429
-87.859397 45.73133
-87.8599141 45.7318579
-87.860192 45.7321409
-87.860861 45.7329209
-87.8610201 45.7330879
-87.8629691 45.7351289
-87.8631691 45.7353989
-87.863904 45.7363909
-87.86432 45.7371389
-87.864278 45.737937
-87.8641041 45.7389179
-87.864102 45.7389559
-87.864031 45.7392979
-87.8639751 45.7395329
-87.863678 45.739864
-87.8638751 45.7402589
-87.863831 45.7406939
-87.8635811 45.7411219
-87.863514 45.7415729
-87.863609 45.7417129
-87.863964 45.7421679
-87.863957 45.7422049
-87.8638741 45.7426599
-87.86305 45.7430899
-87.8619501 45.7433669
-87.8616651 45.7437229
-87.861783 45.744359
-87.8622111 45.7450179
-87.8629921 45.7453699
-87.864141 45.745697
-87.8650321 45.7460119
-87.865187 45.7460729
-87.8656811 45.7462879
-87.865829 45.7464059
-87.865992 45.7465369
-87.866247 45.7471399
-87.8670901 45.7483059
-87.867701 45.749053
-87.8681111 45.7494769
-87.868202 45.7494979
-87.868238 45.7495069
-87.8682931 45.7495199
-87.8692291 45.7497399
-87.86937 45.7497729
-87.8701661 45.7499589
-87.8721371 45.7501679
-87.873339 45.7504389
-87.8743041 45.7513139
-87.8744361 45.7515509
-87.874582 45.751815
-87.8747291 45.7520789
-87.874789 45.752187
-87.875124 45.7528839
-87.8757951 45.7538609
-87.8758 45.7538939
-87.87583 45.7538999
-87.876898 45.754379
-87.8798121 45.7548429
-87.8822611 45.7547789
-87.88414 45.7544139
-87.885675 45.753957
-87.888077 45.7540299
-87.8896961 45.7541679
-87.8900291 45.7541959
-87.8905711 45.7541549
-87.891218 45.7541099
-87.8918661 45.7540639
-87.8919111 45.7540649
-87.891965 45.754031
-87.8938931 45.7532459
-87.896032 45.752285
-87.8966181 45.7523399
-87.896874 45.7523639
-87.8971291 45.7523879
-87.8983631 45.7525029
-87.900005 45.7534969
-87.9002621 45.7538759
-87.900424 45.7541139
-87.900585 45.7543529
-87.900784 45.7546469
-87.9010071 45.7554709
-87.901041 45.755626
-87.9012991 45.7565529
-87.901552 45.7568089
-87.9027071 45.7579319
-87.9039621 45.7587239
-87.904005 45.7587509
-87.9040111 45.7587549
-87.9040151 45.7587569
-87.904017 45.7587579
-87.9040201 45.7587599
-87.904034 45.7587689
-87.904065 45.7587889
-87.9046571 45.7591629
-87.905044 45.759233
-87.905728 45.7593559
-87.9066601 45.7595239
-87.9081691 45.7593379
-87.908933 45.7582969
-87.9093331 45.7576459
-87.91 45.7567159
-87.911336 45.7565389
-87.912939 45.7569929
-87.9130891 45.7570889
-87.913302 45.7572259
-87.913514 45.7573629
-87.91353 45.757372
-87.913641 45.7574369
-87.913768 45.7575109
-87.9141261 45.7577189
-87.9148501 45.7586339
-87.915406 45.75921
-87.9165561 45.7594609
-87.917278 45.759483
-87.9174931 45.7594594
-87.917887 45.7593719
-87.9184551 45.7591539
-87.91891 45.7586919
-87.9200281 45.7573709
-87.920469 45.7572879
-87.921174 45.757156
-87.921879 45.7570239
-87.9219941 45.7569959
-87.9233341 45.7574159
-87.924781 45.7584479
-87.9266081 45.7595949
-87.926955 45.7597339
-87.9272121 45.7598359
-87.927468 45.759938
-87.9279001 45.7601109
-87.9291271 45.7603679
-87.92954 45.7603209
-87.9296631 45.7603069
-87.929786 45.7602929
-87.9298191 45.7602869
-87.9298671 45.7602869
-87.929919 45.7602509
-87.930907 45.7596709
-87.9316831 45.7592549
-87.933186 45.758571
-87.934583 45.758096
-87.9367701 45.7580219
-87.937588 45.7580709
-87.9384131 45.7581199
-87.939645 45.7580149
-87.942174 45.757702
-87.9422451 45.7576929
-87.942287 45.7576879
-87.9424001 45.7576739
-87.9425 45.7576619
-87.944113 45.757422
-87.9447601 45.7571359
-87.945478 45.7566869
-87.946488 45.7567039
-87.9469461 45.7570229
-87.947083 45.757119
-87.9476831 45.7573489
-87.9491311 45.7579049
-87.9499601 45.7580009
-87.9506121 45.7580759
-87.952183 45.7584159
-87.952251 45.758416
-87.954459 45.7584139
-87.956347 45.7579899
-87.956834 45.7578809
-87.958656 45.757409
-87.959277 45.7573669
-87.959371 45.7573799
-87.9598141 45.7574389
-87.96035 45.7575109
-87.9607581 45.7575659
-87.96225 45.7578329
-87.963452 45.7582199
-87.9645461 45.7590409
-87.9647251 45.7594609
-87.964678 45.759536
-87.964538 45.7597579
-87.964155 45.7600379
-87.963898 45.760375
-87.9639961 45.7607939
-87.964566 45.7612169
-87.96697 45.7640209
-87.9681001 45.7644949
-87.970163 45.7653599
-87.9722261 45.7662249
-87.972451 45.7663189
-87.9728851 45.7663869
-87.973113 45.7664229
-87.973542 45.7664909
-87.974198 45.7665949
-87.974505 45.766644
-87.9748121 45.7666929
-87.976835 45.7670149
-87.977543 45.7672309
-87.979086 45.7677029
-87.980628 45.7681749
-87.981246 45.7683639
-87.986429 45.7695959
-87.986587 45.7696969
-87.988587 45.7709789
-87.989656 45.772025
-87.989718 45.7723559
-87.989761 45.772595
-87.989763 45.7726079
-87.989808 45.7728589
-87.989823 45.7729219
-87.9898291 45.7729449
-87.989309 45.7732039
-87.9889481 45.7733829
-87.988893 45.7734129
-87.988788 45.7734629
-87.987402 45.7739539
-87.986407 45.7745359
-87.986127 45.7746699
-87.98597 45.774746
-87.985597 45.7749259
-87.98485 45.7748569
-87.983392 45.7746959
-87.9831581 45.7747519
-87.982648 45.7748739
-87.982138 45.7749969
-87.981789 45.7750809
-87.9817641 45.7751319
-87.981542 45.7755889
-87.981321 45.7760459
-87.98087 45.7769769
-87.981447 45.7787859
-87.982617 45.782944
-87.983419 45.7845469
-87.985687 45.7890789
-87.986691 45.7908579
-87.9879421 45.7930749
-87.988473 45.7935679
-87.988661 45.7937419
-87.9898311 45.794827
-87.991447 45.7953929
-87.9933541 45.7956129
-87.9937951 45.7956219
-87.994539 45.7956369
-87.9958761 45.795435
-87.9977091 45.795027
-87.999105 45.7947039
-88.0001251 45.7945019
-88.00016 45.7944919
-88.0015931 45.794091
-88.003744 45.7933089
-88.0058551 45.792604
-88.006065 45.7925309
-88.006275 45.7924579
-88.007043 45.7921919
-88.008673 45.792009
-88.0115191 45.7920729
-88.011817 45.792126
-88.013323 45.7923919
-88.015278 45.7926029
-88.015485 45.7926249
-88.017588 45.7924549
-88.018317 45.7922629
-88.019191 45.7920329
-88.019289 45.7920069
-88.0194021 45.7919779
-88.0195591 45.7919369
-88.019849 45.7917799
-88.020634 45.791355
-88.0212391 45.7910269
-88.0236 45.790094
-88.0239481 45.7900069
-88.027232 45.7891969
-88.0311241 45.7892329
-88.032054 45.7894289
-88.033568 45.7898159
-88.0342981 45.7897869
-88.034849 45.789766
-88.0363331 45.7898949
-88.036829 45.7898929
-88.0377601 45.7895159
-88.0391871 45.7895719
-88.039728 45.789626
-88.04022 45.7892359
-88.040196 45.7887759
-88.0400201 45.7883619
-88.040042 45.7878939
-88.0400431 45.7878379
-88.0403061 45.7875159
-88.0404031 45.7874159
-88.0406021 45.7869879
-88.040891 45.7864519
-88.040831 45.7863119
-88.0406601 45.7859169
-88.0405051 45.7850759
-88.040937 45.7842649
-88.041744 45.7837339
-88.042416 45.7836809
-88.042622 45.783665
-88.0428291 45.7836489
-88.0431851 45.7837039
-88.043783 45.7837959
-88.044696 45.7837179
-88.0453371 45.7833939
-88.045426 45.782991
-88.046049 45.782433
-88.0467071 45.7823839
-88.047914 45.7825339
-88.0485131 45.7825489
-88.049247 45.782194
-88.0494261 45.7818889
-88.049687 45.7815529
-88.0499601 45.7811929
-88.0504051 45.7810659
-88.0506401 45.7809989
-88.050959 45.7809599
-88.052293 45.7808829
-88.0529511 45.7808069
-88.054353 45.780794
-88.056703 45.7805479
-88.0570491 45.7805449
-88.057315 45.7805419
-88.057608 45.7805389
-88.0582531 45.7806289
-88.059043 45.780739
-88.05961 45.7807099
-88.060342 45.7806649
-88.0608141 45.7806339
-88.0615421 45.7805889
-88.062275 45.7805429
-88.0629241 45.7805029
-88.063383 45.780476
-88.064662 45.7803959
-88.065286 45.7803459
-88.065357 45.780345
-88.0661371 45.7802869
-88.067178 45.7802009
-88.067715 45.7801489
-88.068019 45.7801229
-88.0680471 45.7801219
-88.0684331 45.7800949
-88.0690291 45.7800739
-88.069642 45.779956
-88.070555 45.7799369
-88.0714021 45.7799379
-88.0721671 45.7800849
-88.073108 45.7803639
-88.073717 45.780653
-88.0743001 45.7808439
-88.074908 45.7809879
-88.0755281 45.7811879
-88.075985 45.7813959
-88.0764551 45.7817109
-88.0768521 45.7820689
-88.0771831 45.7826739
-88.0775941 45.7833759
-88.078044 45.784046
-88.078737 45.7845759
-88.079277 45.7849109
-88.079976 45.7851239
-88.0808011 45.7852419
-88.082247 45.7853039
-88.082603 45.7852659
-88.085057 45.784952
-88.0863241 45.7848279
-88.0872061 45.784743
-88.087922 45.7847039
-88.088696 45.7847269
-88.089611 45.784827
-88.0905841 45.7849199
-88.091613 45.7850579
-88.092586 45.7851699
-88.093324 45.7852799
-88.093354 45.7852839
-88.09412 45.7854699
-88.094754 45.7857549
-88.095696 45.7869069
-88.0962491 45.7874409
-88.096877 45.787792
-88.0974111 45.7881449
-88.0981531 45.7887099
-88.098497 45.7890249
-88.098957 45.7896369
-88.09942 45.7899899
-88.0997861 45.7901769
-88.100643 45.79038
-88.1017211 45.7905169
-88.102484 45.7907779
-88.102672 45.7908429
-88.103213 45.7912549
-88.1037511 45.7921839
-88.103805 45.7927379
-88.1037821 45.7935189
-88.103874 45.793973
-88.1038781 45.7939909
-88.104091 45.7944229
-88.104679 45.7951489
-88.1051041 45.7955469
-88.105719 45.7963659
-88.1060061 45.7971179
-88.106016 45.7977119
-88.105825 45.7981889
-88.105598 45.7986229
-88.1054571 45.7990319
-88.105362 45.7998249
-88.105617 45.800389
-88.106073 45.8007589
-88.106493 45.8013269
-88.1067191 45.8019139
-88.1069881 45.8024519
-88.107608 45.80304
-88.108331 45.8034649
-88.108745 45.8036109
-88.10937 45.8036529
-88.110738 45.8036669
-88.112341 45.803597
-88.1139001 45.8037519
-88.1151221 45.8038829
-88.1162661 45.8040859
-88.1177621 45.8046219
-88.118375 45.8049569
-88.1191111 45.8054169
-88.119903 45.805904
-88.1207531 45.8063029
-88.121613 45.8064869
-88.122833 45.806834
-88.1244341 45.8073259
-88.1251341 45.8075299
-88.1255 45.8076969
-88.125846 45.8077739
-88.126452 45.8079769
-88.1275711 45.8084379
-88.12868 45.8088609
-88.12957 45.8093169
-88.130129 45.8097079
-88.1305861 45.8101199
-88.130952 45.810527
-88.13135 45.8109499
-88.13198 45.8115489
-88.1323741 45.8120719
-88.13265 45.8127589
-88.132721 45.8131109
-88.1328471 45.8135179
-88.133092 45.813947
-88.133391 45.8143759
-88.133644 45.8148599
-88.134306 45.8156049
-88.13499 45.8164799
-88.1355901 45.8173069
-88.136033 45.8180909
-88.1362121 45.8187349
-88.136127 45.8193749
-88.135924 45.8201289
-88.1356561 45.8207469
-88.1353111 45.8214279
-88.134894 45.8219839
-88.134517 45.822457
-88.1342431 45.8227409
-88.133528 45.8233072
END
END

3501
custom_polys/north-america/usa/michigan/gogebic-county.poly
File diff suppressed because it is too large
View File

10164
custom_polys/north-america/usa/michigan/houghton-county.poly
File diff suppressed because it is too large
View File

2364
custom_polys/north-america/usa/michigan/iron-county.poly
File diff suppressed because it is too large
View File

5928
custom_polys/north-america/usa/michigan/keweenaw-county.poly
File diff suppressed because it is too large
View File

308
custom_polys/north-america/usa/michigan/luce-county.poly

@ -0,0 +1,308 @@
polygon
1
-85.865211 46.2447429
-85.7213037 46.2453364
-85.614105 46.2451859
-85.2367711 46.24543
-85.2377781 46.3311079
-85.239685 46.5080299
-85.2415546 46.7551507
-85.2436968 46.7548986
-85.2480716 46.7543349
-85.2490669 46.7541874
-85.2509926 46.7538662
-85.2527475 46.7536474
-85.2552159 46.7531249
-85.2562795 46.7531524
-85.2579112 46.7530132
-85.2608149 46.7522312
-85.2615173 46.7521762
-85.2642867 46.7513512
-85.2660669 46.7506333
-85.2706801 46.7493412
-85.2734378 46.7487386
-85.2778211 46.7475107
-85.2802008 46.746731
-85.2823883 46.7459334
-85.2866079 46.7448009
-85.2904958 46.7441044
-85.2939074 46.7430868
-85.2961967 46.7425313
-85.3044714 46.7400552
-85.307915 46.7388647
-85.3096262 46.7381694
-85.3109993 46.7377239
-85.3117539 46.7373703
-85.3125199 46.7368395
-85.3132689 46.7365537
-85.3151797 46.7355913
-85.3182648 46.7344364
-85.3206989 46.7335088
-85.3224698 46.7327432
-85.3236351 46.7322372
-85.3246339 46.7318585
-85.326699 46.730913
-85.3298311 46.7296937
-85.3319162 46.7288945
-85.3354366 46.7275106
-85.3408867 46.7252016
-85.3463306 46.7229411
-85.3483678 46.7219868
-85.3491593 46.7217418
-85.3498146 46.7214326
-85.3524615 46.720394
-85.3553971 46.7194336
-85.3616197 46.7169708
-85.3628076 46.7166616
-85.3636107 46.7166013
-85.3642831 46.7166013
-85.3640448 46.7163971
-85.3640363 46.7161987
-85.363832 46.7160703
-85.3636788 46.7157143
-85.3635256 46.7155393
-85.3639767 46.7153701
-85.3646406 46.7155976
-85.3649044 46.7157377
-85.3653451 46.7158562
-85.3655002 46.716187
-85.3654831 46.7169164
-85.3651427 46.7170331
-85.3651427 46.7172607
-85.3651853 46.7173949
-85.3644733 46.7179222
-85.364581 46.7179725
-85.3657555 46.717249
-85.3656959 46.7169864
-85.3673281 46.7162647
-85.3702918 46.7148624
-85.3745708 46.7132656
-85.3746132 46.7132478
-85.3746608 46.7132286
-85.3748913 46.7130832
-85.3757468 46.7127863
-85.3772226 46.7121853
-85.3791563 46.7116802
-85.381546 46.7110395
-85.3842584 46.7100473
-85.3853366 46.709655
-85.386981 46.7090786
-85.3907858 46.707883
-85.393843 46.706835
-85.3956306 46.7062197
-85.3981388 46.705383
-85.401539 46.7043247
-85.4043596 46.7036177
-85.407135 46.7031206
-85.4094903 46.7024451
-85.4125724 46.7017533
-85.4175139 46.7006653
-85.4178447 46.7005789
-85.4181998 46.7004647
-85.4190407 46.7002306
-85.4222352 46.6996635
-85.4236965 46.6994537
-85.4243309 46.6992517
-85.426398 46.6988331
-85.4267777 46.69884
-85.4271402 46.6986768
-85.4277076 46.6984778
-85.4292111 46.6980304
-85.4302667 46.6976668
-85.4322567 46.6967915
-85.436006 46.695393
-85.4372631 46.6948943
-85.438545 46.6943879
-85.4403936 46.6935846
-85.4421751 46.6928606
-85.4430649 46.6924259
-85.4463115 46.6914929
-85.4473482 46.6911657
-85.4489515 46.6906066
-85.4500561 46.6902944
-85.4524077 46.689794
-85.4548031 46.6892753
-85.4561369 46.6891621
-85.4579636 46.6887858
-85.459214 46.688386
-85.4613977 46.6877694
-85.4632096 46.68717
-85.4647768 46.6867241
-85.4669919 46.6860319
-85.4677904 46.6857658
-85.4695574 46.6850003
-85.471212 46.6842468
-85.4741885 46.6831261
-85.4778158 46.6819365
-85.4806914 46.6812026
-85.4830018 46.6806816
-85.4837328 46.680462
-85.4862939 46.6795844
-85.4883603 46.6790791
-85.4921823 46.6781442
-85.494874 46.677587
-85.5009177 46.6765964
-85.5035021 46.676196
-85.5051334 46.6760406
-85.5142207 46.6756169
-85.5164224 46.675464
-85.517277 46.6753566
-85.5203522 46.6753494
-85.5209346 46.6751751
-85.5229303 46.6749911
-85.5248716 46.6750231
-85.5270151 46.6748724
-85.5295689 46.6748388
-85.5303529 46.6747599
-85.5320142 46.674594
-85.5331322 46.6744672
-85.5369763 46.6744006
-85.5377466 46.6745016
-85.5410431 46.6745016
-85.5472925 46.6747223
-85.5506152 46.6747814
-85.5545827 46.6747714
-85.5570269 46.6745871
-85.5596436 46.6745094
-85.560867 46.6745716
-85.5621018 46.6744317
-85.5680228 46.6741967
-85.57013 46.6742242
-85.5714946 46.6743757
-85.5728576 46.6743393
-85.5784182 46.6743481
-85.5808464 46.6743344
-85.5829536 46.6746235
-85.5849403 46.6746511
-85.5913622 46.6754359
-85.6000517 46.6768955
-85.6058915 46.6775013
-85.6093433 46.678052
-85.6116913 46.678355
-85.614862 46.678355
-85.6183235 46.6783568
-85.6218658 46.6782861
-85.6233992 46.678361
-85.6250827 46.678477
-85.6287698 46.6785918
-85.6322712 46.6785833
-85.6355858 46.6789338
-85.6373923 46.678918
-85.6387882 46.6790535
-85.639912 46.6792562
-85.6414293 46.6793888
-85.6432984 46.6794068
-85.6446051 46.6794466
-85.6459439 46.6795277
-85.6474095 46.6795938
-85.6486672 46.6796144
-85.6494137 46.6796503
-85.6501764 46.6797424
-85.6512026 46.6797905
-85.6526537 46.6799327
-85.6535001 46.6799642
-85.655105 46.6800356
-85.6567952 46.6800871
-85.6577789 46.6800692
-85.6586802 46.6800719
-85.6597008 46.6801554
-85.6619796 46.6802163
-85.663577 46.6801762
-85.6665654 46.6802271
-85.6676056 46.6802544
-85.6695829 46.68011
-85.6728505 46.6801155
-85.6738074 46.6800664
-85.674669 46.6801018
-85.6751653 46.6800664
-85.6761199 46.6800785
-85.6765114 46.6800564
-85.6771346 46.6800392
-85.6777897 46.6799874
-85.678421 46.6799874
-85.6803506 46.6799411
-85.6820817 46.6798458
-85.6826137 46.6797641
-85.6832609 46.6796905
-85.6849217 46.6796612
-85.686862 46.6795407
-85.6887877 46.6795107
-85.6908205 46.679429
-85.6919362 46.6793636
-85.6929989 46.6792697
-85.6951284 46.6789659
-85.6977766 46.6786908
-85.7003177 46.678432
-85.7017311 46.6782985
-85.7025442 46.6782878
-85.7041505 46.6781148
-85.7051736 46.6779305
-85.7065036 46.6777594
-85.7076801 46.6777024
-85.7083707 46.6775971
-85.7094342 46.6775025
-85.7115359 46.6774655
-85.7134479 46.6773734
-85.7151615 46.6772725
-85.7167425 46.6771945
-85.7206863 46.6770487
-85.7233591 46.6771408
-85.7262187 46.6770838
-85.7278351 46.6770005
-85.7289605 46.676961
-85.7296767 46.6770268
-85.7316334 46.6770487
-85.7325989 46.6771189
-85.7360015 46.6770399
-85.737011 46.6770882
-85.7384945 46.6772856
-85.7393486 46.6773849
-85.740189 46.6774348
-85.7431496 46.6773865
-85.7478356 46.6774407
-85.7499682 46.6773855
-85.7527651 46.6774128
-85.7554449 46.6775962
-85.758733 46.6777497
-85.7611218 46.6780982
-85.7645714 46.6782503
-85.7698886 46.6787165
-85.7724089 46.6789397
-85.7748643 46.6791854
-85.7760281 46.679238
-85.7775308 46.6794267
-85.778701 46.6794968
-85.7807919 46.6797425
-85.7832537 46.6798434
-85.7858198 46.6800558
-85.7899166 46.6804269
-85.7944828 46.6808857
-85.79704 46.6812297
-85.799278 46.6815368
-85.801736 46.6819889
-85.8058414 46.6827284
-85.8079973 46.6831642
-85.8103303 46.6834598
-85.8185039 46.6853595
-85.8215297 46.6859212
-85.8250484 46.6864687
-85.8320146 46.687547
-85.8350995 46.6879385
-85.8381817 46.6884116
-85.8400714 46.6884856
-85.8432686 46.68867
-85.846551 46.6890583
-85.8470868 46.6892121
-85.847537 46.6895179
-85.8488188 46.6895797
-85.8518041 46.6898349
-85.8525322 46.6900669
-85.8539402 46.690178
-85.8555458 46.6902369
-85.8581644 46.690101
-85.8606614 46.690093
-85.8642248 46.6901253
-85.8640441 46.504078
-85.865211 46.2447429
END
END

11197
custom_polys/north-america/usa/michigan/mackinac-county.poly
File diff suppressed because it is too large
View File

2498
custom_polys/north-america/usa/michigan/marquette-county.poly
File diff suppressed because it is too large
View File

4545
custom_polys/north-america/usa/michigan/menominee-county.poly
File diff suppressed because it is too large
View File

2602
custom_polys/north-america/usa/michigan/ontonagon-county.poly
File diff suppressed because it is too large
View File

1696
custom_polys/north-america/usa/michigan/schoolcraft-county.poly
File diff suppressed because it is too large
View File

19
custom_polys_and_extracts.md

@ -20,3 +20,22 @@ Extract the region using osmosis
--bp file=new-south-wales.poly --write-pbf new-south-wales.osm.pbf \
--bp file=queensland.poly --write-pbf queensland-latest.osm.pbf \
--bp file=victoria.poly --write-pbf victoria-latest.osm.pbf
../bin/osmosis/bin/osmosis --read-pbf us-midwest-latest.osm.pbf \
--tee 15 \
--bp file=marquette-county.poly --write-pbf marquette-county-latest.osm.pbf \
--bp file=keweenaw-county.poly --write-pbf keweenaw-county-latest.osm.pbf \
--bp file=houghton-county.poly --write-pbf houghton-county-latest.osm.pbf \
--bp file=ontonagon-county.poly --write-pbf ontonagon-county-latest.osm.pbf \
--bp file=gogebic-county.poly --write-pbf gogebic-county-latest.osm.pbf \
--bp file=baraga-county.poly --write-pbf baraga-county-latest.osm.pbf \
--bp file=iron-county.poly --write-pbf iron-county-latest.osm.pbf \
--bp file=dickinson-county.poly --write-pbf dickinson-county-latest.osm.pbf \
--bp file=alger-county.poly --write-pbf alger-county-latest.osm.pbf \
--bp file=delta-county.poly --write-pbf delta-county-latest.osm.pbf \
--bp file=luce-county.poly --write-pbf luce-county-latest.osm.pbf \
--bp file=chippewa-county.poly --write-pbf chippewa-county-latest.osm.pbf \
--bp file=menominee-county.poly --write-pbf menominee-county-latest.osm.pbf \
--bp file=schoolcraft-county.poly --write-pbf schoolcraft-county-latest.osm.pbf \
--bp file=mackinac-county.poly --write-pbf mackinac-county-latest.osm.pbf

31
elevation.md

@ -13,6 +13,7 @@ The information here and integration(s) in the main ```process_maps.py``` script
* You'll need a theme from : https://www.openandromaps.org/en/legend/elevate-mountain-hike-theme
* You'll need tag mappings : https://www.openandromaps.org/en/map-basics-2/tag-mapping
* You'll probably want tag transformations : https://www.openandromaps.org/en/map-basics-2/tagtransform
* AU data : https://ecat.ga.gov.au/geonetwork/srv/eng/search#!a05f7892-ecbd-7506-e044-00144fdd4fa6
# Processing
@ -21,3 +22,33 @@ The information here and integration(s) in the main ```process_maps.py``` script
1. Create a custom map list (see ```custom.list``` for an example) for use
1. Run map processing with ```--no-map-download```, ```--tag-mapping``` and ```--tag-transform```
../../bin/osmosis/bin/osmosis --read-pbf ccentral-america-srtm3_lon-99.83_-44.94lat3.28_28.05_srtm3v3.0.osm.pbf \
--tee 3 \
--bp file=../../cache/costa-rica.poly --write-pbf costa-rica-strm3.osm.pbf \
--bp file=../../cache/panama.poly --write-pbf panama-strm3.osm.pbf \
--bp file=../../cache/nicaragua.poly --write-pbf nicaragua-strm3.osm.pbf
../../bin/osmosis/bin/osmosis \
--read-pbf costa-rica-strm1.osm.pbf \
--read-pbf panama-strm1.osm.pbf \
--read-pbf nicaragua-strm1.osm.pbf \
--write-pbf nicaragua-costa-rica-panama-srtm1.osm.pbf
./bin/osmosis/bin/osmosis \
--rb file=cache/ght/midwest-srtm1.osm.pbf \
--tag-transform file=openandromaps/tag-transform.xml \
--log-progress \
--wb file=cache/ght/midwest-srtm1-tt.osm.pbf \
omitmetadata=true
./bin/osmosis/bin/osmosis \
--rb file=cache/ght/midwest-srtm1-tt.osm.pbf \
--log-progress \
--mapfile-writer file=cache/ght/midwest-srtm1.map \
type=ram threads=1 map-start-zoom=8 \
tag-conf-file=openandromaps/tag-mapping.min.xml
Australia bounding box : bbox=-46.056650000000005,109.8694,-8.837109,169.1016

lists/australia_oceania.txt → lists/australia-oceania.txt

1
lists/midwest-srtm1.txt

@ -0,0 +1 @@
custom/midwest-srtm1

1
lists/midwest-srtm3.txt

@ -0,0 +1 @@
custom/midwest-srtm3

15
lists/upper-peninsula.txt

@ -0,0 +1,15 @@
custom/alger-county
custom/baraga-county
custom/chippewa-county
custom/delta-county
custom/dickinson-county
custom/gogebic-county
custom/houghton-county
custom/iron-county
custom/keweenaw-county
custom/luce-county
custom/mackinac-county
custom/marquette-county
custom/menominee-county
custom/ontonagon-county
custom/schoolcraft-county

10
process_maps.py

@ -35,6 +35,8 @@ if __name__ == '__main__':
help='Specify a custom tag mapping xml file for use with mapsforge processing')
parser.add_argument('--tag-transform', action='store',
help='Specify a tag transform file for use PRIOR to mapsforge processing (this is DIFFERENT than the mapsforge mapping xml file)')
parser.add_argument('--elevation-map', action='store',
help='Specify an elevation map (MUST BE THE WHOLE OUTPUT REGION OR LARGER) that is used for generating contour lines and elevation data in final map output. THIS IS NOT CROPPED, BE CAREFUL!!!')
args = parser.parse_args()
current_timestamp = datetime.datetime.now().strftime('%Y%m%d-%H%M')
@ -46,10 +48,16 @@ if __name__ == '__main__':
if not args.no_map_download:
download.download(args.maps_dir, args.map_list)
#if args.elevation_map is not None:
# process.prep_elevation_map(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name, args.max_heap_space, args.use_ram, args.elevation_map)
process.prep_land_sea_polys(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name)
process.process_land_sea_polys(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name, args.max_heap_space, args.use_ram)
process.process_land_sea_polys(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name, args.max_heap_space, args.use_ram, args.elevation_map)
if args.tag_transform is not None:
process.process_tag_transform(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name, args.max_heap_space, args.use_ram, args.tag_transform)
process.osmosis_main(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name, args.max_heap_space, args.use_ram, args.tag_mapping)
process.osmosis_pois(base_path, current_timestamp, args.maps_dir, args.map_list, args.output_map_name, args.max_heap_space)

41
pymapsforge/process.py

@ -45,7 +45,38 @@ def prep_land_sea_polys(base_path, current_timestamp, maps_dir, map_lists, outpu
polys_zip.close()
def process_land_sea_polys(base_path, current_timestamp, maps_dir, map_lists, output_map_name, max_heap_space, use_ram):
def prep_elevation_map(base_path, current_timestamp, maps_dir, map_lists, output_map_name, max_heap_space, use_ram, elevation_map):
print('Processing elevation data/maps')
output_dir = current_timestamp + '-' + output_map_name
polys_output_dir = os.path.join(base_path, 'out', output_dir, 'polys')
cached_maps_dir = os.path.abspath(maps_dir)
bounds = poly.calculate_total_bounds(maps_dir, map_lists)
map_list = []
for alist in map_lists:
with open(alist, 'r') as maps:
for line in maps:
map_list.append(line.strip().split('/')[-1])
# Setup various runtime aspects (going to do multiple osmosis runs (maps AND POIs)
env = os.environ.copy()
env['JAVACMD_OPTIONS'] = '-Xmx' + max_heap_space + ' -server -Djava.io.tmpdir=' + os.path.join(base_path, 'tmp') # Setup java temp dir to something a bit more sane (tmpfs /tmp for the loss)
osmosis_cmd = [os.path.join(base_path, 'bin', 'osmosis', 'bin', 'osmosis')]
osmosis_cmd.extend(['--rb', 'file=' + os.path.abspath(elevation_map)])
osmosis_cmd.extend(['--bounding-box', 'top=' + str(bounds['top']), 'left=' + str(bounds['left']), 'bottom=' + str(bounds['bottom']), 'right=' + str(bounds['right'])])
osmosis_cmd.extend(['--tee', str(len(map_list))])
osmosis_cmd.extend(['--log-progress'])
for amap in map_list:
osmosis_cmd.extend(['--bp', 'file=' + os.path.join(maps_dir, amap + '.poly'), '--buffer'])
osmosis_cmd.extend(['--wb', 'file=' + os.path.join(base_path, 'out', output_dir, amap) + '_elevation.pbf'])
cmd = subprocess.Popen(osmosis_cmd, env=env)
cmd.wait()
def process_land_sea_polys(base_path, current_timestamp, maps_dir, map_lists, output_map_name, max_heap_space, use_ram, elevation_map):
print('Processing land/sea polygons (one process per map in list(s))')
output_dir = current_timestamp + '-' + output_map_name
polys_output_dir = os.path.join(base_path, 'out', output_dir, 'polys')
@ -84,6 +115,14 @@ def process_land_sea_polys(base_path, current_timestamp, maps_dir, map_lists, ou
for apolymap in glob.glob(os.path.join(polys_output_dir, amap + '*.osm')):
print(' Found poly map : ' + apolymap)
osmosis_cmd.extend(['--rx', 'file=' + apolymap, '--s', '--m'])
if elevation_map is not None:
osmosis_cmd.extend(['--rb', 'file=' + os.path.abspath(elevation_map), '--s', '--m'])
for anelemap in glob.glob(os.path.join(base_path, 'out', output_dir, '*_elevation.pbf')):
print(' Found elevation map : ' + anelemap)
osmosis_cmd.extend(['--rb', 'file=' + anelemap, '--s', '--m'])
osmosis_cmd.extend(['--log-progress'])
for x in range(0, len(map_list) - 1):
osmosis_cmd.append('--merge')

Loading…
Cancel
Save