[Mapserver-users] Problems with new mapserver install

Tyler Mitchell TMitchell at lignum.com
Wed Dec 31 11:31:31 EST 2003





Hi Dave, I'm pretty sure you're coming up against a minor annoyance with
the demos, but completely fixable.  Are these fairly recent demo
applications you've got.  This has been a long time question folks have and
I would like to see both png and gif's included in the demo to reduce
complexity.

Case 1 - Basically, you need to ensure the sybmols/ctyhwy.GIF exists.  It
may not and you should make it.  It may exist as ctyhwy.PNG in which case
you will have to convert it to GIF.

Case 2 - Now, mapserver may not use GIF images if it wasn't configure to.
In which case PNG format files would be your other choice.  In this case
you probably already have ctyhwy.gif, but really need to use .png files.
After converting to png, you will have to change your SYMBOL declarations
or your SYMBOLSET file to point to the files using the new extension.

Hope this helps get you moving.

Tyler

mapserver-users-admin at lists.gis.umn.edu wrote on 12/30/2003 05:38:53 PM:

> I just installed MapServer 4.0.1, but I'm having trouble getting it
> to work.  When run
> from the command line, it produces this, as it should:
>
>   This script can only be used to decode form results and
>   should be initiated as a CGI process via a httpd server.
>
> When run through the browser without any parameters, it produces
> this, as it should:
>
>   No query information to decode. QUERY_STRING is set, but empty.
>
> The problem arises when I try to use either the Itasca or Workshop
> demos.  Clicking
> "Initialize" in the Itasca demo gives me this:
>
>   msLoadMap(): General error message. Undefined overlay symbol
> "symbols/ctyhwy.gif" in class 0, style 0 of layer ctyrdln3_anno.
>   msAddImageSymbol(): General error message. Unable to load GIF symbol.
>
> The Workshop demo, on the other hand, gives me this:
>
>   msPostMapParseOutputFormatSetup(): General error message. Unable
> to select IMAGETYPE 'PNG'.
>
> Any guesses what might be wrong?
>
> Thanks,
> Dave
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list