<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi Steve,<br></div><div><br></div><div>I've so far only experimented with simple styles, but attempting to convert more complex examples from QGIS styles should highlight what type of style properties are missing in MapServer.<br></div><div><br></div><div>Seth<br></div><div><br></div><div id="sig62266145"><div class="signature">--<br></div><div class="signature">web:<a href="https://geographika.net">https://geographika.net</a> & <a href="https://mapserverstudio.net">https://mapserverstudio.net</a><br></div><div class="signature">twitter: @geographika<br></div></div><div><br></div><div>On Mon, May 15, 2023, at 5:53 PM, Steve Lime wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr">This would be very useful. Is that work also potentially identifying gaps (or opportunities) with MapServer styling to make things easier? --Steve <br></div><div><br></div><div class="qt-gmail_quote"><div dir="ltr" class="qt-gmail_attr">On Thu, May 11, 2023 at 5:35 AM Seth G <<a href="mailto:sethg@geographika.co.uk">sethg@geographika.co.uk</a>> wrote:<br></div><blockquote class="qt-gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div class="qt-msg6424477445226704008"><div><u></u><br></div><div><div>Hi Marcin,<br></div><div><br></div><div>Good timing with the question! There is currently a code sprint happening for the GeoStyler project [1]<br></div><div>This allows conversion between different styles including QGIS and MapServer Mapfiles.<br></div><div>If you are looking to convert from QGIS to Mapfile you need to use the geostyler-cli [2] to convert the QGIS style to the intermediary GeoStyler format and then use the GeoCat script [3] to convert this to a Mapfile.<br></div><div>This is currently a fairly complex way do do things but we're looking at a Python wrapper to make this a simple one line command.<br></div><div><br></div><div>Seth<br></div><div><br></div><div>[1] <a href="https://geostyler.org/" target="_blank">https://geostyler.org/</a><br></div><div>[2] <a href="https://github.com/geostyler/geostyler-cli" target="_blank">https://github.com/geostyler/geostyler-cli</a><br></div><div>[3] <a href="https://github.com/GeoCat/bridge-style/blob/master/bridgestyle/mapserver/fromgeostyler.py" target="_blank">https://github.com/GeoCat/bridge-style/blob/master/bridgestyle/mapserver/fromgeostyler.py</a><br></div><div><br></div><div id="qt-m_6424477445226704008sig62266145"><div>--<br></div><div>web:<a href="https://geographika.net" target="_blank">https://geographika.net</a><br></div><div>twitter: @geographika<br></div></div><div><br></div><div>On Thu, May 11, 2023, at 11:55 AM, Marcin Niemyjski via MapServer-users wrote:<br></div><blockquote type="cite" id="qt-m_6424477445226704008qt"><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">Hello,<br></div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);"><br></div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);">is it possible to somehow use Qgis layer style file in mapfile to define how is Polygon layer displayed?<br></div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);"><br></div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);"><div>Best,<br></div><div>Marcin<br></div></div><div><div style="font-family:Calibri, Arial, Helvetica, sans-serif;font-size:12pt;color:rgb(0, 0, 0);"><br></div><div id="qt-m_6424477445226704008qt-Signature"><div><table style="margin-top:30px;margin-bottom:30px;width:95%;" id="qt-m_6424477445226704008qt-tableSelected0"><tbody><tr height="45"><td><br></td></tr><tr><td><br></td></tr><tr><td><br></td></tr><tr><td><br></td></tr></tbody></table><table id="qt-m_6424477445226704008qt-pbpsiglinktable"><tbody><tr><td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature" target="_blank"><img src="cid:188201c733721fb114b1"></a><br></td><td><br></td><td><a href="https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature" style="text-decoration-line:none;text-decoration-style:solid;text-decoration-color:currentcolor;color:rgb(0, 120, 212);" target="_blank">Book time to meet with me</a><br></td><td><div><br></div><br><table></table></td></tr></tbody></table></div></div></div><div>_______________________________________________<br></div><div>MapServer-users mailing list<br></div><div><a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div><div><br></div></blockquote><div><br></div></div><div>_______________________________________________<br></div><div> MapServer-users mailing list<br></div><div> <a href="mailto:MapServer-users@lists.osgeo.org" target="_blank">MapServer-users@lists.osgeo.org</a><br></div><div> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></div></blockquote></div></blockquote><div><br></div></body></html>