beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

MercatorCoordsArray Op



MercatorCoordsArray
Namespace: Ops.Math

Op author: pandur

Mercator map and center an array of latitudes and longitudes to a local coordinate system


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.



Inputs

LatLon Array (Array)

An array of latitude and longitude points

MapWidth (Number)

width of the map

Center Lat (Number)

Center latitude, use infoArray2 to get this information. Check example file

Center Lon (Number)

Center longitude, use infoArray2 to get this information. Check example file

Outputs

Result (Array)

Array2 out. Use Array2to3 to add zeroes on the z component. See example file

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

mercatorCoordsArray example


Changelog


created op
2019-10-14 - pandur

Patches using MercatorCoordsArray

  • Examples
  • My Patches
  • Public