Locus Map - forum

Development => Other features => Topic started by: jusc on June 09, 2011, 10:01:47

Title: vector maps
Post by: jusc on June 09, 2011, 10:01:47
THIS POST IS NOT FOR MENION, BECAUSE HE DOESN´T WANT TO TALK ABOUT VECTOR MAPS BEFORE JULY  :mrgreen:

Playing with the very new feature "vector maps" with our favourite app  :mrgreen:   I see some funny or strange behavior.

On my Defy (Android 2.1) the same screen or zoom level differs from my Galaxy PT-1000 Android 2.2.
Please scroll the screenshots down for more differences. With Defy there is another attribution as on PT-1000 (no Openstreetmap)

And the germany map seems to have a bug !!not Locus!! ==> goto Köln (Cologne) an please try a few zoom levels.
J.
Title: Re: vector maps
Post by: durian on June 10, 2011, 15:16:25
I saw the Köln problem - but strangely it disappears again when you zoom in more.

I was wondering - did anyone else try to make maps with osmosis/mapsforge?

-peter
Title: Re: vector maps
Post by: Menion on June 12, 2011, 13:24:50
attribution fixed but what is problem with scale at bottom? It's screenshot from different phones right?
Title: Re: vector maps
Post by: jusc on June 13, 2011, 13:16:15
yes, that are two different phones. Galaxy Tab 7" and Defy 3,7".
But I wonder if the same map zoom (19) shouldn´t show exactly same screen? So the scale should the same too?

I played a little ==>
zoom 17 Scale  Galaxy 30 km  but Defy 20 km
zomm 18 Scale Galaxy 10 km  and Defy 10 km   :?:

J.
Title: Re: vector maps
Post by: Menion on June 13, 2011, 13:34:52
looks you're confused :) scale depend on screen size, so galaxy tab has probably more pixels on width so scale is a little bit longer. Anyway scale is now rounded to nice numbers so, you can check that scale 10km should show same width on map on both phones even when you take some measure, it will be different, if you understand
Title: Re: vector maps
Post by: frige on June 21, 2011, 14:56:44
not sure if my question relates mor to vector maps or file format - so put it in both discussion threads:
With the upcoming option of using vector maps (tried yessterdy the testvertion - already great !): following maps could be a good option:

http://wiki.openstreetmap.org/wiki/OSM_ (http://wiki.openstreetmap.org/wiki/OSM_) ... n/Download
For example at: http://downloads.cloudmade.com/ (http://downloads.cloudmade.com/) there arte lots of actual cards based on OSM in this format.
Used this data when i was stil on Windows Mobile device using "Glopus" program. Glopus could read gmapsup.img files.
Gave a lot of nice options - e.g. there werde overlay files for having altitude lines for europe,...
Started to play with osmosis - but not so easy with small PCs ... and not so easy to generate subsets of countries (e.g. plan a vacation in Canada - but whole country will be very large file - with cloudmap i can download just a state like NovaScotia..)
Not sure if this format can be used / easily converted to the mapsforge format - but would help a lot to avoid having all maps for the world beeing on servers in differetn formats , but based on same OSM data..

But having vector data is a big big step forward ! Thanks a lot !
frige
Title: Re: vector maps
Post by: ppiter on June 21, 2011, 21:34:20
Using the garmin vector format would be great because there are a lot of maps from openstreet map in garmin format i.e. wanderreitmap. It is not illegal to use *.img the format from garmin. The user has lots of possibilities to use standard osm maps. So please think about support of garmin format.
Title: Re: vector maps
Post by: Menion on June 22, 2011, 06:06:40
hmm unfortunately this is currently not in my time and power to quickly write vector map renderer. I use mapsforge library to render vector maps now, so it depend on support from their side
Title: Re: vector maps
Post by: Menion on June 22, 2011, 12:51:46
OK, it's probably time to move on with vector maps, what you think? And here is nice topic from Jusc that should be used now :)

  So, the main thing that block releasing of vector maps in actual format, which I think is enough useful, is source for maps data. I was asking on MapsForge web if they do not want to create some shared place with generated maps, but they don't.

  I was also planning to create own server that will generate maps and some downloading tool in application for direct loading. Only problem here is that I'm experienced mainly with Java (desktop, mobile, andoird), but not with server J2EE, or some other stuff that are useful on server. One my friend (that already created addon for FourSquare) may help with creating server on cloud system (probably here http://www.virtualmaster.cz/en/ (http://www.virtualmaster.cz/en/). Anyway still is missing one big part. Some automatic downloading prepared osm maps (probably from here http://download.geofabrik.de/osm/ (http://download.geofabrik.de/osm/)) and generating required maps. This all should be done probably automatically once a month (should be enough? - depend on CPU and RAM it will need). So question is, if anyone here should help (and help a lot because I'm not also experienced with these OSM stuff - so doing it by myself should delay whole process for next month) and create on empty server what is needed. This should be of course done as payed job because I expect that this will take some time.

  I also plan to create two versions of vector map support. Free usable version (again with some limitations) and payed with some extra settings. Money from payed version should be then used to paying server (I expect that it will cost a lot mainly due to big bandwidth needed to map distributing), anyone who will take care of server stuff and i was also thinking about sending some percent of income to authors of MapsForge as thanks for their work ...

  So ... :) that's all for now ...
Title: Re: vector maps
Post by: wvb on June 29, 2011, 21:17:01
Hi,

I just started using Locus a few days ago and converted a vector map from the geofabrik.de website for my country (Belgium)
it works really great!
the vector map allows me to have all zoomlevels in one tiny map thus taking away the need to download zoomlevels from OSM

I really look forward to expansion of this feature!
Also you did a very nice job in creating Locus, it's a well layed out application with a lot of options + it's stable!

A few questions about vector maps (it's all new to me)
- do they store streetnames in searchable format and will this allow us to search for a place and navigate to it by compass without internet connection?
- do vector maps allow layout customisation (like OSM, you have Mapnik etc..)

thanks in advance for your time!
Title: Re: vector maps
Post by: ppiter on July 08, 2011, 16:27:15
Thankx for vector map download offer! One problem for me specially with vector maps is following: I'm moving along the border from two german states f.i. bayern and baden-wurttemberg. But I can check only one vector map for viewing in my android. How can I see both maps on screen at the same time?

Thank you!
Title: Re: vector maps
Post by: berkley on July 11, 2011, 09:05:44
Same here! ;)

Image you life in a 3 country corner. Happens for example with Germany, Belgium and the Netherlands. It is probably very annoying, if you have to switch your vector maps very often.

Did I miss it or is it already implemented in Quick Map Switch?
Title: Re: vector maps
Post by: Menion on July 11, 2011, 09:10:29
no it's not implemented in quick map switch. Here is one think that I'm very worried. That everyone will want some more functionality to vector maps. But should be fine if all consider that I just use external library and if any functionality isn't in this library, best is post issue on code.google.com of this lIbrary here (//http://code.google.com/p/mapsforge/) and then just wait if anyone do it. And then wait again till I implement it :)
Title: Re: vector maps
Post by: berkley on July 12, 2011, 06:40:47
Hi there,

so I created Issue 150: http://code.google.com/p/mapsforge/issues/detail?id=150 (http://code.google.com/p/mapsforge/issues/detail?id=150)
If anybody wants to support this issue, please don't write things like "+1", "same here" or "great idea". Just rate it and subscribe. The higher the subscription rate, the higher the priority, the better the chances they make the library. And that's finally what we want.
 :mrgreen:

Some short question to all the great mappers in this forum:
(1) Are the vector maps based on OSM because of licensing issues or because of technical limitations of other map sources?
(2) Are the boundaries of vector maps given by some server or is it possible to create your very own OSM vector map?
(3) Is it at least theoretically possible to use some other map source than OSM (Google, OutdoorActive) to create a vector map?

Cheers, berkley
Title: Re: vector maps
Post by: durian on July 12, 2011, 07:32:10
Quote from: "berkley"Some short question to all the great mappers in this forum:
(1) Are the vector maps based on OSM because of licensing issues or because of technical limitations of other map sources?
(2) Are the boundaries of vector maps given by some server or is it possible to create your very own OSM vector map?
Mostly licensing I think, plus the fact that the OSM data is documented.

You can easily create your own. If you downloaded the whole of europe for example, you can use osmosis to cut out the bit you want, and save the data in a file. Then run the vector map creator. If you just download a country from for example cloudmade, then these have also been extracted from the whole of the planet OSM data.

Quote from: "berkley"(3) Is it at least theoretically possible to use some other map source than OSM (Google, OutdoorActive) to create a vector map?
Data is data :) if the format is described, then it should at least in theory be possible...

-peter
Title: Re: vector maps
Post by: Menion on July 14, 2011, 19:12:12
Ok, so actual solution is not a good solution :))

Hi Menion,

This email is an automated notification from Dropbox that your Public links have been temporarily suspended for generating excessive traffic. Your Dropbox will continue to function normally with the exception of Public links.

This suspension is temporary (3 days for the first time).

Please visit Dropbox support if you have any questions.

- The Dropbox Team

Hmm, so any tips for not too expensive data storage?
Title: Re: vector maps
Post by: berkley on July 14, 2011, 19:23:41
Just wanted to post here, that your server is down... :(

What amount of data traffic do you need?
I guess complete world in vector maps are about 50GB?
Title: Re: vector maps
Post by: Menion on July 14, 2011, 19:43:10
nono, it's about 25GB ...

I expect every user per month around 1GB, so it's more then 100TB ...

hmm by (http://aws.amazon.com/cloudfront/ (http://aws.amazon.com/cloudfront/)) it's around ... hmm ... 7400$ per month ... ehm Nice :) damn

ehm, so this is not a solution. Only solution should be payed download
Title: Re: vector maps
Post by: berkley on July 14, 2011, 19:54:34
Ok... not good. What do you mean by "paid download"?
Should the end user pay for the download?
Title: Re: vector maps
Post by: rijackson741 on July 14, 2011, 22:11:37
Quote from: "menion"I expect every user per month around 1GB

If there are no restrictions that might be true, because people will do stupid things like downloading every US state or every European country just in case they want to look at them! If you restrict it though, then I think that estimate is high. If you download a few 100Mb country, and update that once every 6 months, that is not so bad. You could restrict it by just cutting people off, or you could do it by making them pay, or you could just provide a limited, but dedicated bandwidth. See //http://www.crucialp.com/dedicated-servers/unmetered-dedicated-bandwidth-dedicated-servers.php Unless I misunderstand the site, the total download size per month is simply limited by the server bandwidth. A 50Mbit server would give you about 15Tb per month. The limited bandwidth would discourage the idiots from massive downloads of the entire world (and maybe you could also enforce a weekly or monthly cutoff), and it would cost you $550 per month. Still high enough that maybe we would have to pay to download, but at least we would have to pay less  :mrgreen:
Title: Re: vector maps
Post by: flybyray on July 14, 2011, 23:30:52
Why not using some sort of torrent for distribution?
Does Linus Torvalds has a wishlist for git? :D I would wish me a git with torrent transfer.
Title: Re: vector maps
Post by: berkley on July 15, 2011, 08:09:05
Quote from: "flybyray"Why not using some sort of torrent for distribution?
Does Linus Torvalds has a wishlist for git? :D I would wish me a git with torrent transfer.

This surely would work for you, as you seem to be an advanced user with some knowledge of downloading and putting the files to the right place. Please have  look at installed numbers of Locus Free and Pro. I bet there are less advanced users than you. There has to be a solution that works with the easy quality than before. Just click "download" in the app and your map gets downloaded.
Title: Re: vector maps
Post by: boboC550 on July 15, 2011, 08:31:20
And what about creating individual paid app for each vector map, as an add-on? For exemple the map of Austria would cost 1 EUR (map of France 2 EUR, depending on the amount of data to download) and that would pay off the price of server sharing. The question however is how to pay the update of new vector maps... Just an idea...
Title: Re: vector maps
Post by: berkley on July 15, 2011, 08:40:50
And what about app piracy?

Stolen apps will cause traffic too without paying for the service...
Title: Re: vector maps
Post by: boboC550 on July 15, 2011, 09:16:26
Yes, that is a problem. And what about an in-app paying? I heard something about it... It is used mainly in games but I have never seen it (or was it in Tank Hero?)
Title: Re: vector maps
Post by: Menion on July 15, 2011, 09:19:27
yes this is probably solution. Seems only working solution for me. When I create some protection mechanism then this should work. All other services are not stable, usually is required any captcha or something that do not allow directly download files. And also .. more then 100k users is more then 100k users and this overload almost every service :)
Title: Re: vector maps
Post by: MaleSmurf on July 16, 2011, 01:15:36
I just found the "addressdb" folder on the mapsforge ftp-server (//ftp://ftp.mapsforge.org/addressdb/europe/). There you can find files (i.e.  country.sqlite) in SQL database format. Is it possible to use these files working in Locus together with the vector maps???
 
I opened such a file and it contains cities, boroughs, postcodes, roads, roads_postcodes, roads_boroughs. Every road is listed with lat/lon  8-)
Title: Re: Re: vector maps
Post by: wvb on July 16, 2011, 07:44:29
Quote from: "MaleSmurf"I opened such a file and it contains cities, boroughs, postcodes, roads, roads_postcodes, roads_boroughs. Every road is listed with lat/lon  8-)
Now this sounds interesting!
If we could locate a street while being offline for compass navigation..
Great for when on vacation..


Sent from my GT-I9100 using Tapatalk
Title: Re: vector maps
Post by: Ted Quinlan on July 16, 2011, 11:43:02
Wouldn't the first step be to remove the option of downloading vector maps from the free version? I don't know the free/pro ratio but I suppose that there are many more free than pro users. As a second step you could think about per-map-payment in the pro version...

Sent from my Defy
Title: Re: vector maps
Post by: rijackson741 on July 16, 2011, 14:38:16
Menion. Even if we have to pay for the download service (which I don't mind doing; I assume the cost would not be that great), we would still be able to load our own vector maps directly onto the SD card, correct?
Title: Re: vector maps
Post by: rijackson741 on July 17, 2011, 16:17:35
Someone just pointed me to this: //http://www.fasthosts.co.uk/dedicatedservers/?utm_source=website&utm_medium=website&utm_content=panel-ds&utm_campaign=fhhomepage. Unlimited bandwidth, no caps, no additional bandwidth bills: //http://www.fasthosts.co.uk/dedicatedservers/unlimited-bandwidth/. Given what other people charge, it's hard to believe you can get this sort of service at the offered prices. It's what they claim though.

The only possible issue is how much RAM you need. If you are intending to do the map conversion on the server then the base offering is not nearly good enough. Perhaps they could do a special server for you with more RAM, but everything else at minimum levels though.
Title: Re: vector maps
Post by: Menion on July 17, 2011, 18:17:45
nono, I invested to my home computer, so it's enough powerful to generate whole world after two days ... good enough ;)

I have some similar offer in czech so I'll check this. If there will be some constant (even slow) speed and unlimited bandwidth, this should be enough for me. Thanks guys for tips and info ;)