[Cartoweb-users] Upgrading 3.1 -> 3.2

Emmanuel Belo emmanuel.belo at microgis.ch
Wed Mar 1 09:27:23 EST 2006


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
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emmanuel.belo.vcf
Type: text/x-vcard
Size: 337 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060301/1e125a63/emmanuel.belo.vcf


More information about the Cartoweb-users mailing list