[mapserver-users] New mappyfile release (with CLI)

Seth G sethg at geographika.co.uk
Thu Aug 23 07:20:51 PDT 2018


Hi Richard,

Thanks for the feedback. Debian packaging has been created (for
mappyfile 0.7.2):
https://github.com/geographika/mappyfile/issues/59

sudo add-apt-repository ppa:ubuntugis/ubuntugis-experimental sudo apt-
get update sudo apt-get install python-mappyfile sudo apt-get install
python3-mappyfileWith regards to the modulo operator - I wasn't aware it was possible! It
isn't documented at https://mapserver.org/mapfile/expressions.html and
doesn't appear in any of the msautotest Mapfiles.It is easy enough to add it to the Mapfile grammar, so will be in the
next release.
Thanks Tom for the kind words on the project.

Seth

--
web:http://geographika.co.uk
twitter: @geographika


On Thu, Aug 23, 2018, at 3:07 PM, Richard Greenwood wrote:
> Based on Tom's comments I figured that I'd better try out mappyfile. I
> ran into a couple issues.> Installing on Ubuntu 18.04 required python-setuptools (sudo apt-get
> install python-setuptools)> mappyfile validated failed on the '%' modulo operator in an
> expression:>     EXPRESSION ( ([height] % 50) = 0 )
> 
> 
> 
> On Wed, Aug 22, 2018 at 7:10 PM Kralidis, Tom (EC)
> <tom.kralidis at canada.ca> wrote:>> We're using mappyfile in our projects and I must say it is a
>> fantastic tool>>  for mapfile composition workflows.  Great job!
>> 
>>  Thanks for the release (and thanks to Hobu who introduced me to
>>  Seth, who>>  introduced me to mappyfile at the code sprint in Bonn earlier this
>>  year).>> 
>>  ..Tom
>> 
>>  > -----Original Message-----
>>  > From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> On>>  > Behalf Of Seth G
>>  > Sent: August 22, 2018 20:21
>>  > To: mapserver-users at lists.osgeo.org
>>  > Subject: [mapserver-users] New mappyfile release (with CLI)
>>  > 
>>  > Hi list,
>>  > 
>>  > Just to let you know there is a new release of mappyfile (0.7.3).
>>  > If you're not>>  > aware of the project it is a Python library for working with
>>  > Mapfiles, and can>>  > be installed with "pip install mappyfile".
>>  > 
>>  > The latest release has 2 command line programs for formatting, and>>  > validating Mapfiles. See
>>  > https://mappyfile.readthedocs.io/en/latest/client.html for
>>  > details. In>>  > summary you can run:
>>  > 
>>  >     mappyfile format valid.map valid_formatted.map
>>  > 
>>  > And:
>>  > 
>>  >     mappyfile validate valid.map
>>  > 
>>  > 
>>  > The project is released under an MIT licence, and sourcecode
>>  > available at>>  > https://github.com/geographika/mappyfile
>>  > 
>>  > If anyone has valid Mapfiles that don't validate please create an
>>  > issue on>>  > Github, or send them on to me directly.
>>  > 
>>  > Regards,
>>  > 
>>  > Seth
>>  > 
>>  > --
>>  > web:http://geographika.co.uk
>>  > twitter: @geographika
>>  > _______________________________________________
>>  > 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
> 
> 
> -- 
> Richard W. Greenwood, PLS
> www.greenwoodmap.com
> _________________________________________________
> 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/20180823/c6ef1d1b/attachment.htm>


More information about the MapServer-users mailing list