[Thuban-list] Strange exception for user.proj

Bernhard Herzog bh at intevation.de
Mon Sep 29 16:47:48 CEST 2003


Jan-Oliver Wagner <jan at intevation.de> writes:

> Now attached the one that produces the exception.
>
[...]
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE projfile SYSTEM "projfile.dtd">
> <projectionlist>
>     <projection name="EPSG 256: CH1903+ / LV95">
>         <parameter value="proj=omerc"/>
>         <parameter value="lat_0=46.952405556"/>
>         <parameter value="lonc=7.439583333"/>
>         <parameter value="alpha=90.000000000"/>
>         <parameter value="k=1.000000000"/>
>         <parameter value="x_0=2600000.000"/>
>         <parameter value="y_0=1200000.000"/>
>         <parameter value="ellps=bessel"/>
>         <parameter value="units=m"/>
>     </projection>

Well, proj doesn't like the parameters:
proj +proj=omerc +lat_0=46.952405556 +lonc=7.439583333 +alpha=90.000000000 +k=1.000000000 +x_0=2600000.000 +y_0=1200000.000 +ellps=bessel units=m
Rel. 4.4.5, 9 January 2002
<proj>: 
projection initialization failure
cause: lat_0 = 0 or 90 or alpha = 90
program abnormally terminated

That Thuban doesn't give you a better error message is obviously a bug
in Thuban. I filed a new bug report for it:
https://intevation.de/rt/webrt?serial_num=2138


-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)