[Openstreetmap-dev] Adding street data
Erik Johansson
erjohan at gmail.com
Wed Feb 1 16:21:15 GMT 2006
Hej Preben
On 2/1/06, Preben Mikael Bohn <preben at chin.dk> wrote:
> I've got hold of ~50 MB of data from the danish mapping agency (under a
> free distribution license) which relates each address in Denmark with a
> WGS84 position.
Great can you make it available?
> Is Openstreemap capable of using such data (probably not?) and if not,
> what would it take to implement this (I am a developer, but I have no
> knowledge of openstreetmap)?
The only way OSM handles metadata is through tags on nodes or
segments, right now that is used to set the name of the street. You
could use this to place your data on the OSM map, for later use.
Highly inefficient but it works now-
Just create a OSM node for each entry in your database
http PUT this into the database.
<osm version='0.2'>
<node lon='-0.148588713362387'
tags='name=Långgatan;streetnumber=12;postcode=12345'
lat='51.5278975364617'/>
</osm>
> Another question: Is it possible to add properties to roads in the editor?
>
No not in the applet editor that is used on the webpage.
--
/Erik
More information about the dev
mailing list