[mapserver-users] Full CADRG and VPF support

paalkr pal.kristensen at statkart.no
Thu Feb 12 11:27:04 PST 2009


Hi!

I would guess that there is a mismatch in the location attribute path in
conjunction with the shapepath in the mapfile. These values are concatenated
at runtime to build up the full path to each raster cell. Have you turned om
logging in the mapfile, do you get any error messages?

One way to find out if the geometry in the tileindex is correct, is to
render the tileindex as a vector layer and visually see if the raster
footprints are located as expected. If the are, the error is most likely to
be the path issue.

Regards,
Pål Kristensen


purnomod wrote:
> 
> Hi paalkr,
> 
> I have tried as per your suggestion. The gdaltindex is working fine and it
> created the tile index shape file with location attribute. the issue is
> when I open the layer in the GAIA it did not show anything. is there
> anything else that I need to do to make it work. The below is my mapserver
> configudation. 
> 
> Thank you very much in advance for your help
> 
> LAYER
> 	NAME 'WMTS-006'
>  	STATUS ON
> 	DEBUG 5
> 	TILEINDEX "rpf_job.shp"
> 	TILEITEM "location"
> 	GROUP "JOG"	
> 	TYPE RASTER
> 	MAXSCALE 1000000
> 	#MINSCALE 1	
> 	PROCESSING "RESAMPLE=AVERAGE" 
>     #PROCESSING "RESAMPLE=BILINEAR" 
>     PROCESSING "OVERSAMPLE_RATIO=8" # 8 improves the output image greatly,
> could try other values 
>     GROUP "JOG" 
>     METADATA 
>          "wms_title" "JOG Mosaic" 
>          "wms_group_title" "JOG" 
>          "wms_style" "Default" 
>      END 
>     PROJECTION 
>         "init=epsg:4326" 
>     END 
> END # Layer
> 

-- 
View this message in context: http://n2.nabble.com/Full-CADRG-and-VPF-support-tp1972100p2317029.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list