Hi, im trying to add all postal codes of spain from a KML file. Every postcode is a placemark with name, coordinates and a postcode, there is an example of an addres.
(apologize about extra space at the beginning of each tag, is just for showing it) My problem is that i cant find the tag for postcode or address, i made some test with < address>, < postcode> or < addr:postcode>(this tag is the same used in Potlatch 2) but never appear when i load the file with Potlatch. what tag should i use to add this field? asked 27 May '13, 12:24 dremel |
Firstly you don't state the source of your data. It is important that external data loaded into OSM is both compatible with the OdBL licence (sorry for tautology) and that the import itself is carried out according to the established guidelines. Secondly, centroids for postal areas are not a useful object to map in OSM. They are not capable of being verified on the ground, and are much more useful when attached to other objects. For instance in Britain it is usually necessary to attach postal codes to individual buildings because of the granularity of the data. (In some cases all buildings on a road share a postcode so the street can also be tagged with addr:postcode). In many european countries most postcodes will be closely associated with communes, and thus can be added to a place=* tag. Making the centroids available outside OSM will meet 99.9999% of use cases which might be envisaged for holding this data in OSM. Lastly, Potlatch is designed to discourage uploading of data. Things like KML and GPS traces are incorporated to assist a manual editing process, and as such no tag or other information is directly available in the editor. It is possible to import this kind of data into OSM, but first it is important to check that you have fully covered my first two points. Importing data also requires a good degree of familiarity with OSM tools: the first requirement of performing an import is that the importer is capable of reverting it without damaging other contributions. answered 27 May '13, 13:12 SK53 ♦ |
Please explain what you want to do. Do you want to add postal codes to OpenStreetMap? In that case, please be aware that such data imports have to abide by certain rules - most importantly, you have to make sure that the data is legally usable for OSM, and you have to discuss your plans beforehand. Type "import" in the search box above and read some of the answers. Also, the data you seem to have is point coordinates, whereas OSM usually records post code areas (i.e. polygons). answered 27 May '13, 13:09 Frederik Ramm ♦ |