Opened 4 years ago

Closed 3 years ago

#1445 closed defect (fixed)

Add Feature City OSM data for GPS Drive

Reported by: kalxas Owned by: darkblueb
Priority: major Milestone: OSGeoLive9.5
Component: OSGeoLive Keywords: OSM
Cc: live-demo@…

Description

From nightly build12091 logs:

--2014-12-28 00:25:49--  http://download.osgeo.org/livedvd/data/osm/SanMateo_CA/SanMateo_CA.osm.bz2
Resolving download.osgeo.org (download.osgeo.org)... 140.211.15.132
Connecting to download.osgeo.org (download.osgeo.org)|140.211.15.132|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-28 00:25:50 ERROR 404: Not Found.

...

Resolving download.osgeo.org (download.osgeo.org)... 140.211.15.132
Connecting to download.osgeo.org (download.osgeo.org)|140.211.15.132|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-12-28 00:26:36 ERROR 404: Not Found.

Change history (10)

comment:1 Changed 4 years ago by kalxas

I see that there is a SanMateo_CA.osm file saved, but I think it should be archived in download.osgeo.org

comment:2 Changed 4 years ago by kalxas

This also causes this error in install_pgrouting.sh:

create pgrouting database with PostGIS and pgRouting
CREATE EXTENSION
CREATE EXTENSION
ERROR: /usr/local/share/data/osm/feature_city_CBD.osm.bz2 sample data is not available

comment:3 Changed 4 years ago by darkblueb

Owner: changed from live-demo@… to darkblueb
macbook-17:foss4g-eu-2014-misc dbb$ curl http://download.osgeo.org/livedvd/data/osm/SanMateo_CA/SanMateo_CA.osm.bz2 > /tmp/00
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  6 6169k    6  423k    0     0  58693      0  0:01:47  0:00:07  0:01:40 81892^C
macbook-17:foss4g-eu-2014-misc dbb$ curl http://download.osgeo.org/livedvd/data/osm/SanMateo_CA/SanMateo_CA_CBD.osm.bz2 > /tmp/01
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1443k  100 1443k    0     0   244k      0  0:00:05  0:00:05 --:--:--  261k

comment:4 Changed 4 years ago by darkblueb

FIXED in build 12107

but, there is one more file to generate, for GPS Drive ?

CITY="SanMateo_CA"

http://download.osgeo.org/livedvd/data/osm/$CITY/${CITY}_poi.db.bz2

comment:5 Changed 4 years ago by kalxas

Summary: Feature City OSM download failsAdd Feature City OSM data for GPS Drive

comment:6 Changed 4 years ago by kalxas

Looking at nightly build 12185, the problem still exists.

comment:7 Changed 4 years ago by darkblueb

I attempted to build the utility osm2poidb in a scratch VM, and failed. Details:

user@lubase-1404:~/srcs/osm2poidb/build$ make
Scanning dependencies of target osm2poidb
[100%] Building C object CMakeFiles/osm2poidb.dir/osm2poidb.o
/home/user/srcs/osm2poidb/osm2poidb.c:31:18: fatal error: glib.h: No such file or directory
 #include <glib.h>
                  ^
compilation terminated.
make[2]: *** [CMakeFiles/osm2poidb.dir/osm2poidb.o] Error 1
make[1]: *** [CMakeFiles/osm2poidb.dir/all] Error 2
make: *** [all] Error 2

apparently,

sudo apt-get install libglib2.0-dev
>> supplies  --  /usr/include/glib-2.0/glib.h

but osm2poid build wants glib.h in /usr/include ? I did not look into installing pre-2.0 glib-dev

comment:8 Changed 4 years ago by kalxas

Milestone: OSGeoLive8.5OSGeoLive9.0

Ticket retargeted after milestone closed

comment:9 Changed 4 years ago by kalxas

Milestone: OSGeoLive9.0OSGeoLive9.5

Ticket retargeted after milestone closed

comment:10 Changed 3 years ago by kalxas

Resolution: fixed
Status: newclosed

Closing this ticket since GPSDrive was removed. We should consider the OSM featured city for the next releases. Perhaps we should start including Bonn, preparing for the next international FOSS4G.

Note: See TracTickets for help on using tickets.