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: bart...@osgis.nl
> To: kwon...@hotmail.com
> CC: users@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: kwon...@hotmail.com
> > To: users@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@openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >   
> 
> 
> -- 
> Bart van den Eijnden
> OSGIS, Open Source GIS
> bart...@osgis.nl
> http://www.osgis.nl
> 
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to