You just have to wait...
For only a small city it takes about one hour with a regular disk... To process belgium it takes four days.
With a SSD disk it's much faster since it mainly limited by the speed of the hard disk.
Hi Daniel, thank you for the reply.
I successfully downloaded the area required for the workshop from bbbike.org <http://bbbike.org>. Unfortunately osm2pgrouting is not able to process this data set, it is hanging up after creating the Classes table (see below). Is there any way to run osm2pgrouting in verbose mode? Or somehow get some more information on may be going wrong?
Thank you,
Luís
On 28 March 2013 16:43, Daniel Kastl <daniel@georepublic.de <mailto:daniel@georepublic.de>> wrote:
On Fri, Mar 29, 2013 at 12:14 AM, Luís de Sousa
<luis.a.de.sousa@gmail.com <mailto:luis.a.de.sousa@gmail.com>> wrote:
Hello everyone,
I'm just starting with pgRouting, following the workshop tutorial
available on line. I've installed all the required packages and
created the databases successfully, but unfortunately I'm not
able to
get the data. Here's the result using the command in the workshop
pages:
$ wget --progress=dot:mega -O "sampledata.osm"
"http://jxapi.openstreetmap.org/xapi/api/0.6/*\[bbox=\-105\.2147,39\.5506,\-104\.594,39\.9139\]
<http://jxapi.openstreetmap.org/xapi/api/0.6/*[bbox=-105.2147,39.5506,-104.594,39.9139]>"
Warning: wildcards not supported in HTTP.
--2013-03-28 15:37:59--
http://jxapi.openstreetmap.org/xapi/api/0.6/*\[bbox=\-105\.2147,39\.5506,\-104\.594,39\.9139\]
<http://jxapi.openstreetmap.org/xapi/api/0.6/*[bbox=-105.2147,39.5506,-104.594,39.9139]>
Resolving jxapi.openstreetmap.org
<http://jxapi.openstreetmap.org> (jxapi.openstreetmap.org
<http://jxapi.openstreetmap.org>)... 128.40.168.100
Connecting to jxapi.openstreetmap.org
<http://jxapi.openstreetmap.org>
(jxapi.openstreetmap.org
<http://jxapi.openstreetmap.org>)|128.40.168.100|:80... connected.
HTTP request sent, awaiting response... 502 Proxy Error
2013-03-28 15:52:59 ERROR 502: Proxy Error.
In face of this I went to the OSM wiki to check if this
address was
correct. I thus tried it the way they suggest there:
$ wget --progress=dot:mega -O "sampledata.osm"
"http://api.openstreetmap.org/api/0.6/map?bbox=-105.2147,39.5506,-104.594,39.9139"
--2013-03-28 15:55:01--
http://api.openstreetmap.org/api/0.6/map?bbox=-105.2147,39.5506,-104.594,39.9139
Resolving api.openstreetmap.org <http://api.openstreetmap.org>
(api.openstreetmap.org <http://api.openstreetmap.org>)...
193.63.75.99, 193.63.75.100, 193.63.75.103, ...
Connecting to api.openstreetmap.org <http://api.openstreetmap.org>
(api.openstreetmap.org
<http://api.openstreetmap.org>)|193.63.75.99|:80... connected.
HTTP request sent, awaiting response... 400 Bad Request
2013-03-28 15:55:01 ERROR 400: Bad Request.
Still no luck, so I tried with JOSM, as suggested in the workshop
page. Using the same bounding box I get this error:
The OSM server 'http://api.openstreetmap.org/api/0.6/’
reported a bad request.
The area you tried to download is too big or your request was
too large.
Either request a smaller area or use an export file provided
by the
OSM community
Apparently the API is not digesting well this bounding box. Is
there
any other way I could get the data to follow on with the Workshop?
Eventually the API has changed (the current workshop was mainly
written for FOSS4G 2011).
There are various ways though to download OSM data, ie:
http://download.geofabrik.de/
http://download.bbbike.org/osm/
http://developer.mapquest.com/web/products/open/xapi
So I'm not sure the current API error is temporary. Could be that
the XAPI is not available anymore:
http://wiki.openstreetmap.org/wiki/Xapi
If you find a working solution I'm glad to update the workshop.
Daniel
Thank you,
Luís
_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
<mailto:Pgrouting-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
-- Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
<mailto:daniel.kastl@georepublic.de>
Web: http://georepublic.de/>
_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
<mailto:Pgrouting-users@lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users