[mapserver-users] Re: Raster Strategies Examples

2010-08-04 Thread Edi.Karadumi
i dont have problems to calculate the scale of an image, because im using one of mapserver apps, fusion to show the map and it has widgets do display the scale of a zoom in/out, or i just use map.scaledenom to show the current scale. My problem is how to find the scale where i should create the ne

[mapserver-users] Re: Raster Strategies Examples

2010-08-04 Thread Edi.Karadumi
On Tue, Aug 3, 2010 at 2:12 PM, Frank Warmerdam wrote: I find the MapServer scale values very confusing myself. If I want to compute the scale for particular request (for instance to establish breakpoints for MINSCALE/MAXSCALE), I do a request at the target resolution with shp2img and debug o

[mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Edi.Karadumi
Sorry to bother again, when i use gdal_merge.py the part -ps 160 160, thats the pixel dimension and i get an image 1kb. The pixel size of the original file is 0.08 meters. So i think i should use 0.08x32 in the gdal_merge.py command? And how many tiles should i merge together? Now i have 2T images

[mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Edi.Karadumi
Thanx to you my questions are comming to an end [?] Three more last things Should i retile the new mosaiced overview? Meaning should i create smaller size tiles of the new mosaic? And how can i find in which scale should i switch layers? So what will be the maxscale of the original layer? if i

[mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Edi.Karadumi
Thanx to you my questions are comming to an end Three more last things Should i retile the new mosaiced overview? Meaning should i create smaller size tiles of the new mosaic? or 2Gb is not a problem And how can i find in which scale should i switch layers? So what will be the maxscale of the

[mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Edi.Karadumi
Sorry but im still not understanding this: > That remains a complicated question. I believe I suggested 1/32 as a > good overview level since beyond that point a normal map view will tend > to involve a significant number of files. My only problem now is to find the correct scale for each layer

[mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Edi.Karadumi
Sorry but im still not understanding this: > That remains a complicated question. I believe I suggested 1/32 as a > good overview level since beyond that point a normal map view will tend > to involve a significant number of files. My only problem now is to find the correct scale for each la

[mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread mwkorver
One simple trick that I don't think has been mentioned is to add the shape indexes of each of your raster layers to your mapfile to be able to see how many raster tiles were used for each request. This makes it clear how many files were used to create your output image. -- View this message i

Re: [mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Frank Warmerdam
Edi.Karadumi wrote: Sorry to bother again, when i use gdal_merge.py the part -ps 160 160, thats the pixel dimension and i get an image 1kb. The pixel size of the original file is 0.08 meters. So i think i should use 0.08x32 in the gdal_merge.py command? Edi, If the original resolution is 8cm

Re: [mapserver-users] Re: Raster Strategies Examples

2010-08-19 Thread Frank Warmerdam
Edi.Karadumi wrote: Thanx to you my questions are comming to an end Three more last things Should i retile the new mosaiced overview? Meaning should i create smaller size tiles of the new mosaic? or 2Gb is not a problem Edi, Generally speaking, as long as you enable internal tiling when bu