Author Topic: Offline POI database  (Read 69778 times)

Offline chrabros

  • More than Newbie
  • *
  • Posts: 39
  • Thanked: 1 times
    • View Profile
Re: Offline POI database
« Reply #30 on: August 02, 2013, 09:38:14 »
Hello,
first of all: I like this, I like this very much. It seems that Locus might be the first
application I know which could use the additional information from OSM.
Way to go! :-)

Here are some comments:
- the database does work only with vector maps generated by Locus?
I use czech_republic_gcc.map or czech_republic_ee.map but when I put the database file there and renamed them,
it did not work. I had to put it to you czech_republic.osm.map and then it started to work.

- the name of category "sport leisure" sounds strange to me
wouldn't "sports & leisure" be a better sounding name?

- I suppose that in the future the behaviour of POI would be as close to Points as it could be.
I would like to be able to select some of POIs to be displayed on the maps all the time,
so I would welcome check-boxes to select them, filters (so I can display just OMV fuel stations)
and select and display the closest 50 POIs (regardless of their category) for example.

- you add only some tags to the database with a POI?
it seems to me that you are adding just a subset of tags of a POI to the database.
I thought that you will add to the database all the information available with a node/way.
This way the Locus would be able to display all known info about the points
and if some information will be added in the future with some tags not used today,
it would be imported and displayed automatically without the need of asking to
add this info as well.
But at this moment is seems that some info is left out.
For example the inscription tag of the wayside_cross (node 2312962191, Kříž u lip (1898), N 48°59.02080', E 17°1.17953')

Thank you for this.

Dalibor
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11781
  • Thanked: 409 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Offline POI database
« Reply #31 on: August 02, 2013, 09:49:47 »
Hi,
  there will be some good and some bad news ...

"the database does work only with vector maps generated by Locus?"
- question is what you mean by work. There are two ways how to work with these databases.

Firstly you enable vector map, locus automatically load this database and most of visible points on map, because clickable! This anyway mean, that which points are visible on map, depend on theme for vector map and not on database itself (of course, points has to be in database).

Second way is menu > more > points, where at top, should be available all visible points databases so you can choose which you want to use. Here you may display points on map, that will remain on map, no matter which map you select

"the name of category "sport leisure" sounds strange to me"
- agree, I'll improve it

"I suppose that in the future the behaviour of POI would be as close to Points as it could be"
- I hope not :), these databases has to remain as simple, as possible, so do not expect any complicated filtering, sorting etc, it's not planned

"you add only some tags to the database with a POI"
- yes. Points contain many many nonsences and it's important to keep database small. Huge database with many data will start to be slow, so I have own list of supported tags that are in database
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline chrabros

  • More than Newbie
  • *
  • Posts: 39
  • Thanked: 1 times
    • View Profile
Re: Offline POI database
« Reply #32 on: August 02, 2013, 10:01:22 »
"the database does work only with vector maps generated by Locus?"
Well, i meant that when I have introduced the db file renamed to czech_republic_gcc or czech_republic_ee it simply would not load.
I loaded only after I "paired" it with Locus czech_republic.
But it doesn't really matter as it is loaded now. I just wanted to point this out.


"I suppose that in the future the behaviour of POI would be as close to Points as it could be"
- I hope not :), these databases has to remain as simple, as possible, so do not expect any complicated filtering, sorting etc, it's not planned
Hmm, that is quite sad. But maybe in the future...


"you add only some tags to the database with a POI"
- yes. Points contain many many nonsences and it's important to keep database small. Huge database with many data will start to be slow, so I have own list of supported tags that are in database
This is very disappointing. You will never be able to keep up pace with new tags introduced in OSM to be added to Locus as well.
There will be something missing always.
I thought that negative filtering (filter out only some unnecessary tags and include the rest) would be better.
Do you have some estimate what would be the size difference if you would include all tags?
I suppose that it would not be much as the additional info tags are sparse
(the most important reason being that there is no way how to display those in real life apps).

Also I have noticed that you do not have caves (and mine_shaft and adit) in the database. Could you consider adding those?

 Dalibor
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 619
  • Thanked: 48 times
    • View Profile
Re: Offline POI database
« Reply #33 on: August 02, 2013, 13:15:33 »
Did some testing with Germany now. Real pain - very long wait times, even on a Galaxy Note. But I do not understand why. If POI type and location were DB keys, or even location alone, then selecting POIs around current location (and this is what Locus shows) should be like a blink of the eye.
Then re. handling : if I finally get the selected POIs in a list, pick one, show it on map, do not like it, want to see the next, I have to start all over again and wait and wait. You obviously build an initial list based on distance, which is only extended when scrolling way to the bottom. Would it be feasible to keep this INITIAL list as is so people can go back instantly?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 619
  • Thanked: 48 times
    • View Profile
Re: Offline POI database - South Africa
« Reply #34 on: August 02, 2013, 13:17:59 »
Hello Menion, I am going to the Republic of South Africa soon. If you found some time to generate the resp. DB, I'll have a chance to gain real life expereince. Thank you in advance.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11781
  • Thanked: 409 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Offline POI database
« Reply #35 on: August 02, 2013, 13:35:44 »
@chrabros: point of this system is to give quickly access to interesting points around you. So there is no need for some complex sorting etc ... if you need to display specific points at certain zoom level, you may in the end, create your own theme for vector maps

  And sorry no, I'll not use "negative filter". I'll gladly improve and add missing and interesting tags into databases, but there is so much incorrect values, bugs, nonsenses, that it will really slow down database also for people that do not care for these values. So I want to keep list of tags that will be included in these databases.

@michael: yes Germany is a problem. With more then 1.500.000 points, every request is slow. But agree that this is way too much. Help here is separating of Germany into specific areas. Anyway this is still a beta, so I hope, we'll speed up at least little bit

and south africa is in preparation
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 619
  • Thanked: 48 times
    • View Profile
Re: Offline POI database
« Reply #36 on: August 03, 2013, 11:23:08 »
Quote from: "menion"
@chrabros: point of this system is to give quickly access to interesting points around you. So there is no need for some complex sorting etc ... if you need to display specific points at certain zoom level, you may in the end, create your own theme for vector maps

  And sorry no, I'll not use "negative filter". I'll gladly improve and add missing and interesting tags into databases, but there is so much incorrect values, bugs, nonsenses, that it will really slow down database also for people that do not care for these values. So I want to keep list of tags that will be included in these databases.

@michael: yes Germany is a problem. With more then 1.500.000 points, every request is slow. But agree that this is way too much. Help here is separating of Germany into specific areas. Anyway this is still a beta, so I hope, we'll speed up at least little bit

and south africa is in preparation

TXs a lot, Menion, for the South Africa POIs - works like a charm!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline michaelbechtold

  • Master of Locus
  • ****
  • Posts: 619
  • Thanked: 48 times
    • View Profile
Re: Offline POI database
« Reply #37 on: August 03, 2013, 11:33:08 »
Quote from: "menion"
@chrabros: point of this system is to give quickly access to interesting points around you. So there is no need for some complex sorting etc ... if you need to display specific points at certain zoom level, you may in the end, create your own theme for vector maps

  And sorry no, I'll not use "negative filter". I'll gladly improve and add missing and interesting tags into databases, but there is so much incorrect values, bugs, nonsenses, that it will really slow down database also for people that do not care for these values. So I want to keep list of tags that will be included in these databases.

@michael: yes Germany is a problem. With more then 1.500.000 points, every request is slow. But agree that this is way too much. Help here is separating of Germany into specific areas. Anyway this is still a beta, so I hope, we'll speed up at least little bit

and south africa is in preparation

One more re. the 1.5m This sounds much, but for an area around the map center it may be some douzen, or some hundred candidates- or you simply can restrict to a resp. perimeter. Then the task is to search a range defined by Latidude/Longitude - and I suppose the POI db employs a b-tree for both. Why would this be slow with even 10m rows ? The type of POI is only the filter criteria in this approach. If the primary search key would be POI type, though, then the b-tree degenerates and things get slooooow.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline eldron

  • Apprentice of Locus
  • **
  • Posts: 232
  • Thanked: 4 times
    • View Profile
  • Device: Galaxy Ace 2 (Android 4.4.4 - CM11)
Re: Offline POI database
« Reply #38 on: August 04, 2013, 14:38:15 »
Has this feature left its beta status already? I didn't see any mentioning of it in the release note of yesterday's public release, but I can now use it in the normal locus version (I have also got the last locus beta installed).
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11781
  • Thanked: 409 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Offline POI database
« Reply #39 on: August 04, 2013, 14:49:45 »
hi,
  nono it's still beta and will remain for at least one or two months. If you anyway added shortcut button to this feature to any panel, it will be visible also in public version. I discovered this yesterday also, but it's more bug then intent
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline lid

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Offline POI database
« Reply #40 on: August 05, 2013, 00:01:41 »
Cool! Could you please generate dbs for Sri Lanka, UAE, and Oman?

Thanks!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline silber1

  • Apprentice of Locus
  • **
  • Posts: 134
    • View Profile
  • Device: Samsung S10 (10.0) Note 8 , Samsung A5 (7.0)
Re: Offline POI database
« Reply #41 on: August 05, 2013, 23:25:03 »
POI  are gone in the newest version.??
I do not see a shortcut anymoe?
What do I miss?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3547
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: Offline POI database
« Reply #42 on: August 05, 2013, 23:32:10 »
Quote from: silber1
POI  are gone in the newest version.??
right.
POI DB was currently "beta"
« Last Edit: February 11, 2014, 19:48:00 by gynta »
 

Offline silber1

  • Apprentice of Locus
  • **
  • Posts: 134
    • View Profile
  • Device: Samsung S10 (10.0) Note 8 , Samsung A5 (7.0)
Re: Offline POI database
« Reply #43 on: August 05, 2013, 23:54:13 »
Menion said, if you have set a shortcut, you can use it.
How can I set it?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3547
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: Offline POI database
« Reply #44 on: August 06, 2013, 00:07:15 »
..as Menion wrote
Quote
If you anyway added shortcut button to this feature to any panel, it will be visible also in public version.
[attachment=0:3bsw3frs]Screenshot_2013-08-05-23-59-11.png[/attachment:3bsw3frs]
« Last Edit: January 01, 1970, 01:00:00 by Guest »