maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   uk ordnance survey maps (https://talk.maemo.org/showthread.php?t=18946)

pixelseventy2 2008-04-24 15:16

Re: uk ordnance survey maps
 
Are you generating a bunch of files called something like 00012345567.png?? These are the only files you need. Everything else is irrelevant. I'll re-run a crunch over the weekend (can't do it before then) and document the exact steps I take.

pixelseventy2 2008-05-11 18:29

Re: uk ordnance survey maps
 
Here are step-by-step instructions for rendering images with mapcruncher
  1. launch mapcruncher
  2. add source map
  3. map your points, the more the better. I like using points like railways crossing roads, or crossroads
  4. under "source info" select max zoom - 15 is good for 50k maps, 16 for 25k maps
  5. click "render"
  6. select "render to file"
  7. select an "output folder"
  8. uncheck "Copy source maps and crunchup data to output folder"
  9. uncheck "Permit composition"
  10. Click "start"
  11. wait, a long time for a big map area
  12. in a folder called "Layer_NewLayer" under your chosen output folder will be a lot of .png files, (see screen shot)
  13. upload these files to a folder on your web server (e.g. www.myserver.com/maps/tiles)
  14. add a new maemo-mapper repository with the following url format: http://www.myserver.com/maps/tiles/%0s.png

Hope that helps

http://www.pixelseventy2.net/pixel/a...her_output.JPG

twynog 2008-05-11 21:19

Re: uk ordnance survey maps
 
Wow - at last I can do it, and all thanks to you. If you feel like telling me how you worked out how to do it I would be very interested, but don't worry if you're busy.

The crucial bit of information was the file tree Layer_New Layer. I would never have thought of looking there.

One of the things that puzzles me is this: there are 49 odd tiles just for my home town (Llandovery). If I want to do the whole of Wales do you just keep adding .png files to the same folder? I guess you can set it to download only the tiles from the district you are actually in?

All the best and thanks again

Dick Turner

pixelseventy2 2008-05-12 08:18

Re: uk ordnance survey maps
 
@twynog,

Every time you do a new crunch, just upload the new images. There may be some duplicates created, but that shouldn't affect anything. Maemo-mapper will just download enough images to cover the current view and a bit more, or you can manually download a bigger area.

tme 2008-05-12 11:10

Re: uk ordnance survey maps
 
wouldn't it be nice if you could just grab the OS map tiles from say
http://openspace.ordnancesurvey.co.uk, merge, transform and crop them, and
then serve them up to maemo-mapper?

one might imagine this could be done with just 264 lines of perl cgi and it'd
be painless and slick and smooth and just ever so slightly against the terms
of service. which is a shame because it's very nice.

pixelseventy2 2008-05-12 11:25

Re: uk ordnance survey maps
 
Quote:

Originally Posted by tme (Post 180705)
and just ever so slightly against the terms
of service

I've only had a quick look over the license, but if it's for your own use wouldn't it be allowed?

Duncan 2008-05-12 17:09

Re: uk ordnance survey maps
 
Quote:

Originally Posted by pixelseventy2 (Post 180708)
I've only had a quick look over the license, but if it's for your own use wouldn't it be allowed?

No, that's definitely excluded:
Quote:

The Developer wishes to create one or more new web-based software applications that shall utilise Ordnance Survey data and be accessed by third parties for non-commercial use.
(my emphasis). So it needs to be a web-based application, and it has to be for third parties not just yourself. Also in the FAQ they say it "must be used within a publicly accessible application".

tme 2008-05-12 23:00

Re: uk ordnance survey maps
 
ok - here's what it looks like:

http://img223.imageshack.us/img223/9...3431ha4.th.png

btw, i see some guy has a proxy to overlay the os maps on google earth - so maybe some flex in the terms.

Duncan 2008-05-13 20:28

Re: uk ordnance survey maps
 
Quote:

Originally Posted by tme (Post 180908)
ok - here's what it looks like:

http://img223.imageshack.us/img223/9...3431ha4.th.png

btw, i see some guy has a proxy to overlay the os maps on google earth - so maybe some flex in the terms.

That looks ever so pretty.
Did you mean http://wheresthepath.googlepages.com/
The full-screen OS map complains about vector mapping not supported but otherwise seems to work fine.

tme 2008-05-14 10:33

Re: uk ordnance survey maps
 
Quote:

Originally Posted by Duncan (Post 181230)
That looks ever so pretty.
Did you mean http://wheresthepath.googlepages.com/
The full-screen OS map complains about vector mapping not supported but otherwise seems to work fine.

actually, i was thinking of this one:
http://www.brock-family.org/gavin/go...th/osmaps.html

however i see that multimap is now using mercator projection for its os maps
so a new url format for mm should do the trick. mm only supplies the os topo
maps - higher maps are normal teleatlas version.


All times are GMT. The time now is 20:06.

vBulletin® Version 3.8.8