Problems with Java Mapscript

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Mon Nov 19 03:28:57 PST 2007


Can you post your java code? By looking at package name it seems to me
that you are not running exactly the examples from the source
distribution.

Umberto


On Nov 19, 2007 12:17 PM, Luis Conti <conti_lui at gva.es> wrote:
> Thanks for your answer
>
> I have tried IMAGETYPE png and IMAGETYPE gif,  but I still get the same error:
>
> Exception in thread "main" java.lang.UnknownError: Unable to initialize image.
>         at edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(Native Method)
>         at edu.umn.gis.mapscript.mapObj.draw(mapObj.java:382)
>         at es.gva.icv.jmapscript.DrawMap.main(DrawMap.java:43)
>
> Thanks
> Luis Conti
>



More information about the MapServer-users mailing list