MercatorCoordsArray Op
Mercator map and center an array of latitudes and longitudes to a local coordinate system
Summary (oneliner)
The globe is unrolled into a flat plane.
If you would be looking at country like Germany then a map width of 100 would suffice due to the large size.
Looking at a city like Berlin which is much smaller would require a map width of 1800 to make it visible on the screen.
- Ops.Math.MercatorCoordsArray
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch mercatorCoordsArray example
INPUT PORTS
An array of latitude and longitude points
width of the map
Center latitude, use infoArray2 to get this information. Check example file
Center longitude, use infoArray2 to get this information. Check example file
OUTPUT PORTS
Array2 out. Use Array2to3 to add zeroes on the z component. See example file