Hi!
I'm about to write my own renderer.
But there are a few things I don't find myself or that aren't clear to me.
So I have a couple of questions, some easy, some maybe not.
1. I used on http://www.openstreetmap.org the "Export" link to get a file of "OpenStreetMap-XML"-Data of my area. The area was around 1km x 1km.
Where do I find the official definition for this XML? Which tag-names do exist?
?xml - osm, bounds, node, tag, nd
(In my following questions I might refer to them as tag-objects.)
2. For example there were these nd ref="[somenumber]" -tags, all contained in some way-objects.
So I just assume the number in the ref-attribute should reference some other tag-object in this xml-file. But it's not like that.
The numbers are either unique or sometimes happen to be in another nd-object used there as ref also.
Is that a bug in the export function? Or a feature? :P
3. For general purposes of course I want to extract those datas related to a selected area myself out of the planet-file.
Assuming I use a xml-planet file: Do I have to look for all node-objects (A) with latitude and longitude inside my area, and then in a second run I would have to look for all tags which contain directly or indirectly aforementionened "ref"-attributes that point to those nodeobjects (A)? Do I have to do it a couple of times, in case there are "ref"-attributes pointing to another way-object?
4. Though I would much prefer to work with a planet file in xml-format, I would switch to pbf-format, if it is much faster in the processing *and* if pbf is definitly state of art in the OSM-project.
Are the current planet files xml, or already pbf? Or is the pbf idea already outdated again?
Assuming I have a planet file in xml and one in pbf, will they both hold the same data, will one hold a subgroup of the other, or may both contain data that isn't in the other? - Or in short: What should be taken as the official planet file?
Assume I have to download the pbf file to get the "official" planet data: Which program to use to convert it all into an xml file?
5. About coastline files: Seeing there are coastline files, does that mean that the coastlines are not included as tag-objects in the planet file, or are they only implicitly included, or are the coastline files just some sort of handy service for map-makers?
If they are only implicitly included: Is it difficult to generate those coastlines, so that I just should use the coastline files provided here, or is it fairly simply (technically and in CPU-usage) to generate the coastlines myself?
6. Is it advisable to use the data from http://www.naturalearthdata.com? As far as I have read through the wiki-pages, mapnik uses them, and mapnik is used by openstreetmap.org themselves.
Do I need or is it advisable to use http://www.mapability.com/info/vmap1_index.html ? Are there any advantages using that?
7. Last but not least: Should I better use the OSM forums (http://forum.openstreetmap.org/index.php - no link on the homepage) or the help-section (https://help.openstreetmap.org - prominent link on the homepage) for questions? If it's ok I would prefer this help-section. :) In the future I will probably try the forum, to avoid the automatic styles being applied here.
I'm sure I won't run out of questions. :P
Greetings
WS
asked 23 Oct '12, 15:43

WhyStand2
8●1●1●3
accept rate: 0%
What you should definitely do is to ask one question at a time - nobody is going to write an answer that covers all these questions.
I tried, but it took from before you added your comment ;)