[Mapserver-users] problem adding north arrow to map

Ed McNierney ed at topozone.com
Wed Jun 23 09:43:27 EDT 2004


Mark -

Does your MapServer build include support for reading GIF files?  Have
you used other GIF symbols?  See what text output "mapserv -v" produces.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Mark Adams
Sent: Wednesday, June 23, 2004 9:12 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] problem adding north arrow to map

Hi all,
 
I'm hoping someone can point out what might be going wrong here.
Following the instructions in the wiki, I am trying to add a north arrow
to may map. I've got a basic north arrow image (northarrow1.gif), I've
added a pixmap symbol referencing it, and I've added a layer to the map.
However, the GIF never shows. I've tried this in both a mapscript app
and the basic Itasca demo, same result. I know there is nothing wrong
with the GIF or symbol definition, as it shows fine if I use this symbol
on a "regular" layer rather than a feature layer. Any ideas? Have I
defined the feature layer wrongly? Here are my symbol def and layer def:
 
  SYMBOL #North Arrow
    NAME "northarrow1"
    TYPE pixmap
    IMAGE "northarrow1.gif"
  END
 
    LAYER
        NAME "North Arrow"
        STATUS DEFAULT
        TRANSFORM FALSE
        TYPE POINT
        FEATURE
          POINTS 250 250 END
        END
        CLASS
            SYMBOL 'northarrow1'
        END
  END
 
Thanks in advance.
------------------------------
Mark Adams
Business & Systems Analyst
Cuesta Systems Inc.
5230 South Service Road
Burlington, ON L7L 5K2
Phone: 905-333-4544 x14
Fax: 905-333-0455
Email: markadams at cuestasys.com
 




More information about the mapserver-users mailing list