Search code examples
androidskmapsskobbler-maps

Determine the bounds of a offline skmap mapcut


Is there a way to retrieve the bounds of the mapcuts from the *.skm / *.ngi / *.ngi.dat files ?

We use several offline maps for a navigation feature and want to pre-check the possibility of some example routes in offline-mode.

Any solution is acceptable:

  • Doing this within the (android) app with java
  • Determine this with any other tool or language.

Solution

  • You can find the bounds of each mapcut from the Maps.json file. You can take it from here. The coordinates are expressed like in this example:

    "bbox": {
        "latMin": 41.1243,
        "latMax": 41.5271,
        "longMin": 19.5478,
        "longMax": 20.0842
      }