mbloch / mapshaper-proj

A JavaScript port of the Proj.4 map projection library.
Other
37 stars 5 forks source link

Tutorial please? #9

Open paulana opened 6 years ago

paulana commented 6 years ago

So I was about to post an issue on mapshaper to ask if this kind of project existed as part of your library and it does, woot!

So, would you mind saving me a little time and headache and explaining the easiest way to convert from UTM 18N, which is EPSG:26918, to latitude/longitude using your library's functions?

I've written my entire application on top of a port of mapshaper.org (I know, what a steal), so imagine that I've basically exported the model, map, and nav objects and have access to (most) of their functions. What would be the point of entry to pass in UTM coordinates to produce lat/lon coordinates?

Thanks for your time and awesomeness!

Paulana