Skip to content

Commit

Permalink
clean up maine lat/lngs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajfriend committed Nov 10, 2023
1 parent e9041fc commit 08e1201
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion poly/maybe_docs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.1"
"version": "3.11.2"
}
},
"nbformat": 4,
Expand Down
42 changes: 21 additions & 21 deletions tests/polyfill/test_polyfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,28 @@ def get_us_box_coords():

def test_h3shape_to_cells():

# lat/lngs for State of Maine
# approximate lat/lngs for State of Maine
maine = [
(45.137451890638886, -67.13734351262877),
(44.8097, -66.96466),
(44.3252, -68.03252),
(43.98, -69.06),
(43.68405, -70.11617),
(43.090083319667144, -70.64573401557249),
(43.08003225358635, -70.75102474636725),
(43.21973948828747, -70.79761105007827),
(43.36789581966826, -70.98176001655037),
(43.46633942318431, -70.94416541205806),
(45.3052400000002, -71.08482),
(45.46022288673396, -70.6600225491012),
(45.914794623389355, -70.30495378282376),
(46.69317088478567, -70.00014034695016),
(47.44777598732787, -69.23708614772835),
(47.184794623394396, -68.90478084987546),
(47.35462921812177, -68.23430497910454),
(47.066248887716995, -67.79035274928509),
(45.702585354182816, -67.79141211614706),
(45.137451890638886, -67.13734351262877)
(45.137, -67.137),
(44.810, -66.965),
(44.325, -68.033),
(43.980, -69.060),
(43.684, -70.116),
(43.090, -70.646),
(43.080, -70.751),
(43.220, -70.798),
(43.368, -70.982),
(43.466, -70.944),
(45.305, -71.085),
(45.460, -70.660),
(45.915, -70.305),
(46.693, -70.000),
(47.448, -69.237),
(47.185, -68.905),
(47.355, -68.234),
(47.066, -67.790),
(45.703, -67.791),
(45.137, -67.137),
]

# a very rough hexagonal approximation to the State of Maine
Expand Down

0 comments on commit 08e1201

Please sign in to comment.