The legend is not use.

Have you try with an other symbol (type vector or ellipse) that works in 
other layer?

Have you PHP errors / warnings ?

Le 22/01/2013 13:09, Serge Claudio Rafanoharana a écrit :
> Dear Thomas,
>
> Yes, I have the SYMBOL:
>
> SYMBOL #North Arrow
> NAME "northarrow"
> TYPE pixmap
> IMAGE "../../images/northarrow.png"
> END
>
> and here is my layer:
>
> LAYER
>      NAME "northarrow"
>      METADATA
>          DESCRIPTION "North arrow"
>      END
>      STATUS DEFAULT
>      #TRANSFORM lr
>      TRANSFORM cc
>      TYPE POINT
>      FEATURE
>          POINTS
>              0 0
>          END
>      END
>      CLASS
>          STYLE
>              SYMBOL 'northarrow'
>              SIZE 50
>              #OFFSET -20 -30
> OFFSET 0 0
>          END
>      END
> END
>
> but nothing happens. No error. Firebug gives no error.
>
> PS: I have "northarrow_i0.png" inside "...\images\legend\" folder 
> which is 18x14 pixels.
>
> Cheers,
> Serge
>
> On Tue, Jan 22, 2013 at 6:37 PM, Thomas RAFFIN <traf...@sirap.fr 
> <mailto:traf...@sirap.fr>> wrote:
>
>     Hi,
>
>     There should be something wrong with your symbol. It should works.
>
>     Your symbol definition have to be included in your mapfile of course,
>     and the path is relative to tour mapfile (then if not found here,
>     to the
>     "shapepath"), or absolute.
>
>     Here is and example of a "pixmap symbol":
>     SYMBOL
>          NAME "your_symbol_name"
>          TYPE pixmap
>          IMAGE "relative_path_from_your_mapfile/northarrow.gif"
>     END
>
>     Test ideas:
>     - try with a vectorial symbol you have already use in layers...
>     - test with "TANSFORM cc" and "OFFSET 0 0" : the symbol should be
>     in the
>     center of map's image
>
>     Le 22/01/2013 12:07, Serge Claudio Rafanoharana a écrit :
>     > Dear Thomas,
>     >
>     > Thanks for your reply. I added this layer but nothing happens. I
>     tried
>     > to modify the TRANSFORM and OFFSET but nothing...
>     >
>     > I am just wondering about this part:
>     > SYMBOL 'your_symbol_name'
>     >
>     > I added my symbol inside the "...\config\common\symbols\" which is a
>     > png file and changed my "your_symbol_name" accordingly. Is that
>     right?
>     >
>     > Is there any other configurations to be done?
>     >
>     > PS: the page doesn't give any error.
>     >
>     > Thanks again,
>     > Serge
>     >
>     >
>     > On Tue, Jan 22, 2013 at 2:59 PM, Thomas RAFFIN <traf...@sirap.fr
>     <mailto:traf...@sirap.fr>
>     > <mailto:traf...@sirap.fr <mailto:traf...@sirap.fr>>> wrote:
>     >
>     >     Hi,
>     >
>     >     To include a noth arrow on every image (UI, printing and
>     >     download), you
>     >     could add this layer in your mapfile :
>     >     LAYER
>     >          NAME "NorthArrow"
>     >          METADATA
>     >              DESCRIPTION "North arrow"
>     >          END
>     >          STATUS DEFAULT
>     >          TRANSFORM lr
>     >          TYPE POINT
>     >          FEATURE
>     >              POINTS
>     >                  0 0
>     >              END
>     >          END
>     >          CLASS
>     >              STYLE
>     >                  SYMBOL 'your_symbol_name'
>     >                  SIZE 50
>     >                  OFFSET -20 -30
>     >              END
>     >          END
>     >     END
>     >
>     >     No need to add it in your catégories / groups, because it
>     has "STATUS
>     >     DEFAULT".
>     >
>     >     Just adapt the "TRANSFORM" and "OFFSET" values.
>     >
>     >     Thomas
>     >
>     >     Le 22/01/2013 03:35, Serge Claudio Rafanoharana a écrit :
>     >     > Dear All,
>     >     >
>     >     > Is there any way to include a northarrow for downloading /
>     >     printing in
>     >     > pmapper 4.2 or 4.3?
>     >     > Or if you can let me know which file should I modify?
>     >     >
>     >     > Best regards,
>     >     >
>     >
>     >
>     >
>     
> ------------------------------------------------------------------------------
>     >     Master Visual Studio, SharePoint, SQL, ASP.NET
>     <http://ASP.NET> <http://ASP.NET>,
>     >     C# 2012, HTML5, CSS,
>     >     MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
>     >     current
>     >     with LearnDevNow - 3,200 step-by-step video tutorials by
>     Microsoft
>     >     MVPs and experts. ON SALE this month only -- learn more at:
>     > http://p.sf.net/sfu/learnnow-d2d
>     >     _______________________________________________
>     >     pmapper-users mailing list
>     > pmapper-users@lists.sourceforge.net
>     <mailto:pmapper-users@lists.sourceforge.net>
>     >     <mailto:pmapper-users@lists.sourceforge.net
>     <mailto:pmapper-users@lists.sourceforge.net>>
>     > https://lists.sourceforge.net/lists/listinfo/pmapper-users
>     >
>     >
>     >
>     >
>     > --
>     > Serge
>
>     
> ------------------------------------------------------------------------------
>     Master Visual Studio, SharePoint, SQL, ASP.NET <http://ASP.NET>,
>     C# 2012, HTML5, CSS,
>     MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
>     current
>     with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>     MVPs and experts. ON SALE this month only -- learn more at:
>     http://p.sf.net/sfu/learnnow-d2d
>     _______________________________________________
>     pmapper-users mailing list
>     pmapper-users@lists.sourceforge.net
>     <mailto:pmapper-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
> -- 
> Serge 

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to