12
5

Hello,

let's say we want to create something like Tolkien's Middle Earth map with OSM. What would be the best way for achieving this?

I've drawn a fantasy map on Inkscape and Gimp. Now that I've discovered OSM, I think it would allow to get much more details and expressions than with those tools. I've begun to import the svg trace into JOSM. It's working great and it's quite easy to use. But now the problem is for rendering it. When using Osmarender (from josm or from the command line with xsltproc), I can get a SVG file, which is too wide for Inkscape (the map is 1800 km wide). Besides, the rendering is not complete, I have several parts which are not shown.

That's why I think it may be appropriate to launch my own OSM server and database, for filling it with this fantasy world (of could it would be completely independant from the official OSM) I've read the tutorial on http://wiki.openstreetmap.org/wiki/The_Rails_Port and installed it on my server. It's working, but from the beginning, it loads data (maps) from the official OSM server. I'd like to get an empty map (yet my database should be empty).

Maybe there is an easier way for doing this? I'd prefer if possible to create everything within JOSM, and render my .osm file for getting a jpg or png file. But it doesn't seem the rendering tools are supposed to render a whole world. Is it possible to do it easily with Mapnik? I'd also like to browse tiles of different parts of this world, like we do with OSM.

asked 14 Apr '11, 20:02

otto's gravatar image

otto
221447
accept rate: 0%

edited 17 Jul '11, 23:49

1

On a more practical note, this also works for metaphysical mapping, such as mapping a virtual reality like Second Life, or a game like World of Warcraft.

(16 Apr '11, 05:03) Paul Johnson

You should be able to achieve a considerable map size even without your own database. I should think that you would hit the editor size limit first, before you start to see rendering problems. Maybe you should try Maperitive instead of Osmarender. (Note however that Maperitive is not Open Source so you if think you may need modifications over and above what you can achieve with style sheets then Maperitive may not be the way to go.) You can also use the Mapnik rendering engine, either running directly on your .osm file or running on a PostGIS database created with osm2pgsql; this also does not require the rails port.

Tiles can be created with Mapnik (that's how most people do it) but also with Maperitive and with Osmarender (via the tiles@home software), and tile creation is independent of running a rails port.

Both Mapnik and Maperitive can output directly to PNG, and both will happily render the whole world.

The rails port really only comes into play if you want a proper database with versioning and multiple users and partial editing and so on; as long as you have one big file that you're working on alone and that can be loaded fully into JOSM, there's no reason why you would install the rails port.

Having said that, the rails port does not come with data pre-loaded; after the "rake db:migrate" step you will have an empty database. You must then first register a user account for yourself and then you can start working with that.

permanent link

answered 14 Apr '11, 21:41

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
65.5k796061012
accept rate: 24%

edited 15 Apr '11, 07:14

Do you have any Maperitive rules for fantasy maps? Ofcourse I could write one myself, but my sense of art is... nonexistant :)

(15 Apr '11, 06:41) ivanatora

I don't but there is a Maperitive Google Group where you could ask this question.

(15 Apr '11, 07:12) Frederik Ramm ♦
1

Hello, thank you for your explanations! I wasn't sure how to use Mapnik, and you helped me to go further into this direction.

I managed to get something interesting, even though it will be maybe a bit longer than I expected, because Mapnik, and probably other tools as well, need some rules for processing the osm file directly. In a way, it's not that bad because a fantasy map ought to look different than a map for driving a car.

I found some enlightning receipes there: http://wiki.openstreetmap.org/wiki/Mapnik:_Map_from_scratch

I'll post later with some working examples.

(16 Apr '11, 10:19) otto
2

Finally, I managed to achieve what I wanted by using ceyx.

I posted a description of this on cartographersguild (last post, at the moment):

http://www.cartographersguild.com/showthread.php?5409-A-world-without-name

If you're not registered on their forum, you can get the images there: http://anamnese.online.fr/site2/index.php?page=monde

The version using ceyx is the one at the bottom there: http://anamnese.online.fr/site2/divers/monde_carte17.jpg

And here is a quick export to the default mapcss: http://anamnese.online.fr/site2/divers/monde_carte17b.jpg

(17 Jul '11, 23:30) otto

Would be epic to create a map of Second Life's mainland. I realize it's a rather dynamic place, but there's still a lot of long-term landmarks that don't change for years. Especially the highway and railway networks. The Lindens have entirely tolerated mapping efforts in the past; I encourage anybody interested to get in touch with me at baloo@ursamundi.org

(18 Nov '11, 14:39) Paul Johnson
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×460
×93
×43
×2
×1

question asked: 14 Apr '11, 20:02

question was seen: 25,447 times

last updated: 02 Oct '13, 10:50

powered by OSQA