proj4js / mgrs

Utility for converting between WGS84 lat/lng and MGRS coordinates
MIT License
105 stars 45 forks source link

MGRS 10x10km do overlap #24

Open solsticedhiver opened 7 years ago

solsticedhiver commented 7 years ago

I am using mgrs.js and inverse function to create a MGRS grid on a leaflet map.

The result is subpar because the MGRS 10x10 km zone are overlapping and do not fit well next to each over. This does not make a good looking grid.

Take a look at https://jsfiddle.net/vs18ro0p/ and zoom in to see the zone overlapping

calvinmetcalf commented 7 years ago

so first off, in all honesty I didn't right this, I'm not sure who did, who ever did probably wrote it in c and it was ported over.

So splunking in it would seam that how we calculate our x and y coordinates are wrong and should more or less be independent

DanielJDufour commented 5 years ago

I'll look into this. Thanks!