[Mapserver-users] MapServer and Java
Harald Wehr
hwehr at hs-harz.de
Mon Feb 10 23:14:42 PST 2003
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 at hs-harz.de
Projekt MobiHarz http://www.mobiharz.de
Friedrichstrasse 57-59
D-38855 Wernigerode
More information about the MapServer-users
mailing list