[OSM-dev] OSM cgimap GSOC 2013 report #8

Paul Norman penorman at mac.com
Sun Aug 25 01:19:39 UTC 2013


What did I get done?:

Tests are finished for every call handled by cgimap, except map?, where it
is already the standard and there already exists a statistical testing tool.
I'm also not testing CORS. I'm not too worried about CORS because cgimap's
responses CORS responses are clearly acceptable for the map? call.

Cgimap + apidb backend passes every test

Cgimap + pgsnapshot backend passes every test not involving history, with
some issues fixed by pull requests I just opened.

The caveat about not involving history is wider than I thought going into
the project. /[node|way|relation]/#id requires knowledge of history to
distinguish between 404 errors and 410 errors, as do full calls. The
multi-fetch calls also return deleted items.

Up next week?:

Fixing up some command-line options for pgsnapshot

Figuring out how to deploy with apache and how to direct GET one place and
PUT/POST/DELETE elsewhere in "Apache's labyrinthine set of configuration
parameters"

Docs

Time permitting, documenting a JSON format. Cgimap has JSON support, but
there is no documented set of JSON formats that cover all types of formats
the API uses. I should get to this, just not sure if it will be this week.
Finding the appropriate Apache config might be quick, or painfully slow.

Issues:

Finding the right apache config parameters is going to be a pain.




More information about the dev mailing list