Hello all,

 

I would like to ask some suggestions about the best way to do the following:

 

I have three layers 

a)      points 

b)      polygons

c)       lines

 

I would like to show information about them in tooltips in the map. The
information will be retrieved from PostGIS. 

How the points, polygons and lines cab be individualized in the layer?  

 

The layers are  generated like.

 

new ol.layer.Image({

    source: new ol.source.ImageWMS({

      url: 'http://192.168.1.113:8080/geoserver/wms',

      params: {'LAYERS': 'watermains'},

     projection: projection,

      serverType: 'geoserver'

    })

  }),

 

Points in the layer are a single feature, but I need to identify each point
(polygons, lines) in order to show the information about each one.

 

I notice that Geoserver shows the feature type details in the Edit Layer
page. Do you think that this information can help me in any way?

 

I've been checking Freemarker to get the info from PosGIS but this won't
help unless I am able to match point (polygons, lines) with their location
in the layer.

 

Any help will be very much appreciated.

 

Thanks.

 

JJ.

 

 

 

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to