Accéder au contenu.
Menu Sympa

overpass - Re: [overpass] debugging a new overpass installation

Objet : Overpass API developpement

Archives de la liste

Re: [overpass] debugging a new overpass installation


Chronologique Discussions 
  • From: Roland Olbricht <>
  • To:
  • Subject: Re: [overpass] debugging a new overpass installation
  • Date: Tue, 17 Mar 2015 18:17:46 +0100

Hi Richard,

i'm working on getting an installation of overpass working
against OpenHistoricalMap, and i'm looking for pointers on
how to debug some issues i'm having.

Thank you for the feedback.

The query is answered by the script
cgi-bin/xapi

The error is deteced by that

REQUEST_FILE=`mktemp /tmp/translate_xapi/XXXXXX`
$BIN_DIR/translate_xapi "${BUF}" >$REQUEST_FILE

returns a nonzero value, i.e.

echo $?

immediately after these commands return a nonzero value.

Please try

- whether the script works locally, i.e.

export QUERY_STRING="way..."
./xapi

also produces the error.

- whether the individual commands

mktemp /tmp/translate_xapi/XXXXXX

(the XXX do not need to be replaced)

and

../bin/translate_xapi "way..."

work properly and $REQUEST_FILE is acessible for writing.

Best regards,

Roland




Archives gérées par MHonArc 2.6.18.

Haut de le page