[OSM-dev] Fwd: [OSM-talk] how to build a OSM server
nickblack1 at gmail.com
Wed Nov 15 17:57:20 GMT 2006
I replied off list to this post by accident, so I'm pulling it back on
to the list
---------- Forwarded message ----------
From: Jerry Giant <einzeln00 at gmail.com>
Date: Nov 15, 2006 5:24 PM
Subject: Re: [OSM-talk] how to build a OSM server
To: Nick Black <nickblack1 at gmail.com>
I checked out the SVN, but the >>/svn/josm<< dir could not be
retrieved (a deutsche site hosting java osm editor, right?). My SVN
client prompt me this and halt:
svn: PROPFIND request "/svn/josm" failed
.....could not connect to server
(http://www.eigenheimstrasse.de)....(I translated the Chinese prompt
into English, so it may looked wried )
I want to know if what I have now is enough for the server, here is the list:
Well that looks ok. You have a few choices, depending what roads you
want to go down. I would definitely reccomend testing the new rails
implementation, as it will take you minutes to set up and run if you
know a bit about rails, and maybe a few evenings of learning some
basic Rails if you dont. The rails source is in
www.openstreetmap.org/osm/ and the README is pretty informative.
Either way, you will need a database - the SQL config is in /sql .
You then may or may not want to import some data from osm xml format,
which can be done using planet2mysql.rb , in /utils/planet.osm/ .
If you want to run a basic version of the current site, you need to
set up www.openstreetmap.org. There is quite a bit of setting up to
do here - editing servinfo.rb, creating some missing sym links etc.
Then if you really want to go for it, you can install
tile.openstreetmap.org - and produce tiles locally (As opposed to
talking to the main OSM server in London)
By far the biggest problems I had were setting up apache to run the
ruby/eruby stuff. You want to install mod_ruby as well as various
other mods that I think are documented on the wiki. For this reason I
really recommend you install the rails version - the main site will be
switching to rails pretty soon anyway.
On 11/15/06, Nick Black <nickblack1 at gmail.com> wrote:
> HI Jerry,
> Have you had a look at teh openstreetmap wiki? There is a lot of
> documentation on there about setting up a test server:
> Source code is located in a subversion repository:
> Good luck...
> On 11/15/06, Jerry Giant <einzeln00 at gmail.com> wrote:
> > Hi,
> > I am a GIS fan from China. I want to know how to build a OSM map
> > server, for the document, and the source code for the server. Thanks.
> > _______________________________________________
> > talk mailing list
> > talk at openstreetmap.org
> > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
More information about the dev