Re: [MapServer-users] Qgis layer style file in mapfile

2023-05-11 Thread Seth G
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
> 
> 
> 
> 
> 
 

> 
> Book time to meet with me 
> 
> 
> ___
> MapServer-users mailing list
> MapServer-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MapServer-users] Qgis layer style file in mapfile

2023-05-15 Thread Steve Lime
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  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
>
>
>
>
>
>
> 
>
> Book time to meet with me
> 
>
> ___
> MapServer-users mailing list
> MapServer-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ___
> MapServer-users mailing list
> MapServer-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [MapServer-users] Qgis layer style file in mapfile

2023-05-19 Thread Seth G
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  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
>>> 
>>> 
>>> 
>>> 
>>> 
 

>>> 
>>> Book time to meet with me 
>>> 
>>> 
>>> 
>>> ___
>>> MapServer-users mailing list
>>> MapServer-users@lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>>> 
>> 
>> ___
>> MapServer-users mailing list
>> MapServer-users@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
___
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users