Hi Andy,
Don't know if it helps or not, but if you look at the class
https://bitbucket.org/mapsum/maprocket-tileserver/src/ee045bb240e24091d7ecfeef1a151eca16c3ed4e/src/main/java/com/mapsum/maprocket/gis/wms/WMSHttpHandler.java?at=master
I use it to output an image file as part of a WMS request. The bit you want
is probably everything from line 106 - 154.
HTH
Alex
*Alex Davies-Moore / Developer*
25 Wayman Road / Corfe Mullen / Dorset / BH21 3PL / UK
P: +44 (0) 1202 697 394 / M: +44 (0) 7961 629 399 / T: @schoenobates
Devork Limited is a limited company registered in England and Wales
Registered number: 07699891
Registered office: 25 Wayman Road, Corfe Mullen, Dorset, BH21 3PL
This message and any files transmitted with it are the property of Devork
Ltd, are confidential, and are intended solely for the use of the person or
entity to whom this e-mail is addressed. If you are not one of the named
recipient(s) or otherwise have reason to believe that you have received
this message in error, please contact the sender and delete this message
immediately from your computer. Any other use, retention, dissemination,
forwarding, printing, or copying of this e-mail is strictly prohibited.
On 11 November 2014 12:30, Andy Turner <a.g.d.tur...@leeds.ac.uk> wrote:
> Hi geotools-gt2-users,
>
> Recently I started using GeoTools again for a project where I want to
> automate the production of a set of maps.
>
> I've managed to get some maps displayed on screen using a JMapFrame.
>
> Does anyone know a good way to write the display out to an image file?
>
> Thanks for your help,
>
> Andy
> http://www.geog.leeds.ac.uk/people/a.turner/index.html
>
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users