We are trying to optimize the performance of our app that uses
OpenLayers (IE 7&8). It appears that the node.style calls in the VML.js are
taking a lot of time in certain cases and we were trying to use cssText to
get it done in one call. Has anyone tried using one node.style.cssText call
ins
Once you have parsed out the response from your WMS GetFeatureInfo request, you
can use the result to send a WFS GetFeature request.
Here is a GetFeature request which uses a farmid= variable to send a where
filter condition:
var othptsurl =
"http://wfsserver/cgi-bin/agbwfs.exe?farmid="+farm
I'm using WMSGetFeatureInfo to get Featureinfo.
How can I get Feature from the WMSGetFeatureInfo 's response?
And add them to map?
I am imitating the Control OpenLayers.Control.WMSGetFeatureInfo's bahavior.
It's available?
map.events.register('click', map, function (e) {
I'm using WMSGetFeatureInfo to get Featureinfo.
How can I get Feature from the WMSGetFeatureInfo 's response?
And add them to map?
I am imitating the Control OpenLayers.Control.WMSGetFeatureInfo's bahavior.
It's available?
map.events.register('click', map, function (e) {
doc
Here is a WFS GetFeature request that work for me against my Mapserver
installation:
http://myserver/cgi-bin/agbwfs.exe?farmid=AS1&request=getfeature&typename=farm&service=wfs&version=1.0.0&BBOX=1472102,5119440,1475670,5123000
The typename is just the layer name in the Mapserver map file.
Hi,
Your code looks fine for me at first sight, what are the errors that you
mention?
Could you send a link or something where we can see what you have been
done so far?
Cheers,
Attila
2010.04.07. 17:31 keltezéssel, sunny74 írta:
> Hi Attila,
>
> I had a look at your previous post i.e
> http:/
Perhaps you do two times a transformation. I would think, that in your
Vector layer the transformation takes place, so the second part isn't
needed.
var isoline = new OpenLayers.Layer.Vector("isoline", {
strategies: [new OpenLayers.Strategy.Fixed()],
protocol: new OpenLa
Hi,
I have applied the patch to my application and now changing the opacity of
the Google layers works as expected.
Arnd
-Ursprüngliche Nachricht-
Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im
Auftrag von Tim Schaub
Gesendet: Dienstag, 6. April 2010 23:55
An:
Hi,
you can try to use javascript in your template. Below an example (it's the
whole template, nothing cut out) I use to get different colors for my table
rows.
var idx = parseInt("[lrn]")%2;
var myClass = "tdBody" + idx;
//that should only be written for the first row
if([lrn]==1)
documen
I am using the Draw Feature Control to draw polygons (namely circles) on a
Vector Layer. I want to be able to save the center of the circle to a
variable, as well as the radius of the circle.
I'm not seeing any native way to do this. When I draw a feature, I'm
assuming it's a Vector Feature, wh
Hi Attila,
I had a look at your previous post i.e
http://n2.nabble.com/WFS-GetFeature-with-Mapserver-td4748857.html#a4748857
http://n2.nabble.com/WFS-GetFeature-with-Mapserver-td4748857.html#a4748857
and also the link where you have the working example of WFS GetFeature with
Mapserver.But sadly
Hello list,
In my project I have 4 maps at one side.
In this maps I show polygon. In each map is the same boundaries but in
dieffernt timestamps. First map shows a layer in 1980, second map shows the map
in 1990, third in 2000 and last in 2010.
In each year the layer is colored different.
Now I
Dear Friends,
I am making a WFS GetFeature request on Mapserver.
My url is:
http://localhost:81/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Delhi/Delhi1_wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GETfeature
&REQUEST=getfeature&typename=Adminbndy3&Filter=Polygon_nmGhaziabad
but I get the error
Hello,
I have ClusterStrategy On Vector Layer. On select I'm showing a popup.
function createPopup(feature){
if(popup){
onFeatureUnselect(feature);
}
popup = new OpenLayers.Popup.FramedCloud("feed",
new OpenLayers.LonLat(feature.geometry.x, feature.geometry.y),
new OpenLayers.Size(300,120),
"abc"
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
If you don't use a proxy host, the OL html file must be on the same
server/domain as your geoserver instance.
--
View this message in context:
http://n2.nabble.
Hi Alex,
since your geoserver instance runs on the same server as your webapplication,
it may help to delete the "proxy-line":
OpenLayers.ProxyHost= "proxy.cgi?url=";
Thus far, Stefan.
Original-Nachricht
> Datum: Wed, 7 Apr 2010 14:21:55 +0200
> Von: Alex Zeit
> An: users@ope
Dear All,
I am trying to make WFS GetFeature Example (
http://www.openlayers.org/dev/examples/getfeature-wfs.html ) to work with my
GeoServer.
The states map shows up but selection of features does not work.
see:
http://hboard.iwk.uni-karlsruhe.de:8080/QuickStartWicket-1.0-SNAPSHOT/qswicket/?wicket
Thanks, but now my layer is shifted in South Africa!!!
I don't understand what's wrong: the map output the exact coordinates.
Well, I've:
3 base layers -> epsg:900913
1 gml layer-> epsg:2498
and I want display projection in wgs84
Is my set up (code in my previous mail) correct?
-beppe-
201
Hello,
Maybe is not the best way of doing things, but I managed to get the vector data
in a pop up window by doing:
//Take all the svg elements represented in the XHTML
svgList = document.getElementsByTagName("svg");
for (var i=0;i<=svgList.length-1;i++){
importedNode = document.importN
Hi,
I'm facing a strange problem when I put the path to the openlayers.js in my
local machine...
If I put the script source to be
http://openlayers.org/api/OpenLayers.jseverything goes ok... But now,
I want to serve the maps with geoserver, and
get the openlayers.js from a local js path..
In that
Hi,
not sure if this is the cause of your problem since I don't know anything
about EPSG:2498, but can you try adding xy false to your Format.GML:
var isoline = new OpenLayers.Layer.Vector("isoline", {
strategies: [new OpenLayers.Strategy.Fixed()],
protocol: new OpenL
Hi all,
I ought to display a map with osm layer as base and a gml file of a little
part of Armenia.
First step was convert my shapefile, with projection epsg:2498, in a gml
format (ogr2ogr -f GML ...).
Second step was set up my map.
Within tag of my html page, I' ve insert a link to these librari
Dear All,
I'd like to use WFS GetFeature function on more than one layers with
MapServer. As of now I have a working example for one typename:
http://webgis.fmt.bme.hu/gfi/t4.html (both hover and selection enabled).
Now I look for a solution how to expand this feature for more than one
laye
Dear All,
Finally I've succeed applying WFS GetFeature (based on the GeoServer
example here: http://openlayers.org/dev/examples/getfeature-wfs.html)
with MapServer, and hereby I will share my experiences to give some
help for the users with the same problem.
So, using WFS GetFeature functio
24 matches
Mail list logo