[Mapserver-users] MapServer and Java

Harald Wehr hwehr@hs-harz.de
Tue, 11 Feb 2003 08:14:42 +0100


Hello
> 
> My problem is that I am working on a WebApplikation based on Java. Now, we
> also will need to include geographic pictures for references purposes. The
> data are in PostgreSQL. Now, I have a working MapServer and I can bring up
> the pictures using PostGIS. But what I would like is just to get the name
> of the pictures (eq image, refimage, scalebar, legend) MapServer has
> created which I can then load into to the WebApplikation with normal GET
> calls to the server. I looked at Mapplet. But this is not really what I am
> looking for. Is there a possibility to get the names of the picture
> MapServer created?

How do you call MapServer do render the images?

As there were some threading problems when we tried to use mapserver via 
SWIG we are using the MapServer-CGI. We are calling it from java via a 
simple HTTP-Request. As mapserver-template file we are using a normal 
XML-File where the tags like [img][refimg] and so on are filled by 
mapserver and returned as HTTP-Response in java.

The response as XML can easily be accessed to get the desired 
information  filled by mapserver.

HTH

Harald
-- 
Harald Wehr                    Tel: +49-3943-626654
Hochschule Harz                e-mail: hwehr@hs-harz.de
Projekt MobiHarz	       http://www.mobiharz.de
Friedrichstrasse 57-59
D-38855 Wernigerode


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users