Seems to have worked just fine :)<br><br><div class="gmail_quote">On Jan 4, 2008 11:26 AM, 80n <<a href="mailto:80n80n@gmail.com">80n80n@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Jan 4, 2008 11:13 AM, Stefan Baebler <<a href="mailto:stefan.baebler@gmail.com" target="_blank">stefan.baebler@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>On Jan 4, 2008 11:22 AM, 80n <<a href="mailto:80n80n@gmail.com" target="_blank">80n80n@gmail.com</a>> wrote:<br>> The 100 character truncation was a bug in Osmxapi, which is fixed now.<br></div>Goodie.<br><div>
<br>> About 600 tags (out of 180 million) are affected in Osmxapi's database,<br>> these will get corrected as they percolate through from the osmosis feed.<br></div>Surprisingly high number, given that the test was rather synthetic,
<br>with extremely high proportion of accented characters. But i guess<br>this i not uncommon in exotic parts of the world (Asia comes to mind).<br></blockquote></div><div><br>Most were note or description tags, not names, which is probably why it hadn't been noticed before now.
<br> </div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Anyway, I've just changed the test node (in potlatch this time) so it
<br>
should appear in the next hourly changeset.<br><br>Keeping my fingers crossed and an aye on<br><div><a href="http://osmxapi.hypercube.telascience.org/api/0.5/node%5bplace=town%5d%5bbbox=14.5,46.1,14.8,46.2%5d" target="_blank">
http://osmxapi.hypercube.telascience.org/api/0.5/node%5bplace=town%5d%5bbbox=14.5,46.1,14.8,46.2%5d</a><br></div></blockquote></div><div><br>There's still a bit of a backlog processing the hourly diffs so you'll need a bit of patience.
<br> </div><div><div></div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div><div><div></div><div>Stefan<br>
<br>> On Jan 4, 2008 10:17 AM, Stefan Baebler <
<a href="mailto:stefan.baebler@gmail.com" target="_blank">stefan.baebler@gmail.com</a>> wrote:<br>> > Khm, but where to set the new limit?<br>> ><br>> > According to <a href="http://www.facstaff.bucknell.edu/rbeard/name.html" target="_blank">
http://www.facstaff.bucknell.edu/rbeard/name.html</a><br>> > it should be 310 bytes = (<br>> ><br>> length("Krungthepmahanakonbowornratanakosinmahintarayudyayamahadiloponoparatanarajthaniburiromudomrajniwesmahasatarnamornpimarnavatarsatitsakattiyavisanukamphrasit")
<br>> > -1) * 2 to accomodate slightly shorter names, with all of the<br>> > characters being exotic, needing 2 bytes to encode :)<br>> ><br>> > Or the limits can be simply taken from the official OSM schema (for
<br>> > ways at least, tags of nodes are a mess with semicolons).<br>> ><br>> > Stefan<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > On Jan 4, 2008 9:45 AM, 80n <
<a href="mailto:80n80n@gmail.com" target="_blank">80n80n@gmail.com</a>> wrote:<br>> > > Hmmm... yes it's truncating at 100 characters. Working on a fix...<br>> > ><br>> > ><br>> > >
<br>> > > On Jan 4, 2008 7:26 AM, Stefan Baebler <
<a href="mailto:stefan.baebler@gmail.com" target="_blank">stefan.baebler@gmail.com</a>> wrote:<br>> > > > Hi again!<br>> > > ><br>> > > > Osmxapi behaves much better now, but there is a problem with my test
<br>> node<br>> > > > in planet.osm it is:<br>> > > > <node id="29161753" timestamp="2007-12-22T05:59:49Z" lat="46.1356895"<br>> > > ><br>> > > > lon="
14.7445634"><br>> > > > <tag k="created_by" v="JOSM"/><br>> > > > <tag k="name" v="Moravče"/><br>> > > ><br>> > > > <tag k="is_in" v="Slovenia, Europe"/>
<br>> > > ><br>> > > > <tag k="place" v="town"/><br>> > > ><br>> > > > <tag k="note" v="Testing 34 random UTF-8<br>> > > > characters:ČčŽžŠšĐđĆć€ÄäËëÖöÜüŁłßÇç÷פ§ÉéÁáÂâ"/>
<br>> > > > </node><br>> > > > while<br>> > > ><br>> > ><br>> <a href="http://osmxapi.hypercube.telascience.org/api/0.5/node%5bplace=town%5d%5bbbox=14.5,46.1,14.8,46.2%5d" target="_blank">
http://osmxapi.hypercube.telascience.org/api/0.5/node%5bplace=town%5d%5bbbox=14.5,46.1,14.8,46.2%5d</a><br>> > > > gives<br>> > > > <node id="29161753" lat="46.1356895" lon="
14.7445634"<br>> > > ><br>> > > > timestamp="2007-12-22T05:59:49Z"><br>> > > > <tag k="is_in" v="Slovenia, Europe"/><br>> > > ><br>
> > > > <tag k="name" v="Moravče"/><br>> > > ><br>> > > > <tag k="note" v="Testing 34 random UTF-8<br>> > > > characters:ČčŽžŠšĐđĆć€ÄäËëÖöÜüŁłßÇç÷פ§ÉéÁ�.."/>
<br>> > > ><br>> > > > <tag k="place" v="town"/><br>> > > > </node><br>> > > ><br>> > > > Note that the last 2 characters in note tag should be "Ââ".
<br>> > > > Planet.osm is ok, but osmxapi seems to misinterpret some characters.<br>> > > > any ideas?<br>> > > ><br>> > > > UTF characters in hourly diffs and their import into osmxapi still
<br>> need<br>> > > > to be checked.<br>> > > ><br>> > > > Stefan<br>> > > ><br>> > > ><br>> > > ><br>> > ><br>> > ><br>> >
<br>><br>><br></div></div></blockquote></div></div></div><br>
</blockquote></div><br>