I got it to work.  Thanks for all your help.

Thanks,

Eric Weisbender
GIS Program Lead
Western Area Power Administration
Corporate Service Office
U.S. Dept. of Energy
12155 W. Alameda Parkway
Lakewood, CO
office: (720) 962-7280
fax: (720) 962-7269
email: [email protected]<mailto:[email protected]>
39°42'25.06"N
105° 8'13.61"W
[cid:[email protected]]

From: Lime, Steve D (MNIT) [mailto:[email protected]]
Sent: February 14, 2013 3:41 PM
To: Basques, Bob (CI-StPaul); Weisbender, Eric; [email protected]
Subject: RE: Photo Viewer

Could try ANGLE 90 at the map level?

From: Basques, Bob (CI-StPaul)
Sent: Thursday, February 14, 2013 4:17 PM
To: Lime, Steve D (MNIT); Weisbender, Eric; 
[email protected]<mailto:[email protected]>
Subject: RE: Photo Viewer

Ok, I sort of got something to work . . .

http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map

http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map?mapext=750+600+1100+925

Danged if I can figure out how to rotate the image (via the world file), 
nothing is happening with edits to the world file.

Still not responding to all the CGI parameters either.

MAPFILE:

MAP

    NAME PHOTO
    SIZE 2048 1536
    EXTENT 0 0 2048 1536
    UNITS feet

    LAYER
          NAME "photo"
          DATA "up_a_tree.jpg"
          TYPE RASTER
          TRANSFORM FALSE
          STATUS DEFAULT
          UNITS PIXELS
    END

END

WORLD FILE:

1.0000
0.0000
0.0000
1.0000
0.5
0.5

bobb
________________________________
From: Lime, Steve D (MNIT)
Sent: Thursday, February 14, 2013 10:53 AM
To: Basques, Bob (CI-StPaul); Weisbender, Eric; 
[email protected]<mailto:[email protected]>
Subject: RE: Photo Viewer
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.

Steve

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Basques, Bob 
(CI-StPaul)
Sent: Thursday, February 14, 2013 10:34 AM
To: Weisbender, Eric; 
[email protected]<mailto:[email protected]>
Subject: Re: [mapserver-users] Photo Viewer

Eric,

Interesting idea.  I remember a thread a few years back about something similar 
being asked.

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.

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.

Bobb



From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Weisbender, Eric
Sent: Thursday, February 14, 2013 10:03 AM
To: [email protected]<mailto:[email protected]>
Subject: [mapserver-users] Photo Viewer

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.

Thanks,

Eric Weisbender

<<inline: image003.jpg>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to