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.
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:
- 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
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!
|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|
|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.
Leave the option "create a street relation" (in german: "Eine Strassenzugehörigkeitsrelation erzeugen) unchecked.
Select a street name before pressing ok, the addr:street tag will be placed for each single house.
You are almost done by now! Repeat for the next house, the next street, the next village, the next commune, the next canton, the next district, and then the entire country.
After the work, please update the status (key "Labbeled" (I) and/or "house numbers" (h) ) in the subproject [].
I have used the follwing codes for the images below:
|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|
|green||addr:city, addr:street, addr:postcode, addr:housenumber|
|orange||ONE of the abouve is missing|
|red||more tags are missing|