Demonstrates a case where the Turf.jl point_in_polygon test fails.
Last active
September 17, 2021 19:49
-
-
Save mattwigway/b2195da0e4d4501b7e2e99d00b2744cf to your computer and use it in GitHub Desktop.
Point-in-polygon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is machine-generated - editing it directly is not advised | |
[[AbstractFFTs]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "485ee0867925449198280d4af84bdb46a2a404d0" | |
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c" | |
version = "1.0.1" | |
[[Adapt]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "84918055d15b3114ede17ac6a7182f68870c16f7" | |
uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | |
version = "3.3.1" | |
[[ArchGDAL]] | |
deps = ["ColorTypes", "Dates", "DiskArrays", "GDAL", "GeoFormatTypes", "GeoInterface", "ImageCore", "Tables"] | |
git-tree-sha1 = "245d68fd5749c0aee757da162c2956b595b274bb" | |
uuid = "c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3" | |
version = "0.7.4" | |
[[ArgTools]] | |
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" | |
[[Artifacts]] | |
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" | |
[[Base64]] | |
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
[[CEnum]] | |
git-tree-sha1 = "215a9aa4a1f23fbd05b92769fdd62559488d70e9" | |
uuid = "fa961155-64e5-5f13-b03f-caf6b980ea82" | |
version = "0.4.1" | |
[[ChainRulesCore]] | |
deps = ["Compat", "LinearAlgebra", "SparseArrays"] | |
git-tree-sha1 = "4ce9393e871aca86cc457d9f66976c3da6902ea7" | |
uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" | |
version = "1.4.0" | |
[[ColorTypes]] | |
deps = ["FixedPointNumbers", "Random"] | |
git-tree-sha1 = "024fe24d83e4a5bf5fc80501a314ce0d1aa35597" | |
uuid = "3da002f7-5984-5a60-b8a6-cbb66c0b333f" | |
version = "0.11.0" | |
[[ColorVectorSpace]] | |
deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "SpecialFunctions", "Statistics", "TensorCore"] | |
git-tree-sha1 = "a66a8e024807c4b3d186eb1cab2aff3505271f8e" | |
uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4" | |
version = "0.9.6" | |
[[Colors]] | |
deps = ["ColorTypes", "FixedPointNumbers", "Reexport"] | |
git-tree-sha1 = "417b0ed7b8b838aa6ca0a87aadf1bb9eb111ce40" | |
uuid = "5ae59095-9a9b-59fe-a467-6f913c188581" | |
version = "0.12.8" | |
[[Compat]] | |
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"] | |
git-tree-sha1 = "4866e381721b30fac8dda4c8cb1d9db45c8d2994" | |
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20" | |
version = "3.37.0" | |
[[CompilerSupportLibraries_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" | |
[[DBFTables]] | |
deps = ["Printf", "Tables", "WeakRefStrings"] | |
git-tree-sha1 = "3887db9932c2f9f159d28bfbe34f25597048eb80" | |
uuid = "75c7ada1-017a-5fb6-b8c7-2125ff2d6c93" | |
version = "0.2.3" | |
[[DataAPI]] | |
git-tree-sha1 = "bec2532f8adb82005476c141ec23e921fc20971b" | |
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" | |
version = "1.8.0" | |
[[DataValueInterfaces]] | |
git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6" | |
uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464" | |
version = "1.0.0" | |
[[Dates]] | |
deps = ["Printf"] | |
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" | |
[[DelimitedFiles]] | |
deps = ["Mmap"] | |
uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab" | |
[[DiskArrays]] | |
git-tree-sha1 = "599dc32bae654fa78056b15fed9b2af36f04ee44" | |
uuid = "3c3547ce-8d99-4f5e-a174-61eb10b00ae3" | |
version = "0.2.11" | |
[[Distributed]] | |
deps = ["Random", "Serialization", "Sockets"] | |
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" | |
[[DocStringExtensions]] | |
deps = ["LibGit2"] | |
git-tree-sha1 = "a32185f5428d3986f47c2ab78b1f216d5e6cc96f" | |
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | |
version = "0.8.5" | |
[[Downloads]] | |
deps = ["ArgTools", "LibCURL", "NetworkOptions"] | |
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6" | |
[[Expat_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] | |
git-tree-sha1 = "b3bfd02e98aedfa5cf885665493c5598c350cd2f" | |
uuid = "2e619515-83b5-522b-bb60-26c02a35a201" | |
version = "2.2.10+0" | |
[[FixedPointNumbers]] | |
deps = ["Statistics"] | |
git-tree-sha1 = "335bfdceacc84c5cdf16aadc768aa5ddfc5383cc" | |
uuid = "53c48c17-4a7d-5ca2-90c5-79b7896eea93" | |
version = "0.8.4" | |
[[GDAL]] | |
deps = ["CEnum", "GDAL_jll", "NetworkOptions", "PROJ_jll"] | |
git-tree-sha1 = "8b1df30f3b390ab1ce8329a5fbf7c3a2f85ee5a9" | |
uuid = "add2ef01-049f-52c4-9ee2-e494f65e021a" | |
version = "1.2.3" | |
[[GDAL_jll]] | |
deps = ["Artifacts", "Expat_jll", "GEOS_jll", "JLLWrappers", "LibCURL_jll", "LibSSH2_jll", "Libdl", "Libtiff_jll", "MbedTLS_jll", "OpenJpeg_jll", "PROJ_jll", "Pkg", "SQLite_jll", "Zlib_jll", "Zstd_jll", "libgeotiff_jll", "nghttp2_jll"] | |
git-tree-sha1 = "439c33eb4dfa74a43a1e96b1d758aeb3cbc33dc3" | |
uuid = "a7073274-a066-55f0-b90d-d619367d196c" | |
version = "300.202.100+0" | |
[[GEOS_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] | |
git-tree-sha1 = "45d0ddfd29620ac9b2d1072801e90fb016c5f94c" | |
uuid = "d604d12d-fa86-5845-992e-78dc15976526" | |
version = "3.9.0+0" | |
[[GeoFormatTypes]] | |
git-tree-sha1 = "bb75ce99c9d6fb2edd8ef8ee474991cdacf12221" | |
uuid = "68eda718-8dee-11e9-39e7-89f7f65f511f" | |
version = "0.3.0" | |
[[GeoInterface]] | |
deps = ["RecipesBase"] | |
git-tree-sha1 = "38a649e6a52d1bea9844b382343630ac754c931c" | |
uuid = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" | |
version = "0.5.5" | |
[[GeoJSON]] | |
deps = ["GeoInterface", "JSON3"] | |
git-tree-sha1 = "4764da92d333658552b2bedc9f6b379f017c727b" | |
uuid = "61d90e0f-e114-555e-ac52-39dfb47a3ef9" | |
version = "0.5.1" | |
[[Graphics]] | |
deps = ["Colors", "LinearAlgebra", "NaNMath"] | |
git-tree-sha1 = "2c1cf4df419938ece72de17f368a021ee162762e" | |
uuid = "a2bd30eb-e257-5431-a919-1863eab51364" | |
version = "1.1.0" | |
[[ImageCore]] | |
deps = ["AbstractFFTs", "ColorVectorSpace", "Colors", "FixedPointNumbers", "Graphics", "MappedArrays", "MosaicViews", "OffsetArrays", "PaddedViews", "Reexport"] | |
git-tree-sha1 = "595155739d361589b3d074386f77c107a8ada6f7" | |
uuid = "a09fc81d-aa75-5fe9-8630-4744c3626534" | |
version = "0.9.2" | |
[[InteractiveUtils]] | |
deps = ["Markdown"] | |
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" | |
[[IrrationalConstants]] | |
git-tree-sha1 = "f76424439413893a832026ca355fe273e93bce94" | |
uuid = "92d709cd-6900-40b7-9082-c6be49f344b6" | |
version = "0.1.0" | |
[[IteratorInterfaceExtensions]] | |
git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856" | |
uuid = "82899510-4779-5014-852e-03e436cf321d" | |
version = "1.0.0" | |
[[JLLWrappers]] | |
deps = ["Preferences"] | |
git-tree-sha1 = "642a199af8b68253517b80bd3bfd17eb4e84df6e" | |
uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" | |
version = "1.3.0" | |
[[JSON3]] | |
deps = ["Dates", "Mmap", "Parsers", "StructTypes", "UUIDs"] | |
git-tree-sha1 = "b3e5984da3c6c95bcf6931760387ff2e64f508f3" | |
uuid = "0f8b85d8-7281-11e9-16c2-39a750bddbf1" | |
version = "1.9.1" | |
[[JpegTurbo_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] | |
git-tree-sha1 = "d735490ac75c5cb9f1b00d8b5509c11984dc6943" | |
uuid = "aacddb02-875f-59d6-b918-886e6ef4fbf8" | |
version = "2.1.0+0" | |
[[LibCURL]] | |
deps = ["LibCURL_jll", "MozillaCACerts_jll"] | |
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21" | |
[[LibCURL_jll]] | |
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"] | |
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" | |
[[LibGit2]] | |
deps = ["Base64", "NetworkOptions", "Printf", "SHA"] | |
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" | |
[[LibSSH2_jll]] | |
deps = ["Artifacts", "Libdl", "MbedTLS_jll"] | |
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8" | |
[[Libdl]] | |
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | |
[[Libtiff_jll]] | |
deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Pkg", "Zlib_jll", "Zstd_jll"] | |
git-tree-sha1 = "340e257aada13f95f98ee352d316c3bed37c8ab9" | |
uuid = "89763e89-9b03-5906-acba-b20f662cd828" | |
version = "4.3.0+0" | |
[[LinearAlgebra]] | |
deps = ["Libdl"] | |
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | |
[[LittleCMS_jll]] | |
deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pkg"] | |
git-tree-sha1 = "110897e7db2d6836be22c18bffd9422218ee6284" | |
uuid = "d3a379c0-f9a3-5b72-a4c0-6bf4d2e8af0f" | |
version = "2.12.0+0" | |
[[LogExpFunctions]] | |
deps = ["ChainRulesCore", "DocStringExtensions", "IrrationalConstants", "LinearAlgebra"] | |
git-tree-sha1 = "34dc30f868e368f8a17b728a1238f3fcda43931a" | |
uuid = "2ab3a3ac-af41-5b50-aa03-7779005ae688" | |
version = "0.3.3" | |
[[Logging]] | |
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" | |
[[MappedArrays]] | |
git-tree-sha1 = "e8b359ef06ec72e8c030463fe02efe5527ee5142" | |
uuid = "dbb5928d-eab1-5f90-85c2-b9b0edb7c900" | |
version = "0.4.1" | |
[[Markdown]] | |
deps = ["Base64"] | |
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" | |
[[MbedTLS_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" | |
[[Mmap]] | |
uuid = "a63ad114-7e13-5084-954f-fe012c677804" | |
[[MosaicViews]] | |
deps = ["MappedArrays", "OffsetArrays", "PaddedViews", "StackViews"] | |
git-tree-sha1 = "b34e3bc3ca7c94914418637cb10cc4d1d80d877d" | |
uuid = "e94cdb99-869f-56ef-bcf0-1ae2bcbe0389" | |
version = "0.3.3" | |
[[MozillaCACerts_jll]] | |
uuid = "14a3606d-f60d-562e-9121-12d972cd8159" | |
[[NaNMath]] | |
git-tree-sha1 = "bfe47e760d60b82b66b61d2d44128b62e3a369fb" | |
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3" | |
version = "0.3.5" | |
[[NetworkOptions]] | |
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" | |
[[OffsetArrays]] | |
deps = ["Adapt"] | |
git-tree-sha1 = "c0e9e582987d36d5a61e650e6e543b9e44d9914b" | |
uuid = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" | |
version = "1.10.7" | |
[[OpenJpeg_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Libtiff_jll", "LittleCMS_jll", "Pkg", "libpng_jll"] | |
git-tree-sha1 = "76374b6e7f632c130e78100b166e5a48464256f8" | |
uuid = "643b3616-a352-519d-856d-80112ee9badc" | |
version = "2.4.0+0" | |
[[OpenSpecFun_jll]] | |
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Pkg"] | |
git-tree-sha1 = "13652491f6856acfd2db29360e1bbcd4565d04f1" | |
uuid = "efe28fd5-8261-553b-a9e1-b2916fc3738e" | |
version = "0.5.5+0" | |
[[PROJ_jll]] | |
deps = ["Artifacts", "JLLWrappers", "LibCURL_jll", "LibSSH2_jll", "Libdl", "Libtiff_jll", "MbedTLS_jll", "Pkg", "SQLite_jll", "Zlib_jll", "nghttp2_jll"] | |
git-tree-sha1 = "2435e91710d7f97f53ef7a4872bf1f948dc8e5f8" | |
uuid = "58948b4f-47e0-5654-a9ad-f609743f8632" | |
version = "700.202.100+0" | |
[[PaddedViews]] | |
deps = ["OffsetArrays"] | |
git-tree-sha1 = "646eed6f6a5d8df6708f15ea7e02a7a2c4fe4800" | |
uuid = "5432bcbf-9aad-5242-b902-cca2824c8663" | |
version = "0.5.10" | |
[[Parsers]] | |
deps = ["Dates"] | |
git-tree-sha1 = "438d35d2d95ae2c5e8780b330592b6de8494e779" | |
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" | |
version = "2.0.3" | |
[[Pkg]] | |
deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"] | |
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | |
[[Preferences]] | |
deps = ["TOML"] | |
git-tree-sha1 = "00cfd92944ca9c760982747e9a1d0d5d86ab1e5a" | |
uuid = "21216c6a-2e73-6563-6e65-726566657250" | |
version = "1.2.2" | |
[[Printf]] | |
deps = ["Unicode"] | |
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" | |
[[REPL]] | |
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"] | |
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | |
[[Random]] | |
deps = ["Serialization"] | |
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | |
[[RecipesBase]] | |
git-tree-sha1 = "44a75aa7a527910ee3d1751d1f0e4148698add9e" | |
uuid = "3cdcf5f2-1ef4-517c-9805-6587b60abb01" | |
version = "1.1.2" | |
[[Reexport]] | |
git-tree-sha1 = "45e428421666073eab6f2da5c9d310d99bb12f9b" | |
uuid = "189a3867-3050-52da-a836-e630ba90ab69" | |
version = "1.2.2" | |
[[SHA]] | |
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" | |
[[SQLite_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] | |
git-tree-sha1 = "9a0e24b81e3ce02c4b2eb855476467c7b93b8a8f" | |
uuid = "76ed43ae-9a5d-5a62-8c75-30186b810ce8" | |
version = "3.36.0+0" | |
[[Serialization]] | |
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | |
[[Shapefile]] | |
deps = ["DBFTables", "GeoInterface", "RecipesBase", "Tables"] | |
git-tree-sha1 = "1f4070fed3e779b4f710583f8dacd87397cd13b1" | |
uuid = "8e980c4a-a4fe-5da2-b3a7-4b4b0353a2f4" | |
version = "0.7.1" | |
[[SharedArrays]] | |
deps = ["Distributed", "Mmap", "Random", "Serialization"] | |
uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383" | |
[[Sockets]] | |
uuid = "6462fe0b-24de-5631-8697-dd941f90decc" | |
[[SparseArrays]] | |
deps = ["LinearAlgebra", "Random"] | |
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | |
[[SpecialFunctions]] | |
deps = ["ChainRulesCore", "LogExpFunctions", "OpenSpecFun_jll"] | |
git-tree-sha1 = "a322a9493e49c5f3a10b50df3aedaf1cdb3244b7" | |
uuid = "276daf66-3868-5448-9aa4-cd146d93841b" | |
version = "1.6.1" | |
[[StackViews]] | |
deps = ["OffsetArrays"] | |
git-tree-sha1 = "46e589465204cd0c08b4bd97385e4fa79a0c770c" | |
uuid = "cae243ae-269e-4f55-b966-ac2d0dc13c15" | |
version = "0.1.1" | |
[[Statistics]] | |
deps = ["LinearAlgebra", "SparseArrays"] | |
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | |
[[StructTypes]] | |
deps = ["Dates", "UUIDs"] | |
git-tree-sha1 = "8445bf99a36d703a09c601f9a57e2f83000ef2ae" | |
uuid = "856f2bd8-1eba-4b0a-8007-ebc267875bd4" | |
version = "1.7.3" | |
[[TOML]] | |
deps = ["Dates"] | |
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76" | |
[[TableTraits]] | |
deps = ["IteratorInterfaceExtensions"] | |
git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39" | |
uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" | |
version = "1.0.1" | |
[[Tables]] | |
deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "TableTraits", "Test"] | |
git-tree-sha1 = "1162ce4a6c4b7e31e0e6b14486a6986951c73be9" | |
uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" | |
version = "1.5.2" | |
[[Tar]] | |
deps = ["ArgTools", "SHA"] | |
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e" | |
[[TensorCore]] | |
deps = ["LinearAlgebra"] | |
git-tree-sha1 = "1feb45f88d133a655e001435632f019a9a1bcdb6" | |
uuid = "62fd8b95-f654-4bbd-a8a5-9c27f68ccd50" | |
version = "0.1.1" | |
[[Test]] | |
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"] | |
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | |
[[Turf]] | |
deps = ["GeoInterface", "GeoJSON", "Reexport", "Statistics", "Test"] | |
git-tree-sha1 = "53a7620666582139ef7d8c422643eb406a8e3897" | |
uuid = "e89237b0-9201-11e9-31b0-6361926203f7" | |
version = "0.2.1" | |
[[UUIDs]] | |
deps = ["Random", "SHA"] | |
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | |
[[Unicode]] | |
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" | |
[[WeakRefStrings]] | |
deps = ["DataAPI", "Random", "Test"] | |
git-tree-sha1 = "28807f85197eaad3cbd2330386fac1dcb9e7e11d" | |
uuid = "ea10d353-3f73-51f8-a26c-33c1cb351aa5" | |
version = "0.6.2" | |
[[Zlib_jll]] | |
deps = ["Libdl"] | |
uuid = "83775a58-1f1d-513f-b197-d71354ab007a" | |
[[Zstd_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"] | |
git-tree-sha1 = "cc4bf3fdde8b7e3e9fa0351bdeedba1cf3b7f6e6" | |
uuid = "3161d3a3-bdf6-5164-811a-617609db77b4" | |
version = "1.5.0+0" | |
[[libgeotiff_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Libtiff_jll", "PROJ_jll", "Pkg"] | |
git-tree-sha1 = "a5cc2e3dd7b1c1e783a61b8ab7de03eebddfed60" | |
uuid = "06c338fa-64ff-565b-ac2f-249532af990e" | |
version = "1.6.0+1" | |
[[libpng_jll]] | |
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg", "Zlib_jll"] | |
git-tree-sha1 = "94d180a6d2b5e55e447e2d27a29ed04fe79eb30c" | |
uuid = "b53b4c65-9356-5827-b1ea-8c7a1a84506f" | |
version = "1.6.38+0" | |
[[nghttp2_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d" | |
[[p7zip_jll]] | |
deps = ["Artifacts", "Libdl"] | |
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[deps] | |
ArchGDAL = "c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3" | |
GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f" | |
Shapefile = "8e980c4a-a4fe-5da2-b3a7-4b4b0353a2f4" | |
Turf = "e89237b0-9201-11e9-31b0-6361926203f7" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test case that seems to make point_in_polygon fail | |
# this point should be inside this polygon, but point_in_polygon thinks it is not | |
# this appears to have something to do with the polygon, not the point, because all points that should be in this polygon seem not to be | |
# author: Matt Bhagat-Conway <[email protected]> | |
using Turf | |
using Shapefile | |
using GeoInterface | |
using Test | |
using ArchGDAL | |
const POINT = Point([-121.353312, 38.667724]) | |
const shp = Shapefile.Table("polygon.shp") | |
const POLYGON = MultiPolygon(GeoInterface.coordinates(Shapefile.shape(first(shp)))) | |
const POLYGONS = Polygon.(coordinates(POLYGON)) | |
const gdalmp = ArchGDAL.createmultipolygon(coordinates(POLYGON)) | |
const gdalpt = ArchGDAL.createpoint(coordinates(POINT)) | |
@testset "Point in polygon" begin | |
@test point_in_polygon(POINT, POLYGON) | |
@test any(point_in_polygon.([POINT], POLYGONS)) | |
@test ArchGDAL.contains(gdalmp, gdalpt) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment