[OpenLayers-Users] For Vector layer Overlay how to apply positions to geometry

Ramya Manokaran ramya.manokaran at mobax.com
Thu Oct 27 09:12:07 EDT 2011


Hi All,

The scenario is to display a vector layer on the top of the map using
openlayers that uses geoserver to show the vehicles icons.

The vehicle geometry comes from a stored procedure. The only value returned
by the stored procedure is the vehicle polygon.

Another stored procedure has the vehicle id, color and position (x,y)
co-ordinates for all the vehicles.

Using these two stored procedures the vehicles has to be displayed in with
the given geometry, position and color.

How to read positions and apply that to a geometry in openlayers?
Do we need to combine the stored procedure's result in GeoServer?
If it is possible to display the vehicles using WFS, what are the steps to
do that?

Kindly give some pointers or an example.

Regards,
Ramya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111027/6061b23d/attachment.html


More information about the Users mailing list