Active Topics

 



Notices


Reply
Thread Tools
Posts: 225 | Thanked: 930 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: 303 | Thanked: 1,346 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: 43 | Thanked: 101 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: 303 | Thanked: 1,346 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 3 Users Say Thank You to rinigus For This Useful Post:
otsaloma's Avatar
Posts: 92 | Thanked: 1,143 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 3 Users Say Thank You to otsaloma For This Useful Post:
Posts: 94 | Thanked: 138 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: 303 | Thanked: 1,346 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 4 Users Say Thank You to rinigus For This Useful Post:
Reply

Tags
offline maps, sailfish os

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:42.