proj4js / proj4js

JavaScript library to transform coordinates from one coordinate system to another, including datum transformations
http://proj4js.org
Other
2.02k stars 331 forks source link

Add +lon_wrap support #180

Open letmaik opened 8 years ago

letmaik commented 8 years ago

I need to convert coordinates into lon/lat wrapped to the 0,360 longitude range. This can be done with +proj=longlat +ellps=WGS84 +datum=WGS84 +lon_wrap=180 +no_defs. See the proj.4 docs on that. It seems lon_wrap is not supported by proj4js. Is there a chance that this feature could be added? It would be very useful in dealing with certain scientific datasets.

calvinmetcalf commented 7 years ago

pull requests accepted