The 100 character truncation was a bug in Osmxapi, which is fixed now.<br><br>About 600 tags (out of 180 million) are affected in Osmxapi's database, these will get corrected as they percolate through from the osmosis feed.
<br><br>80n<br><br><div class="gmail_quote">On Jan 4, 2008 10:17 AM, Stefan Baebler <<a href="mailto:stefan.baebler@gmail.com">stefan.baebler@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;">
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>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><font color="#888888"><br>Stefan<br></font><div><div></div><div class="Wj3C7c"><br><br><br>On Jan 4, 2008 9:45 AM, 80n <<a href="mailto:80n80n@gmail.com">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">stefan.baebler@gmail.com</a>> wrote:<br>> > Hi again!<br>> ><br>> > Osmxapi behaves much better now, but there is a problem with my test 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>>
<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 need<br>> > to be checked.<br>> >
<br>> > Stefan<br>> ><br>> ><br>> ><br>><br>><br></div></div></blockquote></div><br>