Support

Map Data

How can I host a custom map server for downloads?

Android

If you want to host your maps yourself, you so far need to use the same files CoMaps provides. You can find a list of URLs with valid map files hosted by CoMaps here, under the $servers variable in our meta-php repository: https://codeberg.org/comaps/meta-php/src/branch/main/index.php#L19

For your map server to correctly serve the files, the file/folder structure needs to fit the one CoMaps uses.

The file and folder structure underneath each base server URL should be like: /maps/251209/US_New York_New York.mwm

In other words:

  • /maps -- first folder underneath the base server URL
    • /251209 -- date code (YYMMDD) of the map version which will match the countries.txt shipped with your app and the "map data" date in the About menu
      • /US_New York_New York.mwm -- the specific MWM map file(s) for the "countries" (map regions) desired. Note somewhat arbitrary use of underscores and spaces. The best thing to do here is to just copy our official files directly, examine your app's countries.txt file, or check the filenames in the data/borders folder in the main CoMaps code repository, replacing .poly with .mwm

For help making your own custom map server and/or cloning new map versions as they're released, please join our community and ask for help!

Read this FAQ item for to setup CoMaps to download the maps from your own server.