[GIS] Simple WebMapping application with postgis Database

geotoolsjavaopenlayers-2web-mapping

am very new to web-mapping, so this question may be a little misguided.

I want to develop a simple web mapping application using OpenLayers which can display Cadastral information that are currently in PostGIS(2 tables: property and boundaries).

I want this to be as simple (and as low maintainence) as possible:
-Use java for developping
-The user can search a parcel by 4 fields (name, indice complement and nature) existing in table : "titre"
-and then the user can generate the an A4 sheet for print that contains the title/property plan and also a table containing the name, X and Y of boundaries of title/property from the second table : "Boundaries"
-Styling of the vector layers is of minimal importance.

PS: i tried to use the library geotools with applets but i have a problem with versions, because the tuto that i used is old 2004, and i couldn't find the old version 2.1 on the net, i only have 2.7

Best Answer

  1. geoserver for serving server side data. You create a store in geoserver for POSTGIS or any other database.
  2. Since you are using java you could probably use JSF or any other framework or neither. Just setup TOMCAT or whatever server(or may be you could deploy geoserver and your application in same server) and write simple html pages(depends on point 4).
  3. Take a look a openlayers example which makes it possible to render your data to web page. Also take a look at opengeo workshop
  4. For any feature search you could either write you custom code (select from postgis) or you could you wfs getFeature request and display it in your map.

Here is what wonderful @iant have done http://ian01.geog.psu.edu/geoserver_docs/apps/gaz/index.html

For printing :

  1. You can use geoExt
Related Question