[Tilecache] Seeding Tiles with AGG Mapserver support

ritesh ambastha ritesh.linux at gmail.com
Wed Aug 6 11:05:51 EDT 2008


Hey Nico,

Thanks for your reply. I think I am missing a very minor thing.
I tried with your mapfile snippet.

I met this error:
<snip>
Content-type: application/vnd.ogc.se_xml

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException code="InvalidFormat">
*msWMSLoadGetMapParams(): Image handling error. Unsupported output format
(image/png).*
</ServiceException>
</ServiceExceptionReport>
Segmentation fault
</snip>

Regards,
Ritesh Ambastha

On Wed, Aug 6, 2008 at 8:29 PM, Nico Mandery <nico.mandery at geops.de> wrote:

> Hi Ritesh,
>
> It looks as iff Agg is not working at all - did you clean your cache before
> testing? The significant difference from your mapfile to mine is that I
> specified
> IMAGETYPE png
> instead of agg. Maybe you want to try this.
>
> The rest of my (working) AGG-format definitions:
>
> IMAGETYPE png
> OUTPUTFORMAT
>   NAME png
>   DRIVER "AGG/PNG"
>   MIMETYPE "image/png"
>   IMAGEMODE RGBA
>   EXTENSION "png"
>   FORMATOPTION "TRANSPARENT=ON"
>   FORMATOPTION "INTERLACE=OFF"
> END
>
> regards,
> Nico
>
> Am Mittwoch 06 August 2008 schrieb Ritesh Ambastha:
> > Thanks Christopher for replying.
> >
> > Here are the details:
> >
> > Tilecache.cfg :
> > <snip>
> > # My MapServer layer configuration.
> > [mymap]
> >
> > type=MapServer
> > layers=road_minor_6_1
> > mapfile=/var/www/cgi-bin/mydir/test.map
> > mimetype=image/png
> > levels= 7
> > resolutions = 52.9167725002117,
> >
> 26.4583862501058,13.2291931250529,6.61459656252646,2.64583862501058,1.32291
> >931250529,0.264583862501058 maxResolution = 52.9167725002117
> > srs=EPSG:1000001
> > bbox = -546020.125826913,  1454642.443505, -507946.333773087,
> > 1487779.281195 </snip>
> >
> > Mapfile:
> > <snip>
> > IMAGETYPE AGG
> >
> >
> >
> > OUTPUTFORMAT
> >
> >  NAME  'AGG'
> >
> >  DRIVER  AGG/PNG
> >
> >  IMAGEMODE RGB
> >
> > END
> > </snip>
> >
> > Let me know if you need some more information.
> >
> > Thanks,
> > Ritesh Ambastha
> >
> > Christopher Schmidt-4 wrote:
> > > On Wed, Aug 06, 2008 at 02:31:50AM -0700, Ritesh Ambastha wrote:
> > >> http://www.nabble.com/file/p18847461/road.png
> > >>
> > >> I am using wms mapserver and tilecache support for seeding the tiles.
> I
> > >> am
> > >> specifying AGG as outputformat in mapfile definition.
> > >
> > > Can you please include both your TileCache config and your MapServer
> > > OUTPUTFORMAT?
> > >
> > > Regards,
> > > --
> > > Christopher Schmidt
> > > MetaCarta
> > > _______________________________________________
> > > Tilecache mailing list
> > > Tilecache at openlayers.org
> > > http://openlayers.org/mailman/listinfo/tilecache
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080806/ab4910f3/attachment.html


More information about the Tilecache mailing list