[OSM-dev] API/XAPI caching proxy server

Peter Körner osm-lists at mazdermind.de
Thu Dec 16 21:10:53 GMT 2010



Am 16.12.2010 22:05, schrieb Stefan Keller:
>> Rewriting xapi on the other hand is an excellent idea.
>
> Yes, good idea.
>
> I would probably start with osm2pgsql and setup a mirror (incuding
> hstore). Since osm2pgsql uses the PostGIS database I think it
> should'nt be too hard to turn predicates to WHERE clauses and bbox to
> a ST_Within query in PostGIS.

The osm2pgsql scheme does not store meta information (version, creator, 
timestamp), which are required to create valid .osm files.

The osmosis simple schema would be a better start. It also supports 
hstore and an geometry column but stores full meta information.

Peter



More information about the dev mailing list