[mapserver-users] Pyhton mapscript import error

Christopher Schmidt crschmidt at metacarta.com
Sat Feb 28 07:01:58 EST 2009


On Sat, Feb 28, 2009 at 12:04:10PM +0100, thomas bonfort wrote:
> hi,
> you should get going by adding
> MIMETYPE image/png
> to your agg outputformat bloc, or by explicitely calling your agg
> outputformat by its name in your tilecache requests (ie.
> format=aggpng24)

The former is the correct solution. THe latter won't work with the
MapServer layer that is referenced.

However, the MapServer Python bindings tend to leak like a sieve. If you
ca, I'd recommend using a WMS layer instead, in which case i think
thomas's suggestion would be acceptable as well, though I only ever use
the former method.


-- Chris

> thomas
> 
> On Sat, Feb 28, 2009 at 11:48, gautamvs <gautamvs at gmail.com> wrote:
> >
> > Hi
> > As I checked the Tilecache code Mapserver.py. There is no option for image
> > type format agg, as default is image/png. I tried agg/png that is not
> > working in loadOWSparameters. How can I give AGG image type.
> >
> > Regards
> > Gautam
> >
> > --
> > View this message in context: http://n2.nabble.com/Pyhton-mapscript-import-error-tp2341344p2400381.html
> > Sent from the Mapserver - User mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Christopher Schmidt
MetaCarta


More information about the mapserver-users mailing list