go-spatial / proj

Go's version of the PROJ.4 projection library
Other
85 stars 20 forks source link

Add support for lcc projection. #36

Open gdey opened 4 years ago

gdey commented 4 years ago

When trying to use the following projection string:

+proj=lcc +lat_1=47.5 +lat_2=48.73333333333333 +lat_0=47 +lon_0=-120.8333333333333 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs

The currently does not support "+proj=lcc"

It would be greate to add that aglo to the system.

sotex commented 3 years ago

I didn't study this seriously, but I found that there should be support for doing lcc.

https://github.com/go-spatial/proj/blob/7d903f0bc4374936d721348601c42ad2930b20df/support/ProjectionsTable.go#L89