Skip to content

Instantly share code, notes, and snippets.

@maifeeulasad
Last active July 12, 2021 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maifeeulasad/611f82f63ceb64bb00c117116897323e to your computer and use it in GitHub Desktop.
Save maifeeulasad/611f82f63ceb64bb00c117116897323e to your computer and use it in GitHub Desktop.
                                                     CITIES LUZ_OR_CIT   CODE                                          ITEM PROD_DATE  SHAPE_LEN  SHAPE_AREA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  geometry  samples
ITEM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
Agricultural + Semi-natural areas + Wetlands 45607  Aalborg     DK004L  20000  Agricultural + Semi-natural areas + Wetlands      2011   5.983639    0.633446  POLYGON ((9.52711 57.15122, 9.52715 57.15108, 9.52716 57.15102, 9.52727 57.15060, 9.52727 57.15060, 9.52742 57.15011, 9.52758 57.14955, 9.52758 57.14955, 9.52771 57.14918, 9.52771 57.14918, 9.52771 57.14918, 9.52779 57.14897, 9.52780 57.14897, 9.52780 57.14896, 9.52780 57.14896, 9.52784 57.14889, 9.52785 57.14888, 9.52785 57.14888, 9.52785 57.14888, 9.52785 57.14888, 9.52808 57.14866, 9.52808 57.14866, 9.52809 57.14866, 9.52809 57.14866, 9.52870 57.14825, 9.52967 57.14760, 9.52972 57.14757, 9.52974 57.14754, 9.52982 57.14744, 9.53068 57.14491, 9.52965 57.14476, 9.52960 57.14476, 9.52895 57.14648, 9.52805 57.14646, 9.52816 57.14607, 9.52702 57.14596, 9.52726 57.14486, 9.52748 57.14471, 9.52862 57.14473, 9.52866 57.14448, 9.52860 57.14445, 9.52859 57.14445, 9.52859 57.14445, 9.52859 57.14445, 9.52859 57.14445, 9.52858 57.14445, 9.52858 57.14445, 9.52848 57.14437, 9.52847 57.14437, 9.52832 57.14448, 9.52832 57.14448, 9.52831 57.14448, 9.52831 57.14448, 9.52831 57.14448, 9.52831 57.14448, 9.52830 57.14448, 9.52830 57.14448, 9.52830 57.14448, 9.52817 57.14452, 9.52817 57.14452, 9.52816 57.14452, 9.52816 57.14452, 9.52816 57.14452, 9.52815 57.14452, 9.52815 57.14452, 9.52815 57.14452, 9.52803 57.14452, 9.52803 57.14452, 9.52803 57.14452, 9.52803 57.14452, 9.52802 57.14452, 9.52802 57.14452, 9.52802 57.14452, 9.52784 57.14450, 9.52784 57.14450, 9.52784 57.14450, 9.52784 57.14450, 9.52783 57.14450, 9.52783 57.14450, 9.52771 57.14447, 9.52771 57.14447, 9.52771 57.14447, 9.52770 57.14447, 9.52770 57.14446, 9.52770 57.14446, 9.52770 57.14446, 9.52769 57.14446, 9.52769 57.14446, 9.52769 57.14446, 9.52764 57.14442, 9.52764 57.14441, 9.52764 57.14441, 9.52764 57.14441, 9.52764 57.14441, 9.52764 57.14441, 9.52763 57.14441, 9.52763 57.14441, 9.52762 57.14437, 9.52762 57.14437, 9.52762 57.14436, 9.52762 57.14436, 9.52762 57.14436, 9.52762 57.14436, 9.52762 57.14436, 9.52802 57.14316, 9.52806 57.14305, 9.52732 57.14299, 9.52705 57.14298, 9.52703 57.14298, 9.52682 57.14297, 9.52670 57.14335, 9.52736 57.14344, 9.52701 57.14434, 9.52625 57.14429, 9.52649 57.14359, 9.52655 57.14354, 9.52654 57.14351, 9.52654 57.14351, 9.52654 57.14351, 9.52654 57.14351, 9.52654 57.14351, 9.52655 57.14351, 9.52672 57.14296, 9.52620 57.14294, 9.52482 57.14289, 9.52465 57.14338, 9.52549 57.14344, 9.52528 57.14391, 9.52465 57.14393, 9.52433 57.14479, 9.52361 57.14462, 9.52315 57.14427, 9.52216 57.14428, 9.52237 57.14381, 9.52317 57.14385, 9.52321 57.14383, 9.52355 57.14284, 9.52233 57.14279, 9.52027 57.14270, 9.51999 57.14323, 9.51918 57.14315, 9.51941 57.14266, 9.51915 57.14265, 9.51813 57.14261, 9.51796 57.14310, 9.51796 57.14310, 9.51700 57.14588, 9.51700 57.14588, 9.51700 57.14589, 9.51695 57.14599, 9.51695 57.14599, 9.51695 57.14599, 9.51695 57.14599, 9.51691 57.14605, 9.51690 57.14605, 9.51690 57.14605, 9.51678 57.14621, 9.51677 57.14621, 9.51677 57.14621, 9.51662 57.14637, 9.51660 57.14642, 9.51657 57.14653, 9.51645 57.14760, 9.51645 57.14760, 9.51636 57.14830, 9.51630 57.14879, 9.51630 57.14879, 9.51630 57.14879, 9.51630 57.14879, 9.51630 57.14879, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51628 57.14883, 9.51626 57.14885, 9.51626 57.14885, 9.51634 57.14885, 9.51634 57.14885, 9.51634 57.14885, 9.51634 57.14885, 9.51661 57.14886, 9.51661 57.14886, 9.51661 57.14886, 9.51710 57.14890, 9.51711 57.14890, 9.51711 57.14890, 9.51876 57.14908, 9.51917 57.14913, 9.51927 57.14913, 9.51935 57.14912, 9.51943 57.14911, 9.52013 57.14888, 9.52013 57.14888, 9.52013 57.14888, 9.52013 57.14888, 9.52014 57.14888, 9.52014 57.14888, 9.52014 57.14888, 9.52015 57.14888, 9.52015 57.14888, 9.52015 57.14888, 9.52016 57.14888, 9.52016 57.14888, 9.52016 57.14888, 9.52017 57.14888, 9.52017 57.14888, 9.52017 57.14888, 9.52017 57.14888, 9.52018 57.14888, 9.52033 57.14853, 9.52155 57.14863, 9.52138 57.14907, 9.52014 57.14897, 9.52015 57.14894, 9.51947 57.14916, 9.51947 57.14916, 9.51947 57.14916, 9.51947 57.14916, 9.51947 57.14916, 9.51946 57.14916, 9.51937 57.14917, 9.51937 57.14917, 9.51937 57.14918, 9.51936 57.14918, 9.51936 57.14918, 9.51927 57.14918, 9.51927 57.14918, 9.51927 57.14918, 9.51917 57.14918, 9.51916 57.14918, 9.51916 57.14918, 9.51916 57.14918, 9.51874 57.14914, 9.51874 57.14914, 9.51874 57.14914, 9.51709 57.14896, 9.51660 57.14891, 9.51634 57.14890, 9.51613 57.14890, 9.51559 57.14896, 9.51532 57.14901, 9.51528 57.14903, 9.51541 57.14914, 9.51541 57.14914, 9.51542 57.14914, 9.51548 57.14921, 9.51548 57.14921, 9.51548 57.14922, 9.51549 57.14922, 9.51555 57.14931, 9.51555 57.14931, 9.51555 57.14931, 9.51607 57.15033, 9.51607 57.15033, 9.51607 57.15033, 9.51607 57.15033, 9.51611 57.15044, 9.51712 57.15052, 9.51686 57.15118, 9.51722 57.15119, 9.51722 57.15119, 9.51722 57.15119, 9.51824 57.15124, 9.51857 57.15124, 9.51852 57.15073, 9.51955 57.15078, 9.51940 57.15122, 9.52014 57.15119, 9.52147 57.15115, 9.52148 57.15115, 9.52164 57.15114, 9.52164 57.15114, 9.52164 57.15114, 9.52165 57.15114, 9.52165 57.15114, 9.52176 57.15115, 9.52176 57.15115, 9.52176 57.15115, 9.52177 57.15115, 9.52195 57.15119, 9.52195 57.15119, 9.52195 57.15119, 9.52196 57.15119, 9.52196 57.15119, 9.52196 57.15119, 9.52211 57.15124, 9.52212 57.15124, 9.52212 57.15124, 9.52212 57.15124, 9.52295 57.15162, 9.52310 57.15167, 9.52331 57.15173, 9.52482 57.15201, 9.52482 57.15201, 9.52482 57.15201, 9.52513 57.15208, 9.52513 57.15208, 9.52513 57.15208, 9.52513 57.15208, 9.52527 57.15213, 9.52527 57.15213, 9.52527 57.15213, 9.52527 57.15213, 9.52538 57.15217, 9.52538 57.15218, 9.52538 57.15218, 9.52539 57.15218, 9.52539 57.15218, 9.52543 57.15221, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52544 57.15219, 9.52547 57.15215, 9.52547 57.15215, 9.52547 57.15214, 9.52548 57.15214, 9.52548 57.15214, 9.52548 57.15214, 9.52553 57.15210, 9.52553 57.15210, 9.52553 57.15210, 9.52554 57.15210, 9.52554 57.15210, 9.52554 57.15210, 9.52668 57.15167, 9.52684 57.15159, 9.52693 57.15153, 9.52701 57.15145, 9.52706 57.15139, 9.52711 57.15122))        1
                                             44563  Aalborg     DK004L  20000  Agricultural + Semi-natural areas + Wetlands      2011   2.983306    0.287320                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              POLYGON ((9.35536 57.06600, 9.35698 57.06564, 9.35655 57.06460, 9.35552 57.06487, 9.35515 57.06430, 9.35629 57.06399, 9.35581 57.06288, 9.35577 57.06285, 9.35574 57.06283, 9.35568 57.06282, 9.35562 57.06281, 9.35552 57.06281, 9.35480 57.06291, 9.35480 57.06291, 9.35480 57.06291, 9.35480 57.06291, 9.35479 57.06291, 9.35479 57.06291, 9.35479 57.06291, 9.35466 57.06290, 9.35466 57.06290, 9.35465 57.06290, 9.35465 57.06290, 9.35465 57.06290, 9.35456 57.06289, 9.35455 57.06289, 9.35455 57.06289, 9.35455 57.06289, 9.35455 57.06289, 9.35446 57.06286, 9.35446 57.06286, 9.35446 57.06286, 9.35445 57.06286, 9.35445 57.06286, 9.35445 57.06286, 9.35437 57.06282, 9.35437 57.06282, 9.35436 57.06281, 9.35436 57.06281, 9.35436 57.06281, 9.35430 57.06276, 9.35429 57.06276, 9.35429 57.06276, 9.35429 57.06276, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06269, 9.35422 57.06268, 9.35419 57.06262, 9.35386 57.06193, 9.35369 57.06170, 9.35358 57.06172, 9.35358 57.06172, 9.35358 57.06172, 9.35060 57.06226, 9.35060 57.06226, 9.35060 57.06226, 9.34992 57.06236, 9.34991 57.06236, 9.34958 57.06240, 9.34958 57.06240, 9.34958 57.06240, 9.34893 57.06244, 9.34893 57.06244, 9.34893 57.06244, 9.34810 57.06248, 9.34810 57.06248, 9.34809 57.06248, 9.34809 57.06248, 9.34744 57.06247, 9.34744 57.06247, 9.34744 57.06247, 9.34683 57.06243, 9.34689 57.06264, 9.34709 57.06336, 9.34710 57.06336, 9.34710 57.06336, 9.34710 57.06336, 9.34710 57.06336, 9.34710 57.06337, 9.34709 57.06337, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06341, 9.34708 57.06342, 9.34708 57.06342, 9.34707 57.06342, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34704 57.06344, 9.34703 57.06345, 9.34703 57.06345, 9.34703 57.06345, 9.34703 57.06345, 9.34697 57.06346, 9.34697 57.06346, 9.34697 57.06346, 9.34696 57.06346, 9.34696 57.06346, 9.34696 57.06346, 9.34622 57.06354, 9.34622 57.06354, 9.34575 57.06358, 9.34592 57.06440, 9.34498 57.06452, 9.34514 57.06508, 9.34416 57.06514, 9.34378 57.06449, 9.34349 57.06452, 9.34349 57.06455, 9.34349 57.06455, 9.34349 57.06455, 9.34351 57.06476, 9.34351 57.06476, 9.34351 57.06476, 9.34351 57.06494, 9.34351 57.06494, 9.34334 57.06652, 9.34362 57.06650, 9.34362 57.06650, 9.34362 57.06650, 9.34454 57.06647, 9.34508 57.06645, 9.34508 57.06645, 9.35154 57.06627, 9.35154 57.06627, 9.35295 57.06624, 9.35370 57.06622, 9.35455 57.06613, 9.35536 57.06600), (9.35293 57.06539, 9.35376 57.06521, 9.35413 57.06566, 9.35361 57.06599, 9.35324 57.06592, 9.35293 57.06539))        1
                                             47873  Aalborg     DK004L  20000  Agricultural + Semi-natural areas + Wetlands      2011   4.254965    0.586887                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            POLYGON ((10.22571 57.39005, 10.22584 57.38836, 10.22584 57.38836, 10.22584 57.38836, 10.22611 57.38573, 10.22611 57.38573, 10.22416 57.38563, 10.22415 57.38521, 10.22414 57.38505, 10.22378 57.38504, 10.22321 57.38504, 10.22321 57.38504, 10.22138 57.38503, 10.22125 57.38504, 10.22116 57.38506, 10.22094 57.38514, 10.22077 57.38521, 10.22077 57.38521, 10.22077 57.38521, 10.22076 57.38521, 10.22076 57.38521, 10.22067 57.38524, 10.22067 57.38524, 10.22067 57.38524, 10.22067 57.38524, 10.22055 57.38526, 10.22055 57.38526, 10.22054 57.38526, 10.22054 57.38526, 10.22054 57.38526, 10.22044 57.38526, 10.22044 57.38526, 10.22043 57.38526, 10.22043 57.38526, 10.22043 57.38526, 10.22043 57.38526, 10.22042 57.38526, 10.22042 57.38526, 10.22042 57.38526, 10.22041 57.38526, 10.22041 57.38526, 10.22032 57.38524, 10.22032 57.38524, 10.22032 57.38524, 10.22032 57.38524, 10.22031 57.38524, 10.22031 57.38523, 10.22031 57.38523, 10.22024 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22023 57.38519, 10.22011 57.38504, 10.22007 57.38501, 10.22001 57.38499, 10.21964 57.38494, 10.21939 57.38491, 10.21938 57.38491, 10.21938 57.38491, 10.21921 57.38488, 10.21724 57.38456, 10.21724 57.38456, 10.21724 57.38456, 10.21680 57.38447, 10.21638 57.38440, 10.21638 57.38440, 10.21638 57.38440, 10.21494 57.38410, 10.21494 57.38410, 10.21494 57.38410, 10.21494 57.38410, 10.21494 57.38410, 10.21485 57.38407, 10.21485 57.38407, 10.21485 57.38407, 10.21484 57.38407, 10.21484 57.38407, 10.21484 57.38407, 10.21484 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21483 57.38406, 10.21479 57.38400, 10.21479 57.38400, 10.21479 57.38400, 10.21478 57.38400, 10.21460 57.38359, 10.21460 57.38359, 10.21443 57.38318, 10.21443 57.38318, 10.21443 57.38318, 10.21407 57.38227, 10.21347 57.38245, 10.21375 57.38273, 10.21418 57.38299, 10.21259 57.38375, 10.21206 57.38385, 10.21144 57.38311, 10.21134 57.38299, 10.21072 57.38313, 10.21028 57.38325, 10.20731 57.38411, 10.20731 57.38411, 10.20730 57.38411, 10.20431 57.38488, 10.20439 57.38495, 10.20476 57.38561, 10.20503 57.38597, 10.20554 57.38585, 10.20600 57.38590, 10.20636 57.38601, 10.20668 57.38629, 10.20697 57.38639, 10.20704 57.38658, 10.20652 57.38666, 10.20610 57.38668, 10.20582 57.38668, 10.20562 57.38701, 10.20570 57.38743, 10.20617 57.38769, 10.20709 57.38794, 10.20737 57.38781, 10.20736 57.38760, 10.20718 57.38747, 10.20742 57.38726, 10.20830 57.38729, 10.20858 57.38725, 10.20854 57.38698, 10.20875 57.38696, 10.20957 57.38724, 10.21287 57.38814, 10.21415 57.38835, 10.21549 57.38842, 10.21567 57.38860, 10.21543 57.38876, 10.21547 57.38893, 10.21614 57.38907, 10.21695 57.38905, 10.21694 57.38936, 10.21988 57.38943, 10.21988 57.38943, 10.21988 57.38943, 10.22112 57.38947, 10.22162 57.38947, 10.22162 57.38947, 10.22162 57.38947, 10.22162 57.38947, 10.22195 57.38950, 10.22195 57.38950, 10.22257 57.38955, 10.22305 57.38960, 10.22306 57.38960, 10.22306 57.38960, 10.22338 57.38964, 10.22338 57.38964, 10.22394 57.38971, 10.22394 57.38971, 10.22394 57.38971, 10.22456 57.38981, 10.22456 57.38981, 10.22456 57.38981, 10.22519 57.38993, 10.22519 57.38993, 10.22519 57.38993, 10.22570 57.39004, 10.22571 57.39005))        1
                                             43727  Aalborg     DK004L  20000  Agricultural + Semi-natural areas + Wetlands      2011   2.318143    0.291429                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                POLYGON ((9.73713 56.96362, 9.73713 56.96362, 9.73713 56.96362, 9.73780 56.96362, 9.73829 56.96360, 9.73874 56.96358, 9.74029 56.96351, 9.74042 56.96350, 9.74036 56.96263, 9.74036 56.96263, 9.74028 56.96143, 9.74008 56.95815, 9.73994 56.95812, 9.73994 56.95812, 9.73947 56.95799, 9.73920 56.95793, 9.73877 56.95785, 9.73846 56.95780, 9.73818 56.95776, 9.73656 56.95751, 9.73492 56.95727, 9.73451 56.95770, 9.73450 56.95799, 9.73467 56.95806, 9.73472 56.95821, 9.73468 56.95837, 9.73446 56.95848, 9.73401 56.95848, 9.73391 56.95894, 9.73325 56.95890, 9.73317 56.95889, 9.73313 56.95910, 9.73311 56.95929, 9.73312 56.95943, 9.73315 56.95959, 9.73335 56.96018, 9.73335 56.96018, 9.73335 56.96018, 9.73338 56.96032, 9.73338 56.96032, 9.73338 56.96033, 9.73338 56.96043, 9.73338 56.96044, 9.73338 56.96044, 9.73338 56.96044, 9.73335 56.96056, 9.73335 56.96056, 9.73335 56.96057, 9.73335 56.96057, 9.73329 56.96069, 9.73329 56.96069, 9.73329 56.96069, 9.73329 56.96069, 9.73311 56.96093, 9.73311 56.96093, 9.73311 56.96093, 9.73275 56.96143, 9.73275 56.96143, 9.73275 56.96143, 9.73233 56.96196, 9.73169 56.96276, 9.73109 56.96351, 9.73130 56.96351, 9.73223 56.96346, 9.73258 56.96344, 9.73258 56.96344, 9.73258 56.96344, 9.73258 56.96344, 9.73285 56.96344, 9.73286 56.96344, 9.73286 56.96344, 9.73286 56.96344, 9.73304 56.96346, 9.73304 56.96346, 9.73304 56.96346, 9.73305 56.96346, 9.73319 56.96348, 9.73319 56.96348, 9.73319 56.96348, 9.73381 56.96361, 9.73381 56.96361, 9.73381 56.96361, 9.73407 56.96367, 9.73425 56.96369, 9.73440 56.96369, 9.73596 56.96365, 9.73596 56.96365, 9.73713 56.96362))        1
                                             45491  Aalborg     DK004L  20000  Agricultural + Semi-natural areas + Wetlands      2011   5.550837    0.385815                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  POLYGON ((10.05435 57.14065, 10.05480 57.13957, 10.05468 57.13957, 10.05215 57.13949, 10.05203 57.13947, 10.05196 57.13898, 10.05199 57.13898, 10.05376 57.13880, 10.05346 57.13757, 10.05270 57.13741, 10.05098 57.13748, 10.05098 57.13748, 10.05098 57.13748, 10.05097 57.13748, 10.05097 57.13748, 10.05097 57.13748, 10.05096 57.13748, 10.05096 57.13748, 10.05096 57.13748, 10.05095 57.13748, 10.05095 57.13748, 10.05095 57.13748, 10.05095 57.13748, 10.05094 57.13747, 10.05094 57.13747, 10.05092 57.13748, 10.05089 57.13738, 10.05047 57.13646, 10.05172 57.13638, 10.05254 57.13648, 10.05399 57.13676, 10.05409 57.13675, 10.05410 57.13675, 10.05410 57.13675, 10.05410 57.13675, 10.05411 57.13675, 10.05411 57.13675, 10.05411 57.13675, 10.05412 57.13675, 10.05412 57.13675, 10.05412 57.13675, 10.05412 57.13675, 10.05461 57.13685, 10.05461 57.13685, 10.05461 57.13685, 10.05461 57.13685, 10.05552 57.13712, 10.05568 57.13707, 10.05751 57.13652, 10.05751 57.13652, 10.05751 57.13652, 10.05751 57.13652, 10.05752 57.13652, 10.05752 57.13652, 10.05752 57.13652, 10.05753 57.13652, 10.05753 57.13652, 10.05753 57.13652, 10.05754 57.13652, 10.05754 57.13652, 10.05754 57.13652, 10.05755 57.13652, 10.05755 57.13652, 10.05777 57.13656, 10.05777 57.13657, 10.05777 57.13657, 10.05778 57.13657, 10.05778 57.13657, 10.05778 57.13657, 10.05778 57.13657, 10.05779 57.13657, 10.05779 57.13657, 10.05779 57.13657, 10.05779 57.13657, 10.05779 57.13658, 10.05780 57.13658, 10.05780 57.13658, 10.05780 57.13658, 10.05795 57.13681, 10.05824 57.13665, 10.05971 57.13580, 10.06079 57.13515, 10.06072 57.13514, 10.06061 57.13514, 10.05892 57.13525, 10.05892 57.13525, 10.05874 57.13526, 10.05873 57.13526, 10.05873 57.13526, 10.05854 57.13526, 10.05854 57.13526, 10.05854 57.13526, 10.05854 57.13526, 10.05812 57.13522, 10.05812 57.13522, 10.05811 57.13522, 10.05811 57.13522, 10.05793 57.13520, 10.05793 57.13519, 10.05792 57.13519, 10.05771 57.13515, 10.05771 57.13515, 10.05771 57.13515, 10.05747 57.13509, 10.05744 57.13508, 10.05721 57.13504, 10.05673 57.13497, 10.05648 57.13495, 10.05613 57.13495, 10.05602 57.13497, 10.05583 57.13501, 10.05562 57.13509, 10.05561 57.13509, 10.05535 57.13521, 10.05534 57.13521, 10.05534 57.13521, 10.05534 57.13521, 10.05534 57.13521, 10.05518 57.13526, 10.05518 57.13526, 10.05518 57.13526, 10.05497 57.13533, 10.05497 57.13533, 10.05497 57.13533, 10.05497 57.13533, 10.05461 57.13541, 10.05461 57.13541, 10.05460 57.13541, 10.05460 57.13542, 10.05413 57.13548, 10.05412 57.13548, 10.05412 57.13548, 10.05319 57.13557, 10.05262 57.13564, 10.05201 57.13572, 10.05051 57.13595, 10.05050 57.13595, 10.05050 57.13595, 10.04783 57.13623, 10.04776 57.13624, 10.04778 57.13709, 10.04773 57.13713, 10.04668 57.13714, 10.04663 57.13710, 10.04684 57.13637, 10.04686 57.13630, 10.04682 57.13626, 10.04682 57.13625, 10.04682 57.13625, 10.04682 57.13625, 10.04679 57.13620, 10.04679 57.13620, 10.04679 57.13620, 10.04679 57.13620, 10.04670 57.13592, 10.04661 57.13574, 10.04661 57.13574, 10.04661 57.13574, 10.04661 57.13574, 10.04661 57.13574, 10.04660 57.13565, 10.04650 57.13542, 10.04645 57.13535, 10.04634 57.13523, 10.04634 57.13523, 10.04634 57.13523, 10.04634 57.13523, 10.04632 57.13519, 10.04618 57.13503, 10.04496 57.13515, 10.04464 57.13458, 10.04461 57.13451, 10.04422 57.13460, 10.04422 57.13460, 10.04421 57.13460, 10.04421 57.13460, 10.04421 57.13460, 10.04421 57.13460, 10.04420 57.13460, 10.04420 57.13460, 10.04420 57.13460, 10.04419 57.13460, 10.04419 57.13460, 10.04419 57.13460, 10.04411 57.13459, 10.04410 57.13458, 10.04410 57.13458, 10.04410 57.13458, 10.04409 57.13458, 10.04409 57.13458, 10.04409 57.13458, 10.04409 57.13458, 10.04408 57.13458, 10.04408 57.13458, 10.04408 57.13458, 10.04408 57.13458, 10.04404 57.13454, 10.04404 57.13454, 10.04403 57.13454, 10.04403 57.13454, 10.04403 57.13454, 10.04403 57.13454, 10.04398 57.13447, 10.04398 57.13447, 10.04398 57.13447, 10.04385 57.13424, 10.04368 57.13396, 10.04365 57.13392, 10.04362 57.13391, 10.04360 57.13390, 10.04221 57.13384, 10.04221 57.13384, 10.04220 57.13384, 10.04220 57.13384, 10.04189 57.13380, 10.04177 57.13380, 10.04175 57.13380, 10.04105 57.13394, 10.04088 57.13397, 10.04069 57.13401, 10.04090 57.13427, 10.04113 57.13448, 10.04113 57.13462, 10.04084 57.13477, 10.04079 57.13484, 10.04079 57.13492, 10.04074 57.13504, 10.04045 57.13513, 10.04035 57.13514, 10.04025 57.13531, 10.04026 57.13555, 10.04113 57.13626, 10.04155 57.13691, 10.04173 57.13914, 10.04181 57.13921, 10.04342 57.13932, 10.04364 57.13932, 10.04364 57.13856, 10.04367 57.13847, 10.04492 57.13846, 10.04512 57.13839, 10.04492 57.13755, 10.04466 57.13747, 10.04444 57.13742, 10.04438 57.13722, 10.04440 57.13708, 10.04601 57.13645, 10.04644 57.13648, 10.04654 57.13657, 10.04637 57.13667, 10.04638 57.13724, 10.04619 57.13730, 10.04632 57.13841, 10.04780 57.13862, 10.04785 57.13871, 10.04789 57.13930, 10.04791 57.13930, 10.04715 57.13940, 10.04702 57.13943, 10.04700 57.13947, 10.04703 57.13963, 10.04725 57.14053, 10.04790 57.14053, 10.04790 57.14053, 10.04790 57.14053, 10.04790 57.14053, 10.04863 57.14055, 10.04876 57.14055, 10.04901 57.14055, 10.04934 57.14053, 10.04934 57.14053, 10.04935 57.14053, 10.04985 57.14054, 10.05169 57.14052, 10.05169 57.14052, 10.05169 57.14052, 10.05200 57.14053, 10.05200 57.14053, 10.05201 57.14053, 10.05313 57.14058, 10.05314 57.14058, 10.05435 57.14065))        1
                                             ```
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-18-36f51accfae4> in <module>
----> 1 locations_train = mycity.generate_sampling_locations()
      2 #locations_train.head()

~/Desktop/t/urban-environments/dataset-collection/urbanatlas.py in generate_sampling_locations(self, n_samples_per_class, thresh_area, max_samples)
    154         ):
    155         gdf_sel = self._gdf[self._gdf.SHAPE_AREA >= thresh_area]
--> 156         return generate_sampling_locations(gdf_sel,
    157                 n_samples_per_class=n_samples_per_class,
    158                 class_col=self._class_col, max_samples=max_samples)

~/Desktop/t/urban-environments/dataset-collection/urbanatlas.py in generate_sampling_locations(gdf_sel, n_samples_per_class, class_col, max_samples)
    318     #print(select_polygons.head(n=5))
    319 
--> 320     locations = select_polygons.groupby(class_col).apply(lambda x: \
    321             sample_locations_from_polygon(x, sample_on_boundary='road'
    322             in x[class_col].iloc[0].lower() or 'railway'

~/.local/lib/python3.8/site-packages/pandas/core/frame.py in groupby(self, by, axis, level, as_index, sort, group_keys, squeeze, observed, dropna)
   6715         axis = self._get_axis_number(axis)
   6716 
-> 6717         return DataFrameGroupBy(
   6718             obj=self,
   6719             keys=by,

~/.local/lib/python3.8/site-packages/pandas/core/groupby/groupby.py in __init__(self, obj, keys, axis, level, grouper, exclusions, selection, as_index, sort, group_keys, squeeze, observed, mutated, dropna)
    558             from pandas.core.groupby.grouper import get_grouper
    559 
--> 560             grouper, exclusions, obj = get_grouper(
    561                 obj,
    562                 keys,

~/.local/lib/python3.8/site-packages/pandas/core/groupby/grouper.py in get_grouper(obj, key, axis, level, sort, observed, mutated, validate, dropna)
    803             if gpr in obj:
    804                 if validate:
--> 805                     obj._check_label_or_level_ambiguity(gpr, axis=axis)
    806                 in_axis, name, gpr = True, gpr, obj[gpr]
    807                 exclusions.add(name)

~/.local/lib/python3.8/site-packages/pandas/core/generic.py in _check_label_or_level_ambiguity(self, key, axis)
   1636                 f"{label_article} {label_type} label, which is ambiguous."
   1637             )
-> 1638             raise ValueError(msg)
   1639 
   1640     @final

ValueError: 'ITEM' is both an index level and a column label, which is ambiguous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment