Closed Cabalist closed 7 years ago
Hello,
I have never tried to implement a conic projection. But let's try!
The equation mapping (lon, lat) to (x, y) are here: http://mathworld.wolfram.com/LambertConformalConicProjection.html
However, these (x, y) values are projection specific coordinate. You will then need to translate them to the real (x, y) value of your map.
Anyway, before diving into this, looking at the equations, you will need to know the following constants for your map:
Without these, you will not be able to project your points.
This map here looks very similar to the one that I am using: http://www.statcan.gc.ca/pub/92-195-x/2011001/other-autre/mapproj-projcarte/m-c-eng.htm
The article outlines the following:
Standard parallels at 49° N and 77° N are most commonly used.
I THINK reference long/lat are for the center of the map (i.e. 0,0 for x,y) in this case that looks like roughly 64.289334, -93.1220877
Closing this now, will follow on related PR.
Hey there,
We have a map of Canada derived from the data found on Wikimedia. It uses Lambert Conformal Conic projects as the Canadian government prefers. I have done a fair amount of reading on this but walked away a little confused. The translation for equirectangular seems really easy but I can't find anything specific for LCC.
I have found this from the Proj4js project. This seems like the right code but I am struggling to get my variables correct. Any chance someone on this project could offer some guidance?
Here is the map js that I am working with: https://gist.github.com/Cabalist/5bafbacee318606666e4