Thank you Oliver,

with your answer i could upgrade!

Best regards,

eb




server_conf/myProject/outline.ini:

pointLayer = cartoweb_point_outline
lineLayer = cartoweb_line_outline
polygonLayer = cartoweb_polygon_outline



and these lines in my mapfile:

LAYER
   NAME "cartoweb_polygon_outline"
   METADATA
     "wms_title" "cartoweb_polygon_outline"
     "wms_srs"   "EPSG:9814 EPSG:4326 EPSG:32632"
   END
   TYPE POLYGON
   TRANSPARENCY 50
   CLASS
     STYLE
       COLOR 100 255 100
       OUTLINECOLOR 0 128 0
     END
     LABEL
       ANGLE auto
       ANTIALIAS true
       FONT verdana
       TYPE truetype
       COLOR 0 51 51
       BACKGROUNDCOLOR 255 255 255
       SIZE 9
     END
   END
END

LAYER
    NAME "cartoweb_line_outline"
    TYPE LINE
    CLASS
      STYLE
        COLOR 0 0 204
      END
      LABEL
        ANGLE auto
        ANTIALIAS true
        FONT verdana
        TYPE truetype
        COLOR 255 51 51
        BACKGROUNDCOLOR 255 255 255
        SIZE 9
      END
    END
  END

LAYER
    NAME "cartoweb_point_outline"
  METADATA
    "wms_title" "cartoweb_point_outline"
    "wms_srs"   "EPSG:9814 EPSG:4326 EPSG:32632"
  END
    TYPE POINT
    CLASS
      STYLE
        COLOR 0 0 0
        SYMBOL "circle"
        SIZE 1
      END
      LABEL
        ANTIALIAS true
        FONT verdana
        TYPE truetype
        COLOR 0 0 0
        BACKGROUNDCOLOR 255 255 255
        SIZE 9
        POSITION ur
      END
   END
END


oliver wrote:
Hi Emmanuel,

this is possibly caused by missing outline's layers.

try adding in server_conf/myProject/outline.ini the parameter pointLayer = cartoweb_point_outline , lineLayer = cartoweb_line_outline, polygonLayer = cartoweb_polygon_outline
and add the corresponding layers in your mapfile.

Oliver

Hello,

during the cartoweb upgrade procedure, following problem occurred after:

1/ backup cartoweb 3.1
2/ unzip cartoweb 3.2 in www
3/ copy cw3.1/projects/myProject to 3.2/projects/myProject
4/ copy cw3.1/htdocs to 3.2/htdocs
5/ run cw3.2/cw3setup.php --install --base-url bla


Warning: getLayerByName failed for : in
c:\wamp\www\cw3_vd2006\plugins\outline\server\ServerOutline.php on line 356

Fatal error: Call to a member function getClass() on a non-object in
c:\wamp\www\cw3_vd2006\plugins\outline\server\ServerOutline.php on line 361

Did you had this problem too? How did you solved it?

Best regards,

Emmanuel BELO



--------------------------------------------------------------------------------


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users



begin:vcard
fn:Emmanuel Belo
n:Belo;Emmanuel
org:MicroGIS SA
adr:;;ch. des Jordils 40;St-Sulpice;VD;1025;Switzerland
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ing=C3=A9nieur en g=C3=A9omatique
tel;work:+41 21 691 77 17
tel;fax:+41 21 691 77 86
x-mozilla-html:FALSE
url:http://www.microgis.ch
version:2.1
end:vcard

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to