<p></p>
<h1><a href="https://github.com/openstreetmap/osm2pgsql/releases/tag/1.3.0">Release 1.3.0</a></h1><p style="font-size:small;-webkit-text-size-adjust:none;">Repository: <a href="https://github.com/openstreetmap/osm2pgsql">openstreetmap/osm2pgsql</a> · Tag: <a href="https://github.com/openstreetmap/osm2pgsql/tree/1.3.0">1.3.0</a> · Commit: <a href="https://github.com/openstreetmap/osm2pgsql/commit/9d6d39eba963c03c3bb0c565e6982b586661edbb">9d6d39e</a> · Released by: <a href="https://github.com/lonvia">lonvia</a></p>
<p>This release introduces the new "flex" output. It allows a more flexible<br>
definition of output tables and columns. It also adds a second stage of<br>
processing which makes it possible to get information from relations to<br>
their members, allowing, for instance, to render tags from bicycle route<br>
relations on their member ways. The "flex" output is configured through<br>
Lua scripts.</p>
<p>The flex output is currently still marked as experimental, because it is new<br>
and we want to collect feedback from the community before finalizing the API.<br>
But it already works well and users are encouraged to try it out. Some new<br>
features are only or will only be available in the flex output and we expect<br>
that it will replace the other outputs in the long term.</p>
<p>Some features have been marked as deprecated:</p>
<ul>
<li>The "multi" output will be removed in a future version of osm2pgsql. If you<br>
are using the multi output, switch to the flex output now and tell us if<br>
you have any problems.</li>
<li>When the input file uses negative OSM object IDs a warning is now generated.<br>
Negative IDs never worked correctly for all use cases. Future versions of<br>
osm2pgsql will not allow negative IDs at all. Use "osmium renumber"<br>
to get rid of the negative IDs.</li>
<li>Input files that are not ordered generate a warning. Future versions of<br>
osm2pgsql will not work any more with unordered files. If you have unordered<br>
files use "osmium sort" to order them.</li>
</ul>
<p>Further changes:</p>
<ul>
<li>The pgsql output now looks for lua script relative to the <code>style.json</code> file.<br>
This is a breaking change. Users might have to change the file names of<br>
their lua scripts in the style files.</li>
<li>Use the fmt library for formatting strings now instead of a mixture of<br>
<code>boost::format</code> and hand-written mechanisms. A version of fmt is included<br>
in the contrib directory.</li>
<li>Make PROJ library optional. If the proj library cannot be found by cmake,<br>
do not offer the option to use arbitrary projections. Only WGS84 and<br>
WebMercator are supported then.</li>
<li>Don't use <code>ST_GeoHash</code> for ordering tables by geometry on Postgis >= 2.4.<br>
Instead use the default ordering which works better now.</li>
<li>Fix: Always print correct relations count and more correct count per seconds<br>
when showing processing stats.</li>
<li>Fix: If a function run in the thread pool throws an exception, this exception<br>
was never "collected", it was silently ignored. This meant that some errors,<br>
especially in communication with the database, were not detected correctly.</li>
<li>The dependency management, the part of the code which tracks which changes<br>
in the OSM data trigger which changes in the outputs, was reorganized<br>
making in much cleaner and removing the last remnants of code written to<br>
support "old style" multipolygons.</li>
<li>Tests have been moved to the Catch framework, extended and the regression<br>
tests have been reorganised, so they can run independently of each other.</li>
<li>A lot of code was cleaned up, modernized, made more robust, and sometimes<br>
removed.</li>
</ul>
—<p>This release has 2 assets:</p><ul><li>Source code (zip)</li><li>Source code (tar.gz)</li></ul><p>Visit the <a href="https://github.com/openstreetmap/osm2pgsql/releases/tag/1.3.0">release page</a> to download them.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are watching this repository.<br /><a href="https://github.com/openstreetmap/osm2pgsql/releases/tag/1.3.0">View it on GitHub</a> or <a href="https://github.com/openstreetmap/osm2pgsql/unsubscribe_via_email/AA6353TYOOUMFT5MKPZLDGTR52FD3ANCNFSM4AAJZLAQ">unsubscribe</a> from all notifications for this repository.<img src="https://github.com/notifications/beacon/AA6353X3W7CJIDRGT6VSWADR52FD3A5CNFSM4PKIZS3KYY3PNVWWK3TUL52HS4DFU5JGK3DFMFZWLKTDN5WW2ZLOORPWSZGOAG5MVQY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/releases/tag/1.3.0",
"url": "https://github.com/openstreetmap/osm2pgsql/releases/tag/1.3.0",
"name": "View Release"
},
"description": "View this Release on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>