[mapserver-users] Java Script/Java Applet Help!
Cameron Shorter
cameron at socialchange.net.au
Sun Apr 22 00:01:23 PDT 2001
I suspect that this is because:
gd-1.2 supports .gif and not .png formats,
and later version of gd (like gd-1.8) support .png and not .gif formats.
Gi-Hyeon Park wrote:
>
> Hi, mapserver-users!
>
> I am upgrading mapserver with gd-1.8 support and raster extension.
> I compiled mapserver successfully and it's working great if I don't use
> java script/applet.
>
> I used java script/applet (map_sdisplay.class
> and map_display.js), which were automatically generately from
> the maputil in Arc-View. It works great with gd-1.2 in our web, but I
> got an error when I tried new one with gd-1.8.4.
>
> Java.lang.NullPointerException error.
>
> It generates new map image in tmp directory but it can't load it.
>
> Does anyone know what I have to change in Java script/applet or have any
> working script/applet? Any suggestions?
>
> Thanks in advance!
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> GI H. Park
>
> HyDIS LAB
> Department of Hydrology and Water Resources
> The University of Arizona
> Tucson, AZ 85721
--
Cameron Shorter Web Mapping Manager
Social Change Online
248 Johnson St Tel: +61 (0) 2 9692 5115
Annandale NSW 2038 Fax: +61 (0) 2 9692 5192
Sydney, Australia http://webmap.socialchange.net.au
More information about the MapServer-users
mailing list