Re: [OSM-talk] Is Xapi working?

2009-06-21 Thread Steven te Brinke

Hello Roland,

Currently, I'm also experiencing some problems with the XAPI, but it 
looks like OSM3S is going to suit my needs even better. It looks very 
promising. However, I do know if all my XAPI queries can be converted to 
OSM3S already, or that not all commands are implemented yet. A query is:

api/0.6/node[rcn_ref=*][bbox=2.7984557419334006,50.62642256377723,7.388298070963748,53.954129036190224]
The bbox thing might be replaced with containment in area 3600047796. 
The things that I would like to know are:
- Is it possible to query for key presence? I only know how to query for 
key-value pairs.
- Can I intersect a kv query with a region query? I only saw the 
availability of union, not any kind of intersection.


Thank you very much,
Steven


Roland Olbricht schreef:

This happened over the weekend too. The request this time was

http://osmxapi.hypercube.telascience.org/api/0.6/node[amenity=studio]



You can try to use the OSM Server Side Script server. Just try on the 
command line


wget -O studio.nosm --post-data=query type=\node\has-kv k=\amenity\ 
v=\studio\//queryprint mode=\body\/ 
http://78.46.81.38/api/interpreter


(all on a single line)

or run in you favourite browser

http://78.46.81.38/api/interpreter?data=%3Cquery%20type=%22node%22%3E%3Chas-kv%20k=%22amenity%22%20v=%22studio%22/%3E%3C/query%3E%3Cprint%20mode=%22body%22/%3E

(entire URL on a single line)

This returns a gzipped file with all results. The service is less up-to-date 
(designed to be 4 to 6 hours behind) and does not contain edit metadata 
(timestamp, uid of editor, version) but depending on your needs it still 
might help.


Cheers,
Roland

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
  
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-10 Thread 80n
On Tue, Jun 9, 2009 at 10:26 PM, Roland Olbricht roland.olbri...@gmx.dewrote:


  is there any other way to get OSM data without going to the main server?
  there are no other caches, right?

 There is a whole ecosystem of servers providing OSM data

 http://wiki.openstreetmap.org/wiki/Planet.osm

 There are a couple of sources for excerpts or diff files listed on this
 page.

 http://wiki.openstreetmap.org/wiki/ROMA
 http://wiki.openstreetmap.org/wiki/TRAPI

 These two services are optimised for queries to make a map of the data.
 They
 are intended to be only some minutes behind the main server but don't offer
 all the tags. So you should not use the data for further editing.

 http://wiki.openstreetmap.org/wiki/XAPI

 This is the well known alternative to the main API. It's also intended to
 be
 only minutes behind the main server. It has an extended API with still a
 concise syntax. The data is usable for editing. The only tag that is
 filtered
 out is created_by - this tag can safely be ignored.


Correction.  XAPI does provide the created_by tag.  It also provides the
version attribute.
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread Maarten Deen
80n wrote:

 The server running the xapi service is down at the moment.

Any info on what the problem is and when it's going to be resolved?

And what is the status of the other two XAPI servers?
Bearstech seems to be perpetually testing, and xapi.openstreetmap still serves 
0.5 data and 0.6 service will start shortly (ever since the move to 0.6).

Any help needed?

 Yann, what query were you trying.  Once the server is back up I can take a
 look and see why it would be failing for you.

I've had the telascience server serve me proper 0.6 data, so if there is a data 
issue, it's something that popped up at least after june 1st (that's the last 
time I can confirm getting data).

Regards,
Maarten

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread Lennard
Maarten Deen wrote:

 The server running the xapi service is down at the moment.
 
 Any info on what the problem is and when it's going to be resolved?
 
 And what is the status of the other two XAPI servers?
 Bearstech seems to be perpetually testing, and xapi.openstreetmap still 
 serves 
 0.5 data and 0.6 service will start shortly (ever since the move to 0.6).
 
 Any help needed?

Is XAPI 'officially' supported? I mean: is it considered one of the 
fundamental things in OSM land?

 I've had the telascience server serve me proper 0.6 data, so if there is a 
 data 
 issue, it's something that popped up at least after june 1st (that's the last 
 time I can confirm getting data).

There's more stuff on hypercube that's not running. The coastline 
checker is one of the major ones.

-- 
Lennard

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread 80n
The hypercube server has been down for a couple of days now.  Not sure
what's happening there.


On Tue, Jun 9, 2009 at 7:20 PM, Lennard l...@xs4all.nl wrote:

 Maarten Deen wrote:

  The server running the xapi service is down at the moment.
 
  Any info on what the problem is and when it's going to be resolved?
 
  And what is the status of the other two XAPI servers?
  Bearstech seems to be perpetually testing, and xapi.openstreetmap still
 serves
  0.5 data and 0.6 service will start shortly (ever since the move to
 0.6).
 
  Any help needed?

 Is XAPI 'officially' supported? I mean: is it considered one of the
 fundamental things in OSM land?

  I've had the telascience server serve me proper 0.6 data, so if there is
 a data
  issue, it's something that popped up at least after june 1st (that's the
 last
  time I can confirm getting data).

 There's more stuff on hypercube that's not running. The coastline
 checker is one of the major ones.

 --
 Lennard

 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread Paul Fox
lennard wrote:
  Maarten Deen wrote:
  
   The server running the xapi service is down at the moment.
   
   Any info on what the problem is and when it's going to be resolved?
   
   And what is the status of the other two XAPI servers?
   Bearstech seems to be perpetually testing, and xapi.openstreetmap still 
  serves 
   0.5 data and 0.6 service will start shortly (ever since the move to 0.6).
   
   Any help needed?
  
  Is XAPI 'officially' supported? I mean: is it considered one of the 
  fundamental things in OSM land?

is there any other way to get OSM data without going to the main server?
there are no other caches, right?

paul
=-
 paul fox, p...@foxharp.boston.ma.us (arlington, ma, where it's 53.6 degrees)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread Stefan de Konink
Lennard wrote:
 Maarten Deen wrote:
 
 The server running the xapi service is down at the moment.
 Any info on what the problem is and when it's going to be resolved?

 And what is the status of the other two XAPI servers?
 Bearstech seems to be perpetually testing, and xapi.openstreetmap still 
 serves 
 0.5 data and 0.6 service will start shortly (ever since the move to 0.6).

 Any help needed?
 
 Is XAPI 'officially' supported? I mean: is it considered one of the 
 fundamental things in OSM land?

For the BeNeLux server we are now running a 'SQL based' XAPI server[1]. 
Since that is about 700MB worth of data it is relatively easy to setup 
and update.

The world on disk is 35GB and the code exist to support SQL based 
queries and 'xpath' style queries[2] with '0.5' output. So the only 
thing that needs to be added is the actual timestamp of the last data load.

If anyone has a server available with 64bit Linux, 4-8GB of RAM and some 
spare gigabytes left, port 80 open to the public, I am happy to set it up.


Stefan


[1] http://xapi.openstreet.nl:8000/
[2] http://repo.or.cz/w/handlerosm.git

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread Roland Olbricht

 is there any other way to get OSM data without going to the main server?
 there are no other caches, right?

There is a whole ecosystem of servers providing OSM data

http://wiki.openstreetmap.org/wiki/Planet.osm

There are a couple of sources for excerpts or diff files listed on this page.

http://wiki.openstreetmap.org/wiki/ROMA
http://wiki.openstreetmap.org/wiki/TRAPI

These two services are optimised for queries to make a map of the data. They 
are intended to be only some minutes behind the main server but don't offer 
all the tags. So you should not use the data for further editing.

http://wiki.openstreetmap.org/wiki/XAPI

This is the well known alternative to the main API. It's also intended to be 
only minutes behind the main server. It has an extended API with still a 
concise syntax. The data is usable for editing. The only tag that is filtered 
out is created_by - this tag can safely be ignored.

http://wiki.openstreetmap.org/wiki/OSM_Server_Side_Script

This one is very recent and still in a state of playground. It is intended to 
serve particular complex queries beyond the scope of XAPI. It also offers 
(almost) the complete functionality of XAPI. It is some hours behind the main 
API. It does not serve data that can be used for editing, in particular it 
does not provide version information. If somebody asks for version number 
support (or other metadata), I'll start to implement that. There has been no 
demand so far.

There may be other storage servers, the category Data storage on the wiki is 
not yet written. But at least, there are plenty of alternatives to download 
data from the main server.

Cheers,
Roland

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-09 Thread Paul Fox
roland wrote:
  
   is there any other way to get OSM data without going to the main server?
   there are no other caches, right?
  
  There is a whole ecosystem of servers providing OSM data

thank you roland -- i wasn't aware of all the options.

my main use is fetching quadtile-size bounding boxes, so xapi has
been the alternative of choice, but i'll explore the others.

paul

  
  http://wiki.openstreetmap.org/wiki/Planet.osm
  
  There are a couple of sources for excerpts or diff files listed on this page.
  
  http://wiki.openstreetmap.org/wiki/ROMA
  http://wiki.openstreetmap.org/wiki/TRAPI
  
  These two services are optimised for queries to make a map of the data. They 
  are intended to be only some minutes behind the main server but don't offer 
  all the tags. So you should not use the data for further editing.
  
  http://wiki.openstreetmap.org/wiki/XAPI
  
  This is the well known alternative to the main API. It's also intended to be 
  only minutes behind the main server. It has an extended API with still a 
  concise syntax. The data is usable for editing. The only tag that is 
  filtered 
  out is created_by - this tag can safely be ignored.
  
  http://wiki.openstreetmap.org/wiki/OSM_Server_Side_Script
  
  This one is very recent and still in a state of playground. It is intended 
  to 
  serve particular complex queries beyond the scope of XAPI. It also offers 
  (almost) the complete functionality of XAPI. It is some hours behind the 
  main 
  API. It does not serve data that can be used for editing, in particular it 
  does not provide version information. If somebody asks for version number 
  support (or other metadata), I'll start to implement that. There has been no 
  demand so far.
  
  There may be other storage servers, the category Data storage on the wiki 
  is 
  not yet written. But at least, there are plenty of alternatives to download 
  data from the main server.
  
  Cheers,
  Roland
  
  ___
  talk mailing list
  talk@openstreetmap.org
  http://lists.openstreetmap.org/listinfo/talk

=-
 paul fox, p...@foxharp.boston.ma.us (arlington, ma, where it's 51.6 degrees)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-08 Thread 80n
The server running the xapi service is down at the moment.

Yann, what query were you trying.  Once the server is back up I can take a
look and see why it would be failing for you.

80n

On Mon, Jun 8, 2009 at 4:47 PM, Yann Coupin y...@coupin.net wrote:

 I tried multiple times to access it since the migration to the 0.6 API
 but I've not been able to get a successful answer even once. The
 actual result varied between a blank page, a 50x error or a network
 error.

 Yann

 Le 8 juin 09 à 16:53, Chris Hill a écrit :

  I've tried to access some stuff from Xapi and it keeps coming back
  with
 
  The network link was interrupted while negotiating a connection.
  Please
  try again.
 
  This happened over the weekend too. The request this time was
 
  http://osmxapi.hypercube.telascience.org/api/0.6/node[amenity=studio]http://osmxapi.hypercube.telascience.org/api/0.6/node%5Bamenity=studio%5D
 
  Am I doing something wrong or is there something wrong with Xapi?


 ___
 talk mailing list
 talk@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/talk

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] Is Xapi working?

2009-06-08 Thread Roland Olbricht
 This happened over the weekend too. The request this time was

 http://osmxapi.hypercube.telascience.org/api/0.6/node[amenity=studio]

You can try to use the OSM Server Side Script server. Just try on the 
command line

wget -O studio.nosm --post-data=query type=\node\has-kv k=\amenity\ 
v=\studio\//queryprint mode=\body\/ 
http://78.46.81.38/api/interpreter

(all on a single line)

or run in you favourite browser

http://78.46.81.38/api/interpreter?data=%3Cquery%20type=%22node%22%3E%3Chas-kv%20k=%22amenity%22%20v=%22studio%22/%3E%3C/query%3E%3Cprint%20mode=%22body%22/%3E

(entire URL on a single line)

This returns a gzipped file with all results. The service is less up-to-date 
(designed to be 4 to 6 hours behind) and does not contain edit metadata 
(timestamp, uid of editor, version) but depending on your needs it still 
might help.

Cheers,
Roland

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk