![]() |
2010-07-01
, 22:21
|
Posts: 14 |
Thanked: 21 times |
Joined on Nov 2009
@ Moscow
|
#2
|
![]() |
2010-07-04
, 07:23
|
Posts: 40 |
Thanked: 18 times |
Joined on May 2008
|
#3
|
![]() |
2010-08-25
, 15:55
|
Posts: 4 |
Thanked: 0 times |
Joined on Feb 2010
|
#4
|
![]() |
2010-08-26
, 07:37
|
Posts: 40 |
Thanked: 18 times |
Joined on May 2008
|
#5
|
![]() |
2010-09-08
, 08:07
|
Posts: 40 |
Thanked: 18 times |
Joined on May 2008
|
#6
|
![]() |
2010-09-14
, 08:01
|
Posts: 4 |
Thanked: 0 times |
Joined on Feb 2010
|
#7
|
Hi Tomas. Can you run it with -d switch? BTW do you have gdal binaries installed and they are in the PATH?
![]() |
2010-09-15
, 06:56
|
Posts: 40 |
Thanked: 18 times |
Joined on May 2008
|
#8
|
![]() |
2010-09-26
, 11:40
|
Posts: 4 |
Thanked: 0 times |
Joined on Sep 2010
|
#9
|
![]() |
2010-09-26
, 13:08
|
Posts: 40 |
Thanked: 18 times |
Joined on May 2008
|
#10
|
Zoom levels are ok, but x and y differs...
For example: my generated tree contains 8/145/177 and it's identical to oss 8/145/78 and google's x=145&y=78&z=8
I've made a bit of development since then. A new set of scripts are written in Python, so they can be used with Windows as well. The scripts requirements are: the Python (tested with v. 2.5.2 and 2.6.6) with the Python imaging library, the GDAL tool set (tested with v. 1.6.3 and 1.7.2), optionally numpy package and pngnq tool
Here is how it's all implemented:
1) bsb2gdal.py or ozi2gdal.py -- creates geo-referenced GDAL .vrt file, optionally cropping the raster;
2) gdal4tiles.py -- creates a tile set tree directory for every chart using gdal2tiles.py from GDAL; (gdal2tiles.py also creates a couple html files, so the result can be checked with a browser).
3) tiles-merge.py -- sequentially merges a few tile sets in a single one to cover the area required;
4) tiles-opt.py -- compresses png tiles into a palleted form using pngnq tool;
5) tiles2mapper.py -- creates a sqlite3 file from a tile set tree. This file you then just copy into a maemo-mapper maps directory. You'd also need to create a reference to this file at the maemo-mapper repository settings.
For options list use "--help"
There is also kml2gdal.py script which helps geo-referencing any png or jpeg raster using Google Earth: you import a raster into the Google Earth stretch it accordingly, export it as kml file, then kml2gdal.py creates a GDAL .vrt from it.
For poi2mapper.py functionality see http://talk.maemo.org/showthread.php?p=810365
Below are the latest version of the scripts
UPDATE!
Please ignore these files. A new version of these scripts are available from here: http://code.google.com/p/tilers-tools
Last edited by vadp; 2011-05-17 at 11:54. Reason: scripts location updated