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; mapserver-users@lists.osgeo.org 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; mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> 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: mapserver-users-boun...@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul) Sent: Thursday, February 14, 2013 10:34 AM To: Weisbender, Eric; mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> 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: mapserver-users-boun...@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric Sent: Thursday, February 14, 2013 10:03 AM To: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org> 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
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users