| 53 | | Located in the ''monav'' driectory |
| | 53 | Located in the ''monav'' driectory in the main repository folder. |
| | 54 | |
| | 55 | The individual packages are stored in a simple folder structure: |
| | 56 | {{{ |
| | 57 | continent/[country_name/][city_name/]package_name.tar.gz |
| | 58 | }}} |
| | 59 | NOTE: Square brackets indicate optional path components. |
| | 60 | |
| | 61 | === Internal package structure === |
| | 62 | The package archives contain a named folder and inside this folder is the folder with Monav routin data. |
| | 63 | |
| | 64 | Example - car routing data for Czech Republic: |
| | 65 | {{{ |
| | 66 | Czech_Republic/routing_car/ |
| | 67 | }}} |
| | 68 | |
| | 69 | Each package contains data for a single transportation mode. |
| | 70 | |
| | 71 | ==== package.JSON ==== |
| | 72 | |
| | 73 | Inside the routing_* subdirectory is JSON file called package.JSON that makes it possible to map the package folders back to packages existing in the repository. |
| | 74 | |
| | 75 | This is mainly needed to facilitate package updates. |
| | 76 | |
| | 77 | {{{ |
| | 78 | = header = |
| | 79 | format_version - 1 for now |
| | 80 | |
| | 81 | = package = |
| | 82 | origin - base repository URL (ex.: http://data.modrana.org |
| | 83 | path - path to the package in the repository (ex.: monav/europe/czech_republic.tar.gz) |
| | 84 | }}} |
| | 85 | |