|
1 | 1 | ## this project has moved to https://github.com/telemaxx/mapsforgesrv |
2 | | - |
3 | | -mapsforgesrv with gradle |
4 | | -mapsforgesrv cloned from the MOBAC project: |
5 | | -http://mobac.sourceforge.net/ |
6 | | - |
7 | | -The MapsforgeSrv is a local webserver providing rendered mapsforge map tiles. |
8 | | -http://wiki.openstreetmap.org/wiki/Mapsforge |
9 | | -The tiles are rendered every time on-the fly when requested |
10 | | - |
11 | | -The description of this tool you find at the orign page: |
12 | | -https://sourceforge.net/p/mobac/code/HEAD/tree/trunk/tools/MapsforgeSrv/ |
13 | | - |
14 | | -An example how to use the tile server on client side, you find eg at qmapshack project: |
15 | | -https://github.com/Maproom/qmapshack/wiki/DocBasicsMapDem#mapsforge-maps |
16 | | - |
17 | | -Whats different to the orign? |
18 | | - |
19 | | - 1. mapsforge libs updated from 0.6.0 to 0.13.0 |
20 | | - 2. updates all other libs to latest versions |
21 | | - 3. build system "gradle" for easier libs management. |
22 | | - 4. new command line interface: -m mapfile(s) -t themefile(optinal) -l language(optional) -s themeStyle(optional) |
23 | | - 5. port selection(optional). eg -p 8081 |
24 | | - 6. interface selection(optional) -if [all,localhost] |
25 | | - 7. language selection(optional) -l EN |
26 | | - 8. seletable style (optional): -s elmt-mtb |
27 | | - 9. selectable overlays (optional): -o "elmt-mtbs_tracks,elmt-mtb_routes" |
28 | | - 10. selectable renderer (optional): -r [database,direct] |
29 | | - |
30 | | - |
31 | | -Command parameters: |
32 | | - |
33 | | - 1. -m path to the mapfile(s), at leas one file is mandetorry. comma-separated list of mapsforge map files (.map) |
34 | | - 2. -t path to the themefile. this is optional, without the internal theme is used |
35 | | - 3. -p port to listen. this is optional, without 8080 is used |
36 | | - 4. -if interface listen on. this is optional, without localhost is used. possibilities -if all -if localhost |
37 | | - with "-if all" its useful to run on a server. raspberry runs nice. |
38 | | - 5. -l preffered language if availible in the map file |
39 | | - 6. -s when using a themefile, selecting the style. eg "elmt-hiking" |
40 | | - 7. -o when using a themefile and -o is given, ignore overlays enabled inside the themefile. Use only this comma-separated list of overlays. |
41 | | - 8. -r mapsforge renderer [database,direct] (default:database), sometimes "direct" giving better results |
42 | | - 9. -h print the help text and terminate |
43 | | - |
44 | | - |
45 | | -longest example: |
46 | | -```console |
47 | | -C:\Users\me java -jar path2jarfile\MapsforgeSrv.jar -m "path2mapfile1.map, path2mapfile2.map" -t path2themefile.xml -p 8080 -if all -l EN -s "elmt-hiking" -r "direct" -o elmt-mtbs_tracks,elmt-mtb_routes,elmt-mtb_c_routes" |
48 | | -``` |
49 | | - |
50 | | -------------- |
51 | | -### Contributors |
52 | | -- r_x created this tile server as part of mobac project https://sourceforge.net/projects/mobac/ |
53 | | -- Thomas Th. @telemaxx: converted the mapserver server part in own git project with gradle nature. |
54 | | -- @pingurus (fixing styleseets error) |
55 | | -- Bernd @bjmdev (multi map support) |
56 | | -- @JFritzle (selectable theme style and overlays and renderer) |
57 | | - |
0 commit comments