[Tile-serving] [openstreetmap/osm2pgsql] osm2pgsql segment fault with large node numbers (#578)

ImreSamu notifications at github.com
Wed May 4 10:04:58 UTC 2016


my2c:  sometimes the [osmium renumber](https://github.com/osmcode/osmium-tool/blob/master/man/osmium-renumber.md)  is a viable alternative.  

So your `STRM_small_failing.txt` will be : 

```xml
<?xml version='1.0' encoding='UTF-8'?>
<osm version="0.6" upload="false" generator="osmium/1.3.0">
  <bounds minlon="173.5300000" minlat="-40.9499999" maxlon="178.2000002" maxlat="-38.4699999"/>
  <node id="1" lat="-38.7604166" lon="174.73375"/>
  <node id="2" lat="-38.7595833" lon="174.7345833"/>
  <node id="3" lat="-38.7604166" lon="174.7354166"/>
  <node id="4" lat="-38.76125" lon="174.7345833"/>
  <way id="1">
    <nd ref="1"/>
    <nd ref="2"/>
    <nd ref="3"/>
    <nd ref="4"/>
    <nd ref="1"/>
    <tag k="ele" v="-40"/>
    <tag k="contour" v="elevation"/>
    <tag k="contour_ext" v="elevation_minor"/>
  </way>
</osm>
```

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/578#issuecomment-216818975
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160504/ce942c88/attachment.html>


More information about the Tile-serving mailing list