On Fri, Sep 19, 2008 at 4:41 PM, 80n <[EMAIL PROTECTED]> wrote: > On Fri, Sep 19, 2008 at 1:40 PM, Sebastian Spaeth <[EMAIL PROTECTED]>wrote: > >> 80n wrote: >> >>> Nothing unusual at the server end, but I am seeing random truncation of >>> responses sometimes. >>> >> >> There is something fishy client side anyway: >> >> ./tilesGen.pl --Debug=1 xy 34 21 6 >> reliably and quickly fails with: >> >> [#1 0% Download] Downloading: Map data for caption... >> Download >> >> http://www.informationfreeway.org/api/0.5/node[place=town|city|country][bbox=8.437500,48.317252,19.687500,53.088028]<http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D> >> [#1 0% Download] No data here! (OSMXAPI) >> >> while a wget >> http://www.informationfreeway.org/api/0.5/node[place=town|city|country][bbox=8.437500,48.317252,19.687500,53.088028]<http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D> >> > > This seems to often be truncated if downloaded from a browser, but as you > say, wget seems to work reliably. >
Actually, not even wget is reliable (1933363 is the correct answer): [EMAIL PROTECTED]:~$ wget -O test.osm http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D 16:42:27 (912.53 KB/s) - `test.osm' saved [1933363] [EMAIL PROTECTED]:~$ wget -O test.osm http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D 16:42:30 (912.50 KB/s) - `test.osm' saved [1933363] [EMAIL PROTECTED]:~$ wget -O test.osm http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D 16:42:34 (714.03 KB/s) - `test.osm' saved [1382209] [EMAIL PROTECTED]:~$ wget -O test.osm http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D 16:42:40 (827.56 KB/s) - `test.osm' saved [1933363] [EMAIL PROTECTED]:~$ wget -O test.osm http://www.informationfreeway.org/api/0.5/node%5Bplace=town%7Ccity%7Ccountry%5D%5Bbbox=8.437500,48.317252,19.687500,53.088028%5D 16:42:43 (332.64 KB/s) - `test.osm' saved [467121] > > >> >> reliably fetches *something* from the same box. The content still seems >> interesting (mind the above bbox is squarely in Europe). At least the above >> download returns this: >> >> .... >> <node id='52553622' lat='59.8500000' lon='-134.9833330' user='Jason Reid' >> osmxapi:users='Jason Reid' timestamp='2007-09-16T08:24:57Z'>^M >> <tag k='comment' v='Experimental import of Canadian places and POIs >> from GNS Dataset'/> >> .... >> > > Are you sure? I don't see this node in any download that I tried. > > > >> >> At least it *is* a place=town, but neither lat nor lon are within the >> bbox. There's tons more of stuff like this in the file. >> > >
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
