Hi, I will like to ask if geoserver can produce wms base maps with a point overlayed on it ? The point will represent a vehicle’s location at a particular point in time. (i.e. its constantly changing). This is needed for a vehicle tracking application. Can the current vehicle location be passed into a wms map request ? Thanks, Roman |
---|
Roman Isitua ha scritto:
Hi,
I will like to ask if geoserver can produce wms base maps with a point overlayed on it ? The point will represent a vehicle's location at a particular point in time. (i.e. its constantly changing). This is needed for a vehicle tracking application.
Can the current vehicle location be passed into a wms map request ?
You can do that by using a "inline feature" request, there are
two samples shipped with GeoServer as demo requests. Also some
docs here:
http://docs.codehaus.org/display/GEOSDOC/InlineFeature
Basically you specify the feature in GML and style it as usual.
Anyways, if you're doing this as web development, a much better
solution could be to use OpenLayers vector drawing capabilities
and paint the vehicle icon directly on the client (as a side
effect the icon also becomes clickable with popups and the like).
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.