[OSM-dev] OSM APIs?
Graham Jones
grahamjones139 at googlemail.com
Sun Jul 5 17:52:19 BST 2009
I have never used MoneDB - are you using its direct XML querying mode on a
Planet file, or are you reading the planet file and uisng it as a normal
relational database?
Graham
2009/7/5 Stefan de Konink <stefan at konink.de>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Graham Jones wrote:
> > Your application looks very much like what I am thinking of making - I
> > like the idea of being able to write the SQL directly for testing.
> > Which database is it using?
>
> ...MonetDB ;) And it is published online by using Cherokee's DBSlayer
> implementation.
>
> > I have started to write an XAPI compatible interface to an
> > osmosis-generated postgresql database as a simple python web server.
> > It nearly works - just need to de-bug the regular expressions I am using
> > to parse the URL - my 'off the shelf' python code expected a CGI syntax,
> > so it needs a bit of modification to do XAPI....It looks like you may
> > already have something similar?
>
> DBSlayer takes /query and basically can output to json, php, ruby,
> python and xmlrpc. Since it uses the Cherokee loadbalancer principle it
> is easy to balance between databases.
>
> > I would like to get to the state where I can use the same postgresql
> > database for querying map data via XAPI (or other interface), and
> > rendering it using mapnik. I haven't looked at how to use the osmosis
> > postgresql schema for mapnik yet.
>
> I think the real XAPI syntax is nothing more than a bad XPath
> implementation. I have created that aswell before, but I think what I
> has set up now is much more efficient and gives more power to the user.
> Ofcourse also to break it.
>
>
> Stefan
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEAREKAAYFAkpQk1UACgkQYH1+F2Rqwn1IMwCgk1EsEjeQBSYJRuBTv18rUsKh
> VCMAnRNp9+ZbwjKgMfX3vfeakJvOq0IU
> =amvR
> -----END PGP SIGNATURE-----
>
--
Dr. Graham Jones
Hartlepool, UK
email: grahamjones139 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090705/1f1b047c/attachment.html>
More information about the dev
mailing list