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:[email protected]] 
        Sent: zaterdag 23 mei 2009 0:30
        To: Jelmer Baas
        Cc: [email protected]
        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 <[email protected]>
        

                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


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to