3
1

Because I do not have the resources to set up my own local mapping server (basically lack of time and technical expertise) I am looking for a testing environment in order to learn more by "hacking". I am the type of a man who is not able to install and set up complex software but is able to "exploit" currently working system by altering various settings needed to get desired result (usualy small tweaks).

For instance I would like to learn how Mapnik stylesheets work with a sample set of OSM-like mapping data to be able to add rules for things that are new or still wait for their stylesheet rule. I found apis.dev.openstreetmap.org page which looks like some testing sites. Can I use some of these for testing (import scripts, stylesheets etc.)? Do we have a kind of "labs" environment up? If not, are there any plans to have this?

asked 25 Mar '12, 21:27

Kozuch's gravatar image

Kozuch
1.2k445466
accept rate: 0%


You can use apis.dev.openstreetmap.org to run tests and experiments against the API, but there is no tile server connected to that so you won't see your changes on a map unless you make the map yourself! We don't have a ready-made Mapnik setup with database that you can use, but you can get an account on the "dev" server where the basic Mapnik software is already installed. You will still have to set up and populate your own database however, and install your own stylesheet. It is possible that another user of the dev server has already done that and that you can use their installation; a call-out on the "dev" mailing list might help.

Note however that a typical osm2pgsql database does not include all features so a database set up by someone else might not actually meet your requirements if you want to write rules for things that aren't on the map yet. You might really have to create your own database with osm2pgsql - but at least on the dev server all the tools are already installed.

link

answered 25 Mar '12, 22:31

Frederik%20Ramm's gravatar image

Frederik Ramm
38.2k48372605
accept rate: 22%

Sorry for being all talk and no action, but it'd be nice if there was a ready-made VM somewhere with the usual tools installed. If I ever come around to making one, I'll let people know :)

(26 Mar '12, 10:49) Vincent de P...
4

There are Ubuntu packages for easy set up of the important tools. If your main operating system isn't Linux you can always install Ubuntu in a VM your self.

To play with the rendering style-sheet you will need to install a rendering tool-chain, which is best described at http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/

If you want to play with the Data-API e.g. to test import scripts, you can either use apis.dev.openstreetmap, or again use Ubuntu packages to set up the "rails_port" (The software running the website and API) wiki.osm.org/wiki/Rails_port

(28 Mar '12, 09:01) apmon

The OSMF does not have the funds to give any easy development environment to anyone. The dev.osm.org server is only for internal development.

You should try to test with smaler extracts or even shape files. I have a working instance of the tile rendering framework on my smal laptop, but only with an extract and with performance ok for one user.

link

answered 25 Mar '12, 23:11

Gnonthgol's gravatar image

Gnonthgol
12.8k1198188
accept rate: 16%

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

Tags:

×172
×49
×42
×12
×5

Asked: 25 Mar '12, 21:27

Seen: 1,574 times

Last updated: 28 Mar '12, 09:01

powered by OSQA