[Openstreetmap-dev] Adding street data
Immanuel Scholz
immanuel.scholz at gmx.de
Wed Feb 1 17:32:45 GMT 2006
Hi,
> If I add a tag such as the one below for each and every address in
> Denmark, wouldn't it slow down the OSM server (which is already incredible
> slow IMHO, no offense :)) quite a bit? There would be a lot of redundant
> information (node 1: lat/lon/postcode/address/number, node 2:lat/lon/same
> postcode/same address/number, node 3... ).
I agree. I think something like postcode is a very good example for a tag of
an area.
Currently, the server does not support areas, but it is planned. I would
postpone your database until areas are supported.
> > 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>
>
> This seems quite easy. Are there any extremely simple ways to do this
> using e.g. wget? How about password, etc?
You can also convert the data into something the offline editor of your choice
can read and then upload the file.
As example, to import to JOSM, you may use the OSM-intern XML format and
convert the data to something like:
<osm version="0.2">
<node lon='...' lat='...' tags='name=...;streetnumber=...' />
<node lon='...' lat='...' tags='name=...;streetnumber=...' />
...
</osm>
This should be the easiest way if you want to go with JOSM and then upload it.
> >> 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.
> I havn't used any of the other editors. Will they be able to do it?
It is possible in JOSM. You can also create tracks (=streets) in JOSM, but
cannot upload them since the server does not support streets yet either.
> A followup question: When naming segments in the java-editor, I need to
> name each segment seperately. Isn't it possible to name mulitple segments
> at the same time (for non-linear roads)?
You can change properties to multiple items with JOSM, but I prefere to use
tracks for that, if this fits the semantic better.
Ciao, Imi.
More information about the dev
mailing list