-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I've set up a XAPI for Switzerland [1] using JXAPI[2]. Usage is described at [3]. The database does not get updated automatically at the moment, but i'm working on this. The goal is to apply the minutely diffs. I'd really appreciate if some of you could help me testing this and report any problems you have using the XAPI so they can get sorted out and the XAPI would be in a usable state once I managed the minutely update.
[1]http://osm.xiala.net:8080/xapi/api/0.6/ [2]http://www.openstreetmap.org/user/iandees/diary/12916 [3]http://wiki.openstreetmap.org/wiki/Xapi
Lieber Beni
2011/6/12 Beni Buess beni@benel.net schrieb:
I've set up a XAPI for Switzerland [1] using JXAPI[2]. Usage is described at [3]. The database does not get updated automatically at the moment, but i'm working on this. The goal is to apply the minutely diffs. I'd really appreciate if some of you could help me testing this and report any problems you have using the XAPI so they can get sorted out and the XAPI would be in a usable state once I managed the minutely update.
[1]http://osm.xiala.net:8080/xapi/api/0.6/ [2]http://www.openstreetmap.org/user/iandees/diary/12916 [3]http://wiki.openstreetmap.org/wiki/Xapi
Super! I will have a look at it.
BTW: I collect such tests myself here in order to test my idea of a webservice I named "XAPI-to-Map": http://www.gis.hsr.ch/wiki/Diskussion:PostGIS_Terminal#XAPI-Tests
These blackbox tests can be used for testing your XAPI instance too. Please feel free to add there other typical XAPI requests and usages.
LG, Stefan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am Mon, 13 Jun 2011 13:41:25 +0200 schrieb Stefan Keller sfkeller@gmail.com:
Lieber Beni
2011/6/12 Beni Buess beni@benel.net schrieb:
I've set up a XAPI for Switzerland [1] using JXAPI[2]. Usage is described at [3]. The database does not get updated automatically at the moment, but i'm working on this. The goal is to apply the minutely diffs. I'd really appreciate if some of you could help me testing this and report any problems you have using the XAPI so they can get sorted out and the XAPI would be in a usable state once I managed the minutely update.
The DB is now updating with the minutely diffs and currently catching up. it takes around 6 minutes to load 15 minutes of changes. The update process is driven by osmosis like this:
osmosis --rri workingDirectory=. --simc --rp host="localhost" database="xapitest" user="xapi" --dd --ac --bp file="switzerland.poly" - --rp host="localhost" database="xapi" user="xapi" --dd --dc --wpc host="localhost" database="xapi" user="xapi"
switzerland.poly comes from cloudmade [1].
Probably there is some room for improvement to make this update process faster and not that expensive.
Super! I will have a look at it.
BTW: I collect such tests myself here in order to test my idea of a webservice I named "XAPI-to-Map": http://www.gis.hsr.ch/wiki/Diskussion:PostGIS_Terminal#XAPI-Tests
These blackbox tests can be used for testing your XAPI instance too. Please feel free to add there other typical XAPI requests and usages.
[1]http://download.cloudmade.com/europe/western_europe/switzerland
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am Sun, 12 Jun 2011 16:20:10 +0200 schrieb Beni Buess beni@benel.net:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi
I've set up a XAPI for Switzerland [1] using JXAPI[2]. Usage is described at [3]. The database does not get updated automatically at the moment, but i'm working on this. The goal is to apply the minutely diffs. I'd really appreciate if some of you could help me testing this and report any problems you have using the XAPI so they can get sorted out and the XAPI would be in a usable state once I managed the minutely update.
The Switzerland XAPI [1] Database is now 2 hours behind the planet. Sarah, if you like, add a link to "XAPI Switzerland" to the taginfo.openstreetmap.ch key pages.
The Didok Check Map [2] gets the stops from the same database.
[1]http://osm.xiala.net:8080/xapi/api/0.6/ [2]http://osm.xiala.net/didok-check/
Beni
Hi,
On Sun, Jun 19, 2011 at 08:00:21PM +0200, Beni Buess wrote:
The Switzerland XAPI [1] Database is now 2 hours behind the planet.
Cool, how did you do it in the end? Do you reimport the complete file or do you update inside the DB?
Sarah, if you like, add a link to "XAPI Switzerland" to the taginfo.openstreetmap.ch key pages.
Done.
Sarah
Am Thu, 30 Jun 2011 23:06:44 +0200 schrieb Sarah Hoffmann lonvia@denofr.de:
Hi,
On Sun, Jun 19, 2011 at 08:00:21PM +0200, Beni Buess wrote:
The Switzerland XAPI [1] Database is now 2 hours behind the planet.
Cool, how did you do it in the end? Do you reimport the complete file or do you update inside the DB?
like this:
osmosis --rri workingDirectory=. --simc --rp host="localhost" database="xapi" user="xapi" --dd --ac --bp file="switzerland.poly" - --rp host="localhost" database="xapi" user="xapi" --dd --dc --wpc host="localhost" database="xapi" user="xapi"
this is highly inefficient but working. it takes around 6 minutes to apply a diff. to explain it a bit: get the change file(s) - read the db - make a entity stream from dataset - apply the change - cut by polygon then read the db again - make entity stream - derive changeset - write changeset to db
Sarah, if you like, add a link to "XAPI Switzerland" to the taginfo.openstreetmap.ch key pages.
Done.
thanks. some data around the borders, like the two big lakes is missing in the current db.
Sarah _______________________________________________ talk-ch mailing list talk-ch@openstreetmap.ch http://lists.openstreetmap.ch/mailman/listinfo/talk-ch