Valerio,

it seems that the following line is missing in your server-side outline.ini:
lineLayer = cartoweb_line_outline

More exactly, it is actually specified but is commented because of a missing carriage return.

Use

; outline layer for points, if not set will use polygonLayer
pointLayer = cartoweb_point_outline
; outline layer for lines
lineLayer = cartoweb_line_outline
; outline layer for rectangles and polygons
(...)

rather than

; outline layer for points, if not set will use polygonLayer
pointLayer = cartoweb_point_outline
; outline layer for lines lineLayer = cartoweb_line_outline
; outline layer for rectangles and polygons
(...)

AS

Valerio Noti wrote:
Hello,
this is and old problem not yet solved. Point and polygon outlines work without problem but when I use line outline I get the following error (The problem occurs only for lines when confirm the label ok button):
After the error I pasted outline.ini, mapfile and cartoclient.tpl rows.

**********************************************....
....
Class : CartoclientException
Message : unknown selection_type: line
Backtrace:

**********************************************...

this is outline.ini (server side):

; outline layer for points, if not set will use polygonLayer
pointLayer = cartoweb_point_outline
; outline layer for lines lineLayer = cartoweb_line_outline
; outline layer for rectangles and polygons
polygonLayer = cartoweb_polygon_outline
; color of the mask, default is 255 255 255
;maskColor = 90 90 90
; ratio by which to multiply the area before returning it to the client
; (default 1.0)
areaFactor = 0.000001
; number of decimal digits wanted for area result, before returning it ; to the client
areaPrecision = 0;
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to