[OSM-dev] Using Freemap map rendering code for OSM itself

SteveC steve at asklater.com
Wed Mar 29 16:16:43 BST 2006


* @ 27/03/06 01:37:48 PM Nick.Whitelegg at solent.ac.uk wrote:
> Some very nice work's been done with SVG but it would also be good to have 
> 'pretty' maps on OSM itself.  Would there be interest in using my Freemap 
> rendering code on the OSM server itself? It needs some work but it would 
> be a starting point.  At the moment it renders many tagged segments and 
> nodes and also includes NASA SRTM height data.
> 
> At the moment it communicates via the API. If it were to go on the main 
> OSM server, should it continue to communicate via the API, or should it 
> interact with the database itself?
> 
> The code's in PHP, as that is the scripting language I have most 
> experience with, so if anyone wanted to hack on it they'd need to either 
> know or be willing to pick up PHP. It uses the GD library to render PNGs.
> 
> Another thing I could do is define an XML schema for look and feel, much 
> as Etienne's done with SVG.
> 
> I'll put it in subversion later today. In the meantime, any interest?

Yeah

The dev server has PHP running, and the advantage of php is that the
maths will probably be faster. Not having looked, the downside might be
that your code runs in OSGB?

So, hack away and I'm happy to make it live when working.

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list