hi, i´m loading my orthophotos in my openlayers file with 2 methodes. 
1. with wms 
2. with ka-map

when i load it with wms i can display them prefectly as png24 in 24bit
when i load it with ka-map i only geht 8 bit images (with png of course, but
when i change it to jpeg or png24 i only get "a cant load image image" in
pink)

heres my code: 
1. wms:
-----------------------
var ortho_wms = new OpenLayers.Layer.WMS( "Orthophotos WMS",
                        "http://172.21.18.45/cgi-bin/mapserv?";,
                        {layers:
'Orthofotos',map:'/usr/share/ka-map-1.0-20070205/htdocs/geoland_test.map',
format: 'png24', 'buffer':4}, {'isBaseLayer':false}, {projection:
"EPSG:31258"}); 
                        ortho_wms.setVisibility(false)
_______________
2. ka-Map:
-----------------------
var ortho_kamap = new OpenLayers.Layer.KaMap( "Orthophotos ka-Map",
            "http://172.21.18.45/ka-map/tile.php";, {g: 'Orthophotos', map:
'/usr/share/ka-map-1.0-20070205/htdocs/geoland_test.map', i: 'png'},
{'isBaseLayer':false});
                        ortho_kamap.setVisibility(false)
_____________________________

the essential part of my mapfile:
__________________

#####################################################################
######################### Orthophotos ###############################
#####################################################################

LAYER
        NAME "Orthofotos"
        GROUP Orthophotos #erzeugt Checkbox zum aktivieren/deaktivieren des 
layers
        TYPE Raster
        TILEINDEX "/home/geodata/shapes/ortho_ecw/focat_ecw.shp"
        TILEITEM "location"
        STATUS ON

        METADATA
#          "queryable" "true"
#          imageformat "jpeg"   
        END #END Metadata

 END
___________________________________________________________________


is there a trick how to load the images in 24bit over ka-map??????

or what i´m doing wrong???

and as i sayed at the beginning, when i change to i: jpeg odr i:png24 i get
a pink "cant load image" image!
-- 
View this message in context: 
http://www.nabble.com/8-bit-images-tf4612507.html#a13172365
Sent from the OpenLayers Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to