WikiProject Luxembourg/Addresses
Contents |
Overview
The aim of this sub project is the mapping of (nearly) all addresses in Luxembourg! This is the prerequisite to have at the end a correct routing from door to door. We describe here, how to map the addresses in order to have a good data basis for routing purposes.
House numbering
There are a lot of discussions in OSM about mapping of addresses - we don't want to reinvent the wheel ... The most popular is the schema "Karlsruher Schema", details you'll find here. We will follow this scheme and map addresses as follows:
Step by step
Mapping houses with housenumbers may be done in an easy way in Josm as follows.
You will need:
- Josm
- the "buildings_tools"-plugin for Josm, more details here
- "terracer"-plugin for Josm, more details here
First draw the building outlines
As a first step you should trace the building outlines from aerial images.
The "buildings-tools"-plugin helps you to draw rectangular houses with just three clicks.
Always start drawing the longest side of a building, the alignment will be much better.
Blocks of several joined houses of equal size should be traced as one outline. The terracer-plugin will do the rest.
More complex buildings have to be drawn by hand. Remember that pressing <Q> will orthogonalize the selected shape.
Obtain street names and postcodes
All houses having numbers (survey!) should be tagged with country, city, postcode and street name. Be aware that mostly all streets in Luxembourg have different postcodes! You can obtain the postcodes on the web site of P&T Luxembourg, look here. You can also get the right street name in this database. But we convert the street according to these rules:
- small caps
- capitalized first letter, except de, du, , des, le, la, les ...
- All accents present (also on capitalized letters!)
If you see additional Luxembourgish names on the road signs, tag them with name:lb=*. It is very important that the name tag of the street has exactly the same spelling as the addr:street tag of the house or the house number!
| Tag | Description |
|---|---|
| highway=* | street is a line |
| name=street name | name of the street according to street list of P&T |
| postal_code=post code | post code of the street according to street list of P&T without the country prefix (eg. 1234 and NOT L-1234) |
| is_in:city=city name | name of the city the street is in |
| Tag | Description |
|---|---|
| building=yes | polygon is a building |
| addr:country="LU" | country "Luxembourg" (ISO country code) |
| addr:city=name | name of the city/village according to street list of P&T |
| addr:postcode=post code | post code of the city/village according to street list of P&T without the country prefix (eg. 1234 and NOT L-1234) |
| addr:street=name | name of the street according to street list of P&T |
Go out and do a survey of the housenumbers
Then print out the map, once the tiles on the server have been updated.
You can also have a look on walking-papers.org.
This site allows you to do prints that can afterwards be scanned and used as a layer in Josm.
You are now ready to go out and do the survey of the housenumbers.
This is a good occasion to verify street names and add more details to the map.
Add the housenumbers to your buildings
When you are done, the terracer-plugin comes into action.
For single houses, just select the house and call the plugin with <shift>+<t>.
Insert the housenumber as lowest housenumber and as highest housenumber.
For terraces, insert the lowest and the highest housenumbers.
The plugin will detect the number of the houses. It will then segment the building outline into single outlines for each house.
If the housenumbers are the wrong way, a <shift>+<r> will reverse the numbers in the selected terrace.
The option "Umringslinie löschen" (delete building outline ?) should be checked, to delete the original outline, you drew in the first step.
If a relation for the street has not been created yet, leave the option "create a street relation" (in german: "Eine Strassenzugehörigkeitsrelation erzeugen) checked.
If a relation for the street exists, DO NOT check the option, otherwise, a new relation will be created for every house!
If you select a street-name before pressing ok, the addr:street tag will be placed for each single house.
You are almost done by now.
If it was the first house in a street, and you created a new relation, then open the relation-editor in Josm and add all the ways belonging to this street as elements and give them the street-role.
If you just added new houses to an existing street, open the relation-editor, add the houses to the street-relation and give them the house-role.
Interpolation
Status reporting
After the work, please update the status (key "Labbeled" (I) and/or "house numbers" (h) ) in the subproject [[1]].
Status examples
I have used the follwing codes for the images below:
| Streets | |
|---|---|
| Color | Meaning |
| green | postcode and is_in:city |
| orange | postcode and NO is_in:city |
| pink | is_in:city and NO postcode |
| blue | ref and name |
| gray | ref and NO name |
| black | NO name |
| red | else |
| Buildings | |
|---|---|
| Color | Meaning |
| green | addr:city, addr:street, addr:postcode, addr:housenumber |
| orange | ONE of the abouve is missing |
| red | more tags are missing |