[#6324] mxd2map crashes on unknown projection

Date:
2012-04-04 13:45
Priority:
3
State:
Open
Submitted by:
Daniel Miranda (dmiranda)
Assigned to:
Nobody (None)
Hardware:
PC
Product:
none
Operating System:
other
Component:
none
Version:
none
Severity:
normal
Resolution:
none
URL:
Summary:
mxd2map crashes on unknown projection

Detailed description
mxd2map crashes instead of outputing a human readable warning when the layer projection is not on the epsg-file.

Command line:
java -jar mxd2map.jar -m "c:\temp\test2.mxd" -a "c:\temp\test.map" -t example\template.map

Error message:
Exception in thread "main" java.lang.UnknownError:
msProcessProjection(): Projection library error. no options found in 'init' file
at
edu.umn.gis.mapscript.mapscriptJNI.mapObj_setProjection(Native Method)
at
edu.umn.gis.mapscript.mapObj.setProjection(mapObj.java:453)
at
de.intevation.mxd.writer.MapScriptWriter.writeMap(MapScriptWriter.java:181)
at
de.intevation.mxd.writer.MapScriptWriter.write(MapScriptWriter.java:135)
at
de.intevation.mxd.Converter.main(Converter.java:139)

No comments have been posted

No attached documents

No changes have been made to this item