<html 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" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Shkpostityyli17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></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="FI" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">EPSG:3844 seems to be a system with Northing-Easting coordinate axis order:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::3844&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:3844">http://epsg-registry.org/report.htm?type=selection&entity=urn:ogc:def:crs:EPSG::3844&reportDetail=short&style=urn:uuid:report-style:default-with-code&style_name=OGP%20Default%20With%20Code&title=EPSG:3844</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Two solutions:<br>
- Use WMS 1.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">- Flip the coordinates in the BBOX of WMS 1.3.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Petr Suk wrote:<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">hi there,<br>
I am trying to set up WMS with EPSG:3844. The source data are GTiffs (EPSG:3844). The problem is, that GetMap request sends only blank images when 3844 is used. If the request is with EPSG:4326 everything is fine and the transformation is OK too.<br>
The mapfile looks like:<br>
<br>
MAP<br>
  NAME Romania_Orthophoto<br>
  SIZE 400 300<br>
  EXTENT 419332.586421 240848.815804 459780.109320 259741.205149<br>
  UNITS METERS<br>
  SHAPEPATH "//data/romania/Olt/"<br>
  IMAGECOLOR 255 255 255<br>
  IMAGETYPE PNG<br>
  WEB<br>
    METADATA<br>
     "wms_title"           "Romania OrthoPhoto"<br>
     "wms_onlineresource"  "<a href="http://localhost/cgi-bin/wms/romania">http://localhost/cgi-bin/wms/romania</a>"<br>
     "wms_srs"             "EPSG:4326 EPSG:3844"<br>
     "wms_enable_request" "*"<br>
     "wms_extent" "419332.586421 240848.815804 459780.109320 259741.205149"<br>
    END<br>
  END<br>
  PROJECTION<br>
      "init=epsg:3844"<br>
  END<br>
LAYER<br>
  NAME "orthophoto"<br>
  STATUS ON<br>
  TILEINDEX olt.shp<br>
  OFFSITE 255 255 255<br>
  OPACITY 85<br>
  TYPE RASTER<br>
  METADATA<br>
    "wms_title"   "orthophoto"<br>
  END<br>
END<br>
END<br>
#<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">GetMap looks like:<br>
SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=419102.35417775972746313,240475.32843947352375835,459895.23908429278526455,260119.92758433445123956&CRS=EPSG:3844&WIDTH=1521&HEIGHT=731&LAYERS=orthophoto&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE<br>
<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I am running mapserver 6.2.1 on Ubuntu 12.04 with proj 4.8.0 and gdal 1.10<br>
<br>
Thanks a lot for any hints.<o:p></o:p></p>
</div>
<p class="MsoNormal">Petr<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>