<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
<STYLE>@font-face {
font-family: Wingdings;
}
@font-face {
font-family: Cambria Math;
}
@font-face {
font-family: Calibri;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P.MsoListParagraph {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt 36pt; FONT-FAMILY: "Calibri","sans-serif"; mso-style-priority: 34
}
LI.MsoListParagraph {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt 36pt; FONT-FAMILY: "Calibri","sans-serif"; mso-style-priority: 34
}
DIV.MsoListParagraph {
FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt 36pt; FONT-FAMILY: "Calibri","sans-serif"; mso-style-priority: 34
}
SPAN.E-mailStijl17 {
COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0cm
}
UL {
MARGIN-BOTTOM: 0cm
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=NL vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=198440210-11062008>Sorry, I was wrong with supported projections for
rasta100 layer. EPSG:2393 is ok. So the question is if basic
authentication is supported or not.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=198440210-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=198440210-11062008>-Jukka-</SPAN></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Rahkonen
Jukka<BR><B>Lähetetty:</B> 11. kesäkuuta 2008 12:51<BR><B>Vastaanottaja:</B>
mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> Re: [mapserver-users] WMS
Client setup not sending any requests<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>Your first problem is that you are requesting layer
rasta100 layer in EPSG:2393, but it supports only EPSG:3067. But I am thinking
that the basic problem is that MapServer does not support
</SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>connection over
https with </SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>basic authentication at all. I started a thread
named </SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008> "Cascading external WMS using basic
authentication over https" in January this year.
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>At that time Frank Warmerdam
wrote:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>> Jukka,<BR>> I would be willing to implement
this if you are willing to help with <BR>> some research, RFC writing and
testing. In particular we need to <BR>> isolate what extra curl
options such as, but possibly not limited to, <BR>> userid and password we
should be able to pass through. Then we can <BR>> write up an RFC
based on doing this through layer metadata. Then - <BR>> once
approved - I can implement and you could test.<BR>> As I think back, I
realize the other time I did something like this it <BR>> was actually
using a digital certificate rather than simple <BR>> userid/password
protection. Ideally we would address both cases.<BR>> If this effort
level exceeds the amount of effort you want to invest, <BR>> then filing an
enhancement ticket at least summarizing some of these <BR>> ideas would be
a good start.<BR>> PS. If implemented we would presumably do it in a way
that applied to <BR>> WFS and WMS client layers.<BR></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>It is good news for me if MapServer has made to
support connection in the way you are trying, thus</SPAN></FONT><FONT
face=Arial color=#0000ff size=2><SPAN class=831044308-11062008>( <A
href="https://user:password@server.etc">https://user:password@server.etc</A>...)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008>-Jukka Rahkonen-</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=831044308-11062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B>
mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta
</B>GoneWacko<BR><B>Lähetetty:</B> 11. kesäkuuta 2008
10:34<BR><B>Vastaanottaja:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B>
[mapserver-users] WMS Client setup not sending any
requests<BR></FONT><BR></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN lang=EN-US>Hello,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I am currently working on a project
where I’m trying to use Mapserver as a WMS client, intending to have
Mapserver handle the overlaying of data for me. The WMS service I’m going to
be using one licensed from the National Land Survey of
Finland.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>This server only supports HTTPS
connections and requires Basic Authorization to get data from the service.
This may prove to be an issue for me in the future, but at the moment I’m
having (what I suspect to be) a different problem.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>When I test my Map file, which to the
best of my (currently limited) knowledge of Mapserver, should work, I only
get entirely white images back from the mapserv binary. I’ve not yet figured
out how to get mapserv to do verbose logging, but the logging it does so far
does not show me what the issue might be.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>I’ve been trying to get it to work on
linux, but then when it didn’t I tried it on my local windows machine as
well. Both machines display the same white image.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>The output of my mapserv –v
invocations:<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>On Linux:<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>MapServer version 5.0.2 OUTPUT=GIF
OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=GEOS INPUT=EPPL7 INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>On Windows:<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>MapServer version 5.0.2 OUTPUT=GIF
OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS
_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>The map file I’m using can be found at
the following location: <A
href="http://www.gonewacko.com/work/finland.map">http://www.gonewacko.com/work/finland.map</A><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>For more information about the
capabilities of the WMS Server I’m trying to connect to, I’ve uploaded the
results of a GetCapabilities request here: <A
href="http://gonewacko.com/work/GetCapabilities.xml">http://gonewacko.com/work/GetCapabilities.xml</A>
(Most of the text is in Finnish; Which I don’t actually understand myself,
but luckily it’s not too relevant).<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>The URL I’ve been using to test it has
usually just been <A
href="http://example.com/cgi-bin/mapserv?map=/path/to/finland.map&mode=map">http://example.com/cgi-bin/mapserv?map=/path/to/finland.map&mode=map</A>.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>My theories are<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
lang=EN-US>
- The map has been set up in such a way that mapserv finds it’s not within
the area I’m requesting, and as such does not attempt to render
it.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
lang=EN-US>
- The map has just been set up incorrectly (most
likely)<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Note that the only files I have are the
map file. I do not have any shape files or anything of that nature. And
apart from the censored login information in the URLs, the map file is
available in its entirety.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Also note that I’ve tried replacing the
WMS URLs with something that is not a https url (i.e. a normal http url), as
well as omitting the authorization data. It still wouldn’t send a request to
the URL.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Can anyone shed some light on what I’m
doing wrong? Thanks in advance.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Best Regards,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>Stijn Gijsen<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
lang=EN-US><o:p> </o:p></SPAN></P></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>