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?<br><br>Graham<br><br><div class="gmail_quote">2009/7/5 Stefan de Konink <span dir="ltr"><<a href="mailto:stefan@konink.de">stefan@konink.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Graham Jones wrote:<br>
</div><div class="im">> Your application looks very much like what I am thinking of making - I<br>
> like the idea of being able to write the SQL directly for testing.<br>
> Which database is it using?<br>
<br>
</div>...MonetDB ;) And it is published online by using Cherokee's DBSlayer<br>
implementation.<br>
<div class="im"><br>
> I have started to write an XAPI compatible interface to an<br>
> osmosis-generated postgresql database as a simple python web server.<br>
> It nearly works - just need to de-bug the regular expressions I am using<br>
> to parse the URL - my 'off the shelf' python code expected a CGI syntax,<br>
> so it needs a bit of modification to do XAPI....It looks like you may<br>
> already have something similar?<br>
<br>
</div>DBSlayer takes /query and basically can output to json, php, ruby,<br>
python and xmlrpc. Since it uses the Cherokee loadbalancer principle it<br>
is easy to balance between databases.<br>
<div class="im"><br>
> I would like to get to the state where I can use the same postgresql<br>
> database for querying map data via XAPI (or other interface), and<br>
> rendering it using mapnik.  I haven't looked at how to use the osmosis<br>
> postgresql schema for mapnik yet.<br>
<br>
</div>I think the real XAPI syntax is nothing more than a bad XPath<br>
implementation. I have created that aswell before, but I think what I<br>
has set up now is much more efficient and gives more power to the user.<br>
Ofcourse also to break it.<br>
<div class="im"><br>
<br>
Stefan<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.12 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
</div>iEYEAREKAAYFAkpQk1UACgkQYH1+F2Rqwn1IMwCgk1EsEjeQBSYJRuBTv18rUsKh<br>
VCMAnRNp9+ZbwjKgMfX3vfeakJvOq0IU<br>
=amvR<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br><br clear="all"><br>-- <br>Dr. Graham Jones<br>Hartlepool, UK<br>email: <a href="mailto:grahamjones139@gmail.com">grahamjones139@gmail.com</a><br>