[OSM-talk] confuse with OSM API

Graham Jones grahamjones139 at gmail.com
Sat Jan 21 19:25:19 GMT 2012


Hi Frans,
I have drawn a simplified version of the "Components of OSM" picture (
http://wiki.openstreetmap.org/wiki/Develop) - you can see it here:
http://maps3.org.uk/doc/OSM_Data_Flows.pdf <http://maps3.org.uk/doc>.

What I am trying to show is that the editors talk to the main OSM API
database.
The planet file you used to populate your own database to make your
tileserver is essentially a copy of the data in the API database.

The editors can also display tiles, but they do that just like any other
web browser would - they are just using them as background images.

Therefore unless you want to have your own private data, that is not in
OSM, you should just edit normally and use osmosis and osm2pgsql to keep
your local database up to date with any edits, then use your local database
to generate tiles.

Hope that helps a bit.


Graham.

On 21 January 2012 09:20, Frans Thamura <frans at meruvian.org> wrote:

> hi all
>
> i am in discussion with OSMAnd, related to implement OSMAnd in non
> OSM.org domain, like our domain osmosa.net
>
> and it need Tile, so OSMAnd communicate with Tile.
>
> and we know there is OSM API, which used by JOSM.
>
> and we know JOSM also talking with tile, we can see the tile in JOSM
>
> so...
>
> i am confuse, how many API inside OSM, that we can use.
>
> i tought only from OSM API.. but it isnt
>
> F
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>



-- 
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20120121/f7c199da/attachment-0001.html>


More information about the talk mailing list