Re: [MAPSERVER-USERS] drawing a north arrow on a map

2008-08-07 Thread Ritesh Ambastha

Use the proper symbol name as: 

Layer
style
---symbol 'symbol_name'
end
end

regards,
Ritesh

fastturtle wrote:
 
 Dear list,
 I'm hoping someone can help me.
  Following the instructions in the wiki, I am trying to add a north
  arrow to a map. I've got a basic north arrow image (north.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. I found one solution in 
 which a empty STYLE object that was needed but I am not sure how to
 implement.
 Can anyone help?
 
SYMBOL #North Arrow
  NAME northarrow1
  TYPE pixmap
  IMAGE north.gif
END
 
  LAYER
  NAME North Arrow
  STATUS DEFAULT
  TRANSFORM FALSE
  TYPE POINT
  FEATURE
POINTS 250 250 END
  END
  CLASS
  SYMBOL 'north'
  END
END
 
  Thanks in advance.
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 
 

-- 
View this message in context: 
http://www.nabble.com/drawing-a-north-arrow-on-a-map-tp18867640p18868108.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE : [mapserver-users] drawing a north arrow on a map

2008-08-07 Thread Léveillé , James
John,
 
the symbol name doesn't match
 
 

__

JAMES LÉVEILLÉ
Service des systèmes de Mission
Direction des technologies de l'information
Ministère des Transports du Québec

5833, boul. Pierre-Bertrand, 2ième étage
Québec (Québec) G2K 1K7
Téléphone:   (418) 380-2005 poste 227
Télécopieur: (418) 644-6653
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


 

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de John Beck
Envoyé : 7 août 2008 06:25
À : mapserver-users@lists.osgeo.org
Objet : [mapserver-users] drawing a north arrow on a map


Dear list,
I'm hoping someone can help me.
 Following the instructions in the wiki, I am trying to add a north
 arrow to a map. I've got a basic north arrow image (north.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. I found one solution in 
which a empty STYLE object that was needed but I am not sure how to
implement.
Can anyone help?

SYMBOL #North Arrow
  NAME northarrow1
  TYPE pixmap
  IMAGE north.gif
END
 
  LAYER
  NAME North Arrow
  STATUS DEFAULT
  TRANSFORM FALSE
  TYPE POINT
  FEATURE
POINTS 250 250 END
  END
  CLASS
  SYMBOL 'north'
  END
END
 
  Thanks in advance.


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users