[Mapserver-users] asymmetric lines

Stepan Kafka stepan.kafka at centrum.cz
Mon Feb 23 06:48:21 EST 2004


There is some style (inside class) definition:
     STYLE
       COLOR 192 0 0
       SYMBOL l-solid
       OFFSET 2 -99
       SIZE 5
       MAXSIZE 10
     END

It should work. What version of mapserver do you use? I don't know exactly
when this property was reintroduced.

Stepan

> -----Pùvodní zpráva-----
> Od: youssef chamoun [mailto:youssefchamoun at hotmail.com]
> Odesláno: 23. února 2004 12:08
> Komu: stepan.kafka at centrum.cz; mapserver-users at lists.gis.umn.edu
> Pøedmìt: RE: [Mapserver-users] asymmetric lines
>
>
> I am sorry again,
>
> but it still does not work. I t just stops producing images. In
> the mapfile
> documentation, I could not find OFFSET.
> Can you help???
>
> Thank you,
> youssef
>
>
> >From: "Stepan Kafka" <stepan.kafka at centrum.cz>
> >To: "youssef chamoun"
> ><youssefchamoun at hotmail.com>,<mapserver-users at lists.gis.umn.edu>
> >Subject: RE: [Mapserver-users] asymmetric lines
> >Date: Mon, 23 Feb 2004 11:05:05 +0100
> >
> >Excuse me, it must be oposite:
> >
> >OFFSET 5 -99
> >
> >Stepan
> >
> > > -----Pñ¶¯¤ní ºprᶡ-----
> > > Od: youssef chamoun [mailto:youssefchamoun at hotmail.com]
> > > Odeslᮯ: 23. 򮯲a 2004 10:04
> > > Komu: stepan.kafka at centrum.cz; mapserver-users at lists.gis.umn.edu
> > > P𥤭촺 RE: [Mapserver-users] asymmetric lines
> > >
> > >
> > > Hi Stephan,
> > >
> > > I really appreciate your reply.
> > > I tried the OFFSET -99 5 but mapserver gave an error and did not
> > > display any
> > > image. I tried to look for the OFFSET word in the documantation
> > > but I could
> > > find it only for the LABEL object. Can you please give me a more
> >detailed
> > > explanation?
> > >
> > > Thank you again for your help
> > > youssef
> > >
> > >
> > > >From: "Stepan Kafka" <stepan.kafka at centrum.cz>
> > > >To: "youssef chamoun"
> > > ><youssefchamoun at hotmail.com>,<mapserver-users at lists.gis.umn.edu>
> > > >Subject: RE: [Mapserver-users] asymmetric lines
> > > >Date: Mon, 23 Feb 2004 09:06:57 +0100
> > > >
> > > >Hi Youssef,
> > > >   you may use two approaches:
> > > >
> > > >1) offset lines. If you set OFFSET -99 <number> (eg -99 5) for line
> > > >symbols,
> > > >the result line is parallel to original one. Stacking symbols
> > > with multiple
> > > >STYLEs you can achieve desired effect. (There is only simple (but
> >quick)
> > > >algorithm used for offseting, so there may be some problems with very
> > > >tortuous lines)
> > > >
> > > >2) Truetype symbols. If you set GAP < 0 (eg. GAP -15), the
> symbols are
> > > >oriented in "as digitized" orientation. Then you may set
> > > POSITION (UC, LC,
> > > >UR, ..) to get different drawing effects.
> > > >
> > > >These functionality is available from 3.6.0 (?) version.
> > > >
> > > >Stepan Kafka
> > > >
> > > > > -----Pñ¶¯¤ní ºprᶡ-----
> > > > > Od: mapserver-users-admin at lists.gis.umn.edu
> > > > > [mailto:mapserver-users-admin at lists.gis.umn.edu]za u¾ivatele
> >youssef
> > > > > chamoun
> > > > > Odeslᮯ: 20. 򮯲a 2004 16:33
> > > > > Komu: mapserver-users at lists.gis.umn.edu
> > > > > P𥤭촺 [Mapserver-users] asymmetric lines
> > > > >
> > > > >
> > > > > Hello,
> > > > >
> > > > > can anyone please help me on a way to create asymmetric lines?
> > > > >
> > > > > Thank you.
> > > > >
> > > > > Youssef Chamoun
> > > > >
> > > > > _________________________________________________________________
> > > > > Protect your PC - get McAfee.com VirusScan Online
> > > > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> > > > >
> > > > > _______________________________________________
> > > > > Mapserver-users mailing list
> > > > > Mapserver-users at lists.gis.umn.edu
> > > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > > > >
> > > > >
> > > >
> > >
> > > _________________________________________________________________
> > > Add photos to your messages with MSN 8. Get 2 months FREE*.
> > > http://join.msn.com/?page=features/featuredemail
> > >
> > >
> >
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>




More information about the mapserver-users mailing list