Exporting to other formats

Matic Di Batista matic.dibatista at gmail.com
Mon May 4 08:13:37 BST 2020


Hi,
sorry, that is a different file indeed, but also with this one it fails. A
friend of mine also tried with Wine and got the same error message.

The way *cs is defined for this cave:
*cs EPSG:3912
*cs out EPSG:3912

And as said before, it works if I try to export it to aven - wgs84 is used
for the export of gpx.

On Mon, May 4, 2020 at 12:48 AM Olly Betts <olly at survex.com> wrote:

> On Sat, May 02, 2020 at 09:39:06AM +0200, Matic Di Batista wrote:
> > ./survexport.exe --clamp-to-ground --passages
> > sistem_pokljuskega_grebena.3d pokljuka.kml
> > s: e: F
>
> Thanks for the .3d file.  You sent evklidova_piscal.3d not
> sistem_pokljuskega_grebena.3d - does this happen for you with
> the file you sent too?
>
> With evklidova_piscal.3d it works for me both on Linux, and using the
> Windows build under wine.  I don't have an actual Windows machine to
> test on.
>
> Looking at the code, I'm guessing "s: e: F" is trying to report an
> exception, but there's a wide-character string being interpreted as
> a byte-character string, so we only get the first character of each
> string:
>
>         wxFprintf(stderr, wxT("%s: %s: %s\n"),
>                   msg_appname(), wmsg(/*error*/93), m);
>
> So "s" is survexport, "e" is error, and the actual error message starts
> with "F".
>
> I think it must be "Failed to initialise input coordinate system “%s”"
> or "Failed to initialise output coordinate system “%s”".  It's unlikely
> to be the output one as that's just WGS84, but the input one is
> specified in the .3d file.  You can see it with dump3d:
>
> $ src/dump3d evklidova_piscal.3d|grep '^CS '
> CS +init=epsg:3912 +no_defs
>
> I'm guessing the EPSG code definitions aren't being found (they should
> get installed along with Survex), but not sure what's going wrong.
>
> I'll fix the reporting of the error message, and then at least we can
> confirm what the error being reported actually is.
>
> Cheers,
>     Olly
>


More information about the Survex mailing list