MapWindow 4 - ActiveX Control Programming : MapWindow Discussion Forum
Hello everybody, in my application wich uses the ActiveX-Control with MS-Access/vba. I have to load about 50 Geo-Tiffs (each about 70 MB) which is painfully slow. I use the folowing code: objImage.Open(strIPath & strIName, USE_FILE_EXTENSION, True) I
Again: Geotiffs extremly slow
Posted by: dimpflmoser ()
Date: January 13, 2011 07:48AM

Hello everybody,

in my application wich uses the ActiveX-Control with MS-Access/vba. I have to load about 50 Geo-Tiffs (each about 70 MB) which is painfully slow. I use the folowing code:

objImage.Open(strIPath & strIName, USE_FILE_EXTENSION, True)

Is there any possibility to speed this up? Or is it possible to load the pictures only of a given window, when zoomed to it - and if so is there an example code?

Thanks Helmut

Options: ReplyQuote
Re: Again: Geotiffs extremly slow
Posted by: dimpflmoser ()
Date: January 14, 2011 02:02AM

Hello again,

I overcame this problem by writing a small routine with which I calculate the coordinates of a click and load the apropriate image - which is quite easy for the image-names contain their coordinates.

The problem I now have is that the pictures are displayed on top of the drawing but they should lie behind. How can I change this?

Thanks again

Helmut

Options: ReplyQuote
Re: Again: Geotiffs extremly slow
Posted by: Sergei ()
Date: January 15, 2011 10:51AM

Do you mean drawing layer or shapefile? Have you tried to move the image with Map.MoveLayerDown?

Options: ReplyQuote


Sorry, only registered users may post in this forum.





Banner Exchange




GISCP.com




Send us your banner logo (160x120) for the space above, and add this MapWindow banner ad to your site:

Just paste this text in your page: