Hi, I must introduce myself as a 1st class Newbie that searched a week inside this list getting more and more confused.
I'm simply looking to an answer for this question:
Is it possible to load a GeoTIFF to Geoserver (UTM32N/WGS84 = SRS:32632) and to retrieve geographic coordinates (Lat/Lon/WGS84; SRS:4326) via a client, e.g. OpenLayers??
Just a hint where to find more information would be very helpful.
Hi, I must introduce myself as a 1st class Newbie that searched a week inside this list getting more and more confused.
I'm simply looking to an answer for this question:
Is it possible to load a GeoTIFF to Geoserver (UTM32N/WGS84 = SRS:32632) and to retrieve geographic coordinates (Lat/Lon/WGS84; SRS:4326) via a client, e.g. OpenLayers??
Just a hint where to find more information would be very helpful.
Are you interested in the bounding box of your geoTiff or is a web map you want as output?
To retrieve the bounding box that the geoTIFF covers is simple.
The geoserver admin gui lets you create a coverage, and during configuration wgs84 bbox is calculated.
If its a map your after, its basically the same way to go, geoserver admin gui to configure a coverage.
There is also GDAL library and tools (gdal_info is a program that can display geoTiff data.
http://localhost:8080/geoserver/wms?bbox=277023.0864899452,5233434.01524883,923881.7291952965,6106592.061342626&styles=&Format=application/openlayers&request=GetMap&layers=topp:Deutschland&width=457&height=550&srs=EPSG:32632 to
Then I get my coordinates in Lat/Lon.
But I didn’t want to convert my ‘mappicture’. It should remain in the same UTM-prjection I rectified it to. So my result is just a half step forward.
Coordinates fine, map declined
Dear Sir/ Madam,
I am a very new bee to GeoServer, but I am doing good with Geotools.
I have developed a Web Application, using only Geotools., there I have used
streamingRenderer.paint(graphics2D, new Rectangle(width, height), mapHelper.setAffineTransform());
ServletOutputStream sos = res.getOutputStream();
ImageIO.write(bufferedImage,“jpg”,sos);
and this works good., But now since we need a best soultion for our webapplication.
To do so I thought Geoserver is the way, but I am not sure, how to do this, Do we need to build a client Servlets to talk with Geoserver ??
Can anybody help me in getting started with this, because I never used WFS & WMS before.,
Dear Sir/ Madam,
I am a very new bee to GeoServer, but I am doing good with Geotools.
I have developed a Web Application, using only Geotools., there I have used
streamingRenderer.paint(graphics2D, new Rectangle(width, height), mapHelper.setAffineTransform());
ServletOutputStream sos = res.getOutputStream();
ImageIO.write(bufferedImage,"jpg",sos);
and this works good., But now since we need a best soultion for our webapplication.
To do so I thought Geoserver is the way, but I am not sure, how to do this, Do we need to build a client Servlets to talk with Geoserver ??
There are many approaches, it all depends on how you do want to
handle things. I guess you have some client code in web pages that
talks to your custom server.
I think you either change your client code and teach it to use
the WMS protocol directly, or you have to build some servlet
that mimick your old code interface and call back to GeoServer.
As a third alternative, you can use some well tested and mature
code for the client side as well, that already talks WMS and WFS,
such as OpenLayers (that would mean redoing not only the server,
but also part of the client).
You'll have to check what is the best path for you, that depends
on what you really need to achieve, the technical skills at your
disposal and your plans about the future.
Dear Andrea Aime,
Thanks for the response, Yes we are looking into a real good solutions, hence we are ready to completly recode
everything, and make sure we use Geoserver[WMS & WFS] and also openlayers, because, when I looked into them
they look real good., and also we want to include google maps options.
Now I want to start writing my own code[servlets which takes help of WMS & WFS] and show maps on browser, so that I get a hang
of using Geoserver for development. Is there any such servlet examples, which can help me to start my process.??
Dear Sir/ Madam,
I am a very new bee to GeoServer, but I am doing good with Geotools.
I have developed a Web Application, using only Geotools., there I have used
streamingRenderer.paint(graphics2D, new Rectangle(width, height),
mapHelper.setAffineTransform());
ServletOutputStream sos = res.getOutputStream();
ImageIO.write(bufferedImage,“jpg”,sos);
and this works good., But now since we need a best soultion for our
webapplication.
To do so I thought Geoserver is the way, but I am not sure, how to do
this, Do we need to build a client Servlets to talk with Geoserver ??
There are many approaches, it all depends on how you do want to
handle things. I guess you have some client code in web pages that
talks to your custom server.
I think you either change your client code and teach it to use
the WMS protocol directly, or you have to build some servlet
that mimick your old code interface and call back to GeoServer.
As a third alternative, you can use some well tested and mature
code for the client side as well, that already talks WMS and WFS,
such as OpenLayers (that would mean redoing not only the server,
but also part of the client).
You’ll have to check what is the best path for you, that depends
on what you really need to achieve, the technical skills at your
disposal and your plans about the future.
Dear Andrea Aime,
Thanks for the response, Yes we are looking into a real good solutions, hence we are ready to completly recode
everything, and make sure we use Geoserver[WMS & WFS] and also openlayers, because, when I looked into them
they look real good., and also we want to include google maps options.
Here, Andrea I could instal Geoserver on windows and also able to look into http://localhost:8080/geoserver/www/ol-demo.html
and could see google maps coming up.
Now I want to start writing my own code[servlets which takes help of WMS & WFS] and show maps on browser, so that I get a hang
of using Geoserver for development. Is there any such servlet examples, which can help me to start my process.??
No, there is no documentation whatsoever for that. Can you describe more
in detail what you want to do so that we can point you in the right
direction? Some focused example.