[Tile-serving] [osm2pgsql] Regression tests failing (#419)

Paul Norman notifications at github.com
Thu Jul 30 09:43:12 UTC 2015


The VM I run the tests on has 4 "processors."

I doubt the bug is in aab01dd, but something that started exhibiting itself with `--number-processes 4`. Looking at the errors, its in the diff processing of multipolygons.

The .osm file has
```xml
<way id='6' timestamp='2013-08-07T15:58:09Z' uid='5' user='Test123' visible='true' version='1' changeset='1'>
  <nd ref='145' />
  <nd ref='143' />
  <nd ref='170' />
  <nd ref='171' />
  <nd ref='145' />
  <tag k='highway' v='residential' />
  <tag k='name' v='Name_way6' />
</way>
<way id='66' timestamp='2013-08-07T15:58:10Z' uid='5' user='Test123' visible='true' version='1' changeset='1'>
  <nd ref='124' />
  <nd ref='121' />
  <nd ref='179' />
  <nd ref='181' />
  <nd ref='124' />
</way>
<relation id='14' timestamp='2013-08-07T15:58:12Z' uid='5' user='Test123' visible='true' version='1' changeset='1'>
  <member type='way' ref='66' role='outer' />
  <member type='way' ref='6' role='inner' />
  <tag k='landuse' v='residential' />
  <tag k='name' v='Name_way5' />
  <tag k='type' v='multipolygon' />
</relation>
```
The osc file has

```xml
<modify>
  <relation id="14" version="2" timestamp="2013-08-07T15:58:12Z" uid="5" user="Test123" changeset="1">
    <member type="way" ref="66" role="outer"/>
    <member type="way" ref="101420" role="outer"/>
    <member type="way" ref="6" role="inner"/>
    <tag k="landuse" v="residential"/>
    <tag k="name" v="Name_way5"/>
    <tag k="type" v="multipolygon"/>
  </relation>
</modify>
```

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/419#issuecomment-126247163
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150730/75a10524/attachment-0001.html>


More information about the Tile-serving mailing list