[OSM-dev] Trouble with osm2pgsql and Postgres 8.4, Postgis 1.4
Tom Hughes
tom at compton.nu
Sun Oct 4 12:34:09 BST 2009
On 04/10/09 12:19, Jon Burgess wrote:
> Can you try the following command which should project a point using a
> command line proj tool:
>
> $ echo 45 45 | cs2cs +proj=latlong +ellps=GRS80 +no_defs +to +proj=merc
> +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0
> +units=m +nadgrids=@null +no_defs +over
>
> The answer should come back as:
> 5009377.09 5621521.49 0.00
Well that certainly fails for me:
Rel. 4.6.1, 21 August 2008
<cs2cs>:
projection initialization failure
cause: squared eccentricity < 0
program abnormally terminated
Tom
--
Tom Hughes (tom at compton.nu)
http://www.compton.nu/
More information about the dev
mailing list