<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Arial Black"}
@font-face
        {font-family:"Comic Sans MS"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
span.EmailStyle19
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.EmailStyle20
        {font-family:"Comic Sans MS";
        color:windowtext;
        font-weight:normal;
        font-style:normal}
span.EmailStyle21
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-US" link="blue" vlink="purple">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Ok, I sort of got something to work . . .<br>
<br>
<a href="http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map" target="_blank">http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map</a><br>
<br>
<a href="http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map?mapext=750+600+1100+925" target="_blank">http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map?mapext=750+600+1100+925</a><br>
<br>
Danged if I can figure out how to rotate the image (via the world file), nothing is happening with edits to the world file.<br>
<br>
Still not responding to all the CGI parameters either.<br>
<br>
MAPFILE:<br>
<br>
MAP<br>
<br>
    NAME PHOTO<br>
    SIZE 2048 1536<br>
    EXTENT 0 0 2048 1536<br>
    UNITS feet<br>
<br>
    LAYER<br>
          NAME "photo"<br>
          DATA "up_a_tree.jpg"<br>
          TYPE RASTER<br>
          TRANSFORM FALSE<br>
          STATUS DEFAULT<br>
          UNITS PIXELS<br>
    END<br>
 <br>
END<br>
<br>
WORLD FILE:<br>
<br>
1.0000<br>
0.0000<br>
0.0000<br>
1.0000<br>
0.5<br>
0.5<br>
<br>
bobb<br>
<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF475542"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Lime, Steve D (MNIT)<br>
<b>Sent:</b> Thursday, February 14, 2013 10:53 AM<br>
<b>To:</b> Basques, Bob (CI-StPaul); Weisbender, Eric; mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> RE: Photo Viewer<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I would think it could be done, your extent would be given in pixels. Full extent is given as 0 0 width-1 height-1. Depends if the raster code respects the layer TRANSFORM parameter.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Steve</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Basques, Bob (CI-StPaul)<br>
<b>Sent:</b> Thursday, February 14, 2013 10:34 AM<br>
<b>To:</b> Weisbender, Eric; mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] Photo Viewer</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS"">Eric,</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS"">Interesting idea.  I remember a thread a few years back about something similar being asked.</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS"">As far as the geo-referencing part, you can simply use the size of the image as your reference coordinate system for each image.  Mapserver is more generally suit towards combining
 different data into a single output, thus the need for a coordinate system to reference more than one layer.</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS"">So, the real question boils down to a technique for fooling MapServer into some sort of projection some how for each image.   Let me think on this a bit.  I wonder though about
 setting up something to register images to a location via a loading form which grabs the image size, etc.  Then they are put away with the sudo projection assigned to each image at the uploading point.</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS"">Bobb</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<p class="MsoNormal"><span style="font-size:8.0pt; font-family:"Comic Sans MS""> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">
<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mailto:mapserver-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Weisbender, Eric<br>
<b>Sent:</b> Thursday, February 14, 2013 10:03 AM<br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapserver-users] Photo Viewer</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I would like to use MapServer as just an unreferenced image viewer for jpgs so I can zoom in and out on the image.  Everything I read says that images have to be georeferenced.  Any idea or even examples would be greatly appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial Black","sans-serif"; color:green">Eric Weisbender</span><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>