maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Announce] Native offline maps: OSM Scout Server (https://talk.maemo.org/showthread.php?t=97823)

XOleg 2019-05-01 07:25

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556572)
I was expecting to see flag icon variations when searching for languages in a prominent search engine. As a result, it was prominently presented with chat icons using "A" and some symbol from Eastern languages. In our case, where we have geography mixed with linguistics - flags could mean different things :). Although, it something that user cannot choose => we can put flags for languages as well.

With the country (going to be downloaded, present or absent on device), we have Earth as a symbol. However, its actually a country out of it, not full planet. Not that it makes icons easier...

hmm... for ex. Russia is multilingual country, but subjects have their own flags...

It's possible use icon from @olf, but maybe add an Arabic or other character?

rinigus 2019-05-01 15:13

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by levone1 (Post 1556573)
Sorry if mentioned already - I scanned, but don't have lots of time.. Having an issue on SF 3.0.3 where I'm not allowed to select a custom map storage. If I get to the 'select folder' screen, and go to settings, and select custom folder, (and click 'accept'), it still just stays stuck on that screen. I tried to trick it by clicking on 'create default', then going on to the rest of the setup, and then moving the contents of the default folder to a different folder, and selecting that folder in settings, but sure enough, maps are not identified, and when closing and reopening the app, it's back to being stuck on the 'select folder' screen, even though the custom folder is still selected, and the map files are there.
Anyone else? Thanks

Haven't heard about this problem before. Would you mind to start the server from terminal and paste stdout?

rinigus 2019-05-01 16:46

Re: [Announce] Native offline maps: OSM Scout Server
 
As for icons - maybe we are overthinking it. In the end, its not that frequent users are navigating in the server. If we do go for 3-line flag, I'd prefer to get medium grey on top, darker gray in the middle, and white on the bottom. Just for personal geo-reasons :)

olf 2019-05-01 17:16

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556593)
[...]If we do go for 3-line flag, I'd prefer to get medium grey on top, darker gray in the middle, and white on the bottom. [...]

But then the medium gray top stripe of the first flag borders to the medium gray, second flag along the whole width of the flags.
What about dark gray on top, white in the middle and medium gray at the bottom?

P.S.: While it will be unavoidable that any combination of three grayscale, horizontal stripes on a flag will look similar to a specific country's flag, avoiding combinations akin to the most common country flags makes sense.

levone1 2019-05-02 01:58

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556591)
Haven't heard about this problem before. Would you mind to start the server from terminal and paste stdout?

Code:

[nemo@Sailfish ~]$ harbour-osmscout-server
harbour-osmscout-server: /usr/share/harbour-osmscout-server/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)

I checked for zlib and I have devel version offered by pkcon, but it's 1.2.11 ... (incidentally, zlib site says "Due to the bug fixes, any installations of 1.2.9 or 1.2.10 should be immediately replaced with 1.2.11...)

Fellfrosch 2019-05-02 08:05

Re: [Announce] Native offline maps: OSM Scout Server
 
1 Attachment(s)
Next suggestion:

rinigus 2019-05-02 15:44

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by Fellfrosch (Post 1556601)
Next suggestion:

Looks nice, thank you! Maybe too much details on device, but that we can see when trying...

Fellfrosch 2019-05-02 16:50

Re: [Announce] Native offline maps: OSM Scout Server
 
I will upload the SVGs tomorrow. Have to make some smaller corrections before.

olf 2019-05-02 20:17

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by Fellfrosch (Post 1556601)
Next suggestion:

These are nice!

Minor nitpicking:
- In icon #2, the gaps in the folder's top line to the left and right of the arrow head do not look equally sized.
- In icon #3, both gaps in the folder's top line (to the left and right of the globe) seem to be equally sized, but smaller than either corresponding gap in icon #2.
- Suggestion: Make all four gaps the same size, preferably (IMO) using the biggest extant gap (the one to the right of the arrow head in icon #2).

HTH

Fellfrosch 2019-05-03 09:22

Re: [Announce] Native offline maps: OSM Scout Server
 
2 Attachment(s)
Ok made some smaller changes and tried to react on olf's nitpicking, which isn't so easy, because if I really choose the same gapsize everywhere it doesn't look right. It simply looks different if you have the same distance to a vertical line or to a diagonal.

pichlo 2019-05-03 09:43

Re: [Announce] Native offline maps: OSM Scout Server
 
I love the three flags with the globe. A nice politically neutral compromise yet clear what it means.

nthn 2019-05-03 12:27

Re: [Announce] Native offline maps: OSM Scout Server
 
Nice, and I agree with pichlo that the globe flag is a good idea. Still, I'd say the corners should be rounded/softer. Take a look at all of the rectangular icons in Sailfish Settings for example, they have an ideal amount of curvature and I find them to be aesthetically pleasing.

rinigus 2019-05-03 19:37

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by Fellfrosch (Post 1556621)
Ok made some smaller changes and tried to react on olf's nitpicking, which isn't so easy, because if I really choose the same gapsize everywhere it doesn't look right. It simply looks different if you have the same distance to a vertical line or to a diagonal.

@Fellfrosch - thank you very much! I have added the icons and rescaled them to the same width (64 px). The current version is available at https://github.com/rinigus/osmscout-...icons/fallback

The icons will be visible in desktop versions for now. They are not suitable for Sailfish due to relatively thick lines. For example, for Pure Maps, we have separate versions of icons for desktop and SFOS - just due to different icon styles. However, even now, SFOS version does look fine (or I am used to it).

Right now, it turns out, language and mapnik/mapbox global even never show up in gui with icon. Sorry for it, its due to the non-selectivity of these datasets (they are forced on users if needed). Maybe I should add some element in future just to use these icons!

We are still missing banner - for reference, Pure Maps is at https://github.com/rinigus/pure-maps...ons/banner.jpg . Any takers / ideas?

rinigus 2019-05-05 09:53

Re: [Announce] Native offline maps: OSM Scout Server
 
New update is our: 1.14.2

For SFOS, this is mainly update for translations and improving backend selection GUI (thanks @olf for feedback and discussion!). For desktop, we have new icons by @Fellfrosch. Corresponding flatpak is still building, but I hope it will be out later today (never 100% sure due to a bit moody infra involved in this process).

I have a bad news regarding map updates. On the server where I am performing map imports, I have been hitting a kernel panic what looks to be induced by heavy I/O. Right now I am scrubbing filesystem and will try again after rechecking software. Don't expect it to be ready next week, probably would take 2-3 weeks from now.

mosen 2019-05-05 13:48

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556637)
The icons will be visible in desktop versions for now. They are not suitable for Sailfish due to relatively thick lines. For example, for Pure Maps, we have separate versions of icons for desktop and SFOS - just due to different icon styles. However, even now, SFOS version does look fine (or I am used to it).

Now that Fellfrosch did the hard work nicely, i could rework the agreed upon symbols into sailfish style line thickness and spacing if that is really wanted.
Would take some days though and thus i ask to avoid double work.

Banner simply like?

https://www.pexels.com/photo/atlas-c...tivity-269850/
https://images.pexels.com/photos/269...2&h=750&w=1260

https://www.pexels.com/photo/blur-cl...-focus-346696/
https://images.pexels.com/photos/346...2&h=750&w=1260

rinigus 2019-05-05 14:20

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by mosen (Post 1556662)
Now that Fellfrosch did the hard work nicely, i could rework the agreed upon symbols into sailfish style line thickness and spacing if that is really wanted.
Would take some days though and thus i ask to avoid double work.

Banner simply like?

https://www.pexels.com/photo/atlas-c...tivity-269850/
https://images.pexels.com/photos/269...2&h=750&w=1260

https://www.pexels.com/photo/blur-cl...-focus-346696/
https://images.pexels.com/photos/346...2&h=750&w=1260

Both banners are great - my vote would go for the sandy one.

As for icons, please take the ones from https://github.com/rinigus/osmscout-...icons/fallback as a reference before Sailfishifying them. We are talking 'bout country-*, globe, incompatible-verison, and language. The rest is used by Kirigami internally and is included to cover the case with the user's theme not having them.

levone1 2019-05-06 17:02

Re: [Announce] Native offline maps: OSM Scout Server
 
Sorry to be a bug - I guess I'm the only one... I tried clearing configuration, uninstalling / reinstalling, clearimg cache, reboot, etc., and I can't get it to accept any custom directory, in /home or in sdcard. Unless I select 'create default directory', it jist stays on that screen, and won't let me go further. I guess I'll just use it like that for now...

rinigus 2019-05-06 17:51

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by levone1 (Post 1556684)
Sorry to be a bug - I guess I'm the only one... I tried clearing configuration, uninstalling / reinstalling, clearimg cache, reboot, etc., and I can't get it to accept any custom directory, in /home or in sdcard. Unless I select 'create default directory', it jist stays on that screen, and won't let me go further. I guess I'll just use it like that for now...

As far as I can see, you get an error with ZLIB (your prev post). I have not heard anyone else reproducing your issue nor I cannot reproduce it on 3.0.1 nor 3.0.2. 3.0.3 is not available on OBS (so I cannot build the server) nor for Onyx (so I cannot test it). Thus, all I can do is to rely on others for testing.

When you select default folder, does everything work?

When you select some other folder, is its name shown correctly in Settings?

I presume that you created a folder by file browser and then selected it in the server by holding for longer time the folder and pressing select then in context menu. Right?

ZLIB error - does it come before you do anything or when you choose folder?

PS: don't be sorry for trying to make it working :)

XOleg 2019-05-07 06:15

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556664)
Both banners are great - my vote would go for the sandy one.

or maybe? https://images.pexels.com/photos/419...gb&dpr=2&w=500

or other non-political map/globe ;-)

peterleinchen 2019-05-07 06:44

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by XOleg (Post 1556693)
or maybe? https://images.pexels.com/photos/419...gb&dpr=2&w=500

or other non-political map/globe ;-)

I like this.

meemorph 2019-05-08 15:05

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556685)
As far as I can see, you get an error with ZLIB (your prev post). I have not heard anyone else reproducing your issue nor I cannot reproduce it on 3.0.1 nor 3.0.2. 3.0.3 is not available on OBS (so I cannot build the server) nor for Onyx (so I cannot test it). Thus, all I can do is to rely on others for testing.

Me too on 3.0.3.9 geminipda. ZLIB_1.2.9 not found (required by /usr/lib/libpng16.so.16). Cannot start osm-scoutserver from terminal, because of this error. I think this is the reason why the autostart with puremaps is not working.

But I still have maps in custom location stored and it looks like osmscout-server is working if I start it from GUI.

Edit: After reading backward, you know it already from MartinK ("this post") and later levone1.

rinigus 2019-05-08 15:30

Re: [Announce] Native offline maps: OSM Scout Server
 
There is still no 3.0.3 OBS target - hence we have to wait. See https://talk.maemo.org/showpost.php?...&postcount=597

levone1 2019-05-08 21:42

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556685)
As far as I can see, you get an error with ZLIB (your prev post). I have not heard anyone else reproducing your issue nor I cannot reproduce it on 3.0.1 nor 3.0.2. 3.0.3 is not available on OBS (so I cannot build the server) nor for Onyx (so I cannot test it). Thus, all I can do is to rely on others for testing.

When you select default folder, does everything work?

When you select some other folder, is its name shown correctly in Settings?

I presume that you created a folder by file browser and then selected it in the server by holding for longer time the folder and pressing select then in context menu. Right?

ZLIB error - does it come before you do anything or when you choose folder?

PS: don't be sorry for trying to make it working :)

Uninstalled everything, deleted cache, data, and config files, formatted sd card, and started all over and custom directory working fine now... I still get zlib erroe in terminal, but seems like server is running fine, based on Pure Maps behavior. I think libpng needs an update on SF, because the error is
Code:

harbour-osmscout-server: /usr/share/harbour-osmscout-server/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)
Zlib has been updated, but libpng is still looking for the old version ...

levone1 2019-05-09 14:04

Re: [Announce] Native offline maps: OSM Scout Server
 
So, just out of curiosity, i built zlib 1.2.9, and replaced all of my zlib/libz files with the 1.2.9 files, and I still get the same message, and also output of 'rpm -qi zlib' still shows 1.2.11. Not sure how I can change it...

P@t 2019-05-10 09:15

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556744)
There is still no 3.0.3 OBS target - hence we have to wait. See https://talk.maemo.org/showpost.php?...&postcount=597

seems like the target is here now....
see https://build.merproject.org/project...fishos:3.0.3.9

rinigus 2019-05-10 15:37

Re: [Announce] Native offline maps: OSM Scout Server
 
@P@t: thanks for heads up! There are few unresolvable errors I have to look into. Current status at https://build.merproject.org/project...e:rinigus:maps

Those with 3.0.3.x, can try to install

- osmscout-server
- mapboxgl-qml

from 3.0.3.9 repository. Will be made available as soon as I will resolve the issues and build will complete.

ferlanero 2019-05-11 17:46

Re: [Announce] Native offline maps: OSM Scout Server
 
Same here. When I try to run OSMScout-server from terminal in Sailfish 3.0.3.9 I get:

Code:

[nemo@Sailfish ~]$ harbour-osmscout-server
harbour-osmscout-server: /usr/share/harbour-osmscout-server/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)

If I run directly from icon in GUI, everything seems to run fine.

Hope you can find a solution. Thanks!

rinigus 2019-05-11 19:08

Re: [Announce] Native offline maps: OSM Scout Server
 
I am mainly looking fr solution that would allow me to use the same RPM SPEC file to compile for 3.0.3.x and 3.0.2.x. If impossible, will have to make a new version of SPEC and go for that.

Fuzzillogic 2019-05-12 02:02

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556875)
I am mainly looking fr solution that would allow me to use the same RPM SPEC file to compile for 3.0.3.x and 3.0.2.x. If impossible, will have to make a new version of SPEC and go for that.

Isn't 3.0.3 available for all devices? I can see no drawbacks to update to 3.0.3 over 3.0.2, so why make an effort to keep it supported on <= 3.0.2? Perhaps I'm egoistic now, but I'd prefer having a working osm scout server on my 3.0.3 device, than having a working version on someone else's <3.0.3 device :o

rinigus 2019-05-12 05:54

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by Fuzzillogic (Post 1556880)
Isn't 3.0.3 available for all devices? I can see no drawbacks to update to 3.0.3 over 3.0.2, so why make an effort to keep it supported on <= 3.0.2? Perhaps I'm egoistic now, but I'd prefer having a working osm scout server on my 3.0.3 device, than having a working version on someone else's <3.0.3 device :o

I understand that line of thought perfectly, it just happens that <3.0.3 is my device - onyx :) . for unofficial devices, porting started few days ago and, as far as I can see, there are no success stories yet.

I'll see if I get a good solution on Monday via mailing list. If not, will have to make it "ugly"

peterleinchen 2019-05-12 07:29

Re: [Announce] Native offline maps: OSM Scout Server
 
That is really an egoistic view.
I updated and immediately was greeted by a 'failed' message and not starting device. So I do fully understand why people do not go newest asap or at all (staying with SFOS1 erm 2 UI, or whatever reason). Or, as rinigus, look at the ports for other devices.

Nevertheless: main concentration should be (always?) on newest OS version, I agree.

rinigus 2019-05-12 11:10

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by peterleinchen (Post 1556884)
That is really an egoistic view.
I updated and immediately was greeted by a 'failed' message and not starting device. So I do fully understand why people do not go newest asap or at all (staying with SFOS1 erm 2 UI, or whatever reason). Or, as rinigus, look at the ports for other devices.

Nevertheless: main concentration should be (always?) on newest OS version, I agree.

The problem with releasing on newest OS version is a lack of testing it by myself. I don't have any official device and test on my onyx. In the end, I will have to rely on fast and constructive feedback by others with 3.0.3.x until we get with @kimmoli onyx port updated to 3.0.3.x as well

rinigus 2019-05-13 18:50

Re: [Announce] Native offline maps: OSM Scout Server
 
Pekka Vuorela from Jolla suggested a great solution to my issue with ICU dependency and it allowed me to use the same (and better) RPM SPEC files for 3.0.2.x and 3.0.3.x SFOS versions. As it can be seen at https://build.merproject.org/project...e:rinigus:maps , we have all versions ready.

In addition to dependency changes, I dropped few libs from bundling with the application:

- libz
- libicu*

The latter one reduced RPM size significantly and would be interesting to learn if it causes any issues.

Before upgrades: Please uninstall OSM Scout Server and check that nothing has remained at /usr/share/harbour-osmscout-server . If there is anything left there after uninstall, please remove this folder. Its a remains from older installations that are not needed anyway.

For 3.0.3.x users: Please download and install harbour-osmscout-server from

http://repo.merproject.org/obs/home:...mv7hl/armv7hl/

or

http://repo.merproject.org/obs/home:...est_i486/i486/

depending on your ARCH.

If I get positive feedback from testers using 3.0.3.x, I may upload the new version to OpenRepos.

Note that 3.0.3.x users may also test mapboxgl-qml package from the same repo - this is Mapbox GL QML plugin used by Pure Maps and Laufhelden.

For 3.0.2.x users: Use OpenRepos version or, if you wish to test, version from http://repo.merproject.org/obs/home:...mv7hl/armv7hl/

seiichiro0185 2019-05-13 19:01

Re: [Announce] Native offline maps: OSM Scout Server
 
After a first brief check on my XA2 Plus with 3.0.3 it seems to work fine. Autostart works again, Maps, Searches and Routing do work. I Installed both the osmscout-server and mapbox-qml. If I find any problems after some more tests I'll report back.

PamNor 2019-05-13 19:25

Re: [Announce] Native offline maps: OSM Scout Server
 
Testing on Jolla C 3.0.3.9. No problem discovered.
Thanks.

rinigus 2019-05-13 19:38

Re: [Announce] Native offline maps: OSM Scout Server
 
Thanks for testing! I'll wait till tomorrow evening (Estonian time) and then release the updated versions at OpenRepos.

For 3.0.2.x users, early warning - DON'T UPDATE, you are going to get separate repository at OBS

peterleinchen 2019-05-13 20:47

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by PamNor (Post 1556979)
Testing on Jolla C 3.0.3.9. No problem discovered.
Thanks.

Reporting the same.
Installed osmscout-server and mapbox.

Had some hiccups when installing puremaps but got it working after removing and re-installing via storeman.

Could not install mimic (missing icu52 dep).
Have picotts but did not go out so no testing of speech... (okay, push button in preferences works)

@rinigus
what to check about mapbox? I can see the maps...

XOleg 2019-05-14 04:37

Re: [Announce] Native offline maps: OSM Scout Server
 
SfOS_v.3.0.3.9. JC, XC. No problem.

rinigus 2019-05-14 05:16

Re: [Announce] Native offline maps: OSM Scout Server
 
@peterleinchen: thanks for heads up regarding mimic. Will have to update that as well.

Re Mapbox GL testing: nothing special, I think. Just using it - its all I can propose.

olf 2019-05-14 13:59

Re: [Announce] Native offline maps: OSM Scout Server
 
Quote:

Originally Posted by rinigus (Post 1556976)
[...]
For 3.0.2.x users: [...] if you wish to test, version from http://repo.merproject.org/obs/home:...mv7hl/armv7hl/

This means "for users of SFOS 3.0.2.x", right?


All times are GMT. The time now is 09:08.

vBulletin® Version 3.8.8