Locus Map - forum

Development => Other features => Topic started by: balloni55 on March 08, 2016, 12:40:38

Title: old offline addresses discussion
Post by: balloni55 on March 08, 2016, 12:40:38
Hi Petr
first question before i start
QuoteSo in /Locus/vectorMaps has to be placed vector map file and address db file with the same namepart.
i own a complete germany map, for download you provide  germany north and south :-[
how can i manage this??
Title: Re: old offline addresses discussion
Post by: balloni55 on March 08, 2016, 14:13:46
thanks, with renamed file it work ;)

revers search didn´t work for me with airplane mode, get always "Unknown address"

first idea, auto "zoom in" to target would be nice :)
Title: Re: old offline addresses discussion
Post by: ta-ka on March 08, 2016, 14:51:43
@voldapet - Thanks! For now, I'm testing with malta db which is very small file size and easy to download.

One comment. It looks strange that the message "No results found, modify your input" is shown before starting street name search (just after tapping one of the city name search result). How do you think?
Title: Re: old offline addresses discussion
Post by: Menion on March 08, 2016, 15:03:44
UI and usability is on me as usually, search results (usually) and what is/isn't generated are on Petr.

Databases for tests are currently limited to just a few countries. So please don't ask for a missing countries. Coverage will be same as with LoMaps (every map will have own database). For now is available what is already generated.

@ta-ka: agree, I'll try to do something with it.
Title: Re: old offline addresses discussion
Post by: michaelbechtold on March 08, 2016, 16:07:04
With the size of those DB files it is essential that people can download the DBs separately from the map files, also pay separately for the associated traffic (cost recovered by your LoPoints).
Title: Re: old offline addresses discussion
Post by: Menion on March 08, 2016, 16:19:49
Not clear why it is essential? Anyway this option is not planned and I give quite low chance it will be implemented. Anyway you may vote about it here: http://help.locusmap.eu/topic/separating-poi-db-downloads-from-map-downloads

Main reason why I'm against this option, is that form my opinion, common users that do not use any alternative map sources like OAM and similar, should not care if they download one file or more files, they just get pack of "something" that can search, display points and a map. This "separation" is useful only for a minority of users and because we have currently around 300 maps for whole world, I currently can't imagine that we add another 300 items as separate databases. My opinion, not final, but 'almost'. Have to discuss later with Petr, but I think he will have quite similar.
Title: Re: old offline addresses discussion
Post by: voldapet on March 08, 2016, 16:47:57
@michaelbechtold - It's not common but I have to agree with menion. Users should have everything packaged as one map - no matter what is behind

@balloni55 do you try reverse in correct part (south or north) Germany?

EDIT
@john_percy really still in Europe? :) I'm sorry. However same as ta-ka. I'll prepare other packages in next days
Title: Re: old offline addresses discussion
Post by: michaelbechtold on March 08, 2016, 17:40:58
You rightfully mention OAM,  and there are other interesting maps, too. It comes down to the question if you respect your customers, or if you want to take them as hostages. 'You want this feature ? Then you have to pay for this other thing, too, although you do not need it.' This is not a technical topic,  but a business ethic one ...

Gesendet von meinem SM-N9005 mit Tapatalk

Title: Re: old offline addresses discussion
Post by: balloni55 on March 08, 2016, 20:49:59
Quotedo you try reverse in correct part (south or north) Germany?
i´ve renamed "_germany_south.osm.db"  to "_germany.osm.db" and copied it to map vector/europa/germany, here are also
_germany.osm.map and other german vector maps.

see screencast:
by the way: sec. 38-64 enjoy loading map!! :'(

1.42, 1.49, 2.00 attempt reverse adress search > "Unknown address"
https://www.dropbox.com/s/clqu27vlcjbjg4a/adress%20search.mp4?dl=0
Title: Re: old offline addresses discussion
Post by: Andrew Heard on March 09, 2016, 03:48:50
So exciting - lots of people have been waiting a long time for this feature. Some initial comments:-

Title: Re: old offline addresses discussion
Post by: Menion on March 09, 2016, 07:02:37
@michalebechtold: well, even if you respect your customers, it is a good idea to change for them "something", that will complicate life of majority of them? I don't think so. This is not a question of price or bussiness (as price remains as low as possible), it is a question of simplicity and usability. Anyway I'll try to do some measurements about usage of various types of maps (number of users of LoMaps and other sources) and we will see if worth it think about this option in any way (when so, then probably not directly over Locus Store).

@Andrew, @balloni55: thanks for a feedback, we are now spending time mainly on new version of Locus Map (planned on tomorrow), so we will check all problems at Friday or at start of next week, thanks.
Title: Re: old offline addresses discussion
Post by: voldapet on March 09, 2016, 08:33:30
@Andrew, @balloni55 problem with Unknown address is my mistake during generation. Please wait for next version of DB addresses (tomorrow or Friday)

@Andrew - would you please give exactly the term you write into "Street" field? I've tried to write "Rue Saint-Sebas" and Locus whispers correct values. Maybe the screenshot would be fine
Title: Re: old offline addresses discussion
Post by: jajaballard on March 09, 2016, 10:03:45
Hello ,
Just for my understanding:

Why is it necessary to have a separate address-db file?   
I thought a vector map file  (eg generated by mapsforge like OAM) should have all information enclosed to perform a search on geo-locations and addresses. Or is it working in another way?
Title: Re: old offline addresses discussion
Post by: voldapet on March 09, 2016, 21:29:26
@jajaballard
Honestly I don't know if OAM contains offline addresses. As I know there is a Mapsforge project that offers offline POIs but I guess that is still in beta version. Offline addresses are our internal solution that extends old offline POI DB feature. For this reason are data separated from map file.  However for final users will be available as one package via Locus Store.
Title: Re: old offline addresses discussion
Post by: Andrew Heard on March 09, 2016, 22:24:54
Quote from: voldapet on March 09, 2016, 08:33:30
@Andrew - would you please give exactly the term you write into "Street" field? I've tried to write "Rue Saint-Sebas" and Locus whispers correct values. Maybe the screenshot would be fine
Thanks @voldapet but I did specify exact street field in my previous post. I also tried your "Rue Saint-Sebas" but no results, see below. Menion suggests known issue.
(http://postimg.org/image/ux02kn2qz/)
Title: Re: old offline addresses discussion
Post by: wvb on March 09, 2016, 23:22:17
You first need to search for the city.

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: Andrew Heard on March 10, 2016, 04:10:20
Quote from: wvb on March 09, 2016, 23:22:17
You first need to search for the city.
@wvb - thanks - how stupid of me to ignore the city prompt

next observation - "rue saint-sebastien" is only found IF the hyphen character is typed AND space characters are removed, maybe these special characters can be ignored?
Title: Re: old offline addresses discussion
Post by: Andrew Heard on March 10, 2016, 04:46:45
Quote from: Andrew Heard on March 09, 2016, 03:48:50

  • I then enabled long tap from Settings > Map - Control & Panels > Enable address display, and then long tap each road - label popup = Unknown address?
Since the post above I made visible "Enable address display" in Quick settings, and now after long tap I get correct address in popup label instead of "Unknown address", weird. I then tried to reproduce "Unknown address" but now can't.
Title: Re: old offline addresses discussion
Post by: wvb on March 10, 2016, 14:56:35
I am very excited about this new feature!
I tested it yesterday for some addresses in Belgium and Netherlands and it's quite fast.

One remark I have at this point is that it would be handy if we could search for parts of the city.
For example:
Thorembais-Saint-Trond
now we o my get a match if we start with Thorembais and not when we search for Saint-Trond.

Apart from this it will be great to have this feature in Locus!

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: voldapet on March 10, 2016, 16:29:25
@Andrew - "unknown problem" you've probably internet connection and Locus loads address from internet if offline was not successful.
White space, hyphens and other character - thank you good point we'll improve it

@wvb
It should work but not in case that hyphens are in the name. You can try for example "Pinte" as part of the name "De Pinte". However we need to improve the hyphens as I wrote above. So we'l improve also Thorembais-Saint-Trond
Title: Re: old offline addresses discussion
Post by: wvb on March 10, 2016, 20:24:59
@voldapet

Great! Thanks for the update.
I didn't think of testing De Pinte :-)
This indeed works fine.
I look forward to handling with hyphens.

Anyway, I would also like to add that I have been hoping for offline address such for some time and it is already better than I expected it to be :-)

Great work!

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: gynta on March 11, 2016, 12:25:08
Quote from: menion on March 09, 2016, 07:02:37
we are now spending time mainly on new version of Locus Map (planned on tomorrow), so we will check all problems at Friday or at start of next week, thanks.
plz wait!  ;)
Title: Re: old offline addresses discussion
Post by: Christian on March 15, 2016, 20:22:43
nice feature but...

: i got "unknown address" after long tap w/o internet connection
: a lot of streets are missed in database i.e. München Planeggerstrasse / Planegger Strasse or München Arminiusstrasse / Arminius Strasse. All missed streets i searched in Offline DB are in OSM.

I updated my LoMap but no success. I used _germany_south.osm.db from your Google drive dated March 08, 2016 2:01:38 PST.
What should i do?

A question more. Offline Address DB and POI DB are in the same file / db now, isn't?


Christian
Title: Re: old offline addresses discussion
Post by: balloni55 on March 16, 2016, 13:04:12
QuoteInstalled Locus Map 3.15.3.6 and higher
Hello Petr,
i think this sentence in first post is misleading
in V 3.16.0 i found no optional "offline address search"

Wolfgang
Title: Re: old offline addresses discussion
Post by: voldapet on March 16, 2016, 14:44:17
@Christian
"unknown address" - problem is in DB files that available on GD. I'm preparing new files right now and in next version of db files (not version of Locus app) will be solved this issue. I'll also check the mentioned Munchen streets in new address DB.  And you're right both address and POIs data are included in one database.

@balloni55
Offline search would be available also in standard production version. The menu is shown only in case that there is any *.osm.map and *.osm.db file in Locus/mapsVector (or default folder for vector maps). Are you sure that you've downloaded any address DB file?
Title: Re: old offline addresses discussion
Post by: balloni55 on March 16, 2016, 15:02:14
Hi Petr
of course ;)
(http://postimg.org/image/3lzxcf8ib/)
in POI search they are available.
If i remember right, in Beta RC there where in search/Adress&Places dialog 2 options, online and offline search, but in  official PRO i see only online search :-[
Title: Re: old offline addresses discussion
Post by: gynta on March 16, 2016, 17:14:42
No austria.db ?
A shame ! ;)

Title: Re: old offline addresses discussion
Post by: balloni55 on March 16, 2016, 19:22:32
Thanks gynta for your clip !  :)
after frech download of "germany_south.osm.db" i see the hamburger button top right and can select offline address search ;)

my test address:
Stuttgart Flughafen Flughafenstraße
- Stuttgart street Flughafen
next i take a look on map and see names of towns around the airport to search for
- Echterdingen
- Plieningen
- Filderstadt street Flughafenstraße
- Leinfelden >result  Leinfelden-Echterdingen street Flughafenstraße ;D

for now a foreign visitor didn´t find the Airport of Stuttgart :-[

surprisingly searching with same DB using "POI search" i get results for "Stuttgart Flughafen" or "Flughafen"


Title: Re: old offline addresses discussion
Post by: voldapet on March 16, 2016, 23:32:04
@balloni55, @Christian - Munchen, Stuttgart. Thank you for report. It seems that I have problem with bigger Germany cities that are on the same administrative level as counties (Kreis). I'll try to fix it
Title: Re: old offline addresses discussion
Post by: balloni55 on March 17, 2016, 08:40:28
Thanks Petr for answer

this morning, german file size on Google Drive have 0 KB :(
Title: Re: old offline addresses discussion
Post by: gynta on March 17, 2016, 08:57:37
Quote from: balloni55 on March 17, 2016, 08:40:28
Thanks Petr for answer
this morning, german file size on Google Drive have 0 KB :(
try again, should work
Title: Re: old offline addresses discussion
Post by: Christian on March 17, 2016, 09:52:38
Thanx Petr, now the streets can be found within offline address db.
But the problem wit 'unknown address' after long tap remains. Without internet connection no address :(
Title: Re: old offline addresses discussion
Post by: TrulloF on March 17, 2016, 12:41:56
Hello!
I downloaded the new db version for Germany North (17.03.2016), but I still have trouble finding streets in Berlin. E.g. after choosing Berlin as city I try to look for Boxhagener Straße, Boxhagener Platz, Rhinstraße etc. but I don't get any results. Kurfürstendamm for instance is found.
Thank you in advance for looking into it.
Btw. this feature is a really nice one, keep up the good work!
Title: Re: old offline addresses discussion
Post by: ta-ka on March 17, 2016, 17:02:40
@voldapet Thank you for creating Japan db. I've briefly confirmed that the search works by typing alphabetical character words and Japanese character words.
Title: Re: old offline addresses discussion
Post by: voldapet on March 17, 2016, 17:25:58
Hi,
thank you for testing. Today morning we've uploaded new databases on GD and for this reason weren't some files available. Unfortunately the "Unknown address" problem remains - the new  version of application is needed. So please wait for next beta. Sorry for that.

@TrulloF
Thank you for report. Well, it's the similar situation as with Stuttgart/Munchen. But Berlin is in OSM data tagged as "state" and our address DB generator does not recognize such city boundary. I guess that there will be the same problem with Bremen or Hamburg. We'll improve it. :) Thanks
Title: Re: old offline addresses discussion
Post by: gynta on March 17, 2016, 18:05:23
Quote from: voldapet on March 17, 2016, 17:25:58
new  version of application is needed. So please wait for next beta. Sorry for that.
Sometimes You really should listen to me:
Quote from: gynta on March 11, 2016, 12:25:08
Quote from: menion on March 09, 2016, 07:02:37
we are now spending time mainly on new version of Locus Map (planned on tomorrow), so we will check all problems at Friday or at start of next week, thanks.
plz wait!  ;)
;D

thx for new db files but my test also ends with no good results - but you know in the meantime.
Title: Re: old offline addresses discussion
Post by: Menion on March 18, 2016, 12:05:54
New Beta version on Google Play, new address database on Google Drive, enjoy it and have a nice weekend!
Title: Re: old offline addresses discussion
Post by: TrulloF on March 18, 2016, 14:09:53
Hello.
I tried the new db's. It seems to work even without using the new beta version.
Nice.
Title: Re: old offline addresses discussion
Post by: balloni55 on March 18, 2016, 14:19:46
work now much better ;D
reverse search display in my case allways > Germany  ;)

street names wit hyphen is furtermore a problem

i search in Stuttgart for street:
Hermann Pleuer  > no result :-[
Hermann > result is among others > Hermann-Pleuer :)
Title: Re: old offline addresses discussion
Post by: gynta on March 18, 2016, 14:29:47
there is no "Herman " string inside db
Other search engines tryed to combine

eg google maps:
(http://postimg.org/image/kfzikcqn7/)

Title: Re: old offline addresses discussion
Post by: balloni55 on March 18, 2016, 14:34:32
not really ;)
switch your device to flight mode, than you search offline!
and youl get " no result"
Title: Re: old offline addresses discussion
Post by: voldapet on March 19, 2016, 12:08:36
Thanks for testing
@gynta - sorting I need to discuss with menion. Sorting is good idea but we need to create probably custom sort mechanism. Simple alphabetical sorting isn't proper solution from my point of view. I mean the house numbers with letters: For example (1, 1A, 2, 11). But the strict alphabetical would be: 1, 2 , 11, 1A
- doubled "n" well that's complicated. I guess that we aren't able to offer such searching...

@balloni55 - Reverse returns always Germany? Would you please give me some screenshot where are shown the coordinates or place where you long tap on map?

Hyphen - I'm sorry that's my fault. I've been playing with regexp and trying different expression and finally I've put into the code wrong regexp. Well probably almost all special characters are ignored only hyphen isn't :( . New version of databases but also application is needed. Not solved right now.


Title: Re: old offline addresses discussion
Post by: balloni55 on March 19, 2016, 14:31:16
QuoteReverse returns always Germany?
used map "Germany_south", osm.db from 18.3, airplane mode
screenshots Stuttgart Airport and Centre

(http://postimg.org/image/fuljqyp7t/)

(http://postimg.org/image/5lt2l5161/)
Title: Re: old offline addresses discussion
Post by: gynta on March 19, 2016, 14:49:25
Quote...Sorting is good idea but we need to create probably custom sort mechanism. Simple alphabetical sorting isn't proper solution from my point of view. I mean the house numbers with letters: For example (1, 1A, 2, 11). But the strict alphabetical would be: 1, 2 , 11, 1A - doubled "n" well that's complicated..
alphabetical sorting is ok.
not perfect - but ok.
simulation:
(http://postimg.org/image/6kc239qhv/)
Title: Re: old offline addresses discussion
Post by: voldapet on March 19, 2016, 15:04:06
@balloni55
It's more on menion then me but do you use the latest beta? I guess that offline reverse geo is not used in your situation.  You should see "*" symbol in popup window that symbolize offline reverse geocoding.

(http://postimg.org/image/cqfc9nbud/)
Title: Re: old offline addresses discussion
Post by: balloni55 on March 19, 2016, 16:09:48
Hello Petr,
sorry for trouble :P
now after i´ve delete an very old "germany.osm.db" in folder, reverse search work well ;D
Title: Re: old offline addresses discussion
Post by: balloni55 on March 20, 2016, 13:35:07
why are some addresses with postal code and other nearby without?
https://www.dropbox.com/s/yk3dbicxrmv2u4q/video_M%C3%A4r_20_2016_0.mp4?dl=0
Title: Re: old offline addresses discussion
Post by: voldapet on March 20, 2016, 19:45:13
Postcodes are obtained from house data ( if house contains any information about postal code)  - see tag "addr:postcode" in https://www.openstreetmap.org/way/90580087
There aren't any house address data nearby your attempts like Bernhauser strasse, Richtogodenstrasse. Locus search for houses around but because no house is found then only street name is shown. In this situation is not shown the postal code because only houses can contain information about postcode.

I can understand that in real world have house and street the same postcode but in OSM data street does not know anything about postcode.
Title: Re: old offline addresses discussion
Post by: Kona on March 21, 2016, 17:32:34
Hi,

Tried offline search on Beta Version (flight mode) and works lovely in Poland, but not having luck in England, specifically London area. Most of the streets pop up with auto-filling and are visible in alphabetical order but those what I was looking for, sadly not.
Reverse geocoding shows all streets which I pointed (*) including these not existing in offline search, so I guess the names are in a .db file but do not appear in offline search.

What might make that error?

Also my understanding is if we have no Locus map (having few Locus maps and few OAM maps too) the .db file is not visible by locus, right?


Title: Re: old offline addresses discussion
Post by: voldapet on March 22, 2016, 07:00:10
Hi,  would you  post some examples,  screenshot,  names,  etc.,  please?

There's no restriction and address DB should work with OAM maps. Map file and address db file have to have the same namepart.  On other hand address db with OAM  can complicate map autoloading because address db contains information about coverage of map file. 

Sent from my H60-L04 using Tapatalk

Title: Re: old offline addresses discussion
Post by: michaelbechtold on March 22, 2016, 07:13:25
What is the use of this linkage between map file and db file ? You can activate autoloading, then Locus will find the right map anyway. If you deactivate that,  you take responsibility to select the right map for your target yourself. Such approach gives freedom of choice for vector maps, without playing with map names. And takes the complications away that you mention, right ?

Gesendet von meinem SM-N9005 mit Tapatalk

Title: Re: old offline addresses discussion
Post by: Menion on March 22, 2016, 07:24:42
"map" files itself do not have defined precise borders so autoloading don't work correctly in cases, you have a larger country. For example if you display whole Germany and then you move to Czech Republic, Czech map will almost never be "auto-loaded" because bounding rectangle of Germany is really huge. Because of this, we needs to get more precise borders of map to Locus and this is best possibility.

EDIT: anyway as Petr wrote, it may complicate only "auto-loading", on manual selection it has no effect.
Title: Re: old offline addresses discussion
Post by: Kona on March 22, 2016, 14:42:46
It looks like there is a mess somewhere in OSM base, not sure. :)
Some streets are available using

Country (England) > City > Street

Some only:

Country (England) > Borough > City > Street (Still looking in London which has 32 boroughs).

But again some boroughs exist in offline base some not.
Searching offline for these streets in Lambeth borough (part of London) makes no results:

Acre Lane
Strathleve Rd
Brixton Hill (Two Brixton... apprear but there is more Brixton names in London in Brixton (district)
All above are in London, Lambeth Borough
or most in London.


Summary, if you don't know all 32 boroughs of London, or don't know the borough of searched street it might be difficult.
Also in England db there is London and City of London, probably for that I need a map :P

Maybe I'm doing something wrong, don't know, in other countries offline search works easily.



-------------------


Right, when changed Norway.map (OAM) to norway.osm.map works perfect with norway.osm.db. (db appears), thanks.

Title: Re: old offline addresses discussion
Post by: voldapet on March 22, 2016, 19:07:15
@kona
Thank you I've checked the London and there are some weakness. I'll try to improve it. However could I ask you for advice?  In OSM data are "City of London" and "London" separated individual cities. In current or improved solution streets from City of London are not part of London. Is it correct? Or Should London contain also streets from "City of London"? Is London synonym for Greater London?


Important info for everyone - In today's Locus beta version is standard offline search corrupted (reverse should work properly). It'll be fixed on Friday with updated address db files
Title: Re: old offline addresses discussion
Post by: wvb on March 22, 2016, 21:16:38
I think I am missing something.
Regular offline search works fine but for reverse I just get the word "Point".
Any help is appreciated :-)

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: Kona on March 22, 2016, 22:56:26
@Voldapet

Quote from: voldapet on March 22, 2016, 19:07:15
In OSM data are "City of London" and "London" separated individual cities.
http://www.openstreetmap.org/relation/65606#map=14/51.5131/-0.1002
"For ceremonial purposes Greater London excludes the City of London; For administrative purposes the 'City' is included."
The City of London is a city and county within London.
https://en.wikipedia.org/wiki/City_of_London

Quote from: voldapet on March 22, 2016, 19:07:15In current or improved solution streets from City of London are not part of London. Is it correct? Or Should London contain also streets from "City of London"?
So if: "For administrative purposes the 'City' is included" I guess these streets should be in London also, but this is confusing.
From my point of view all streets should be in London, these from City of London and other 32 boroughs (33 boroughs in total).

Quote from: voldapet on March 22, 2016, 19:07:15Is London synonym for Greater London?
Yes, "Greater London, or London, is a region of England consisting of 33 districts: the 32 London boroughs and the City of London".


Thank you,


Title: Re: old offline addresses discussion
Post by: voldapet on March 24, 2016, 12:16:49
@kona
thank you for explanation. We've changed the generation process so in the next version of DB files should be improved

@wvb
Honestly there is probably some mess in version of beta versions and DB files. We'll release in next days new Locus version and also new version of address db files. We can focus on it after that release
Title: Re: old offline addresses discussion
Post by: balloni55 on March 29, 2016, 11:29:04
QuoteWe'll release in next days new Locus version and also new version of address db files.
Hello Petr,
new Locus version is available :) when can we expect the new address db?
Title: Re: old offline addresses discussion
Post by: voldapet on March 29, 2016, 22:35:26
Quotewhen can we expect the new address db?
well, new databases will be prepared with next beta version...thanks
Title: Re: old offline addresses discussion
Post by: Kona on March 30, 2016, 15:18:51
After last update of Locus Pro only Reverse geocoding works for me even if I'm online and Search Address is switched for Search Address (Online).
For this moment I posses three countries dbs, so those three do not pick up addresses online, only *offline.

Going to any other country online (which I do not have db of) I'm able to see full postal address (including post code if available) holding my finger on.

BTW, is it  possible to include post codes in db files? Or files might be to big?
In Britain for instance most people search post codes as they are more specific as street names.

I know that would need to make another search way as we have already Country > City > Street. In Britain that would be Country > Post Code. I can imagine as that option is probably too much, for most of the countries.


Title: Re: old offline addresses discussion
Post by: voldapet on April 05, 2016, 12:45:13
Hi,
new offline address database is available at https://1cd2124e91267cf66658628afab678ee6c3c32e0.googledrive.com/host/0B7v_sPhHE6RgaXhUM2pWbDZhbUE/

The latest beta 3.16.1.2 is needed for full functionality.

@kona
Honestly address database and the search system is not able to search by postcode at this moment. So it's not possible right now.
Title: Re: old offline addresses discussion
Post by: gynta on April 05, 2016, 13:52:51
_[COUNTRY].osm.db

What does this naming means?

Title: Re: old offline addresses discussion
Post by: michaelbechtold on April 05, 2016, 14:16:46
No Canada ?
Title: Re: old offline addresses discussion
Post by: voldapet on April 05, 2016, 14:38:02
@gynta
_[COUNTRY].osm.db files are for map files with names _[COUNTRY].osm.map

@michaelbechtold
That's correct. Canada is missing because there are still some troubles we need to fix
Title: Re: old offline addresses discussion
Post by: wvb on April 05, 2016, 14:42:04
Thanks for the update.
I downloaded the new db for Belgium but still have the issue I described above. Long click results in "Point" instead of street name.
I have the latest beta installed.
Any tips?
Thanks in advance.

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: voldapet on April 05, 2016, 19:56:06
@wvb - well interesting :) would you please post screenshot with "Point" pop-up and coordinates. Thanks
BTW: if you check Menu > Settings > Map - control & panels >  Is "Enable Address display" enabled?
Thanks
Title: Re: old offline addresses discussion
Post by: gynta on April 05, 2016, 20:35:15
Quote from: voldapet on April 05, 2016, 14:38:02
@gynta
_[COUNTRY].osm.db files are for map files with names _[COUNTRY].osm.map
funny guy ;D
I asked for reason for naming - not for using  ;)
but thx - i got it now.
After DL netherlands - i see whole country are named "_"+[COUNTRY].osm.map
Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 06, 2016, 00:25:00
A few quick tests for Slovenia appear to be working.

Some initial tests for streets in Oceania> Australia> Tasmania are not working although search to just "city" level seems OK. Streets are not being displayed in the search suggestions list even though I can long tap on the street and a label displays the correct address. One good & one bad example below...

1st good street search shows correct offline address after long tap AND address search Oceania> Australia> Tasmania> Hobart> Charles also lists this street (note Moonah is suburb of city of Hobart).
(http://postimg.org/image/fuoo7gdh5/)

2nd bad street search (I choose a random street right next to "good" Charles Street) shows correct offline address after long tap BUT address search Oceania> Australia> Tasmania> Hobart> Effington (or eff) does not list any street. I note that label for Charles Street has street numbers, but label for Effington Street does not have street numbers. Could this be difference in failed search?
(http://postimg.org/image/hhfrm7ie9/)

Also what does the asterisk (*) at start of address label indicate?

Title: Re: old offline addresses discussion
Post by: wvb on April 06, 2016, 20:40:32
Quote from: voldapet on April 05, 2016, 19:56:06
@wvb - well interesting :) would you please post screenshot with "Point" pop-up and coordinates. Thanks
BTW: if you check Menu > Settings > Map - control & panels >  Is "Enable Address display" enabled?
Thanks

Thanks for your reply.
I didn't get the chance to create the screenshot.
It is all working fine now after today's update.
I didn't change anything and with the same action as before I now get the correct street name with a * in front of it to indicate it's from the offline db.
I look forward to using this feature :-)

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: voldapet on April 07, 2016, 15:16:20
@wvb
OK it sometimes happens ..enjoy the testing ;)

@Andrew Heard
Well it's quite tricky because in OSM data is border for Hobart city defined as this small area https://www.openstreetmap.org/relation/6037089  For this reason isn't the Charles Street inside the Hobart city but only in Moonah suburb
However I've made some improvements that could help in such situation...
Thanks
Title: Re: old offline addresses discussion
Post by: silvermapper on April 07, 2016, 18:34:49
My Locus Map version is 3.16.2.  I use a Great Britain map file named Great_Britain_10022016.map (dated to remind me) located at Locus > mapsVector.  I downloaded england.osm.db, renamed it Great_Britain_10022016.osm.db and copied it to Locus > mapsVector to sit alongside the same-named .map file.  Menu > Search > Address & Place > Top right menu > Search Address offline is not present, only 'Search address (Online)' in the title bar.  Would my chosen .map name cause a problem (I note in Menu > Maps the file name is displayed without underscores) or is there another issue, possibly?
I note, too, that Search > Address & Place has descriptive text that reads, "Search for addresses and places online".  Am I at the correct path?
Title: Re: old offline addresses discussion
Post by: balloni55 on April 07, 2016, 18:54:02
Hi rename your mapfile
Great_Britain_10022016.osm.map
Title: Re: old offline addresses discussion
Post by: silvermapper on April 07, 2016, 19:03:58
balloni55
I thank you for your immediate and helpful reply.  The top right menu is available now. 
Title: Re: old offline addresses discussion
Post by: wvb on April 07, 2016, 19:57:21
Quote from: voldapet on April 07, 2016, 15:16:20
@wvb
OK it sometimes happens ..enjoy the testing ;)

Hi voldapet,
I tested Belgium and Czech Republic and both work fine.

Ireland however doesn't seem to work as expected.
Reverse work but regular offline search doesn't return any result.
If I try offline search, select Ireland then Dublin and enter Talbot, I get no results.
If I press the center icon, Locus takes me to the center of Ireland where I can see Talbot Street.
If I long press thus street I get the reverse result (with * in front of it).

It would be great if I can get this working as I will visit Ireland next week :-)

Sent from my Xperia Z1 using Tapatalk

Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 08, 2016, 01:34:52
@voldapet I think the issue is more general. It is not a matter of which city (Hobart or Moonah) I type. It seems to me (from popup labels) that roads/ streets that have no street numbers are not displayed in list of offline search results. Using my example - Charles St has street numbers (according to long taps) and is displayed in list of results, Effingham St doesn't have street numbers (according to long taps) and is not displayed in list of results,
Title: Re: old offline addresses discussion
Post by: voldapet on April 08, 2016, 11:58:50
@wvb
Thank you for report. We found the issue in address search system. New version of Locus app is needed and new beta is planned on second half of next week. Probably to late for you :/

@Andrew Heard
Well when you try to search
Tasmania > Moonah > Effingham St - are you able to search Effingham Street, please?
Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 09, 2016, 05:34:32
Quote from: voldapet on April 08, 2016, 11:58:50
@Andrew Heard
Well when you try to search
Tasmania > Moonah > Effingham St - are you able to search Effingham Street, please?
@voldapet - Moonah is not displayed in the offline search list of cities for Tasmania. Moonah is just a suburb of Hobart. I checked my "theory" of some more streets without street numbers, but they were correctly listed, so I still can't explain difference between Charles & Effingham streets. I have however found many other examples of where a long tap label shows a "city" or "street" but the offline search fails.

Here is perhaps a simpler example. Long tap label shows city=Longley however Longley not listed as city in Tasmania. Longley is quite small town. Huon Road is the pink road. Huon Road as OSM way: https://www.openstreetmap.org/way/131480711.
(http://postimg.org/image/tp2spgsoj/)


Title: Re: old offline addresses discussion
Post by: wvb on April 20, 2016, 23:30:27
Quote from: voldapet on April 08, 2016, 11:58:50
@wvb
Thank you for report. We found the issue in address search system. New version of Locus app is needed and new beta is planned on second half of next week. Probably to late for you :/

Yeah, it's only a short visit.
No problem though, I'll manage with online search for now :-)

Glad you found the issue :-)

edit
It works great with Ireland with the new beta. Thanks!
Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 22, 2016, 00:52:36
Quote from: Andrew Heard on April 09, 2016, 05:34:32
@voldapet - Moonah is not displayed in the offline search list of cities for Tasmania. Moonah is just a suburb of Hobart.
Tasmania > city=Hobart > street=Effingham still not displayed - https://www.openstreetmap.org/way/6104778. Most streets around this area (Moonah suburb) are now displayed. Some problem with OSM data? But can find this way when doing an OSM search.
Tasmania > city=Longley > street=Huon Road is now displayed in beta 3.16.2.5.
Am using latest .osm.db file.

edit
I have just done some more random checks for other parts of Australia - similar issue - street not found in search, but correct label displayed for long tap.

Example: Australia > map=oceania.South Australia > city=Adelaide > suburb=Frewville > street=North St > OSM way:  https://www.openstreetmap.org/way/13984883

Locus long tap: *North St > Frewville > Australia. In my opinion display of city (Adelaide) instead of suburb (Frewville) is more useful, and consistent with what is typed when performing offline address search.

Offline address search: South Australia > city=Adelaide > street=North > wrong street is displayed in city center
Offline address search: South Australia > city=Frew* > no city matching that name listed.

In fact, the more addresses I check, the more I find most are missing. Are "suburbs" maybe treated different in Australia to Europe?
Title: Re: old offline addresses discussion
Post by: voldapet on April 22, 2016, 08:44:16
Hi Guys,
there are new databases to test with last Locus beta. However it seems that it is not final version of addresess. I had to change the generator because the latest post from Andrew Heard.
However please try it. Important note - the files are packed in zip archive. Please unzip it and then copy into /Locus/mapsVector/*
Addresses in version 2016.04.01 are available at: https://f251ce6f79d7e55968f89f7dd871af643207490f.googledrive.com/host/0B7v_sPhHE6RgNG1zaXJ0cW1pZUE/

@Andrew Heard
North St. Frewville - well it's little bit nightmare because the border for Adelaide is defined like this https://www.openstreetmap.org/relation/3093825
We can find the suburb but not the Adelaide because the borders. However I've tried some changes (again :) ) and I've created especialy for you custom database for South Australia and Tasmania.
Please  use for South Australia and Tasmania the databases available at:  https://drive.google.com/file/d/0B4z_6chHZhKMd3F4a3Zic3U4Q1k/view?usp=sharing

EDIT:
We need to improve also the Locus app because we didn't expect that one city can contain too many streets with the same name. You get tones of North Streets in Adelaide, when you try to search North Str. with customized databases. But there is no information about suburb and that's quite unusable. So new task for us.

Please test your issues with the customized files.
Thank you
Petr
Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 22, 2016, 11:49:47
@Petr - excellent progress - I can report that map=oceania.Tasmania > city=Hobart > street=Effingham now returns 1 result and map=oceania.South-Australia > city=Adelaide > street=North* returns huge # results.

https://www.openstreetmap.org/relation/3093825: this seems fairly typical, not unusual for Australian cities sorry.

The next follow-on suggestion is that when there are multiple street results with the same name, it would be very useful, almost essential, to list the suburb along with the street name so that streets are uniquely identified. See current problem below:
(http://postimg.org/image/4d2xt0fcn/)

Another UI observation - to move map cursor to "center" of city I must tap the 5 point "center" icon to far right of city name, but to move map cursor to any street in results I simply tap anywhere on the street name - this seems inconsistent. Why not allow user to tap city name to move the map cursor, at present this tap is ignored. It seems to me the "center" icon is not needed.

And a very minor suggestion is that when the street name is initially blank, I don't think the warning/ suggestion marked below is helpful. Suggestion - just leave blank until at least one character is entered.
(http://postimg.org/image/5469zxnsn/)
Title: Re: old offline addresses discussion
Post by: Kona on April 23, 2016, 13:14:37
Quote from: voldapet on March 24, 2016, 12:16:49
@kona
thank you for explanation. We've changed the generation process so in the next version of DB files should be improved


Hi Voldapet,

I have checked London and it works but I think because of the boroughs it's really hard task to find any of the street in London if you do not know the borough.

Basically now if you are looking for any of the street in London there is no such City in 'city' to pick up (which can give results).
So you have to know the borough name, for instance Sutton and choose the street now. (Also no all boroughs available in db, seems like)

England>Sutton>Albion Road, Bingo! We found it, but there is London, or how somebody should know as that street is in Sutton borough in London?

Let me show that in Czech equivalent.

Česká republika>Správní obvod Praha 13>Buharova
I'm sure we prefer this one:
Česká republika>Praha>Buharova ;)

I can imagine as putting all London streets from all 33 boroughs into one bag called London is a lot of work and also complicated as it is in Ozzie land where names are doubled.
(Seems like British prisoners brought that habit over there) ;)

Thank you,


Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 24, 2016, 00:01:38
@Petr, after my previous/ recent 100% success I now since found many more wrong/ no results. Tested with 3.16.2.5 and 3.16.2.7. A few examples:

1. South Australia > Adelaide > Grenfell*: 3 results, but OSM lists 9, for example this one is not listed: https://www.openstreetmap.org/way/174104238

2. South Australia > Adelaide > Haines*: 1 results, but OS lists 3, for example this one is not listed: https://www.openstreetmap.org/way/179758869

3. South Australia > Adelaide > Elsworth*: 0 results, but OS lists 1, for example this one is not listed: https://www.openstreetmap.org/way/82008303
Title: Re: old offline addresses discussion
Post by: syni on April 26, 2016, 13:04:42
I just tried the latest 'osm.db' version (2016.04.01) from Austria. At least in the northeastern part of Vienna (21. District/Floridsdorf), the address search did not find many streets (e.g. Schenkendorfgasse, Andreas-Hofer-Straße, Mengergasse, Pilzgasse...), while a long tap on such a street shows its correct name.
Title: Re: old offline addresses discussion
Post by: voldapet on April 27, 2016, 13:55:56
@kona @Andrew Heard
There are really problems how are the streets associated with the Cities. We're able to associate street with small towns or suburbs but the big capital cities are quite complicated.  It seems that all London streets are associated with "City of Westminster"..ehm :). I guess that I'll be able to fix it till new address database version.

The Adelaide is even worse then London because Adelaide city border is wrong. More over the "Modbury" suburb is defined as standalone town in OSM and lot's of street is associated with Modbury not with the Adelaide. However I've played last two days with South Australia. There is progress but honestly there will be still some issues.

New database for South Australia is available:
https://drive.google.com/file/d/0B4z_6chHZhKMbENibWhUQ3YtVjA/view?usp=sharing

@syni
Thank you for report - I'll check it but I guess that it'll be similar issue as with London or Adelaide...
Title: Re: old offline addresses discussion
Post by: voldapet on April 27, 2016, 16:17:43
@syni
There is little bit improved version of Austria address DB. Please note that file contains only Wien because I can not generate whole Austria right now. Please feel free to test it:
https://drive.google.com/file/d/0B4z_6chHZhKMd3N6bWV4eWpZMDA/view?usp=sharing

Thanks Petr
Title: Re: old offline addresses discussion
Post by: Andrew Heard on April 28, 2016, 03:47:27
Quote from: voldapet on April 27, 2016, 13:55:56
@kona @Andrew Heard
More over the "Modbury" suburb is defined as standalone town in OSM and lot's of street is associated with Modbury not with the Adelaide. However I've played last two days with South Australia. There is progress but honestly there will be still some issues.
@Petr - Modbury suburb - that's weird. I imagine similar problems with many countries/ cities then - I suspect there is nothing really special about South Australia or Adelaide or Modbury. Adelaide population "only" 1.5M, so similar problems elsewhere.

Quote from: voldapet on April 27, 2016, 13:55:56
@kona @Andrew Heard
New database for South Australia is available:
https://drive.google.com/file/d/0B4z_6chHZhKMbENibWhUQ3YtVjA/view?usp=sharing
All 3 examples are now returning correct search results - good progress.
Title: Re: old offline addresses discussion
Post by: syni on April 28, 2016, 09:25:51
Quote from: voldapet on April 27, 2016, 16:17:43
@syni
There is little bit improved version of Austria address DB. Please note that file contains only Wien because I can not generate whole Austria right now. Please feel free to test it:
https://drive.google.com/file/d/0B4z_6chHZhKMd3N6bWV4eWpZMDA/view?usp=sharing

Thanks Petr

No missing streets so far, thanks!
Title: Re: old offline addresses discussion
Post by: gynta on May 17, 2016, 10:34:15
Quote from: menion on May 16, 2016, 22:10:35
...we had today published new version of Locus Map together with public official support for offline addresses.
They are now bound to LoMaps from Locus Store.
So for now it's needed to download new version of LoMaps from Store, to get these databases.

So let's archive this beta thread...

New posts: http://forum.locusmap.eu/index.php?topic=5016.0