Bob, Just curious how do you know that guy climbing in the tree?
Mark Volz GIS Specialist Lyon County, MN (507) 532-8218 > -----Original Message----- > From: [email protected] [mailto:mapserver-users- > [email protected]] On Behalf Of mapserver-users- > [email protected] > Sent: Thursday, February 14, 2013 4:41 PM > To: [email protected] > Subject: mapserver-users Digest, Vol 61, Issue 23 > > Send mapserver-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.osgeo.org/mailman/listinfo/mapserver-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific than "Re: > Contents of mapserver-users digest..." > > > Today's Topics: > > 1. Re: Photo Viewer (Basques, Bob (CI-StPaul)) > 2. Re: Photo Viewer (Lime, Steve D (MNIT)) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 14 Feb 2013 22:16:49 +0000 > From: "Basques, Bob (CI-StPaul)" <[email protected]> > To: "Lime, Steve D (MNIT)" <[email protected]>, "Weisbender, > Eric" <[email protected]>, "mapserver- > [email protected]" > <[email protected]> > Subject: Re: [mapserver-users] Photo Viewer > Message-ID: > <C9CEA89772DA74488B5A5B6EB17DC481065B38A8@055-CH1MPN1- > 003.055d.mgd.msft.net> > > Content-Type: text/plain; charset="iso-8859-1" > > 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- > [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:mapserver-users- > [email protected]] On Behalf Of Basques, Bob (CI-StPaul) > Sent: Thursday, February 14, 2013 10:34 AM > To: Weisbender, Eric; [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:mapserver-users- > [email protected]> [mailto:mapserver-users- > [email protected]] On Behalf Of Weisbender, Eric > Sent: Thursday, February 14, 2013 10:03 AM > To: [email protected]<mailto:mapserver- > [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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.osgeo.org/pipermail/mapserver- > users/attachments/20130214/8a9c0c19/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Thu, 14 Feb 2013 22:41:17 +0000 > From: "Lime, Steve D (MNIT)" <[email protected]> > To: "Basques, Bob (CI-StPaul)" <[email protected]>, > "Weisbender, Eric" <[email protected]>, > "[email protected]" <mapserver- > [email protected]> > Subject: Re: [mapserver-users] Photo Viewer > Message-ID: > <C549F0496453D842B4DD71AC8188DDC53F5874@055-CH1MPN1- > 041.055d.mgd.msft.net> > > Content-Type: text/plain; charset="us-ascii" > > 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- > [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; mapserver- > [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:mapserver-users- > [email protected]> [mailto:mapserver-users- > [email protected]] On Behalf Of Basques, Bob (CI-StPaul) > Sent: Thursday, February 14, 2013 10:34 AM > To: Weisbender, Eric; [email protected]<mailto:mapserver- > [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:mapserver-users- > [email protected]> [mailto:mapserver-users- > [email protected]] On Behalf Of Weisbender, Eric > Sent: Thursday, February 14, 2013 10:03 AM > To: [email protected]<mailto:mapserver- > [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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.osgeo.org/pipermail/mapserver- > users/attachments/20130214/63da4dc2/attachment.html> > > ------------------------------ > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > End of mapserver-users Digest, Vol 61, Issue 23 > *********************************************** _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
