<div dir="ltr">Hi Tamas,<div><br></div><div>Thanks for your reply. I've made the OGR part right, and can generate maps.</div><div><br></div><div>However, the work I have on hand is not satisfied yet. Basically, the project uses MapInfo+Oracle. So in order to make it work on both MapInfo and MapServer, I have to populate two style columns, MI_STYLE populated by MapInfo automatically, and the OGR_STYLE populated by hand or extra program (or script). I have used ogr2ogr to convert data originally. But ogr2ogr can only populate the OGR_STYLE column. Whilst MapInfo can only populate the MI_STYLE column. I still figuring out a solution to this.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 4:39 PM, Tamas Szekeres <span dir="ltr"><<a href="mailto:szekerest@gmail.com" target="_blank">szekerest@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>Assuming the style definition exists in OGR style format or in MapServer STYLE or CLASS definitions, you can use STYLEITEM "attributename" which should work with all drivers (not just with OGR)</div>

<div><br></div><div>When using the OGR driver (and not using the MapInfo driver), you should use OGR_STYLE as the attribute name to have the feature style set up by OGR automatically. In this case the style attribute should contain OGR style strings.</div>

<div><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div><br><br><div class="gmail_quote">2013/5/23 Jackey Cheung <span dir="ltr"><<a href="mailto:cheung.jackey@gmail.com" target="_blank">cheung.jackey@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi all,<div><br></div><div>Just a short question, does the STYLEITEM supported only for OGR?</div>
<div><br>
</div><div>Say I have a column that stores OGR style definitions in Oracle. Must I use OGR connection type to utilize those styles? I've tried use ORACLESPATIAL, but can't seem to use those styles.</div>
</div>
<br></div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>