<div dir="ltr">Hi Nick,<div><br></div><div>osm2pgsql is tolerant to features absent in database. You can in theory even start with empty set of tables and just insert new diff data.<br><br>Usually people also clip minutely osc, as per day database grows by a small country otherwise.</div></div><br><div class="gmail_quote"><div dir="ltr">чт, 8 нояб. 2018 г. в 17:37, Nick Whitelegg <<a href="mailto:nick.whitelegg@solent.ac.uk">nick.whitelegg@solent.ac.uk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-2087340499764185236divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">... sorry, when I say "full planet extracts" I mean only England, Wales, Scotland, Ireland (all) and Greece - not the entire planet.</p>
<p style="margin-top:0;margin-bottom:0"><br>
Thanks,<br>
</p>
<p style="margin-top:0;margin-bottom:0">Nick</p>
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_-2087340499764185236divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nick Whitelegg<br>
<b>Sent:</b> 08 November 2018 14:34:17<br>
<b>To:</b> osm-talk<br>
<b>Subject:</b> osm2pgsql diff application with filtered OSM data</font>
<div> </div>
</div></div><div dir="ltr">
<div dir="ltr">
<div id="m_-2087340499764185236x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Looking towards overhauling the import system I use for my Freemap site (<a href="http://free-map.org.uk" target="_blank">free-map.org.uk</a>) which is itself going to go through an overhaul in the near future by moving to Tangram and hopefully applying hill shading.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">At the moment I download full planet extracts about every 6 months. However, due to the limitations of my server, I filter out (with osmosis) a lot of stuff I don't need so that I am basically left with roads, footpaths,
natural features, water features and selected POIs.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I'd like to move towards a system which applies diffs from geofabrik instead, and applies them regularly (daily or weekly) with osm2pgsql.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">My question is this; given that not everything in the diff will be in my database (as I filter out what I don't need during the import process), will osm2pgsql apply the diff successfully or will it complain that not
all features in the diff are in my database?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0">Nick<br>
</p>
<br>
</div>
</div>
</div>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org" target="_blank">talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk</a><br>
</blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Darafei Praliaskouski<br>Support me: <a href="http://patreon.com/komzpa">http://patreon.com/komzpa</a></div></div>