Re: [OSM-talk] OsmXapi and semicolons

2008-10-20 Thread 80n
On Sun, Oct 19, 2008 at 10:43 AM, Kai Krueger <[EMAIL PROTECTED]> wrote:

> Hi
>
> I was using OsmXapi today to try and get a set of bus_stops however
> there seem to be inconsistencies with the encoding of some of the
> semicolons.
>
> for example calling  wget
>
> http://xapi.openstreetmap.org/api/0.5/node[highway=bus_stop][bbox=-1,51.51,0,51.52]
> I get the following xml from xapi for node 281455008:
>
>  osmxapi:users='smsm1,amm' timestamp='2008-10-07T23:07:46Z'>
>  v='1\s8\s25\s98\s242\sN1\sN8\sN68\sN98\sN171\sN207'/>
> 
> 
>   
>
> whereas the main api gives back the correct data
>
> 
>  visible="true" timestamp="2008-10-08T00:07:46+01:00">
> 
> 
> 
> 
> 
>
>
> However not all of the semicolons are replaced by \s for example
>
>  
> 
> 
> 
>   
>
> looks correct.
>
> I am not sure, but potentially the behaviour changed mid September?
>


There was a change in, perhaps in mid September, to fix an escaping problem
with ampersand (&).  That may have broken something.  I'll take a look.



>
> Is this a known issue?
>
> thanks,
>
> Kai
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OsmXapi and semicolons

2008-10-19 Thread Hugh Barnes
On 09:43, 19 October 2008, Kai Krueger did write:
> 
> I was using OsmXapi today to try and get a set of bus_stops however 
> there seem to be inconsistencies with the encoding of some of the 
> semicolons.
> 

Would this be a good time to revive the debate about applying duplicate tags 
for objects where multiple values apply? ;~)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk