[MapProxy] New MapProxy 1.2.0 release

Sandor Csaba sandor.csaba at viamap.hu
Wed Aug 31 14:49:23 EDT 2011


Hi list,

I upgraded my mapproxy installation from 0.9.xxx to this new version.

All-n-all I expected worse things when upgrading from such an old version. :)

I noticed 2 things:

1. In my mapproxy.yaml layer titles contained special characters

EKF_EOV:
   title: Els>>ő<< katonai felmeres
   sources: [EKF_EOV_cache]

that caused errors when checking the conf by mapproxy-util serve-develop.

[2011-08-31 20:39:48,091] mapproxy.config - INFO - reading: mapproxy.yaml
[2011-08-31 20:39:48,104] mapproxy.config - WARNING - u'Els\u0151
katonai felmeres' in layers.EKF_EOV.title not of type str
[2011-08-31 20:39:48,104] mapproxy.config - CRITICAL - invalid configuration

If I delete accented chars this goes away.

2. My watermark configuration appears to be wrong:

I have this in mapproxy.yaml in my cache section:

  Mao_t_10e_cache:
    grids: ...
...
    watermark:
      text: FOMI
      opacity: 50
      font_size: 12

I get this when serving:
...
    f = create_watermark_filter(self.conf, self.context)
TypeError: create_watermark_filter() takes exactly 3 arguments (2 given)

If I comment out watermarking this goes away.

Thanks for your help in advance!

Csaba

On 31 August 2011 16:43, Oliver Tonnhofer <olt at omniscale.de> wrote:
> Hi there,
>
> we are finally ready to announce the release of MapProxy 1.2.0. It
> contains major and minor improvements.
>
> The latest release is available at: <http://pypi.python.org/pypi/MapProxy>
>
> To upgrade within you virtualenv:
>
>    $ pip install --upgrade --no-deps MapProxy
>
> Updated documentation is available at: <http://mapproxy.org/docs/1.2.0/>
>
> Some new features:
>
> Tile cache
> ----------
>
> You can use the MBTiles format for new caches and you can load existing
> MBTiles caches.
>
> The directory layout for file based caches is now configurable and you
> can choose a TMS compatible layout besides the default TileCache
> compatible one.
>
> http://mapproxy.org/docs/nightly/configuration.html#cache
>
> `mapproxy-util scales` tool
> ---------------------------
>
> The new `mapproxy-util scales` tool helps to convert between scales
> and resolutions.
>
> http://mapproxy.org/docs/nightly/mapproxy_util.html#scales
>
> Other features
> --------------
>
> - Mapnik source now supports the selection of single layers.
>  http://mapproxy.org/docs/nightly/sources.html#mapnik
>
> - You can use MultiMapProxy without Paste Deploy.
>  http://mapproxy.org/docs/nightly/deployment.html#multimapproxy
>
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
> http://mapproxy.org | https://bitbucket.org/olt | @oltonn
>
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
>



--
Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)


Tel: +3630/9605853
Fax: +3617002542


More information about the MapProxy mailing list