我得到一些奇怪的结果草皮.mask() https://turfjs.org/docs/#mask.
这是polygon
我正在尝试运行mask()
功能:https://gist.githubusercontent.com/Stophface/50155878441205412001247878f58b63/raw/324021868304f96c795e7d8cd18ec2c6f45ee842/polygon.geojson https://gist.githubusercontent.com/Stophface/50155878441205412001247878f58b63/raw/324021868304f96c795e7d8cd18ec2c6f45ee842/polygon.geojson
根据docs https://turfjs.org/docs/#mask,如果掩码未定义,则使用世界范围。的结果turf.mask(polygon, undefined)
is this
https://gist.githubusercontent.com/Stophface/50155878441205412001247878f58b63/raw/5e71fc1c4e4d6815cfa22e15eb1bf10c9208231f/mask_result.geojson https://gist.githubusercontent.com/Stophface/50155878441205412001247878f58b63/raw/5e71fc1c4e4d6815cfa22e15eb1bf10c9208231f/mask_result.geojson
所以它填充了内环
它为什么要这么做?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)