DanielJDufour / get-epsg-code

Gets EPSG Code for Various Inputs (incl. OGC WKT, ESRI WKT, PROJ String, Proj4js String)
https://get-epsg-code.netlify.com/
Creative Commons Zero v1.0 Universal
9 stars 1 forks source link

Remove New Lines #2

Open DanielJDufour opened 4 years ago

DanielJDufour commented 4 years ago

Replace new lines and tabs when calculating hash.

Then replace multiple spaces with single space.

Basically, don't want whitespace to affect result.

For example, info here copy and pasted doesn't resolve correctly.