[Geomoose-users] automatically turn map off / on on event
Dan Little
danlittle at yahoo.com
Wed Apr 16 10:09:35 EDT 2008
I was actually thinking this is something that we'll have to do a bit later to get things working for select, buffer select, etc.
Was your picture a picture of the identify? If it was then it is actually a mapserver bug and not something we have a lot of control to change.
However, there might be a fix.
Find your "identify_header.html" file.
After the <html> tag add:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
Also in your index.html, find:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
And change it to...
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
----- Original Message ----
From: "Janosch.Skrobek at trier.de" <Janosch.Skrobek at trier.de>
To: danlittle at yahoo.com; geomoose-users at lists.sourceforge.net
Sent: Wednesday, April 16, 2008 7:42:23 AM
Subject: automatically turn map off / on on event
<!--
_filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;}
_filtered {margin:1.0in 1.0in 1.0in 1.0in;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered {font-family:Consolas;panose-1:0 0 0 0 0 0 0 0 0 0;}
_filtered {margin:70.85pt 70.85pt 2.0cm 70.85pt;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered {font-family:Consolas;panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:Arial;}
a:link, span.MsoHyperlink
{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0cm;margin-bottom:.0001pt;font-size:10.5pt;font-family:Consolas;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:Tahoma;}
span.plaintextchar
{font-family:Consolas;}
span.balloontextchar
{font-family:Tahoma;}
span.e-mailformatvorlage21
{font-family:Arial;color:navy;}
span.E-MailFormatvorlage22
{font-family:Arial;color:navy;}
_filtered {margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{}
_filtered {}
_filtered {}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
Hi everyone,
is there a way to automatically turn a map
off or on when some event is triggered?
1) I have a
map for the noise-pollution at night and one for the daytime. I would only one
of them to be allowed to be displayed, so when the user clicks one map the
other one should be turned off. Mapserver has “REQUIRED” for this
but that doesn’t seem to work since in geomoose you use various mapfiles
and the layer isn’t in the same file. Or is there a way to turn layers
within a mapfile on and off in geomoose? I went through the documentation of
the mapbook xml file but it only describes how to implement maps, not how to
implement single layers from a map.
2) When you
use the Identify tool and click on the map information about a layer is
displayed disregarding whether it is activated or not in the treeview. Can I
change this?
Regarding the Umlauts, thanks for your
answer Dan. Where would I have to integrate the makeXMLSafeString function,
meaning which file will I have to work on?
Thank you,
Janosch
Von: Dan Little[mailto:danlittle at yahoo.com]
Gesendet: Montag, 14. April 200816:19
An: Skrobek, Janosch;geomoose-users at lists.sourceforge.net
Betreff: Re: [Geomoose-users]special characters
There may also be an option with some of the GeoMOOSEfiles to provide for additional functionality using the"makeXMLSafeString" function.
The following string substitutions should create the proper output.
I am terribly at typing umlauts, so please read "ae" to mean "awith the umlauts"
"ae" = &$228;
"oe" = &$246;
"ue" = &$252;
"Ae" = &$196;
"Oe" = &$214;
"Ue" = &$220;
English users will probably not care... LOL.
----- Original Message ----
From: "Janosch.Skrobek at trier.de" <Janosch.Skrobek at trier.de>
To: geomoose-users at lists.sourceforge.net
Sent: Monday, April 14, 2008 8:51:00 AM
Subject: [Geomoose-users] special characters
Hi erveyone,
is there a way to have special characters
like ä, ö, ü, etc properly displayed in Geomoose?
I tried setting the charset to utf-8 but
the results from the querys are still not formatted properly. The database I
use contains a lot of “umlauts” (Is that the right English word?)
which I need to display when using the identify-tool…
You can see a screenshot of my problem
here:
http://img356.imageshack.us/img356/5838/umlautevb9.jpg
Anyone who can help me?
Thanks
Janosch
Hinweis:
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte
Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der
rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist über diese
E-Mail-Adresse derzeit noch nicht möglich.
Hinweis:
Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte
Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet. Der
rechtsverbindliche elektronische Schriftverkehr mit der Stadt Trier ist über diese
E-Mail-Adresse derzeit noch nicht möglich.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20080416/e5fc42be/attachment.html
More information about the Geomoose-users
mailing list