[Cartoweb-users] problem with outline plugin

Thibaut Le Pape cobra13 at gmail.com
Fri Aug 11 05:17:46 EDT 2006


Here are my outline layers in my mapfile:

  LAYER
    NAME "cartoweb_point_outline"
    TYPE POINT
    CLASS
      STYLE
        SYMBOL "circle"
        COLOR 0 0 205
        SIZE 10
      END
      LABEL
        TYPE TRUETYPE
        FONT "Vera"
        SIZE 7
        COLOR 0 0 0
        OUTLINECOLOR 255 255 255
        POSITION lc
      END
    END
  END

  LAYER
    NAME "cartoweb_line_outline"
    TYPE LINE
    TRANSPARENCY 100
    CLASS
      STYLE
        OUTLINECOLOR 255 0 0
        SYMBOL "line-dashed"
        SIZE 3
      END
      LABEL
        TYPE TRUETYPE
        FONT "Vera"
        SIZE 7
        COLOR 0 0 0
        OUTLINECOLOR 255 255 255
        ANGLE auto
        POSITION uc
      END
    END
  END

  LAYER
    NAME "cartoweb_polygon_outline"
    TYPE POLYGON
    TRANSPARENCY 60
    CLASS
      STYLE
        COLOR 255 153 0
        OUTLINECOLOR 0 0 0
      END
      LABEL
        TYPE TRUETYPE
        FONT "Vera"
        SIZE 7
        OUTLINECOLOR 255 255 255
        COLOR 0 0 0
        POSITION cc
      END
    END
  END



    I think there's no problem with that.

2006/8/11, Jacolin Yves <yjacolin at free.fr>:
>
> Hello,
> Are you sure your outline layers in the mapfile is correct ?
>
> Regards,
>
> Y.
> Le Vendredi 11 Août 2006 11:00, Thibaut Le Pape a écrit:
> > Hello everyone,
> >
> > I tried to add the outline plugin in my project and I had the following
> > error:
> >
> > Failure
> >
> > class:   CartocommonException
> > message:   Error [8, Undefined property:  stdClass::$color,
> > C:\wamp\www\cartoweb3\plugins\outline\client\ClientOutline.php, 217]
> > Backtrace:
> >
> > file: 217 -
> C:\wamp\www\cartoweb3\plugins\outline\client\ClientOutline.php
> > call: Common::cartowebErrorHandler(8, "Undefined property:
> > stdClass::$color",
> > "C:\wamp\www\cartoweb3\plugins\outline\client\ClientOutline.php", 217,
> > Array(2))
> >
> > file: UNKNOWN - UNKNOWN
> > call: ClientOutline->handleHttpPostRequest(Array(21))
> >
> > file: 270 - C:\wamp\www\cartoweb3\common\PluginManager.php
> > call: call_user_func_array(Array(2), Array(1))
> >
> > file: 285 - C:\wamp\www\cartoweb3\common\PluginManager.php
> > call: PluginManager->callPluginImplementing(Object(ClientOutline),
> > "GuiProvider", "handleHttpPostRequest", Array(1))
> >
> > file: 574 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> > call: PluginManager->callPluginsImplementing("GuiProvider",
> > "handleHttpPostRequest", Array(1))
> >
> > file: 850 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> > call: Cartoclient->callPluginsImplementing("GuiProvider",
> > "handleHttpPostRequest", Array(21))
> >
> > file: 1027 - C:\wamp\www\cartoweb3\client\Cartoclient.php
> > call: Cartoclient->doMain()
> >
> > file: 38 - C:\wamp\www\cartoweb3\htdocs\client.php
> > call: Cartoclient->main()
> >
> > file: 3 - C:\wamp\www\cartoweb3\htdocs\geobis.php
> > call: require_once("C:\wamp\www\cartoweb3\htdocs\client.php")
> >
> >
> >
> > I don't find a solution to that problem. If someone know what happens...
> >
> >
> > thanks in advance
> >
> >
> > Thibaut
>
> --
> Yves Jacolin
> http://yjacolin.gloobe.org
> ----
> Stagiaire Conservatoire Régional des Espaces Naturels de la région Centre
> http://cahiersnaturalistes.free.fr/cpnrc/
> ----
> - Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause
> puisque je suis de bonne foi?
> - Et qu'est-ce que ça peut faire que je sois de mauvaise foi
> puisque c'est pour la bonne cause. (Jacques Prévert)
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060811/6a93a1f6/attachment.html


More information about the Cartoweb-users mailing list