[Tilesathome] setting up the api was: [OSM-dev] t at h API still turn off...
Florian Lohoff
flo at rfc822.org
Tue Sep 2 09:52:56 BST 2008
On Mon, Sep 01, 2008 at 03:12:00PM +0200, Sebastian Spaeth wrote:
> I don't know if Ian Dees is implementing an API solution or whether he
> works on the database side of things...
>
> AFAIK there is no coordinated effort yet, just individual attempts which
> are not public yet.
Okay - i have something to show - which does not crash on the first look ;)
flo at touch:~$ time wget -O osm.out "http://tiles-one.lab.rfc822.org/map?bbox=14.282227,51.717779,14.458008,51.790685"
--10:46:08-- http://tiles-one.lab.rfc822.org/map?bbox=14.282227,51.717779,14.458008,51.790685
=> `osm.out'
Resolving tiles-one.lab.rfc822.org... 195.71.99.200
Connecting to tiles-one.lab.rfc822.org|195.71.99.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/xml]
[ <=> ] 5,211,640 924.49K/s
10:46:14 (923.34 KB/s) - `osm.out' saved [5211640]
real 0m6.287s
user 0m0.024s
sys 0m0.092s
The machine is dedicated for this purpose right now so no worrys
about traffic, crashing it or making excessive load. The above is
hot-cache without an update running - database currently gets
feeded minutely diffs with osmosis.
The (un)escaping of UTF-8 characters still doesnt work and i have
no clue how this works so need help here ... xmllint complains about
the resulting osm files with >128 ascii chars are in there - And most likely
some &>< escaping might be missing.
The perl cgi script for downloading is here:
http://tiles-one.lab.rfc822.org/~flo/
the sql_for_area stolen from osm2ai still throws errors because of undefined
vars - most likely because i am by default coding with strict and -w.
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Those who would give up a little freedom to get a little
security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080902/72940802/attachment.pgp>
More information about the Tilesathome
mailing list