[Mapserver-users] layer for user points choking mapserv 3.6.3.

Eric Davies eric at barrodale.com
Fri May 2 16:19:04 PDT 2003


--=====================_369328468==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi All,

I want to have the user be able to mark a point on the map.
According to the cgi reference document, this is doable with a 
map_${layername}_feature...
argument. You just have to define the layer first in your map file. Fair 
enough, my layer looks like

SYMBOL
   NAME "circle"
   TYPE ellipse
   FILLED true
   POINTS
     1 1
   END
END

LAYER
   NAME reddot
   TYPE Point
   STATUS on
   METADATA
      ICONNAME "/mapserverdemo/selected.png"
      DESCRIPTION "Selected point"
   END
   CLASS
     Name "reddot"
     COLOR 255 0 0
     SYMBOL "circle"
     SIZE 1 1
   END  # CLASS
END  # LAYER

Mapserver seems to choke on this. I try to invoke it and get
MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF 
INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE --> <BODY 
BGCOLOR="#FFFFFF"> loadClass(): Unknown identifier. (1):(212)

I've tried a few permutations on the layer without any luck.
Can anyone supply a layer that works or tell me what I'm doing wrong? Thank 
you.

Eric.

**********************************************
Eric Davies, M.Sc.
Barrodale Computing Services Ltd.
Tel: (250) 472-4372 Fax: (250) 472-4373
Web: http://www.barrodale.com
Email: eric at barrodale.com
**********************************************
Mailing Address:
P.O. Box 3075 STN CSC
Victoria BC Canada V8W 3W2

Shipping Address:
Hut R, McKenzie Avenue
University of Victoria
Victoria BC Canada V8W 3W2
**********************************************



--=====================_369328468==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
Hi All,<br><br>
I want to have the user be able to mark a point on the map.<br>
According to the cgi reference document, this is doable with a
map_${layername}_feature...<br>
argument. You just have to define the layer first in your map file. Fair
enough, my layer looks like<br><br>
SYMBOL <br>
  NAME "circle" <br>
  TYPE ellipse <br>
  FILLED true <br>
  POINTS <br>
    1 1 <br>
  END <br>
END <br>
 <br>
LAYER <br>
  NAME reddot <br>
  TYPE Point <br>
  STATUS on <br>
  METADATA <br>
     ICONNAME "/mapserverdemo/selected.png"
<br>
     DESCRIPTION "Selected point" <br>
  END <br>
  CLASS <br>
    Name "reddot" <br>
    COLOR 255 0 0 <br>
    SYMBOL "circle" <br>
    SIZE 1 1 <br>
  END  # CLASS <br>
END  # LAYER <br><br>
Mapserver seems to choke on this. I try to invoke it and get<br>
MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF
INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE --> <BODY
BGCOLOR="#FFFFFF"> loadClass(): Unknown identifier.
(1):(212) <br><br>
I've tried a few permutations on the layer without any luck.<br>
Can anyone supply a layer that works or tell me what I'm doing wrong?
Thank you.<br><br>
Eric.<br>
<x-sigsep><p></x-sigsep>
********************************************** <br>
Eric Davies, M.Sc. <br>
Barrodale Computing Services Ltd. <br>
Tel: (250) 472-4372 Fax: (250) 472-4373 <br>
Web:
<a href="http://www.barrodale.com/" eudora="autourl"><font color="#0000FF"><u>http://www.barrodale.com</a></u></font>
<br>
Email: eric at barrodale.com <br>
********************************************** <br>
Mailing Address: <br>
P.O. Box 3075 STN CSC <br>
Victoria BC Canada V8W 3W2<br><br>
Shipping Address: <br>
Hut R, McKenzie Avenue <br>
University of Victoria <br>
Victoria BC Canada V8W 3W2 <br>
**********************************************<br><br>
<br>
</body>
</html>

--=====================_369328468==.ALT--




More information about the MapServer-users mailing list