[OSM-dev] Installing the Rails port.

Jon Burgess jburgess777 at googlemail.com
Fri Jul 11 16:41:52 BST 2008


On Fri, 2008-07-11 at 16:22 +0100, Steve Hill wrote:
> On Fri, 11 Jul 2008, Jon Burgess wrote:
> 
> > There are a large number of components involved with the slippy map
> and
> > export tab. These all use data from the API, the Mapnik or
> Osmarender
> > tile servers and these all have different setup requirements. If you
> > want more details then you need to be more specific on what exactly
> you
> > want to achieve.
> 
> Currently, OpenPisteMap uses a fairly simple web page with OpenLayers
> to 
> display the Mapnik tiles.  My intention is to replace that web page
> with 
> one that will give me search and export functions using my existing
> Mapnik 
> tiles and PostGIS database.  OpenPisteMap uses the OSM dataset,
> imported 
> into PostGIS from the planet file about once a month and the Mapnik
> tiles 
> are rendered from that database.

Exporting with your own tiles should be straight forward. Several of the
export formats use the Mapink Cairo renderer that was added about 6
months ago. You'll need a version of mapnik that includes these changes
and is compiled with the appropriate Cairo libraries available.

The search system uses another database which is held on
gazeteer.openstreetmap.org. I guess this should be OK for you though.

> Presumably the bits which use the OSM API can query the main API
> server 
> (no need to run my own copy of the API)?
> 

Yes but be aware that the API does not cover everything. For example all
the pages with user related information expect to query data in the
local database which isn't publicly accessible. You could start having
your own users registering locally but you won't be able to directly
access the information from the main site.

	Jon






More information about the dev mailing list