On Wed, 2009-04-22 at 18:58 +0200, Nop wrote:
> Hello!
> 
> 
> Trying to run the latest update on my DB, I get the following error 
> message from osm2pgsql:
> 
> Processing: Node(31170k) Way(0k) Relation(0k)COPY_END for COPY 
> planet_osm_nodes FROM STDIN;
>   failed: ERROR:  invalid input syntax for type double precision: "inf"
> CONTEXT:  COPY planet_osm_nodes, line 134595, column lat: "inf"
> 
> Error occurred, cleaning up
> 
> 
> What does this mean? I have examined the last nodes in my data for 
> corrupt latitude coordinates, but there is nothing suspicious. 

Do you see any latitudes above 85 degrees? A point at 90 degrees gets
projected to infinity in the default spherical mercator projection.

I thought I had added some code to limit the latitude values to +-85
degrees but I can not find any sign of it in the current source.

> Has 
> anybody experienced and analyzed this problem and could give me a hint 
> towards the solution?
> 
> I am using osm2pgsql SVN version 0.55-20081113 $Rev: 10464 $ on windows.
> 


        Jon

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to