@Genri_Rus

Как можно проверить точку внутри многоугольника на пустую зону?

Полигон для доставки на сайте:
spoiler
66ec6cee2e4a2392994146.png

Используется такая библиотека, вот ссылка
Там указано, что данная библиотека может находить точки внутри пустой зоны (пример в виде картинки на том сайте).
Возможно есть нормальная библиотека для полноценной проверки на пустую зону или ошибка может быть в полигонах?
Вот координаты и ссылка на пример:
[[[56.28108174022461,44.03654989363096],[56.2802825182821,44.038688529432676],[56.280396174693486,44.04153883411943],[56.27797921271816,44.04220045625004],[56.27791161072873,44.043377094232284],[56.27753363713617,44.04463956290302],[56.27515412357318,44.045319140442174],[56.2734519882113,44.04656734629258],[56.272768037075856,44.044380494170134],[56.27163594886981,44.03967099274842],[56.269177443935455,44.041371742068044],[56.26973616764104,44.04380998446471],[56.270348611693656,44.04616239617289],[56.2718371959818,44.05188132340108],[56.27277248928759,44.05454766796605],[56.273946531155765,44.05691360512146],[56.275075971176314,44.05656046874834],[56.27614568851648,44.05549922919527],[56.27786722954118,44.05444963369516],[56.27972108408236,44.05307411807896],[56.28219552299487,44.05410186174009],[56.28666653942723,44.057873962831934],[56.28516998832535,44.06106670677647],[56.28432620855999,44.059487343275116],[56.282943498470125,44.06113310730994],[56.2829981132363,44.05844765993591],[56.28118556150221,44.05684288935516],[56.27918193362754,44.05652557910164],[56.27797800612517,44.06348241969651],[56.28036027699852,44.067969350583525],[56.27860301223962,44.070384477404005],[56.280097463340326,44.07593425253259],[56.28092822144025,44.07764698532694],[56.28161572808739,44.079660125531035],[56.279325094073485,44.08076131467002],[56.27744019754759,44.081819588464825],[56.27564474285537,44.0827920315711],[56.276463660340816,44.09372083454066],[56.27950504998711,44.09678482362096],[56.28350105222542,44.097016399981605],[56.29116960537956,44.093724460082015],[56.292082848927635,44.0801641176881],[56.295057181074114,44.08316864497745],[56.29659198577999,44.08482111232697],[56.29761369391563,44.086924190790945],[56.2987827338797,44.08957154956218],[56.301061343579576,44.08594923552434],[56.30230199941534,44.08804337483112],[56.302516684567166,44.09086707498997],[56.304794605608095,44.0886533646409],[56.30596305578413,44.087126299799586],[56.306987771273626,44.08589607224715],[56.31002821396302,44.08288485790881],[56.31213815290589,44.079830728226256],[56.314271826607936,44.07553205356074],[56.31573756202137,44.07329331541864],[56.31692952624664,44.07090794369262],[56.317835259503546,44.06792175714725],[56.31886151837462,44.06538059993873],[56.31972081129947,44.0624961199763],[56.321010085108995,44.05501054628197],[56.32311157959377,44.043086388334224],[56.32421442401794,44.03893621544405],[56.32614287026908,44.03159863491176],[56.32915606603174,44.01969057021807],[56.329999476479514,44.014997176108224],[56.3301857375052,44.0080907237279],[56.33235080685475,44.00624828196786],[56.3319604102696,44.00071803864542],[56.33139567593984,43.99610755718195],[56.33921476360161,43.96564873460221],[56.34342610984045,43.953447472953755],[56.34392672658738,43.94757391140302],[56.34753636880869,43.93875080842263],[56.347309059426365,43.9375666367167],[56.34936902974107,43.93200928823061],[56.35036322929048,43.92901603726642],[56.350973506137855,43.926768393260126],[56.35166050272468,43.92439339147382],[56.34554398321752,43.90667605458733],[56.342010698509924,43.90428352414605],[56.341176485541666,43.90851068555358],[56.340522043803716,43.912288744589105],[56.337874868425565,43.91060450592054],[56.33553843121137,43.90966846212251],[56.33437698539802,43.91109983997267],[56.334171720189254,43.9096590328497],[56.33391877498812,43.9087332098577],[56.3332536787135,43.90642184292361],[56.33272220648514,43.90480791483482],[56.332417211425835,43.90373042854904],[56.33221594299749,43.90313581928488],[56.33191931073737,43.90254121002064],[56.33136569766366,43.901589446388904],[56.330764393671494,43.900938090166804],[56.328205478793855,43.90698631269769],[56.325001204500296,43.91392955190245],[56.321399513793295,43.92427887896052],[56.319670085755966,43.92806415821974],[56.321702305067866,43.93889680664348],[56.32314187580707,43.9460468378138],[56.322608226315545,43.94727760271991],[56.3065470681593,43.90591488846952],[56.29626636441213,43.879690561899196],[56.294877038555384,43.8814171416946],[56.291318522029876,43.88554199775437],[56.287520987911094,43.888508139519864],[56.28531773816266,43.889991210402506],[56.28073908956432,43.892182384465116],[56.28139791499594,43.887570230712704],[56.28017559888931,43.880672212003006],[56.27941521611729,43.88149327939986],[56.27649414857115,43.87465395785022],[56.2755593534274,43.872048096441034],[56.2728713811861,43.87682841578221],[56.26998115368499,43.868983265851945],[56.26624933428773,43.85941732311945],[56.265239507374176,43.85314684082166],[56.26454352059478,43.849732649935206],[56.263775870829775,43.84794924212991],[56.26232750743285,43.84676664914389],[56.25896821973082,43.845820090551186],[56.2571613613391,43.84279213776292],[56.25546958248395,43.84223302777804],[56.253550775553805,43.84173829080954],[56.24754628145041,43.83974688121067],[56.2483249558069,43.8318793569151],[56.2490509702943,43.83208011165821],[56.249321388992456,43.82782994600763],[56.248745791337534,43.827518036476434],[56.248982546228454,43.82450246025821],[56.24710121533387,43.823850272534585],[56.24530342431981,43.82330537317159],[56.24526024827695,43.82375711992413],[56.24481085363083,43.82824290903504],[56.240585759085064,43.826935126673746],[56.240038408828596,43.82248322752802],[56.238797982997355,43.82202245539651],[56.239040228170644,43.82518973331007],[56.2345127353841,43.82473489341556],[56.23444781921675,43.82045197343782],[56.23129604208488,43.819512143087586],[56.22646886560752,43.81745436017564],[56.22593138257336,43.821016872150274],[56.2236007871533,43.823034431732395],[56.2181979041718,43.81947353496637],[56.212752625966466,43.81013243944461],[56.20914475162119,43.810375698598996],[56.20746028048044,43.806313082112965],[56.20674143700828,43.80492549049528],[56.199468674372795,43.80406003330951],[56.197769732170826,43.80341272799541],[56.19993470642992,43.8131956389065],[56.19989866189441,43.82619720063544],[56.20513499384388,43.83822781116236],[56.215103314569554,43.86422022270703],[56.21692778029938,43.87159465376603],[56.219421679548034,43.87914074620197],[56.22748319968522,43.903488629129434],[56.237252801439745,43.92311755707949],[56.24608802606257,43.93525775746],[56.25458675651574,43.94563842872678],[56.26883138457607,43.970748888119154],[56.275139915547335,43.977896784441285],[56.275643644082116,43.97799458971908],[56.27433276980141,43.98736210935237],[56.27462224665673,43.98864609192635],[56.27423498804978,44.0000928905636],[56.27276391545335,44.000087091426444],[56.271467214163344,44.00705793529656],[56.27408649616804,44.01411460985522],[56.27123979787803,44.023887710067214],[56.26866546545187,44.02318743615475],[56.26871555736337,44.018738883823765],[56.26202963689331,44.00703031658154],[56.2606090628354,44.00819269174343],[56.2588446311153,44.00692760430528],[56.25742492118918,44.0095351690762],[56.25919333303355,44.01333877026353],[56.26091389238077,44.01864440849921],[56.26190369722865,44.02162211811416],[56.26375329084217,44.023827351532844],[56.26873124837002,44.02392973308383],[56.27021109121425,44.02414185640022],[56.2714345368286,44.024923834730146],[56.27291779169726,44.02681686094347],[56.2739473270796,44.0283665644029],[56.27347444431538,44.02747317144133],[56.271487638776726,44.024014952245835],[56.27594774710074,44.02047090236195],[56.27787022096424,44.020828551377804],[56.28172360312211,44.026795021263744],[56.28108174022461,44.03654989363096]],[[56.291216734722155,43.98910238709358],[56.29132901043015,43.98808032840502],[56.291430441563946,43.9867070373894],[56.291877928589486,43.981725558745815],[56.29292502770475,43.98211716126195],[56.29354850038047,43.982329055774066],[56.294237589878705,43.982589230048525],[56.29542535606158,43.98303123730059],[56.29626952194196,43.983345055755336],[56.296997338978066,43.9836266877019],[56.297836995841884,43.98373934048058],[56.29843205228422,43.983782255824764],[56.29902262541491,43.983835900005054],[56.298646807210346,43.98836883324024],[56.29749546804321,43.9880469681585],[56.297024184442826,43.98789676445366],[56.29663044936541,43.98781093376518],[56.29629636792353,43.99108322876335],[56.29583216523063,43.9909101786944],[56.295587565046446,43.99302375939812],[56.29451369197926,43.99394643929925],[56.293761962804325,43.99454725411859],[56.29329063297137,43.994740373167666],[56.292998286218214,43.991811400923396],[56.292950555922864,43.990298635039004],[56.29213783304064,43.98986155059457],[56.291571019105845,43.989518227840655],[56.29118319418219,43.989518227840655],[56.291216734722155,43.98910238709358]]]

г. Нижний Новгород, проспект Гагарина 42 исключен, но все равно находится.
  • Вопрос задан
  • 117 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы