[Talk-GB] Xapi weirdness

Tom Chance tom at acrewoods.net
Sat Oct 16 10:22:50 BST 2010


80n,

I'm downloading it with wget on the dev server, and yes I've just noticed it
interprets it as a pipe for another command, thanks. Just need to escape the
| character!

Tom



On 15 October 2010 22:56, 80n <80n80n at gmail.com> wrote:

> Tom
> What client are you using?  It may not be escaping the | correctly
> resulting in a request for [amenity=recycling] for the whole world.
>
> Try:
> http://www.informationfreeway.org/api/0.6/*[amenity=recycling%7Cwaste_transfer_station][bbox=-0.51,51.20,0.35,51.80]<http://www.informationfreeway.org/api/0.6/*%5Bamenity=recycling%7Cwaste_transfer_station%5D%5Bbbox=-0.51,51.20,0.35,51.80%5D>
>
> 80n
>
>
>
> On Fri, Oct 15, 2010 at 9:10 PM, Tom Chance <tom at acrewoods.net> wrote:
>
>> Can anyone explain why this query ignores the bbox and tries to download
>> the data for the whole world?
>>
>>
>> http://www.informationfreeway.org/api/0.6/*[amenity=recycling|waste_transfer_station][bbox=-0.51,51.20,0.35,51.80]<http://www.informationfreeway.org/api/0.6/*%5Bamenity=recycling%7Cwaste_transfer_station%5D%5Bbbox=-0.51,51.20,0.35,51.80%5D>
>>
>> Tom
>>
>> --
>> http://tom.acrewoods.net   http://twitter.com/tom_chance
>>
>> _______________________________________________
>> Talk-GB mailing list
>> Talk-GB at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-gb
>>
>>
>


-- 
http://tom.acrewoods.net   http://twitter.com/tom_chance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20101016/ee1379ab/attachment.html>


More information about the Talk-GB mailing list