[OSM-talk] Mirror Strategy Question
Frederik Ramm
frederik at remote.org
Wed Dec 7 12:02:54 GMT 2011
Hi,
On 12/07/11 11:30, Frans Thamura wrote:
>> 3. produce an Indonesia data extract that has all data for Indonesia
>> and that other people can download?
>
> that is my idea, i will try to promote to GIS vocational highschool ,
> make them official contribute
There are several tools you can use for that. The most commonly used is
Osmosis. You will have to make a "polygon file" that describes the
cutting boundary (e.g. the one attached below), then you can cut
Indonesia from your planet file with
osmosis --read-pbf planet.osm.pbf --bp file=indonesia.poly --write-pbf
indonesia.osm.pbf
Then if you update your planet.osm.pbf, you can again use Osmosis to
derive a diff between the old indonesia.osm.pbf and the new
indonesia.osm.pbf, and make that diff available to your downloaders.
Note that all this is only for normal files, and not for database and
API and so on - you would be offering an "Indonesia" file for download,
not API access to a database.
Bye
Frederik
polygon
1
9.594773E+01 6.519293E+00
9.276481E+01 5.206835E+00
1.027505E+02 -8.327828E+00
1.232210E+02 -1.160655E+01
1.323276E+02 -8.641955E+00
1.409950E+02 -9.569642E+00
1.410126E+02 -9.257823E+00
1.410082E+02 -6.169678E+00
1.410126E+02 -2.566397E+00
1.404965E+02 -1.939047E+00
1.292901E+02 3.324019E+00
1.267747E+02 4.658980E+00
1.190637E+02 4.161586E+00
1.188332E+02 4.414538E+00
1.185705E+02 4.285381E+00
1.181416E+02 4.215412E+00
1.178383E+02 4.198219E+00
1.176233E+02 4.193986E+00
1.175024E+02 4.205274E+00
1.173956E+02 4.281464E+00
1.172495E+02 4.373165E+00
1.165395E+02 4.404166E+00
1.158602E+02 4.380058E+00
1.156612E+02 4.173388E+00
1.155479E+02 3.911527E+00
1.155548E+02 3.604769E+00
1.154965E+02 3.301354E+00
1.153695E+02 3.094426E+00
1.152083E+02 3.042688E+00
1.150058E+02 2.801209E+00
1.149269E+02 2.376776E+00
1.147005E+02 2.231817E+00
1.145221E+02 1.513726E+00
1.139113E+02 1.482649E+00
1.136300E+02 1.306535E+00
1.131119E+02 1.489555E+00
1.130845E+02 1.568974E+00
1.128575E+02 1.621343E+00
1.123674E+02 1.600050E+00
1.121272E+02 1.420492E+00
1.120929E+02 1.185665E+00
1.116914E+02 1.075151E+00
1.111974E+02 1.106233E+00
1.108337E+02 1.023346E+00
1.105695E+02 9.266410E-01
1.101372E+02 1.275455E+00
1.097701E+02 1.589692E+00
1.096843E+02 1.803760E+00
1.096603E+02 2.059227E+00
1.095299E+02 2.252526E+00
1.054407E+02 1.391704E+00
1.043153E+02 1.231244E+00
1.040188E+02 1.217430E+00
1.038185E+02 1.173225E+00
1.035797E+02 1.200853E+00
1.034314E+02 1.214667E+00
1.030911E+02 1.501979E+00
1.023939E+02 1.971537E+00
1.014414E+02 2.559672E+00
1.006619E+02 3.158571E+00
9.594773E+01 6.519293E+00
END
END
More information about the talk
mailing list