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.krali...@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-boun...@lists.osgeo.org> On>>  > 
>> Behalf Of Seth G
>>  > Sent: August 22, 2018 20:21
>>  > To: mapserver-users@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@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
> 
> 
> -- 
> Richard W. Greenwood, PLS
> www.greenwoodmap.com
> _________________________________________________
> 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

Reply via email to