Hi everyone,

I was looking at some XML data, trying to see if I could parse out a list of all the streets in Indiana and I saw this record.

If you look at it, it's got two name tags, "Mahogany Dr" and "Augusta Ln." How can there be two names?


<way id="17369196" version="1" timestamp="2007-12-20T12:22:13Z" uid="7168" use r="DaveHansenTiger" changeset="369054"> <nd ref="179868313"/> <nd ref="179868315"/> <nd ref="179868317"/> <nd ref="179868319"/> <nd ref="179751152"/> <nd ref="179799630"/> <tag k="highway" v="residential"/> <tag k="name" v="Augusta Ln"/> <tag k="name" v="Mahogany Dr"/> <tag k="tiger:cfcc" v="A41"/> <tag k="tiger:county" v="Johnson, IN"/> <tag k="tiger:name_base" v="Mahogany"/> <tag k="tiger:name_type" v="Dr"/> <tag k="tiger:reviewed" v="no"/> <tag k="tiger:separated" v="no"/> <tag k="tiger:source" v="tiger_import_dch_v0.6_20070810"/> <tag k="tiger:tlid" v="114652027:114652028"/> <tag k="tiger:upload_uuid" v="bulk_upload.pl-425ebe1d-919e-418d-a667-eaf6168 b1c43"/> <tag k="tiger:zip_left" v="46143"/> <tag k="tiger:zip_right" v="46143"/> </way>

asked 03 May '11, 01:32

jaskiemr's gravatar image

accept rate: 0%

retagged 29 Dec '17, 06:41

Wetitpig0's gravatar image



Where did that XML come from? I'm asking because the API returns only one name tag for that way as you can see by visiting http://www.openstreetmap.org/browse/way/17369196

(03 May '11, 05:29) petschge

It looks to be corrupt XML. The latter bit is from http://www.openstreetmap.org/browse/way/17395105

(03 May '11, 11:12) EdLoach ♦

I downloaded the indiana.osm file. That's where I got it from.

(03 May '11, 14:20) jaskiemr

@jaskiemr: Well, where did you download the file? Can't you just give us the URL?

(03 May '11, 14:30) sleske

@sleske a quick guess would be Cloudmade

(03 May '11, 14:42) SK53 ♦

You should contact cloudmade, on first glimpse it looks as if they have a problem creating the extracts

(03 May '11, 16:58) dieterdreist

Which mirror would you use in order to download Indiana roads then?

(03 May '11, 17:33) jaskiemr
showing 5 of 9 show 4 more comments
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 03 May '11, 01:32

question was seen: 1,681 times

last updated: 29 Dec '17, 06:41

powered by OSQA