[MAPSERVER-USERS] Direction on road using ARROW Image

Ila ila.engg at gmail.com
Mon Jun 9 05:39:42 EDT 2008


I am getting symbol on the road, but its not coming as it was in image.gif
file. The symbol get displayed in rectangular form. I am not getting where
theres a problem. Please help me out.
My symbol definition is as follows:

SYMBOL
  NAME "newarrow"
  TYPE PIXMAP  
  IMAGE "105.gif"
  GAP -70
END

And Layer is as:

LAYER

  NAME "road"
  CONNECTIONTYPE db
  CONNECTION "username/password"
  DATA "GEOM FROM road"
    CLASSITEM "ONEWAY"
  LABELITEM "STREETNAME"
  TYPE Line
  STATUS ON
  
  CLASS
    NAME "MAJOR-ROADS"
    MAXSCALE 260000
    MINSCALE 0
    EXPRESSION ([ONEWAY] = 1)
   
    style
     SYMBOL "newarrow"
     SIZE 8  
     COLOR 119 136 153
    ANTIALIAS true
    end
  END
 END # Layer


Ritesh Ambastha wrote:
> 
> Please write your Layer definition and symbol definition. 
> It would be helpful for us to gaze the problem. 
> 
> Arrow directions is easy to implement. I guess you might be missing a
> minor part. 
> 
> Regards,
> Ritesh Ambastha
> 
> 
> Ila wrote:
>> 
>> Hello readers,
>> 
>>      As I am working on GIS application & new to it, so please forgive me
>> for my noob questions. I want to show the direction on oneway road using
>> any arrow image, not through using arrow character. I have successfully
>> implemented the road direction using ARROW Character, but I want to
>> implement the same using ARROW image in my application. So, is there any
>> way to implement it? Please provide me some example for my better
>> understanding. I would be very thankful for your suggestions/thoughts.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Direction-on-road-using-ARROW-Image-tp17688884p17729411.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list