Thank you Alexandre,
unfortunately outline.ini is correct on the server (lineLayer =
cartoweb_line_outline not commented).
It seems this is a problem not dependant on my project: I get the same
behaviour with demoCW3 project (never modified)
Valerio
/*
Valerio Noti
[EMAIL PROTECTED]
*/
----- Original Message -----
From: "Alexandre Saunier" <[EMAIL PROTECTED]>
To: "Valerio Noti" <[EMAIL PROTECTED]>
Cc: "cartoweb" <[email protected]>
Sent: Thursday, May 18, 2006 5:20 PM
Subject: Re: [Cartoweb-users] Outline problem
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;
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.6.0/342 - Release Date: 17/05/2006
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users