[MapServer-users] Qgis layer style file in mapfile

Seth G sethg at geographika.co.uk
Fri May 19 07:18:02 PDT 2023


Hi Steve,

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.

Seth

--
web:https://geographika.net & https://mapserverstudio.net
twitter: @geographika

On Mon, May 15, 2023, at 5:53 PM, Steve Lime wrote:
> This would be very useful. Is that work also potentially identifying gaps (or opportunities) with MapServer styling to make things easier? --Steve 
> 
> On Thu, May 11, 2023 at 5:35 AM Seth G <sethg at geographika.co.uk> wrote:
>> __
>> Hi Marcin,
>> 
>> Good timing with the question! There is currently a code sprint happening for the GeoStyler project [1]
>> This allows conversion between different styles including QGIS and MapServer Mapfiles.
>> 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.
>> 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.
>> 
>> Seth
>> 
>> [1] https://geostyler.org/
>> [2] https://github.com/geostyler/geostyler-cli
>> [3] https://github.com/GeoCat/bridge-style/blob/master/bridgestyle/mapserver/fromgeostyler.py
>> 
>> --
>> web:https://geographika.net
>> twitter: @geographika
>> 
>> On Thu, May 11, 2023, at 11:55 AM, Marcin Niemyjski via MapServer-users wrote:
>>> Hello,
>>> 
>>> is it possible to somehow use Qgis layer style file in mapfile to define how is Polygon layer displayed?
>>> 
>>> Best,
>>> Marcin
>>> 
>>> 
>>> 
>>> 
>>> 
 <https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
>>> 
>>> Book time to meet with me <https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
>>> 
>>> 
>>> _______________________________________________
>>> MapServer-users mailing list
>>> MapServer-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>>> 
>> 
>> _______________________________________________
>> MapServer-users mailing list
>> MapServer-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230519/55eeecd1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-opnlnarp.png
Type: image/png
Size: 528 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230519/55eeecd1/attachment.png>


More information about the MapServer-users mailing list