Hr:Beginners Guide 1.5

From OpenStreetMap Wiki
Jump to: navigation, search

Renderirajte karte!


Vodič za početnike
1.1 - Prikupljanje podataka
1.1.1 - GPS
1.1.2 - Y!/landsat/NPE snimke
1.2 - Upload podataka
1.2.1 - Snimite svoje podatke u GPX
1.2.2- Uploadiranje Podataka
1.2.3- Download u JOSM
1.3 - Uređivanje/Editiranje karti
1.3.1 - JOSM - Prva cesta - Treba upamtiti
1.3.2 - Potlatch
1.3.3 - Merkaartor
1.4 - Editiranje podataka
1.4.1 - Dodavanje oznaka/Tag-ova
1.4.2 - Upload promjena
1.5 - Renderiranje karti
1.5.1 - Osmarender

Kada ste dodali podatke i označili ih, i uploadirali promjene na OSM. Da bi vidjeli promjene možete izabrati nešto od slijedećeg, zavisno o potrebama:

1. Genereirati renderiranu bitmap sliku iz uploadiranih podatka yourself koristeći alate za rendering na vašem PC-u. OpenStreetMap projekt ima 3 različita render alata:

  1. Kosmos : Kosmos is a new lightweight OSM map rendering platform primarily designed to be used by OSM users on their own computers to render maps. Probably the easiest of the three methods.
  2. Osmarender: A renderer based on Extensible Stylesheet Transformation (XSLT) that is able to create Scalable Vector Graphics (SVG), which can directly viewed with some web browsers or converted to bitmaps.
  3. Mapnik: A very fast renderer written in C++ that generates bitmaps.

2. Get the data to appear on the slippy map on OpenStreetMap's main page. The main page contains a '+' on the right side. After clicking the plus you usually get the 'Baselayer' options 'Mapnik' and 'Osmarender'. Both represent a map generated with the above renderers.

  1. Mapnik: Mapnik baselayer usually updates in around an hour. The tiles should update automatically when you view them. They will only update if they are 3 or more days old though. To force an update you can view the tile by itself, and add "/dirty" to the end of the address.
  2. tiles@home/Osmarender: The Osmarender baselayer should be automatically updated when uploading new data. If this does not work or you like to see quicker update, please use the Informationfreeway web page, go on zoom level 12 and press ctrl+click on the tiles to be updated. Some more information is provided here: FAQ. A request will then be made to the tiles@home/Osmarender project. After some time you should find the updated tile includes your changes. You may have to do a full refresh of the page to see it.

Use the map

You're probably not only interested in making and extending the map, but using it for your own purposes, depending on the kind of interests you have and the envisaged application of the slippy map. Some of the options listed on this Wiki will get you going:

  • When you do not require dynamic maps, based on up-to-date OSM data, exporting an image and using it in your own work is the best option. This is also the option you'll have to choose if you're making static print media (e.g., brochures and posters).
  • Embedding the map on your website is likely to be the easiest and is likely to require the least technical knowledge. On the other hand, there are no direct advanced options for representing data and the interface.
  • Place the map on your own website by using JavaScript. This option allows you to customize the map, and the interface, to some extent.
  • Create your own map based on the OSM data. Possibly the most flexible option in terms of what you can do. It comes at the cost, however, of more specialised technical knowledge and additional requirements to hard- and software.

Developing your own applications is also possible by using and re-using OSM components. An overview of the components is a good place to start when you're interested in making your own advanced, OSM-based, applications.