Since GeoServer is just sending OpenLayers back an image, you stylize points in GeoServer. You can create a general style for all points, or you can do attribute based styling. This is all done in the GeoServer admin console under the Style section.
Here's a link to some documentation -> http://docs.geoserver.org/stable/en/user/webadmin/data/styles.html Good luck! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of lemta2000 Sent: Friday, September 30, 2011 11:21 AM To: [email protected] Subject: Re: [OpenLayers-Users] How to get color pixel of WMS layer? Thanks! So can someone point me the code that openlayer receive wms image from a map server? On 9/30/2011 3:03 PM, Tue Topholm wrote: > Another way to do it, is to load the wms image into a canvas, and > there you can ask on each pixel. > > -- > > Med venlig hilsen / Kind regards > > Tue Topholm > Sugee > Tlf: +45 32 13 32 32 > W: http://www.sugee.dk > > > > 2011/9/29 Marc Jansen<[email protected]>: >> Hi lemta2000, >> >> if your WMS supports it, you can probably issue a GetFeatureInfo >> request that'll return the necessary information. The >> GetCapabilities-document should help in that case. >> >> Hope that helps. >> >> Best regards, >> Marc >> >> >> On 29.09.2011 09:54, lemta2000 wrote: >>> Hello everyone, >>> I have a question that is how to get color pixel of WMS layer? I >>> only found code for vector layer on openlayer site. >>> >>> Thanks! >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.osgeo.org/mailman/listinfo/openlayers-users >>> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
