[mapserver-users] Curved Lines

juliap japr94 at hotmail.com
Tue Jun 26 13:43:55 PDT 2012


Hi all,

I have the following layer of type line :

LAYER 
	NAME line
	STATUS ON
	TYPE LINE
	CONNECTIONTYPE OGR	
	CONNECTION "MSSQL:server=server;database=database;uid=id;pwd=pwd" 
	DATA "SELECT geometry::STLineFromText('LINESTRING ('
		  +CAST(Geo.STX AS VARCHAR(54))
		  +' '
	          +CAST(Geo.STY AS VARCHAR(54))
		  +', '
		  +CAST(Geo.STX AS VARCHAR(54))
		  +' '
		  +CAST(Geo.STY AS VARCHAR(54)) 
		  +')'	  
		  ,4326)
	FROM column WHERE DATEDIFF(mi, CreatedON, CURRENT_TIMESTAMP) <='%x%'"		
	CLASS
	STYLE					
			WIDTH 3
			SIZE 1
			COLOR 0 0 128
	END # end of style
	END # end of class
	PROJECTION
		"init=epsg:4326" 
	END # end of projection
END # end of layer

I was wondering how to get a curved line from this data. I tried using angle
and gap, but I don't see any changes.
Any suggestions?



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Curved-Lines-tp4984066.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list