Karry / osmscout-sailfish

OSM Scout for Sailfish OS (offline maps and navigation)
Other
49 stars 15 forks source link

osmscout-sailfish at raspberry-pi #239

Closed susnicek closed 3 years ago

susnicek commented 4 years ago

Dear developer, I would like to use the osmscout-sailfish in my raspberry-pi device (with raspian os). Is there any way how to compile it for this device? Thank you for your advice in advance. Best regards, susnicek

Karry commented 4 years ago

Hi.

You may build it for standard Linux distributions. So it should not be problem even for Raspbian. Here is howto: https://github.com/Karry/osmscout-sailfish/wiki/Local-development

But problem are Silica components, that are close-source partly. So, you cannot use Sailfish UI on ordinal Linux. There is limited support for standard QML components, you just need to start application with --desktop argument. But you should be aware that this UI is just for testing and development. It is limited just to map.

Also, you may try OSMScout2 demo from libosmscout library itself: https://github.com/Framstag/libosmscout/ This application/project is just tin layer around this library that adds UI for Sailfish OS and storage for GPS tracks.

What is target state that you want to achieve?

Regards, Lukas

susnicek commented 4 years ago

Hi, thank you for the advice! I succeeded to compile the sources on my Debian. My goal is to have a simple offline map viewer and gpx file reader, which works directly with database files and the maps are rendered during the viewing process (the rendering style is not much important for me). Maybe I am at a wrong address, and Osmscout is not capable of this. I achieved this goal with GPXsee application, whose code I slightly modified for my purposes. But the offline maps in form of MBTiles were too large (zoom 19) even for a small area.

Bests, susnicek

Karry commented 4 years ago

OSMScout definitely is capable of that :-) All important building blocks are there. During database import, you may remove some types and make database smaller if you want...

susnicek commented 4 years ago

It is good to hear that :-)! I will let you know, if I need some help. Thank you. susnicek

Karry commented 3 years ago

Hi. You may be interested in Osmin app. It is based on libosmscout too, but it is using QtQuick UI elements. So, it can be used on desktop, Raspberry and even on Android!

Closing this question for now. Feel free to reopen it.