<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;color:#00000;'><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Hi Radim,<br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Nothing ready to use, sometime we use some py scripts to extract something QGIS<->MAP, but usually for usage once. We are looking on the same direction and started some brainstorming how to and where we see risks.<br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Convert layers, connection parameters and filters is the easy part.<br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Line and polygon styles at first we see as:<br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><div>a) suboptimal way mapscript -> SLD (good part that contains classes and filter rules) while there is simple styles without complex symbol usage should work fine.<br></div><div>b) parse CLASS and translate expressions to QGIS, parse STYLE and translate to QGIS style (initially more work than in mapscript case but in long term can be better).<br></div></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">So far no research and idea how to deal with MapServer symbols and symbols based on TTF fonts (we have special symbols developed in TTF). Cool wold be tool able to build QGIS Resource sharing package [1] from map file and linked symbols and fonts for usage in QGIS. <span> </span><br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span></span><br></div><div style="color: rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">1.<span> </span><a style="color: rgb(17, 85, 204);" href="http://www.akbargumbira.com/qgis_resources_sharing/" target="_blank">http://www.akbargumbira.com/qgis_resources_sharing/</a><br></div><div><br></div><div>Best,<br></div><div><br></div><div id="Zm-_Id_-Sgn"><div>--<br></div><div>Pēteris Brūns<br></div><div>SunGIS<br></div><div>+371 26336691<br></div><div><a href="mailto:pb@sungis.lv">pb@sungis.lv</a><br></div></div><div><br></div><div class="zmail_extra"><div id="Zm-_Id_-Sgn1"><div><br></div><div>---- On Wed, 24 Oct 2018 11:42:33 +0300 <b>Radim Blazek <radim.blazek@gmail.com></b> wrote ----<br></div></div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div>Is there around a piece of code to convert Mapserver mapfile to QGIS<br></div><div>project to start with migration to QGIS server?<br></div><div><br></div><div>I only found:<br></div><div>https://github.com/sourcepole/qgis-mapfile-tools/tree/master/mapfile_tools<br></div><div>which only reads list of layers and then calls Mapserver mapscript to<br></div><div>render the layer as plugin layer (if I got it).<br></div><div><br></div><div>http://osgeo-org.1560.x6.nabble.com/QGIS-gt-Mapserver-export-td5046115.html<br></div><div>talking about 'greatly enhanced mapfile tools' but<br></div><div>https://github.com/Oslandia/qgis-mapfile-tools<br></div><div>does not exist anymore.<br></div><div><br></div><div>https://gis.stackexchange.com/questions/191729/tools-to-help-migration-from-mapserver-to-qgis-server<br></div><div>asking the same thing, pointed to go via (nonoptimal) SLD.<br></div><div><br></div><div>Radim<br></div><div>_______________________________________________<br></div><div>QGIS-Developer mailing list<br></div><div>QGIS-Developer@lists.osgeo.org<br></div><div>List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br></div><div>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br></div></div></blockquote></div><div><br></div></div><br></body></html>