I need to create a new gis application with OpenLayers and PostGIS.

I think that Geotools is a good choice for the Layer between these two. I thought about embedding geotools in a web application

Now I need same samples to understand how geotools can be used together with OpenLayers.

Everything I found so far is good for developing a Java client application and of course for receiving and processing geo objects, but nothing that could help to build a web application.

Where should I continue to look?


Look at GeoServer which will probably provide the solution you need out of the box and will provide plenty of code samples if you really need.

  • I cannot use GeoServer since I have to authorize some objects on row level and GeoServer is only able to provide authorization on layer level. :-( – ABX Jul 6 '12 at 13:35
  • GeoServer will remain your best source of example code using GeoTools for web services – Ian Turton Jul 6 '12 at 14:06
  • ok, that requires that I have to understand the structure of geoserver and geotools at the same time. Since I'm lost in all the pages of geoserver and geotools, do You have an idea where exactly I can find an example of an implementation which provides WMS or an other service for a web client - like the nich beginner tutorial with the java application that displays the wolrd shape ? – ABX Jul 6 '12 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.