[OpenLayers-Users] Tiff world file Calculation.

Kwong Hu Kiu kwonghu at hotmail.com
Sun May 3 07:37:45 EDT 2009




Thanks. 

Looks like what I need for the calculation. 

But i would also like to include this tiff world file and the map (bitmap) that's currently displaying on the browser inside a zip archive so the user can download and view them later.

This might requires some interaction with the server. 

Anyone knows how I can achieve that ?

Cheers.

> Date: Sun, 3 May 2009 11:03:12 +0200
> From: bartvde at osgis.nl
> To: kwonghu at hotmail.com
> CC: users at openlayers.org
> Subject: Re: [OpenLayers-Users] Tiff file Calculation.
> 
> Not sure if this is what you mean, but:
> 
> topleft point -> map.getExtent().top and map.getExtent().left
> width -> map.getSize().w
> 
> Best regards,
> Bart
> 
> Kwong Hu Kiu wrote:
> >
> >
> > I need this urgently.
> >
> > No one has any idea ?
> >
> > Cheers.
> >
> >
> > ------------------------------------------------------------------------
> > From: kwonghu at hotmail.com
> > To: users at openlayers.org
> > Date: Sat, 2 May 2009 11:36:13 +0800
> > Subject: [OpenLayers-Users] Tiff file Calculation.
> >
> > Hi,
> >
> > If anyone knows if Openlayers has any function to calculate the Tiff 
> > file ?
> >
> > double pixelHeight = (topLeftPoint.Y - lowerRightPoint.Y) / 
> > imageSize.Height;
> > double pixelWidth = (lowerRightPoint.X - topLeftPoint.X) / 
> > imageSize.Width;
> >
> > I have done it before in c#. So openlayers has any utility that allow 
> > me to get the topleft point and image's width ?
> >
> > (Or)
> >
> > Someone must have already written a control for it and i just need to 
> > download from the trunk area.
> >
> > Cheers.
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >   
> 
> 
> -- 
> Bart van den Eijnden
> OSGIS, Open Source GIS
> bartvde at osgis.nl
> http://www.osgis.nl
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090503/08bf3a67/attachment.html


More information about the Users mailing list