You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2008-11-21 01:14:05
- Jochen Riehm
- Member
- Registered: 2008-11-21
- Posts: 18
Error 403 from api with call from OSM Composer
Hi Everybody,
I just installed OSM Composer, which seems to be a cool tool to generate Garmin hiking maps directly from OSM. I generated a map for a very small area successfully.
However, I am now trying to generate a map for a slightly larger area (maybe 100km x 50km) and after downloading some tiles, I get messages like this
http://api.openstreetmap.org/api/0.5/ma … ,51.943375
java.io.IOException: Server returned HTTP response code: 403 for URL: http://api.openstreetmap.org/api/0.5/ma … ,51.943375
in the log, and after a while the program stalls. Entering the same URL in the browser leads to the same error message, so it is probably not a problem of OSM Composer directly.
Anybody have a clue what is going on here? Does the OSM api count the number of requests from my IP and block after, say, 20 requests in a day? I never had this problem when mapping, though. And, since I was mapping in large areas, I had to reload OSM data into Merkaartor quite a bit and never had this problem.
Any help would be greatly appreciated,
Jochen
Offline
#2 2008-11-21 12:06:08
- emj
- Member
- From: .se (59.3N17.99E) 0735969076
- Registered: 2006-06-18
- Posts: 949
Re: Error 403 from api with call from OSM Composer
I don't know if there is rate limiting in OSM I would hope so. There are two options for you:
1. use use xapi the extended api it's made for bulk download.
2. download a planet dump and use osmosis. (this isn't that hard and will probably be faster)
It's abit sad that Composer doesn't support this, but I understand why.. :-) (dev time/java I'm guessing)
Last edited by emj (2008-11-21 12:06:35)
Offline
#3 2008-11-22 00:16:30
- Jochen Riehm
- Member
- Registered: 2008-11-21
- Posts: 18
Re: Error 403 from api with call from OSM Composer
Thanks for the tip with xapi. Fortunately it supports the same read requests, so I could just change Composer's api address setting. Now it doesn't stall anymore. However, now I get 501-Errors for most of the requests:
java.io.IOException: Server returned HTTP response code: 501 for URL: http://osmxapi.hypercube.telascience.or … 1.05,49.48
Ok, just checked, this is a "Not Implemented" error. Which is funny, because the first (of the same type) reads seem to go through. But maybe Composer was reading them from cache and not actually accessing the server? It says XAPI-URL on Composer's setting page though.
Confused...
Offline
#4 2008-11-22 00:57:22
- emj
- Member
- From: .se (59.3N17.99E) 0735969076
- Registered: 2006-06-18
- Posts: 949
Re: Error 403 from api with call from OSM Composer
I think you should ask the creator of Composer, my experience with garmin maps are limited to what people ask.. :-)
Well ther eseems to be more people who have problems with xapi on the forum..
Last edited by emj (2008-11-22 01:03:56)
Offline
#5 2008-11-22 01:28:01
- emj
- Member
- From: .se (59.3N17.99E) 0735969076
- Registered: 2006-06-18
- Posts: 949
Re: Error 403 from api with call from OSM Composer
I can use:
wget -O asd www.informationfreeway.org/api/0.5/map?bbox=11.54,48.14,11.543,48.145
Offline