[OSM-dev] planet.osm - fix

David Sheldon dave-osm at earth.li
Tue Aug 15 13:59:00 BST 2006


On Tue, Aug 15, 2006 at 01:38:39PM +0100, David Sheldon wrote:
> >   <way id="2837877" timestamp="2006-08-09 23:53:34">
> >     <seg id="10134927"/>
> >     <tag k="name" v="Genter Stra&#xC3;&#x178;e"/>
> >   </way>
> > 
> > Well, it starts like UTF-8, but what is 0x178 ? A bug.
> 
> No it doesn't. UTF-8 would just have the two bytes, no &# or anything.
> This is very broken and should be fixed.

Interestingly the rest of the detail in the output of that map area
appears to be valid, for example 
    <tag k="name" v="Brabanter Stra&#xDF;e"/>
    <tag k="name" v="L&#xFC;tticher  Stra&#xDF;e"/>
    <tag k="name" v="Maastrichter Stra&#xDF;e"/>
 

I'm a little more suspicious about way 2509250:
    <tag k="name" v="Moltkestra&#xC3;?e"/>
A with ~ followed by a ? 
 (this comes out as y with " using the "way" method)

The ones that are correct with the map method are wrong with the way
method and vice-versa.

I can't find the code for the "way" method in SVN. Shouldn't there be a
way.rb?

David
-- 
   "Throwing it all away refers to the activity of coming along and
 fiddling with your program, making it less efficient and incorrect."
                          -- Carroll Morgan





More information about the dev mailing list