Hello list,
I have a Layerswitcher in my OpenLayers Map. But in this LayerSwicther div is
the title "overlays". I want to show the LayerSwicther without this title. Is
it possible? How can I delete this title?
Greetings
Hanno
--
Hanno Rahn, Dipl.-Ing.
Hello list,
I try to show a legend for my base WMS layer. But I don't know how to realsie
it. Is there a possibility in OpenLayers to show a legend in a div?
I want to have a legend like this:
0 - 0.5
>0.5 - 1
>1 - 2
>2 - 3
>3 - 4
I know the GetLegendGraphic Parameter for WMS, but if I use this
Hello list,
I have a little question. Perhaps it is a UMN Mapserver Mapfile question, but
perhaps you can help me a little bit.
I try to show a WMS layer in OpenLayers. For this I made a mapfile. In this
mapfile I realise a layer like this:
LAYER
NAME 'symbol'
TYPE POLYGON
CON
-8820 Wädenswil
Tel +41 (0)58 934 5592
Fax +41 (0)58 934 5580
hanno.r...@zhaw.ch
www.iunr.zhaw.ch/geoinformatik
-Ursprüngliche Nachricht-
Von: Eric Lemoine [mailto:eric.lemo...@camptocamp.com]
Gesendet: Donnerstag, 10. Juni 2010 14:12
An: Rahn Hanno (rahn)
Cc: users@openlayers.org
Betref
{
alert("visibility changed (" + e.layer.name + ")");
}
}
}
);
It doesn't work.
Thank you for your help.
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für
w what to do now.
Please can somebody give me a tip?
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach CH-8820 W
Hello,
Today I try to realise a "trigger" for my LayerSwitcher. Something like
"onLayerClick" or so.
I want to start a function if I select/unselect a layer in the Layerswitcher.
In my Layerswitcher I have a Layer. If I select this Layer, then I want to set
the opacity from all other layers t
isplaySystem: 'metric',
divisions: '2',
subdivisions: '4'
});
map.addControl(scalebar);
I use OpenLayers 2.9.
Hope that somebody can help me.
Greetings
Hanno Rahn
--
Han
haps somebody can help me with that?
Thank you for all tips.
Greetings
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach
Hello,
I have a little complicated Question. I try to realise a Layer with labels for
Polygons. For this I use OpenLAyers 8 and UMN Mapserver. I make a Layer (TYPE
ANNOTATION) in Mapfile. After this I define a layer like this:
var be = new OpenLayers.Layer.WMS('Beschriftung', urlArray, {map:map
ray,
{map:mapFile,layers:layerName+",Seen",format:"image/png",EXCEPTIONS:"application/vnd.ogc.se_inimage"},{singleTile:
true, ratio:1} );
This layer will be styled differently for each year with sld and the
"mergeNewParams"-Function.
Perhaps somebody can he
me an example? I think I must write a
php-skript and use the PostGIS function "asGML" or not?
Thank you for any ideas. Perhaps somebody has an gml example file?
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher
ll be much faster to "build and show" the map in the browser
with this version?
Thank you
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressour
Hello list,
I have another question and need a little help. I try to realsie something like
a monitoring webgis. For this I have a map with political boundaries. Always
the same. And now I will show different indicators in different years. That
means that I have some data in a postgis database
w the overlays in the Layer Switcher.
Greetings and a lot of thanks for your help.
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grü
Switcher').style.color = "black";
OpenLayers.Util.getElement('mapSwitcher').style.position = "absolute";
OpenLayers.Util.getElement('mapSwitcher').style.top = "400";
OpenLayers.Util.getElement('mapSwitcher').style.left = "5
Hello list,
Perhaps you can help me with another question. I try to make the layerswitcher
more individual. First I want to show it at another place in an extra div and
not at the right border. But I can't find where I have to do this. Then I want
to change the color of the div. The darkblue i
Hello list,
I try to realise a paneldiv with buttons for the navigation. For example the
zoom and pan and so on.
I made it like this:
var zoomBox = new OpenLayers.Control.ZoomBox({ title: "Zoom In / Rechteckzoom"
});
var navHistory = new OpenLayers.Control.NavigationHistory();
navHistory.previ
hello,
I made it like this.
First I define a function:
function toggleMe(a){
var e=document.getElementById(a);
if(!e)return true;
if(e.style.display=="none"){
e.style.display="block"
} else {
e.style.display="none"
}
return true;
}
Then you must create a div object wh
s it is possible too to change the text. I think it is
enough to write 1:500.000 without the "k" and without the "scale ="
For your help a lot of thanks.
Greetings
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hoch
Hello list,
I have another question to you. Perhaps you can help me. I will have a simple
imgage (jpg, png, gif, ...) from my mapview. I will have a button on my side
and if the user presses this button you can save the actual mapview with all
shown layers in the shown scale and so on as an
te the Gemeinden2 radio button.
Perhaps somebody has another idea and can help me.
Greetings and a lot of thanks.
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natür
{map:mapFile,layers:"lk_500",transparent:
"true",format:"image/png",EXCEPTIONS:"application/vnd.ogc.se_inimage"},{singleTile:
true, ratio:1} );
var relief3 = new OpenLayers.Layer.WMS("Relief",urlArray,
{map:mapFile,layers:&q
,format:"image/png",EXCEPTIONS:"application/vnd.ogc.se_inimage"}
);
var
sld_string=url+"jahr="+jahr+"&indikator="+indikator1+"&klassen="+klassen+"&vis="+vis+"&fusion="+jahr4+"&farbe="+farbe;
w
mp;indikator="+indikator1+"&klassen="+klassen+"&vis="+vis+"&fusion="+jahr4+"&farbe="+farbe;
wms.mergeNewParams({ SLD:sld_string});
I only get a white map without any polygons. Perhaps you can give me a little
tip. I don'
http://webgis.hsw.ch/GINES/Start.php
Is it better to use tiles for this?
Greetings
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinfor
Hello list,
I have a little tricky question. Perhaps somebody can help me.
I show a layer in my map. This layer shows polygons at a specific time. Now you
can click a button and the next time will be shown in the map. You can change
the time back of course, too.
In my solution there are tim
t for your help.
Greetings
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach CH-8820 Wädenswil
Tel +41
Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach CH-8820 Wädenswil
Tel +41 (0)58 934 5592
Fax +41 (0)58 934 5580
hanno.r...@zh
. Sorry for my bad english and a lot of thanks for
your help.
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental
Hello list,
Perhaps somebody can help me. I try to realise the LayerSwitcher outside the
map. I read the example "layerswitcher".
First I make my own div where I want to place the result.
Then I realise a control like this:
map.addControl(new
OpenLayers.Control.LayerSwitcher({'
Hello List,
Perhaps somebody can give me a tip. I have a problem with the ZoomBar and the
PanBar in OpenLayers. If I add a map in my div object there are always the
ZoomBar and the pan Buttons in the left upper side of the map as default. I
will have this buttons outside the map. I try to de
Hello list,
I have another question. I try to realise a textfield where I can type in the
scale. I want to type a scale in a textbox or so and then the map should zoom
to this scale.
I try to make it with the function "zoomToScale" but I don't understand it. If
I for example set map.zoomToS
Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach CH-8820 Wädenswil
Tel +41 (0)58 934 5592
Fax +41 (0)58 934 5580
hanno.r...@zh
ngs
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach CH-8820 Wädenswil
Tel +41 (0)58 934 5592
Fax +41 (0)58 934 5580
han
55995.74049803408&WIDTH=763&HEIGHT=848
in the sld parameter works the file for the sld. I always get the error "parser
failed".
I don't know my mistake. Perhaps somebody can help me.
Greetings Hanno Rahn
--
Hanno Rah
sld_string and mergeNewParams). It doesn't work. I always get the message:
"parser failed"
What can I do to make it work? Can somebody help me?
Thank you a lot for your help.
Greetings Hanno Rahn
--
Hanno Rahn, Dipl.-Ing.
find a solution. Perhaps somebody had already realised it and can give me some
tipps and help. For your help a lot of thanks. I hope it will be possible.
Greetings
Hanno Rahn
------
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule
.
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
Fachstelle Geoinformatik
Grüental, Postfach CH-8820 Wädenswil
Tel +41 (0)58 934 5592
Fax +41
about this and can help me a
little bit.
A lot of thanks for all your fantastic help.
Greetings
Hanno Rahn
--
Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik
ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche
Ressourcen
;EXCEPTIONS=application/vnd.ogc.se_inimage
Now I will use it in OpenLayers. For this I use the following:
var map = new OpenLayers.Map('map',options);
var wms = new
OpenLayers.Layer.WMS("Gemeinden","http://localhost/cgi-bin/mapserv.exe?&q
Hello list,
I have another question for you. Is it possible to get a legend in the style
like the layer switcher or so? I will have an extra button. If i use this
button the legend should open. I nedd something like the layer switcher style.
If you change the layer, you can choose it from th
Hello List,
I try to realise something like a dynamic sld file. I want to get the map in
different colors for different indicators.
The data for the indicators is in an database. The colorization should be in
quantities. For example regions with a value between 1-10 should be red, with a
va
Hello list,
My english ist not very well but I will try it in English. :-)
Perhaps somebody can help me.
I try to use SLD Documents with OpenLayers. I have a WMS Polygon Layer in my
page like this:
var options = {
44 matches
Mail list logo