Coder Social home page Coder Social logo

Comments (3)

mubaldino avatar mubaldino commented on September 28, 2024

@byburakyasar - My apologies for not seeing this until now.

This was a behavior that was provided to rescue potential MGRs grids with typos. It should throw an Exception or respect a runtime mode to allow such data rescue. Background -- We had lots of customer data with typos in MGRS.... The current "rescue" of the coordinate is:

Grid: 37SCA Northing/Easting: 211914648 => yields two options where the 4 or 5 digit Northin/Easting may have a typo, two new MGRS coordinates are offered as possible interpretations:

  • 21191N, 46480E
  • 21190N, 14648E

A strict interpretation should be in play, I'd say. With N/E offsets mismatched in length, then its possible the MGRS coordinate is not actually a coordinate.

Comment with any thoughts: (a) what is the interpretation here if the MGRS coordinate had some possible typo?, (b) what is the API behavior desired?

thanks,
Marc

from xponents.

byburakyasar avatar byburakyasar commented on September 28, 2024

@mubaldino in our case the returned coordinate caused a wrong display on the map since that coordinate was not valid.

I understand the reason behind the rescue mechanism, it is good but it may be better to keep the interpreted coordinates and valid coordinates in separate TextMatch lists. Then we can decide what to do about the interpreted coordinates.

from xponents.

mubaldino avatar mubaldino commented on September 28, 2024

Implementation is in place for Xponents 3.6. I'll add some comments after release

from xponents.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.