<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to news</title><link>https://sourceforge.net/p/osm2postgis/news/</link><description>Recent posts to news</description><atom:link href="https://sourceforge.net/p/osm2postgis/news/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 09 Mar 2010 06:38:13 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/osm2postgis/news/feed" rel="self" type="application/rss+xml"/><item><title>Fixed a serious bug with insertion of data</title><link>https://sourceforge.net/p/osm2postgis/news/2010/03/fixed-a-serious-bug-with-insertion-of-data/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Although updating data and detecting changes in data worked in revision 71, insertion of new data unfortunately did not. This was caused by a misplaced time zone handling statement that only affected inserts.&lt;/p&gt;
&lt;p&gt;Of course I was so busy testing updates that the bug with inserts slipped through. My apologies for not correcting this sooner.&lt;/p&gt;
&lt;p&gt;The bug (ID: 2965468) was fixed in revision 72 and insertion of new data is working again.&lt;/p&gt;
&lt;p&gt;Many thanks to Bruce for pointing this out!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sakari A. Maaranen</dc:creator><pubDate>Tue, 09 Mar 2010 06:38:13 -0000</pubDate><guid>https://sourceforge.net84df48be3bc7b83af2865a5d566465f6561ec64b</guid></item><item><title>Testing change detection</title><link>https://sourceforge.net/p/osm2postgis/news/2010/03/testing-change-detection/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Detecting if OSM data has changed has a few tricks and quirks.&lt;/p&gt;
&lt;p&gt;- Firstly, the data is not always complete (with missing fields), so we can't always compare all the fields.&lt;br /&gt;
- Secondly, there are plenty high precision floating point values and even the smallest rounding error can cause false positives.&lt;br /&gt;
- Thirdly, processing all the timestamps needs to be done in UTC.&lt;br /&gt;
- And of course we don't want to replace more recent data with its older version (when we know the OSM data primitive version.)&lt;/p&gt;
&lt;p&gt;All these and more details had to be taken into consideration and tested. There were related bug fixes up till revision 70, which seems to detect changes correctly now.&lt;/p&gt;
&lt;p&gt;If you built a database with a previous version of OSM2PostGIS, a lot of changes will be detected because of these bug fixes. Now that the rounding errors and time zone handling are fixed, the database should remain much more stable in future.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sakari A. Maaranen</dc:creator><pubDate>Sun, 07 Mar 2010 09:59:19 -0000</pubDate><guid>https://sourceforge.netddc05de1a3cdf125d391f0128d61131afd55f433</guid></item><item><title>Skipping unchanged data seems to work now.</title><link>https://sourceforge.net/p/osm2postgis/news/2010/03/skipping-unchanged-data-seems-to-work-now/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The revision 68 should now be able to detect if any of the OSM primitives have actually changed and skip writing when there's no need. This check did not work at all with OSM changesets before. Now it should.&lt;/p&gt;
&lt;p&gt;If you have built a database using a previous version of OSM2PostGIS, and you don't want to rebuild from scratch, you must add the status column to these four tables: osm_changesets, osm_nodes, osm_ways, and osm_relations.&lt;/p&gt;
&lt;p&gt;To do this:&lt;br /&gt;
ALTER TABLE * ADD COLUMN status smallint DEFAULT(0) NOT NULL;&lt;/p&gt;
&lt;p&gt;Of course, you need to replace the asterisk with each of the aforementioned table names in turn. Alternatively you can rebuild the whole database.&lt;/p&gt;
&lt;p&gt;As always, this is the best version of OSM2PostGIS so far.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sakari A. Maaranen</dc:creator><pubDate>Sat, 06 Mar 2010 19:53:18 -0000</pubDate><guid>https://sourceforge.net293503a167050b574e4c01aa6f1eaf0cccc7cc8c</guid></item><item><title>Configurable target relational model</title><link>https://sourceforge.net/p/osm2postgis/news/2010/02/configurable-target-relational-model/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fully configurable target layers support has been added to OSM2PostGIS revision 53. The user can now configure the relation names (database tables) and attribute names (database columns) in the feature specification file. The attributes can be configured independently for each table or layer.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sakari A. Maaranen</dc:creator><pubDate>Sun, 28 Feb 2010 03:27:47 -0000</pubDate><guid>https://sourceforge.net453145e409b02cb79d85af29a9b40a6bc90a4e44</guid></item><item><title>A total makeover for the project web unveiled</title><link>https://sourceforge.net/p/osm2postgis/news/2010/02/a-total-makeover-for-the-project-web-unveiled/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Check out the new look for OSM2PostGIS Project Web at &lt;a href="http://osm2postgis.sourceforge.net/"&gt;http://osm2postgis.sourceforge.net/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sakari A. Maaranen</dc:creator><pubDate>Thu, 18 Feb 2010 23:32:26 -0000</pubDate><guid>https://sourceforge.net4cdadbad1af979c642075d9b9fd0f0962edf0d2a</guid></item><item><title>Area and line geometry separated</title><link>https://sourceforge.net/p/osm2postgis/news/2010/01/area-and-line-geometry-separated/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Today's release of OSM2PostGIS (2010-02-01, svn rev. 19) has been tested (fully visualized) using GeoServer 2.0.1. It produces separate geometries for areas (land use, buildings) and lines (roads).&lt;br /&gt;
A major bug with the projection was found and fixed.&lt;br /&gt;
Little by little the quality is approaching something that could be given an official version number, but we're not quite there yet.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sakari A. Maaranen</dc:creator><pubDate>Sun, 31 Jan 2010 23:12:09 -0000</pubDate><guid>https://sourceforge.net0ba39150f7ba67186e0ea4d02ca9dbb7c5978251</guid></item></channel></rss>