Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,469 | Thanked: 6,989 times | Joined on Apr 2010 @ Czech Republic
#491
Originally Posted by rinigus View Post
@MartinK, it builds static and shared versions of the library. I would suggest to add
Code:
--disable-static
to configure options and try again. Since static lib is built after the shared one, it may got confused and linked tests to the static libs.

Does it build on your PC?
So looks like the tests have been somehow at fault, as they are compiled against libpostal in some ultra weird manner. So for now I've hard-disabled them (dropped their compilation from the makefile) and the build finally runs to the end. This should be good for now, later one for the actual package review something more robust (possibly including reporting the issue upstream) might be needed. I'll open a PR for the libpostal packaging soon, just have to cleanup my changes a bit.

Anyway, as far as I can tell this concludes the missing dependencies & I can finally start packaging OSM Scout Server itself.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 6 Users Say Thank You to MartinK For This Useful Post:
Posts: 496 | Thanked: 2,381 times | Joined on Aug 2016 @ Estonia
#492
Originally Posted by MartinK View Post
So looks like the tests have been somehow at fault, as they are compiled against libpostal in some ultra weird manner. So for now I've hard-disabled them (dropped their compilation from the makefile) and the build finally runs to the end. This should be good for now, later one for the actual package review something more robust (possibly including reporting the issue upstream) might be needed. I'll open a PR for the libpostal packaging soon, just have to cleanup my changes a bit.

Anyway, as far as I can tell this concludes the missing dependencies & I can finally start packaging OSM Scout Server itself.
Sounds great! Please note that I haven't tested any 'make install' on desktop Linux. The path for directories is coded in pro-file and I was waiting till you get here and help me to fix it. So, if you know what's the common way to specify paths then please do so and send PRs
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
Posts: 496 | Thanked: 2,381 times | Joined on Aug 2016 @ Estonia
#493
New release is out: 1.7.1. With the 1.7.0, followed by 1.7.1, I focused on geocoder enhancements.

New geocoder supports aliases when you search for data using guide search (Nearby). Aliases, as suggested by @palbr (thank you!), are pulled from https://wiki.openstreetmap.org/wiki/...pecial_Phrases with the used ones listed at https://rinigus.github.io/osmscout-server/tags/ . The list is also available as an API call, via poi_types URL, allowing us later to extend WhoGo Maps and modRana to automatically provide it to the users (if the client developers will approve it). Tag aliases are also used when returning the search results to identify objects in a localized manner.

Geocoder now imports and allows you to search for POIs without names (playground, ATM, toilets, ...), Again, suggested by @palbr. This is done for guide (nearby) search. When using guide search, its also possible to separate search by name or type when looking for POI (at least one has to be specified). Released WhoGo Maps already supports it, modRana is under development. Corresponding map update has been released and available if you check for updates in map manager. Note that only geocoder-nlp maps were updated this time.

As reported by @legacychimera247, some villages were missing in the search. This is fixed now, but it looks like I have inserted these missing villages into a bit high level in the hierarchy. This will be fixed in near future.

Many more types are now imported and supported by geocoder. Let me know if something important is missing.

The latest version of translations has been also pulled into the package. Thank you to all the translators doing great job!
 

The Following 15 Users Say Thank You to rinigus For This Useful Post:
Posts: 60 | Thanked: 214 times | Joined on Apr 2016
#494
Hello,
I am deeply in love to osm!
But yhis darling does not allow to use sdcard .
I created a directory to sdxard ( devel-su) gave rights and osm stopped nagging "no rights" but then there is open database error.

( there is / nemo/ Maps.OSM) I also tried to copy that but again even after givin rights to/ run/nemo I have a problem , not able to create...)

running sailfish X
 

The Following 3 Users Say Thank You to feedme For This Useful Post:
peterleinchen's Avatar
Posts: 3,327 | Thanked: 6,230 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#495
I do not think it has something to do with X or Jolla C (which I am using).
Why using devel-su (root) at all?
Just create any directory as normal user (nemo) and assign this directory within settings of OSM. Done.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 8 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 205 | Thanked: 916 times | Joined on Dec 2014 @ Earth
#496
Originally Posted by feedme View Post
But yhis darling does not allow to use sdcard .
I created a directory to sdxard ( devel-su) gave rights and osm stopped nagging "no rights" but then there is open database error.

( there is / nemo/ Maps.OSM) I also tried to copy that but again even after givin rights to/ run/nemo I have a problem , not able to create...)

running sailfish X
My own strategy (inherited back from older setups with other mapping software) :

OSM server set to use : /home/nemo/Maps/OSM

/home/nemo/Maps is a symlink that point to /run/media/nemo/SDCard/Maps

/run/media/nemo/SDCard is a SDXC card reformatted to a linux partition (BTRFS in my case, but will work as well with EXT4 or F2FS).

/run/media/nemo/SDCard/Maps and /run/media/nemo/SDCard/Maps/OSM
are owned by nemo:nemo,
access rights 0775 (rwxrwxr-x)

works flawlessly.
 

The Following 7 Users Say Thank You to DrYak For This Useful Post:
Posts: 496 | Thanked: 2,381 times | Joined on Aug 2016 @ Estonia
#497
New maps are out and available for download.

It looks like the last time I uploaded older Mapbox GL tiles. This time, all the data should be up to date, about 1-2 weeks old extract from OSM Planet.pbf.
 

The Following 9 Users Say Thank You to rinigus For This Useful Post:
Posts: 496 | Thanked: 2,381 times | Joined on Aug 2016 @ Estonia
#498
New version is out - 1.8.0

This version is linked directly to Valhalla via its C++ API. As a result, OSM Scout Server provides Valhalla's exported functionality in its own process. Earlier, the server had to start Valhalla separately and work as a proxy between map clients and Valhalla. Now, this extra HTTP connection is skipped.

For end users, such integration means that, after upgrading to 1.8.0, OSM Scout Server Module: Route can be uninstalled. Its not used anymore.

For map client developers, there are lots of exciting features exported, in addition to routing. Some of them are:

* map matching - for just-in-time snapping position to the road/path network; for exporting recorded GPX as a set of navigation instructions.

* time-distance matrix calculation between set of locations.

* finding optimized route between set of locations (so the order and route are optimized).

* isochrone - for example, where can I get in 30 minutes by car from here? see example at https://cdn-images-1.medium.com/max/...Lqn7HoMo_8.png

Corresponding section in README: https://github.com/rinigus/osmscout-...other-services .

Note that while elevation service is exported as well, I don't distribute the data for it. I will look into it, but it sounded like it takes 1.2TB for a planet - bit excessive for mobile. If they find the way to reduce the data requirements, would be great way to get elevation-aware routing and its visualization.

For packagers (@MartinK), the server doesn't need anymore prime_server, zmq. I was made aware of this Valhalla C++ API few days ago (heard about it earlier when they started working on it in 2017, but didn't check the progress). I made a new packaging for Valhalla (https://github.com/rinigus/pkg-valhalla-lite) that is preferred for the compilation of the server. This packaging and the full Valhalla packaging (https://github.com/rinigus/pkg-valhalla) scripts were also modified to use cmake, as they switched the build system.

As always, the translators have updated the translations. I will try to remember to release point releases 1.8.x this time and get translations up-to-date. Sorry for delays.

I have added car styles for Mapbox GL maps. These are right now just increasing the priority of the gas stations, parking spaces, and such. Later we can maybe polish it further, feel free to think on how to improve them

I am planning to work on map matching and exploring it with the map client. Very rough POC has been done and my phone is able to map match almost in real time already with the current API (you can see the location moving as you are, but with the direction found using map matching). So, the early results are promising, but there is still much to do.
 

The Following 14 Users Say Thank You to rinigus For This Useful Post:
Posts: 496 | Thanked: 2,381 times | Joined on Aug 2016 @ Estonia
#499
Quick notice: WhoGo Maps (and probably Poor Maps) check whether routing module is installed when they list available routers. So, keep the routing module on device until corresponding change is done in WhoGo Maps: https://github.com/otsaloma/whogo-maps/pull/45
 

The Following 8 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 17:46.