Feathers McGraw
|
2016-11-12
, 20:36
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#21
|
|
2016-11-13
, 11:16
|
Posts: 105 |
Thanked: 205 times |
Joined on Dec 2015
@ Spain
|
#22
|
/home/nemo/Domcuments/Maps
|
2016-11-13
, 12:26
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#23
|
What is what I'm doing wrong?
For importing maps from http://www.geofabrik.de/ I'm doing:
./build.sh nordrhein-westfalen.osm.pbf for import with libscout
And copying the resulted files (which are a lot) into /home/nemo/Documents/Maps
Can you help me please?
Have you got any converted-working map with OSM Scout Server to compare the results and seeing what I'm doing wrong?
The Following 3 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-14
, 12:56
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#24
|
The Following 6 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-25
, 10:20
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#25
|
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-25
, 11:09
|
Posts: 105 |
Thanked: 205 times |
Joined on Dec 2015
@ Spain
|
#26
|
I have been working on making import of the maps simpler. The state is a bit work in progress, but it should be close to full release.
Right now, on each release in GitHub, the Import tool is built automatically using Travis and AppVeyor. As a result, we can get compiled import tools for Linux and Windows. While Linux version includes a small script that simplifies import to command "import mapfilename_in_pbf" , Windows build requires a bit more sophisticated input.
So, I would like to ask users interested in offline maps:
1. Linux users: Please test whether import works for you. Please report even if its just OK and include your distro. Would like to get conformation that it works in general, not just on PCs available to me.
2. Windows users: Please test whether you could run Import.exe by double clicking on it. No import will run, just command line help should be shown. Again please give a feedback, even a short one. If you wish to use it for map import as it is then I strongly suggest to use the similar options as in https://github.com/rinigus/libosmsco...inux/import.sh . Otherwise, you will end up with lots of debug info and get very large map directories that you have to store on device.
3. Someone with Windows scripting skills (minimal should already be better than mine), please write a script that would confirm to the spec below. If you don't know how to make it in full, please start discussion and write some parts that you can. Maybe then Windows users could finalize this small script to make map import easy.
The compiled packages are available at
https://github.com/rinigus/libosmsco...0.git.20161118
Let's use this for current testing. As soon as we get Windows scripts ready, we could make a new server release with the corresponding Import tools.
What I expect the Windows script should do:
Aim: finalize a compiled Windows package for simple importing maps into libosmscout
* The compiled binary of Import can be grabbed at https://github.com/rinigus/libosmsco...0.git.20161118 . The new script will be a part of this package and would allow us to distribute importers to the users.
* The script could be similar to https://github.com/rinigus/libosmsco...inux/import.sh
* While in Linux, we are used to start commands from terminal, in Windows its more common to drag-and-drop. So, on dragging downloaded OSM or OSM.PBF file, the new script should:
* open a terminal (or PowerShell). I suspect its done automatically in Windows, but I don't know for sure
* make a directory with the simplified name based on the dragged map file name. I used to remove -latest.osm.pbf from the map fine name and make directory just on the basis of remaining name. See Linux script for details
* start Import.exe from relative bin\Import.exe . The style map.ost is under stylesheets directory. See compiled binary for package structure. Its expected that users just unpack it and can use importer straight away (no install is needed).
* keep terminal open after Import.exe is finished, so the user could examine output for errors
* on any error (cannot make export directory), stop the script (set -e in bash).
Since I am not familiar with Windows scripting, I am just afraid that it would take too long time for me to make it. So, please help even if its really trivial for you.
The Following 4 Users Say Thank You to ferlanero For This Useful Post: | ||
|
2016-11-25
, 11:26
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#27
|
The Following 3 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-25
, 13:28
|
Posts: 105 |
Thanked: 205 times |
Joined on Dec 2015
@ Spain
|
#28
|
OSM Scout Server should handle maps from SD. You just have to specify the map folder which is on SD card (use Linux path). Its under Settings, in OSM Scout Server GUI.
The Following 3 Users Say Thank You to ferlanero For This Useful Post: | ||
|
2016-11-28
, 21:12
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#29
|
The Following 11 Users Say Thank You to rinigus For This Useful Post: | ||
|
2016-11-29
, 10:04
|
|
Posts: 654 |
Thanked: 2,368 times |
Joined on Jul 2014
@ UK
|
#30
|
The Following 6 Users Say Thank You to Feathers McGraw For This Useful Post: | ||
Tags |
geocoder, linux, offline maps, router, sailfish os, tiles |
|