I have online access to a leaflet map, but cannot reach the authors. Is there a way to download shapes from this map (to shp, geojson, etc.)? I thought of running some leaflet-related javascript code in browser console, but I couldn’t find any relevant commands in the documentation. Answer When you look into the dev tools of the link you
Tag: geospatial
turf’s mask() function does not run with 10 or more polygons
I can not run the turf.mask() function with more than 9 randomly created points. It just does not return any result. This works as expected. There are nine holes (created through the randomPoints() function) in the polygon. However, as soon as I change howManyCircles to a number greater than 9, I do not get any result. It calculates and calculates
Determine if Lat/Lng in Bounds
I’m interested in determining if a lat/lng location is within the bounds and looking for recommendations on a algorithm. (javascript or php) Here is what I have so far: will this work? thanks Answer The simple comparison in your post will work for coordinates in the US. However, if you want a solution that’s safe for checking across the International