Simone, I have a mapping application and the user might load in file xyz.sid for example. Let's say that file is 4000x4000 pixels and spans 10 deg lat-11 deg lat and 10 deg lon-11 deg lon. If the user is zoomed in on a region that is only showing 10.2lat-10.4lat and 10.1lon-10.2lon at 800x400 pixels, I want to show only that region and zoomed in. My current approach is to take the grid coverage for the entire image and then create a smaller coverage based on the envelope the user is currently viewing. I can then upsample or downsample the image as needed to get a higher or lower resolution. Then I get the rendered image from the grid coverage and display it as a png that the user can view on the map.
Does this approach make sense? Is there a more efficient way to do this? Thanks, Jeff -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Simone Giannecchini Sent: Tuesday, December 14, 2010 1:16 PM To: Jeff Storey Cc: [email protected] Subject: Re: [Geotools-gt2-users] Displaying MrSID images Ciao Jeff, I am not sure what you mean. Can you please describe a litlle bit better what you are trying to do? Ciao, Simone. ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Founder Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini http://twitter.com/simogeo ------------------------------------------------------- On Mon, Dec 13, 2010 at 11:47 PM, Jeff Storey <[email protected]> wrote: > Hi, > > > > I've used the MrSIDImageReader to successfully read in a MrSID image. > However, now I would like to display it in my application. I'm trying to > figure out if the best thing to do is to convert it to another format (such > as jpg or png) at given resolution or scale. I'm not actually even sure how > to do that quickly either. Is there anyone that has actually displayed the > MrSID contents from within their application? Any tips on how to proceed > would be greatly appreciated. > > > > Thanks, > > Jeff > > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
