Is there zoom level 19 ?

883 views
Skip to first unread message
Message has been deleted

S.by

unread,
Apr 11, 2012, 6:05:12 PM4/11/12
to Osmand
Hello,

Is there zoom level 19 ?

In the software , there isnt an option to enter to zoom level 19 ,
only maximum 18 .

So why the OsmAndMapCreator can create map up to zoom 19 ?

Pavol Zibrita

unread,
Apr 12, 2012, 2:55:36 AM4/12/12
to osm...@googlegroups.com
Hi!

  I think zoom level 18 is default max, however a tile source can define its max and min level.
And osmand tries to follow that. If I'm right.

Best regards,
Pavol

S.by

unread,
Apr 12, 2012, 9:37:27 AM4/12/12
to osm...@googlegroups.com
I didn't notice there isn't any zoom level 19 on the android software when i prepared sqlitedb map on the pc.

i don't think the android software can zoom beyond level 18.

I doesn't show the number 19 and also if i compare it to what i see on the pc and how zoom it actually do in the android software.... It cant zoom beyond zoom 18 on the android.

But, ... i hope that (and according to the details i saw on the pc map ) there isnt any more revealed details beyond level 18 .  

David White

unread,
Apr 12, 2012, 11:44:42 AM4/12/12
to osm...@googlegroups.com

For what it's worth in vector maps you can go to level 22 though it's not much use...

--
Sent from Galaxy S, please excuse brevity
DarkyROM 2.3.6

dpuschek

unread,
Apr 14, 2012, 5:43:22 PM4/14/12
to Osmand

Hm, I'm using sqlite maps created with mobac up to zoomlevel 20.
Indeed, I already opened an issue (ID 896), because I can't use it
directly as base map! But if you use the vecor map as base, you could
zoom to higher zoomlevels in overlay tile maps. So I hope the
limitation to zoomlevel 18 at base tile maps should be abolished soon.

S.by

unread,
Apr 16, 2012, 10:52:31 AM4/16/12
to Osmand
"dpuschek" ... is there any way way create sqlitedb files in MOBAC to
google maps ?

dpuschek

unread,
Apr 17, 2012, 12:28:03 PM4/17/12
to Osmand


On 16 Apr., 16:52, "S.by" <shaib...@gmail.com> wrote:
> "dpuschek" ... is there any way way create sqlitedb files in MOBAC to
> google maps ?

Yes, you can create your own osmand-sqlitedb from google maps with
mobac. But mobac comes without google maps support anymore, so you
have to put own xml-mapsource-files to mobac/mapsources.

S.by

unread,
Apr 17, 2012, 2:49:52 PM4/17/12
to Osmand
Thanks for the reply , dpuschek

Please specify exactly where this folder is exactly because i cant
find it .

S.by

unread,
Apr 17, 2012, 3:02:02 PM4/17/12
to Osmand
I have found out the xml files ...

Please specify how to do it exactly .

What should be the inserted line in which file name ?

S.by

unread,
Apr 17, 2012, 3:44:18 PM4/17/12
to Osmand
O.k i have found that the folder needs to be named " Mapsources "

and the file " onlinemapsources.xml"

Here is the line i insert for google in OSmAndMapCreator

http://mt1.google.com/vt/lyrs=m@175000000&hl=iw&src=app&x={$x}&y={$y}&z={$z}&s=

Hrere is the Insetructions from the MOBAC wiki

<?xml version="1.0" encoding="UTF-8"?>
<customMapSource>
<name>Custom OSM Mapnik</name>
<minZoom>0</minZoom>
<maxZoom>18</maxZoom>
<tileType>png</tileType>
<url>http://tile.openstreetmap.org/{$z}/{$x}/{$y}.png</url>
<tileUpdate>None</tileUpdate>
<backgroundColor>#000000</backgroundColor>
<ignoreErrors>false</ignoreErrors>
<serverParts></serverParts>
</customMapSource>

Which line should replace the url line ?

S.by

unread,
Apr 17, 2012, 4:21:50 PM4/17/12
to Osmand
I have may got the version of the small program wrong , but the line
of the url should be the same ( i think)

Here is a multilayer version from the read-me MOBAC

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customMultiLayerMapSource>
<name>Custom OSM Mapnik with Hills (Ger)</name>
<tileType>PNG</tileType>
<layers>
<customMapSource>
<name>Custom OSM Mapnik</name>
<minZoom>0</minZoom>
<maxZoom>18</maxZoom>
<tileType>PNG</tileType>
<tileUpdate>None</tileUpdate>
<backgroundColor>#000000</backgroundColor>
</customMapSource>
<customMapSource>
<name>Custom transparent hillshade</name>
<minZoom>0</minZoom>
<maxZoom>18</maxZoom>
<tileType>PNG</tileType>
<tileUpdate>None</tileUpdate>
<url>http://www.wanderreitkarte.de/hills/{$z}/{$x}/
{$y}.png</url>
</customMapSource>
</layers>
</customMultiLayerMapSource>

S.by

unread,
Apr 18, 2012, 8:32:37 AM4/18/12
to Osmand
I have a working version ...

but a i cant see zoom level 1 -6 .

<url>http://khm1.google.com/kh;x={$x};y={$y};z={$z};s=Gal</url>

S.by

unread,
Apr 18, 2012, 9:57:26 AM4/18/12
to Osmand
I cant see anything now .

somebody blocked me ?

Pavol Zibrita

unread,
Apr 18, 2012, 10:05:08 AM4/18/12
to osm...@googlegroups.com
Hm, there might be some limits to download tiles. Google don't likes (read forbids) bulk downloads.
So yes, you might reached some limit.

Best regards,
Pavol
Message has been deleted

S.by

unread,
Apr 18, 2012, 10:59:21 AM4/18/12
to Osmand
This was a small experience . Fast download and polygon selection.
At least Have a polygon selection in OsmAndMapCreator .
I did manage to download a zone within a zone (a ring) , very
economic.

On Apr 18, 5:55 pm, "S.by" <shaib...@gmail.com> wrote:
> The was a small experience . Fast download and polygon selection.
>
> At least Have a polygon selection in OsmAndMapCreator .
>
> I did manage to download a zone within a zone (a ring) , very
> economic.
>
> On Apr 18, 5:05 pm, Pavol Zibrita <pavol.zibr...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hm, there might be some limits to download tiles. Google don't likes (read
> > forbids) bulk downloads.
> > So yes, you might reached some limit.
>
> > Best regards,
> > Pavol
>

S.by

unread,
Apr 18, 2012, 12:07:02 PM4/18/12
to osm...@googlegroups.com

Thanks for the information dpuschek.

I also cant answer directly to your mail now. 

maismap

unread,
Jul 8, 2012, 2:02:07 PM7/8/12
to osm...@googlegroups.com
Hi, I encountered the same issue trying to prepare offline maps with OsmAndMapCreator:

- I'm trying to cache Google Maps tiles using OsmAndMapCreator into an sqlite database
- I'm caching every available zoom level, ie. 1 to 19. Everything works dandy, OsmAndMapCreator correctly generates the database
- Check the database with SQLite Browser, the info table has a maxzoom value of "19"
- Copy it to my osmand folder
- After telling osmand to use my cached tiles via "define view" I can only zoom to level 18 (the "+" zoom button is greyed out at level 18) and thos even though the level 19 tiles are in the database

I've tried to offline the same zone using Mapnik as a source, the database is correct and osmand will displays the various zoom levels correctly
I've tried to cache the same zone with Mobile Atlas Creator 1.9.8 (with Google Maps as an added custom source), and it also works correctly :  osmand will displays the available zoom levels from 1 to 19. Osmand will even let you zoom up to level 21, which is very handy for reading the tiles on a small screen - even though it's just a digital zoom of the level 19 tiles, still, it's very useful that you can zoom a bit more than the last available zoom level.

Here's how I ended up fixing the problem (though it's a bit of a hack):
- I've edited my OsmAndMapCreator sqlite database with SQLite Browser.
Under browse data tab, Table "Info", I've replaced the minzoom value of "1" with "-2" and the maxzoom value of "19" with "17" (which is the values Mobile Atlas Creator uses), then of course "Apply changes"

And finally, I've reuploded the database to my osmand phone folder, and osmand will display the tiles up to zoom level 19, and with the two extra "digital" zoom level, just the way Mobile Atlas Creator generated SQLite databases behave.



maismap

unread,
Jul 8, 2012, 2:08:47 PM7/8/12
to osm...@googlegroups.com
One more thing, when I check the info under Setting > "Offline Data (download) > Online maps (tiles)

For SQLite tiles databases made with OsmAndMapCreator:
The Google Maps cache tiles always have "16" under "Maximum zoom" (even though the database has the tiles up to 19) whereas tiles that use Mapnik as a source will display the correct zoom level number under "Maximum zoom"
Reply all
Reply to author
Forward
0 new messages