maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Custom Maps for Maemo Mapper (https://talk.maemo.org/showthread.php?t=9504)

davstockholm 2010-07-14 20:54

Re: Custom Maps for Maemo Mapper
 
Quote:

Originally Posted by MarkW (Post 102526)
so I figured out a simple way to create a map repository using the Map Cruncher output. I'm interested in getting nautical charts into Maemo mapper, and here's what I did:

When you've run Mapcruncher, you're left with tile files in the same format/naming convention that Virtual Earth uses internally. So what's left to do is roll your own Virtual Earth style map repository, which can be done simply by dumping the tile files into a directory of a handy web server and creating a repository in Maemo Mapper. I have a web server running locally on a computer on my home network with an address of 192.168.0.9, and the tiles are in a web server directory called tiles, so the url looks like:

http://192.168.0.9/tiles

and the Maemo mapper repository url looks like:

http://192.158.0.9/tiles/%0s.png

Then I used the maemo mapper auto downloading to pull in the chart. Using another repository, I navigated to the chart area, then switched to my chart repository and scrolled around to bring in the chart.

Hi,

I tried the method above but it did not work. Perhaps the latest Maemo Mapper version changed way of handling Virtual Earth repositories?

This is what I did. I rendered the tiles of a scanned TOPO map using MapCruncher and it worked fine. Mapcruncher builds a demo HTML together with the tiles to show that they can be read. Everything was successful.

Then I applied your procedure, setting up a webserver, creating a new repository in Maemo Mapper as described. It does not work, white screen on the related map location.

Does this procedure still works in the latest Maemo Mapper?

Thank you in advance!

mardy 2010-07-15 05:05

Re: Custom Maps for Maemo Mapper
 
It should still work in Mappero, but you need to be careful when configuring the tile source: you must set the "type" field to QUAD_ZERO.
Let me know how it goes. Is your web server public?

davstockholm 2010-07-15 18:07

Re: Custom Maps for Maemo Mapper
 
It works! It was just a problem with folder names. The tiles profile in Mappero is exactly like the Virtual Earth one.

The URL looks like:
http://192.168.2.100/Layer_NewLayer/%0s.png

This is a good method to include raster maps in mappero! MapCruncher makes the calibration very easy. Give it a try!

Cheers,
Davide


All times are GMT. The time now is 09:03.

vBulletin® Version 3.8.8