Opened 11 years ago

Closed 11 years ago

#558 closed defect (fixed)

500 error on get /way/5565174

Reported by: jburgess@… Owned by: Tom Hughes
Priority: minor Milestone:
Component: api Version:
Keywords: Cc:

Description

--18:44:57-- http://www.openstreetmap.org/api/0.5/way/5565174

=> `rel1217a.osm'

Resolving www.openstreetmap.org... 128.40.58.202 Connecting to www.openstreetmap.org|128.40.58.202|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 18:44:57 ERROR 500: Internal Server Error.

Change History (2)

comment:1 Changed 11 years ago by jburgess@…

Looks like the way is full of nodes with id=0 according to the history:

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.5" generator="OpenStreetMap server">
  <way id="5565174" visible="true" timestamp="2007-09-04T21:19:36+01:00">
    <nd id="0"/>
    <nd id="0"/>
    <nd id="0"/>
    <nd id="0"/>
    <nd id="0"/>
...
    <nd id="0"/>
    <tag k="name" v="Highland Creek Ravine"/>
    <tag k="created_by" v="Potlatch alpha"/>
    <tag k="leisure" v="park"/>
  </way>
</osm>

There are a few more ways which fail to download, the ids are: 5565178 & 5881134. They all cause a 500 error on download from the API. They are all part of multipolygon relations which caused osm2pgsql to throw an exception when I tried doing an import of my 0.5 planet dump.

comment:2 Changed 11 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

I have deleted all the ways with zero nodes in them.

Note: See TracTickets for help on using tickets.