|
1 | 1 | import pytest |
| 2 | +from shapely import Polygon |
2 | 3 |
|
3 | 4 |
|
4 | 5 | @pytest.fixture() |
5 | | -def paris_with_10km_buffer() -> str: |
6 | | - return ( |
7 | | - "POLYGON ((2.362431123843492 48.85348618457388, " |
8 | | - "2.362376683159058 48.85260412906315, " |
9 | | - "2.3621914976517617 48.851729841960484, " |
10 | | - "2.361877357400467 48.85087174253842, " |
11 | | - "2.3614372939000803 48.85003809376014, " |
12 | | - "2.3608755506302987 48.84923692274121, " |
13 | | - "2.3601975419801815 48.84847594349699, " |
14 | | - "2.359409800932117 48.84776248271795, " |
15 | | - "2.3585199160156343 48.847103409284585, " |
16 | | - "2.357536458143191 48.84650506819859, " |
17 | | - "2.3564688980357236 48.845973219562836, " |
18 | | - "2.3553275150343875 48.84551298319479, " |
19 | | - "2.3541232981759137 48.84512878940347, " |
20 | | - "2.352867840481537 48.84482433640062, " |
21 | | - "2.3515732274729673 48.844602554753436, " |
22 | | - "2.350251920982787 48.844465579218486, " |
23 | | - "2.348916639370555 48.84441472822586, " |
24 | | - "2.3475802352893482 48.84445049120967, " |
25 | | - "2.3462555721702842 48.844572523905505, " |
26 | | - "2.3449554006044746 48.84477965166013, " |
27 | | - "2.3436922358027883 48.845069880721375, " |
28 | | - "2.342478237303791 48.84544041740063, " |
29 | | - "2.3413250920792525 48.845887694924905, " |
30 | | - "2.3402439021549983 48.84640740772136, " |
31 | | - "2.3392450778227274 48.84699455280758, " |
32 | | - "2.338338237466221 48.84764347789083, " |
33 | | - "2.3375321149634742 48.848347935716944, " |
34 | | - "2.3368344755552615 48.849101144148385, " |
35 | | - "2.3362520409910985 48.849895851396326, " |
36 | | - "2.3357904246761776 48.850724405781705, " |
37 | | - "2.3354540774484014 48.85157882935648, " |
38 | | - "2.3352462445139537 48.85245089467849, " |
39 | | - "2.335168933963819 48.85333220400302, " |
40 | | - "2.3352228971832982 48.85421427012996, " |
41 | | - "2.335407621352846 48.85508859812885, " |
42 | | - "2.3357213341225465 48.855946767155544, " |
43 | | - "2.336161020425368 48.856780511571976, " |
44 | | - "2.336722451277105 48.8575818005873, " |
45 | | - "2.3374002242947487 48.85834291565157, " |
46 | | - "2.338187815551136 48.85905652485485, " |
47 | | - "2.339077642273151 48.85971575361278, " |
48 | | - "2.3400611357847176 48.86031425095466, " |
49 | | - "2.3411288239953136 48.86084625077276, " |
50 | | - "2.3422704226408513 48.861306627439774, " |
51 | | - "2.3434749343975185 48.86169094525505, " |
52 | | - "2.3447307549113074 48.8619955012407, " |
53 | | - "2.3460257847175616 48.86221736087195, " |
54 | | - "2.3473475459663953 48.86235438639535, " |
55 | | - "2.348683302822128 48.862405257459756, " |
56 | | - "2.350020184368339 48.862369483859744, " |
57 | | - "2.3513453088251945 48.86224741026767, " |
58 | | - "2.352645907872629 48.862040212908404, " |
59 | | - "2.353909449871892 48.861749888209, " |
60 | | - "2.355123760788927 48.861379233533334, " |
61 | | - "2.356277141645912 48.86093182018901, " |
62 | | - "2.3573584813618034 48.86041195896831, " |
63 | | - "2.358357363888493 48.85982465855751, " |
64 | | - "2.359264168605826 48.85917557721837, " |
65 | | - "2.3600701630054024 48.858470968209936, " |
66 | | - "2.3607675867693834 48.85771761947954, " |
67 | | - "2.361349726435341 48.85692278820765, " |
68 | | - "2.3618109799308575 48.85609413083947, " |
69 | | - "2.362146910360975 48.85523962928065, " |
70 | | - "2.3623542885368094 48.85436751397021, " |
71 | | - "2.362431123843492 48.85348618457388))" |
| 6 | +def paris_with_10km_buffer() -> Polygon: |
| 7 | + return Polygon( |
| 8 | + ( |
| 9 | + (2.362431123843492, 48.85348618457388), |
| 10 | + (2.362376683159058, 48.85260412906315), |
| 11 | + (2.3621914976517617, 48.851729841960484), |
| 12 | + (2.361877357400467, 48.85087174253842), |
| 13 | + (2.3614372939000803, 48.85003809376014), |
| 14 | + (2.3608755506302987, 48.84923692274121), |
| 15 | + (2.3601975419801815, 48.84847594349699), |
| 16 | + (2.359409800932117, 48.84776248271795), |
| 17 | + (2.3585199160156343, 48.847103409284585), |
| 18 | + (2.357536458143191, 48.84650506819859), |
| 19 | + (2.3564688980357236, 48.845973219562836), |
| 20 | + (2.3553275150343875, 48.84551298319479), |
| 21 | + (2.3541232981759137, 48.84512878940347), |
| 22 | + (2.352867840481537, 48.84482433640062), |
| 23 | + (2.3515732274729673, 48.844602554753436), |
| 24 | + (2.350251920982787, 48.844465579218486), |
| 25 | + (2.348916639370555, 48.84441472822586), |
| 26 | + (2.3475802352893482, 48.84445049120967), |
| 27 | + (2.3462555721702842, 48.844572523905505), |
| 28 | + (2.3449554006044746, 48.84477965166013), |
| 29 | + (2.3436922358027883, 48.845069880721375), |
| 30 | + (2.342478237303791, 48.84544041740063), |
| 31 | + (2.3413250920792525, 48.845887694924905), |
| 32 | + (2.3402439021549983, 48.84640740772136), |
| 33 | + (2.3392450778227274, 48.84699455280758), |
| 34 | + (2.338338237466221, 48.84764347789083), |
| 35 | + (2.3375321149634742, 48.848347935716944), |
| 36 | + (2.3368344755552615, 48.849101144148385), |
| 37 | + (2.3362520409910985, 48.849895851396326), |
| 38 | + (2.3357904246761776, 48.850724405781705), |
| 39 | + (2.3354540774484014, 48.85157882935648), |
| 40 | + (2.3352462445139537, 48.85245089467849), |
| 41 | + (2.335168933963819, 48.85333220400302), |
| 42 | + (2.3352228971832982, 48.85421427012996), |
| 43 | + (2.335407621352846, 48.85508859812885), |
| 44 | + (2.3357213341225465, 48.855946767155544), |
| 45 | + (2.336161020425368, 48.856780511571976), |
| 46 | + (2.336722451277105, 48.8575818005873), |
| 47 | + (2.3374002242947487, 48.85834291565157), |
| 48 | + (2.338187815551136, 48.85905652485485), |
| 49 | + (2.339077642273151, 48.85971575361278), |
| 50 | + (2.3400611357847176, 48.86031425095466), |
| 51 | + (2.3411288239953136, 48.86084625077276), |
| 52 | + (2.3422704226408513, 48.861306627439774), |
| 53 | + (2.3434749343975185, 48.86169094525505), |
| 54 | + (2.3447307549113074, 48.8619955012407), |
| 55 | + (2.3460257847175616, 48.86221736087195), |
| 56 | + (2.3473475459663953, 48.86235438639535), |
| 57 | + (2.348683302822128, 48.862405257459756), |
| 58 | + (2.350020184368339, 48.862369483859744), |
| 59 | + (2.3513453088251945, 48.86224741026767), |
| 60 | + (2.352645907872629, 48.862040212908404), |
| 61 | + (2.353909449871892, 48.861749888209), |
| 62 | + (2.355123760788927, 48.861379233533334), |
| 63 | + (2.356277141645912, 48.86093182018901), |
| 64 | + (2.3573584813618034, 48.86041195896831), |
| 65 | + (2.358357363888493, 48.85982465855751), |
| 66 | + (2.359264168605826, 48.85917557721837), |
| 67 | + (2.3600701630054024, 48.858470968209936), |
| 68 | + (2.3607675867693834, 48.85771761947954), |
| 69 | + (2.361349726435341, 48.85692278820765), |
| 70 | + (2.3618109799308575, 48.85609413083947), |
| 71 | + (2.362146910360975, 48.85523962928065), |
| 72 | + (2.3623542885368094, 48.85436751397021), |
| 73 | + (2.362431123843492, 48.85348618457388), |
| 74 | + ) |
72 | 75 | ) |
0 commit comments