[Geoserver-devel] GetMapProducer api change on 1.5.x?

Hi all,

I notice the api for GetMapProducer has changed on 1.5.x. It appears
that the methods setContentType and setOutputFormat have been added.
This seem to differ from the previous api in which producers declare
these things.

Not sure if i missed any discussion on this issue. For now i am simply
throwing UnsupportedOperationException for these methods. Is this the
intended behavior.

-Justin

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Justin Deoliveira ha scritto:

Hi all,

I notice the api for GetMapProducer has changed on 1.5.x. It appears
that the methods setContentType and setOutputFormat have been added.
This seem to differ from the previous api in which producers declare
these things.

Not sure if i missed any discussion on this issue. For now i am simply
throwing UnsupportedOperationException for these methods. Is this the
intended behavior.

I think these are changes Simone introduced to be able and support
png8 and tiff8 and... no, there hasn't been any discussion :frowning:
Afaik they are necessary to have the same class emit multiple
content types and work with multiple output formats.

Cheers
Andrea

Guys,
I am on IRC now we can chat a bit...

Simone.

-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

-----Original Message-----
From: geoserver-devel-bounces@lists.sourceforge.net
[mailto:geoserver-devel-bounces@lists.sourceforge.net] On Behalf Of Andrea
Aime
Sent: mercoledì 20 giugno 2007 22.05
To: Justin Deoliveira
Cc: 'geoserver-devel@lists.sourceforge.net'
Subject: Re: [Geoserver-devel] GetMapProducer api change on 1.5.x?

Justin Deoliveira ha scritto:

Hi all,

I notice the api for GetMapProducer has changed on 1.5.x. It appears
that the methods setContentType and setOutputFormat have been added.
This seem to differ from the previous api in which producers declare
these things.

Not sure if i missed any discussion on this issue. For now i am simply
throwing UnsupportedOperationException for these methods. Is this the
intended behavior.

I think these are changes Simone introduced to be able and support
png8 and tiff8 and... no, there hasn't been any discussion :frowning:
Afaik they are necessary to have the same class emit multiple
content types and work with multiple output formats.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel