On Sun, Jul 20, 2008 at 03:10:12PM +0200, Sven Lankes wrote:

> I have been using the [EMAIL PROTECTED] /MapOf/ page to get a png of the 
> areas -
> example:
> 
> http://tah.openstreetmap.org/MapOf/?lat=51.2582&long=6.3935&z=14&w=800&h=600&format=png

I had to reimplement MapOf in Python, as a tile file is not a single file 
anymore on the server, but needs to extracted from a tileset blob.
The PHP scrip couldn't do this, and as I have written the new server in python, 
I did a crude reimplementation of the thing in python.
It could only do PNG format and rounded up to the next 256 pixel size. As 
people have complained, I have rewritten the thing yesterday to support "jpeg" 
format and to return the correct image size. (The offset is still somewhat 
wrong though, so you won't get a perfectly centered image, patches welcome).

However, as the tah server became unresponsive yesterday (among other things 
SSH seems dead, so I can't log in anymore), I can't fix up things. And 
honestly, before fixing MapOf, I'd rather prevent the server from crashing to 
to memory outage.

Either:
- you wait until I get to it, when I can log into the server again
- use OJW's url to do it
- send patches that fix it and send back the correct image excerpt.

spaetz

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome

Reply via email to