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:
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
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
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 =
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
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: