[josm-dev] Easy way to use planet file as substitute for osm server
Ævar Arnfjörð Bjarmason
avarab at gmail.com
Tue Oct 27 22:07:22 GMT 2009
On Tue, Oct 27, 2009 at 7:03 PM, Stefan Aschenbach
<stefan at binaervarianz.de> wrote:
>>
>>> I'm cringing at the thought of trying loading a large extract into
>>> JOSM and expecting it to be able to work quite happily. I would never
>>> want to try and work with large areas in JOSM at any time in a
>>> desktop
>>> or laptop with 4GB of RAM, never mind on a netbook.
>>
>> You are right. loading the whole region into JOSM will probably
>> toast my
>> poor netbook.
>> Maybe I can download the .osm file, split it with mkgmaps splitter
>> tool
>> into managable chunks
>> and load only whats needed.
>>
>
> I may as well ask the list:
>
> Is there an easy way to set up a downloaded .osm file
> as a substitute for the osm server for offline use?
>
> So I can use the 'download map along track' or
> 'download region' function out of that file?
>
> I found tutorials to set up an own osm server, but they mostly meant
> webservers with mapnik rendering.
> (And they did it on linux, I would need a windows solution.)
>
> So is there a way for josm to search the file or has someone a link
> to a tutorial on how to set up a server just for
> delivering osm data through API calls?
You'd set up the rails port which is the web application the OSM API
is written in:
http://wiki.openstreetmap.org/wiki/The_Rails_Port
Then you import data into its database as discussed on that webpage.
Then you can download stuff via its API after you set it to
localhost:3000/api in JOSM
More information about the josm-dev
mailing list