Re: [OSM-dev] psql osmosis simple shema / smallint out of range

2008-11-02 Thread Jochen Topf
On Sat, Nov 01, 2008 at 03:14:19PM +0100, Martin Koppenhoefer wrote:
 looking at some rendering problems it came to my mind that it would
 also be useful to have a check for ways with distant nodes. Some
 features (e.g. ferry lines) tend to consist of very few nodes. In case
 that a Z12-Tile doesn't contain any node of a way crossing it, the way
 will not be rendered in this tile.

Now available at http://tools.geofabrik.de/osmi/?view=geometry

The green dashed lines are ways containing segments longer than about 10km
and the green solid lines are those segments.

Jochen
-- 
Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/  +49-721-388298


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] psql osmosis simple shema / smallint out of range

2008-11-01 Thread Martin Koppenhoefer
2008/10/31 Jochen Topf [EMAIL PROTECTED]:
 I have added a check to the OSM Inspector for ways with more than 1000
 nodes.

 See the blue lines at http://tools.geofabrik.de/osmi/?view=geometry .

 There are currently 604 of those long ways in Europe.

 Jochen
 --
 Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/  +49-721-388298


looking at some rendering problems it came to my mind that it would
also be useful to have a check for ways with distant nodes. Some
features (e.g. ferry lines) tend to consist of very few nodes. In case
that a Z12-Tile doesn't contain any node of a way crossing it, the way
will not be rendered in this tile.

Martin

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


[OSM-dev] psql osmosis simple shema / smallint out of range

2008-10-31 Thread Florian Lohoff

Hi,
i just discovered that osmosis was not able to apply the hourly osc file
starting 2008-10-29T20:00:00Z - It failed with:

2008-10-31 11:09:52 CET ERROR:  smallint out of range
2008-10-31 11:09:52 CET STATEMENT:  INSERT INTO way_nodes (way_id, node_id, 
sequence_id) VALUES ($1, $2, $3)

Is there a way with 2^16 aka 65536 nodes?

Or did someone manage to enter a completely broken sequence number?

Flo
-- 
Florian Lohoff  [EMAIL PROTECTED] +49-171-2280134
Those who would give up a little freedom to get a little 
  security shall soon have neither - Benjamin Franklin


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev