My requirement is to plot 50m*50m blocks on map and I was going through MGRS(https://en.wikipedia.org/wiki/Military_grid_reference_system)

It says Truncate, don't round

Is it possible to achieve 50m precision by flooring at 50m level.

Example converting 4QFJ 1234 6789 to 4QFJ 1230 6785

  • What software are you using – TsvGis Jun 18 '15 at 8:36
  • I have one third party library which provide me mgrs id and lat long of customer – banjara Jun 18 '15 at 8:42

I think you need to approach this by thinking about the precision in cell or grid sizes. For instance 4QFJ 12345 67890 .......precision level 1 m would give you a 1m x1m cell within a grid. So I believe that both these coordinates 4QFJ 1234 6789 to 4QFJ 1230 6785 will give you a cell that is 10m x 10m. If you are after 50m* 50m blocks then the format you have should achieve this. I think the issue rounding up values is that it can put you out from meter to a few 100 meters depending on the precision. eg if you have decimals in your UTM coordinate of 55 K 428252.56 m E 7782667.61 m S and by rounding-up, it puts my MGRS coordinates out by a meter (55KDT 28253 82668) when the real MGRS coordinates should be 55KDT 28252 82667.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.