brycenesbitt wrote > I'm reading http://wiki.openstreetmap.org/wiki/Jxapi which kind of implies > I should expect XML from jxapi. But what I get back is JSON formatted > data. How can I get XML? > > (I'm using wget > "http://jxapi.openstreetmap.org/xapi/api/0.6/way[amenity=foo]")
You should. A change I made recently screwed up the order of json/xml responses. Paul created a bug here for this and I'll probably fix it today: https://github.com/iandees/pyxapi/issues/4 In the meantime, if you add a --header="Accept: text/xml" flag to your wget you'll probably get XML back. -- View this message in context: http://gis.19327.n5.nabble.com/How-do-I-get-XML-output-from-JXAPI-tp5780411p5780511.html Sent from the General Discussion mailing list archive at Nabble.com. _______________________________________________ talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/talk

