[OpenLayers-Users] wms coordinates

2010-07-30 Thread sasamil
Hello! Supposing that we have a wms service which converts some vector data (i.e. gml data about road-network) into raster images, is it possible to get coordinates of a certain feature (road) using the standard wms function GetFeatureInfo? Regards! -- View this message in context:

Re: [OpenLayers-Users] Delete title in layerswitcher

2010-07-26 Thread sasamil
I am doing that this way: //Inheriting of OpenLayers.Control.LayerSwitcher MyLayerSwitcher.prototype = new OpenLayers.Control.LayerSwitcher; // Define sub-class MyLayerSwitcher.prototype.constructor = MyLayerSwitcher; function

[OpenLayers-Users] List features in WMS

2010-05-13 Thread sasamil
Hello friends! How can one list all the features (for example, road-lines with the attributes) in a wms layer? It is easy (more or less) to perform it in wfs; but, how can we do that in wms? (GetFeatureInfo returns information about features located on the clicked point but it doesn't answer to

[OpenLayers-Users] Filter evaluates only string values

2010-04-21 Thread sasamil
Hallo All, this piece of code (filter) evaluates only string values??! var strFilter = 'ogc:Filter xmlns:ogc=http://www.opengis.net/ogc;ogc:PropertyIsGreaterThanogc:PropertyNamenumberOfCitizens/ogc:PropertyNameogc:Literal'+value+'/ogc:Literal/ogc:PropertyIsGreaterThan/ogc:Filter'; var wfsurl =

Re: [OpenLayers-Users] Is it possible to have an OverviewMap for a vector layer?

2010-04-06 Thread sasamil
I had a lot of troubles with this, too. IMHO the problem exists regardless of the layer type (it can be vector, wms, wfs,... whatsoever). As I remember the point is to use baselayer.clone() instead of baselayer and the scale of overview should be carefully set in the options (ovOptions in my

Re: [OpenLayers-Users] Limit zoomlevels

2010-03-16 Thread sasamil
I am doing that this way... var options = { ... ... scales: [10, 5, 25000, 1, 5000], //specify all the scales you wish ... ... }; map = new OpenLayers.Map( 'map', options ); -- View this message in context: