[Mapserver-dev] Enhancing mapserver line drawing

Tomas Krecmer tokr at tmapy.cz
Wed Oct 22 05:11:57 EDT 2003


This is a multi-part message in MIME format.
--------------070800040002010001000302
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit


>Are there plans to support a cartoline symbol type?
>
>  
>
It is just implemented for the GD output type. For more info see the 
attached file.

-- 
Tomas Krecmer, tomas.krecmer at tmapy.cz
T-MAPY spol. s r.o., Nezvalova 850, 500 03 Hradec Kralove,
Czech Republic, phone: + 420 49 5513335 , fax + 420 49 5513371


--------------070800040002010001000302
Content-Type: message/rfc822;
 name="Attached Message"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Attached Message"

Message-ID: <3F1E3754.4010809 at tmapy.cz>
Date: Wed, 23 Jul 2003 09:20:52 +0200
From: Tomas Krecmer <tomas.krecmer at tmapy.cz>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Juan Pablo Liska <jp at guatec.com>
Subject: Re: Antialias for Cartoline
References: <ACEDININKADKBPNCKBCBMEGBCAAA.jp at guatec.com>
In-Reply-To: <ACEDININKADKBPNCKBCBMEGBCAAA.jp at guatec.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I don't have access to my laptop just now where are all examples but I 
hope I can answer this question out.

...................

	CLASS
		STYLE
		  SYMBOL 'road'
		  COLOR 100 100 100
		  SIZE 4
		  ANTIALIAS TRUE
		END
		STYLE
		  SYMBOL 'roadov'
		  COLOR 240 240 240		  
                  SIZE 2
		  ANTIALIAS TRUE
		END
		LABEL
		  FORCE TRUE
		  POSITION CC
		  SIZE tiny
		  OUTLINECOLOR 255 255 255
		  BACKGROUNDCOLOR 255 255 204
		  BACKGROUNDSHADOWCOLOR 221 221 221
		  BACKGROUNDSHADOWSIZE 1 1
		  MINDISTANCE 2
		  COLOR 0 0 0
		END
	END

..................

Let me know if it works

Tomas



Juan Pablo Liska wrote:

>Sorry to bother, I saw that you are the author of the Cartoline Symbol type
>for mapserver. Thank you!
>
>I saw that you added antialiasing for this symbol type to CVS on the 23rd of
>June. Do you know if this made it into 4.0 beta 2?  I ask b/c i'm using beta
>2 and cannot get the antialiasing to work.  Maybe I didnt understand what
>you meant by: "ANTIALIAS TRUE" should be set in CLASS->STYLE section.
>
>Thank you for your effort.
>Juan Pablo Liska
>
>ps. In my mapfile, i have:
>
>SYMBOL
>	NAME 'road'
>	#ANTIALIAS TRUE
>	TYPE CARTOLINE
>END
>
>SYMBOL
>	NAME 'roadov'
>	#ANTIALIAS TRUE
>	TYPE CARTOLINE
>END
>
>LAYER
>	NAME unimportant_roads
>	DEBUG true
>	TYPE LINE
>	STATUS ON
>	CONNECTIONTYPE postgis
>	CONNECTION "dbname=neighborhood host=localhost"
>	DATA "the_geom from neighborhood"
>
>	CLASS
>		COLOR 100 100 100
>		SIZE 4
>		SYMBOL 'road'
>		OVERLAYSIZE 2
>		OVERLAYCOLOR 240 240 240
>		OVERLAYSYMBOL 'roadov'
>		STYLE
>			ANTIALIAS TRUE
>		END
>		LABEL
>		  FORCE TRUE
>		  POSITION CC
>		  SIZE tiny
>		  OUTLINECOLOR 255 255 255
>		  BACKGROUNDCOLOR 255 255 204
>		  BACKGROUNDSHADOWCOLOR 221 221 221
>		  BACKGROUNDSHADOWSIZE 1 1
>		  MINDISTANCE 2
>		  COLOR 0 0 0
>		END
>	END
>	PROJECTION
>		proj=longlat
>		ellps=GRS80
>		datum=NAD83
>		no_defs
>	END
>END
>
>
>  
>


-- 
Tomas Krecmer, tomas.krecmer at tmapy.cz
T-MAPY spol. s r.o., Nezvalova 850, 500 03 Hradec Kralove,
Czech Republic, phone: + 420 49 5513335 , fax + 420 49 5513371



--------------070800040002010001000302--




More information about the mapserver-dev mailing list