Hi Jesper, Poor performance may mean that your original tiff is not optimized for server usage and you should rewrite it in any case or at least add some overviews. Gdalinfo report about the original tiff and .vrt would probably give some useful information. If you select to warp images physically (would be my choise BTW) please try to do it right. You should find good GDAL commands from these slides https://www.slideshare.net/geosolutions/geoserver-on-steroids-foss4g-2015.
-Jukka Rahkonen- Lähettäjä: Jesper Kempe <jesper.ke...@gmail.com<mailto:jesper.ke...@gmail.com>> Lähetetty: torstai 3. syyskuuta 2020 15.18 Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>> Kopio: Jeff McKenna <jmcke...@gatewaygeomatics.com<mailto:jmcke...@gatewaygeomatics.com>>; Mapserver <mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>> Aihe: Re: [mapserver-users] Use Ground Control Points from GeoTIFF Hi Jukka Sorry about that, I forgot that yesterday. I did a test now and that actually works! Changing DATA to the vrt-file and setting PROJECTION "init=epsg:3857" END creates an image with sat.tif placed correctly! $ shp2img -m icesat.map -o /data/temp/Jesper/ttt.png -all_debug 5 msLoadMap(): 0.014s msDrawMap(): rendering using outputformat named png (AGG/PNG). msDrawRasterLayerLow(sat): entering. msResampleGDALToMap in effect: cellsize = 4202.211585 msDrawGDAL(sat): using RAW_WINDOW=0 0 12531 12770, dst=0,0,279,284 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,2,3,4 msDrawMap(): Layer 0 (sat), 557.242s msDrawMap(): Drawing Label Cache, 0.000s msDrawMap() total time: 557.243s msSaveImage(/data/temp/Jesper/ttt.png) total time: 0.119s msFreeMap(): freeing map at 0x7b1f50. freeLayer(): freeing layer at 0x7ba080. freeLayer(): freeing layer at 0x7bb760. shp2img total time: 557.378s BUT, note 557.378s on the last row... Also a WMS-request works but takes about 4 minutes to complete! It looks like I need to reproject all files new GeoTIFFs to get a decent speed. Thanks for all the replies! Jesper
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users