How to use the mgrs.core.RTreeError function in mgrs

To help you get started, we’ve selected a few mgrs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hobu / mgrs / mgrs / core.py View on Github external
def check_error(result, func, cargs):
    "Error checking proper value returns"
    if result != 0:
        msg = 'Error in "%s": %s' % (func.__name__, get_errors(result) )
        raise RTreeError(msg)
    return

mgrs

MGRS coordinate conversion for Python

MIT
Latest version published 4 months ago

Package Health Score

71 / 100
Full package analysis