Notices


Reply
Thread Tools
Posts: 339 | Thanked: 1,623 times | Joined on Oct 2013 @ France
#371
Originally Posted by rinigus View Post
Thank you!
You're welcome, but please remember YOU made the hard work, I simply translated some strings

Originally Posted by rinigus View Post
Since I am now trying to get Mapbox GL working ASAP, I'll probably not release new version too soon.
There is no urge.

Originally Posted by rinigus View Post
As for docs, let's keep them for now. We can probably do the changes later...
I agree.
 

The Following 4 Users Say Thank You to Zeta For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#372
Maps are updated on data.modrana.org. If you get failure during download, don't forget to "Check for updates". Enjoy!
 

The Following 3 Users Say Thank You to rinigus For This Useful Post:
Posts: 68 | Thanked: 147 times | Joined on Dec 2016
#373
@rinigus

After the last (map) update I can't find any locations anymore.
It looks like the server crashes. I hope this log helps:
Oct 03 10:14:17 jolla-bomo2 [30874]: [D] unknown:0 - MLS response: "{\"location\": {\"lat\": 47.2648138, \"lng\": 10.2200436}, \"accuracy\": 13.3110427}"
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8652,5729,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8653,5732,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8651,5729,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8649,5729,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8653,5728,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8650,5730,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8652,5730,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8651,5730,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8649,5730,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8653,5729,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8650,5731,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8652,5731,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8651,5731,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8649,5731,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8653,5730,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8650,5732,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8652,5732,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8651,5732,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8650,5728,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8649,5732,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8653,5731,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8652,5728,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8651,5728,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8649,5728,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:23 jolla-bomo2 ur-poor-maps[31655]: [W] unknown:0 - QGeoTileRequestManager: Failed to fetch tile (8650,5729,14) 5 times, giving up. Last error message was: 'Connection refused'
Oct 03 10:14:27 jolla-bomo2 [30874]: [D] unknown:0 - MLS response: "{\"location\": {\"lat\": 47.2648135, \"lng\": 10.2200442}, \"accuracy\": 13.2932322}"
Oct 03 10:14:28 jolla-bomo2 connmand[14009]: Error with UDP server 10.99.0.12
Oct 03 10:14:28 jolla-bomo2 [29442]: [D] unknown:0 - QQuickGridLayoutBase::geometryChanged QRectF(48,278.5 1824x244) QRectF(48,278.5 984x244)
Oct 03 10:14:28 jolla-bomo2 [29442]: [D] unknown:0 - "" QQuickGridLayoutBase::rearrange() QSizeF(1824, 244)
Oct 03 10:14:28 jolla-bomo2 connmand[14009]: Error with UDP server 10.99.0.12
In the end, poor maps always responds with "no results"


Another question: Is it possible to add other maps to the server? I see (in poor maps) that there are two types "normal" and "car". For me, an outdoor type e.g. for hiking is missing. For this I so far used the "Mapbox Outdoor GL" from poor maps with are very nice but of course they are not available without internet access.
 

The Following 2 Users Say Thank You to bomo For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#374
Originally Posted by bomo View Post
@rinigus

After the last (map) update I can't find any locations anymore.
It looks like the server crashes. I hope this log helps:


In the end, poor maps always responds with "no results"


Another question: Is it possible to add other maps to the server? I see (in poor maps) that there are two types "normal" and "car". For me, an outdoor type e.g. for hiking is missing. For this I so far used the "Mapbox Outdoor GL" from poor maps with are very nice but of course they are not available without internet access.
To diagnose the issue, would you mind:

* Start OSM Scout Server as an app. This will allow you to see the log messages of the server

* Start Poor Maps

* Search for location

After you get "No results", please tell me:

* Did OSM Scout Server app crashed?

* If it did not, what are the log messages? They are displayed under "Events" on the main screen.

* If the app crashed, please start it from the terminal as "harbour-osmscout-server" and repeat. After crash, please let me know what's an error message.

If something is still wrong, please tell me

* Which map do you use?

* Which search fails?

Re other maps: As we move over to GL-rendered maps, I am planning to add support for them in the server as well. It maybe wise to wait a bit until vector maps are available and then design styles around it.

As for "outdoor" version, note that contour lines could take significant amount of space. You could already make yourself familiar with the available styling tools in meantime and see how to make styles + read licensing conditions on map data usage.

Edit PS: QGeoTileRequestManager are, if I am not mistaken, resulting from the hack used by Poor Maps to use the old qtlocation shipped with SFOS. Should have nothing to do with OSM Scout Server...

Last edited by rinigus; 2017-10-03 at 10:06.
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
otsaloma's Avatar
Posts: 141 | Thanked: 1,530 times | Joined on May 2011 @ Finland
#375
Originally Posted by rinigus View Post
Edit PS: QGeoTileRequestManager are, if I am not mistaken, resulting from the hack used by Poor Maps to use the old qtlocation shipped with SFOS. Should have nothing to do with OSM Scout Server...
Yep, that's normal.
 

The Following 4 Users Say Thank You to otsaloma For This Useful Post:
Posts: 109 | Thanked: 150 times | Joined on May 2012
#376
@rinigus: have you considered packaging this also as a QtLocation plugin?
 

The Following User Says Thank You to paoletto For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#377
Originally Posted by paoletto View Post
@rinigus: have you considered packaging this also as a QtLocation plugin?
I have looked into it earlier, but not keen on it right now for the following reasons:
  • We are still on QtLocation 5.2. There is no future in developing plugins for that
  • With MapboxGL QML plugin, we have QtLocation 5.9 level functionality. Since it renders maps on device screen directly, you have many advantages when compared to raster-tile based approach. I would expect that most of the map-requiring apps would start using it. However, this QML plugin is non-standard - hence no additional benefit to package the server as plugin for map rendering
  • When(if) QtLocation 5.6 will land to SFOS, I may look into it. But note that it has to bring something significant for me as a user as well. If there is no significant gain that we, as users, can see in terms of better apps developed, there is very low motivation in repackaging the working solution

I am currently working on bringing MapboxGL vector tiles to OSM Scout Server. It would take some time to figure out how to convert the maps, but I am making some progress. One of the available solutions uses docker with a rather lengthy planet import into the postgis db, but it looks like I maybe able to avoid it. I'll try to get to the scheme that's compatible with the server setup by @otsaloma
 

The Following 9 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#378
I have just released 1.2.0.

This is the first release after additional translations have been done for the User's Guide, so its a great opportunity to thank the translators for their work.

We also have a new backup server for maps distribution provided by @bomo, thank you very much! It has been needed few times already. I'll integrate multiple servers support in future releases.

As for new functionality, the server now supports Mapbox GL vector tiles. While server itself doesn't have to do much work to provide them, there has been a lot done to make import of map data possible and importing the maps. In addition, the server provides framework for styles, supplies fonts and icons as well. So, it should be all ready and in place for map application developers. The first such application has been released today as well.

The tiles for Mapbox GL have been packaged by splitting the planet by 2x2 degrees boxes (zoom levels 7 and larger) and the overview map (zoom levels 0-6). As a result, 2x2 is the smallest region you can download. So, when you choose the country of interest, you will get all boxes within that country as well as the boxes on the border. In case of Estonia, I happen to get part of Helsinki and St Petersburg. This, as expected, makes the map footprint larger. However, if I will be downloading Finland, for example, then only missing tiles will be downloaded. As a result of such distribution, its easy to find corresponding database on the device and serve the tiles. So, I plan to stick with this model.

Similar scheme is used for Valhalla, with 1x1 degrees boxes that will probably also move to 2x2 in future. Right now we have lots of files when we upload them to the servers for maps distribution and the situation is not ideal for Valhalla.

With addition of Mapbox GL support, new profiles have been added as well for either using support for the both type of tiles or vector only. Default is Mapnik-provided raster tiles at the moment, this has not been changed.

I have been postponing updates of the maps due to the work on Mapbox GL. I would still have to work on Mapbox GL styles (checking out work of @otsaloma on it) and will probably adjust import scripts to suit the style. After that, the map updates would resume as usual.

Enjoy the vector tiles if you can (not on Jolla 1 due to crashes of Mapbox GL widget, sorry).
 

The Following 15 Users Say Thank You to rinigus For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#379
Just in case if anyone has missed it. Mapbox GL is a new backend (and I hope that the last one).

If you want to use it, please configure the server:
  • enable Mapbox GL in profiles (select either just vector or vector and raster tiles) or, if you select Custom profile, select Mapbox GL in the Map Manager (no need to select it Settings since its a data only).
  • update subscription info in Map Manager. For that, press "Check for updates"
  • unsubscribe/subscribe each territory that you have.
  • the server should indicate that you need to download new datasets. Please review and download them

When downloads are done, the server should be able to provide the tiles, fonts and other Mapbox GL-related data to the clients.
 

The Following 7 Users Say Thank You to rinigus For This Useful Post:
seiichiro0185's Avatar
Posts: 270 | Thanked: 610 times | Joined on Nov 2007 @ Leipzig/Germany
#380
I can report that the new version 1.2.0 with poor maps GL works beautifully on my Xperia X / Sailfish X. Rendering speed of the maps is blazingly fast and looks quite nice.

So again thanks for the great work on this essential piece of native SFOS software.
__________________
N800 -> N810 -> N900 -> N9 -> Jolla & TOHKBD -> Jolla C -> Xperia X -> XA2 Plus Dual Sim

http://www.seiichiro0185.org
 

The Following 5 Users Say Thank You to seiichiro0185 For This Useful Post:
Reply

Tags
geocoder, linux, offline maps, router, sailfish os, tiles

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:48.