You can use StreamingRenderer to write a MapContext to a graphic of a BufferedImage. From there I suggest using the java ImageIO class to create the image in the format you desire (except gif ).

Joel

On 7/28/06, Ian Turton <ijturton@gmail.com> wrote:
client requests.


On 7/28/06, Bernd Resch <bernd.resch@sbg.ac.at> wrote:
> Hello,
>
> I've got a very basic question: as I understood, GeoTools aims at
> displaying maps etc. in client-side components such as Applets (using
> the JFrame class). Using GeoTools, is it also possible to build
> web-based applications (maps are displayed directly within an HTML page
> e.g. using JSP)?
> If yes, are the same classes like (Styled)MapPane etc. used?

mostly you just use a renderer to draw directly to an image that the
servlet sends to the client.

> If no, are there any open-source Java implementations available?

check out geoserver and mapbuilder.

Ian

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users