[mapserver-users] Oracle Spatial and "styleitem auto"

Jelmer Baas Baas at speerit.nl
Sun May 24 15:22:32 EDT 2009


Tamas,
 
Thanks to your url I managed to get it working. The performance is way
better than I hoped! The only thing that doesn't seem to work is
linewidth for (poly)lines. The style 
PEN(w:8px,c:#FF6A00) still draws a 1 or 2 pixel line. I tried using cm,
pt, etc, but that doesn't change anything. 
 
I don't have a style in my map file that overrides it, too (only a class
with name and template).
 
Any ideas? Or should I ask this question in a gdal/ogr list?
 
Regards,
Jelmer Baas
 


________________________________

	From: Tamas Szekeres [mailto:szekerest at gmail.com] 
	Sent: zaterdag 23 mei 2009 0:30
	To: Jelmer Baas
	Cc: mapserver-users at lists.osgeo.org
	Subject: Re: [mapserver-users] Oracle Spatial and "styleitem
auto"
	
	
	Hi,
	
	If you are using OGR to access the Oracle Spatial data source,
you could specify a valid OGR style string in the table by adding field
with name: 'OGR_STYLE'.
	In this case OGR will extract the feature style automatically
when using the STYLEITEM "AUTO" option with this OGR layer.
	
	For more information about the OGR feature style strings see:
	
	http://www.gdal.org/ogr/ogr_feature_style.html
	
	You could use ogr2ogr to transfer the feature styles between
various data sources, see the document above.
	
	Best regards,
	
	Tamas
	
	
	
	
	
	
	2009/5/22 Jelmer Baas <Baas at speerit.nl>
	

		Hello List,
		
		Are there any plans to create a way for MapServer to
automaticly apply a
		certain style to data retrieved from Oracle Spatial? For
example by
		specifying a style column in the mapfile which contains
a MapInfo style
		description?
		
		With kind regards,
		Jelmer Baas


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090524/41579ea4/attachment.html


More information about the mapserver-users mailing list