logo       

Re: Adding street data: msg#00012

Subject: Re: Adding street data
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.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe