Hi, The attached images are from same map files (bluemarble imagery from http://visibleearth.nasa.gov/view.php?id=57752) .
1)Improper_Mapserver5.6.6.JPG the colours are not smooth,the picture is pixellated in Mapserver 5.6.6 2) Proper_Mapserver6.0.2.JPG the colours are smooth in Mapserver 6.0.2. How can I make the image show properly in 5.6.6, what makes the difference ? Tried using untiled images but the result is the same in 5.6.6.There could me some mapserver setting or preprocessing to be done on image files. Right now I am doing only this to get the final images. gdal_translate -co TILED=YES land_shallow_topo_8192.tif land_shallow_topo_8192_TILED.tif gdaladdo --config GDAL_CACHEMAX 1500 -r average land_shallow_topo_8192_TILED.tif 4 8 16 32 64 128 256 Also any know any better\more detailed sources for public domain atlas images,I am also using http://www.naturalearthdata.com/ as a source of data. Thanks in advance....I am planning to use Mapserver 5.6.6 because the Fusion JavaScript Client is compatible with 5.6.6. I am using ms4w for testing ,though final server will be on linux. Below is the map file. MAP NAME "BlueMarble" PROJECTION # "init=EPSG:4326" "proj=latlong" END STATUS ON SIZE 10800 5400 EXTENT -180 -90 180 90 UNITS DD SHAPEPATH "../NaturalEarth" # don't need background colour # IMAGECOLOR 128 128 255 # # Start of web interface definition # WEB IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" METADATA "wms_title" "WMS Server" "wms_onlineresource" "http://172.16.1.126/cgi-bin/mapserv.exe?map=/ms4w/data/mapfiles/bluemarble.map&" "wms_extent" "-180 -90 180 90" "wms_enable_request" "*" END END # WEB LAYER NAME "NasaBlueMarbleOffline" DATA "./bluemarble/land_shallow_topo_8192_TILED.tif" STATUS ON TYPE RASTER PROJECTION "proj=latlong" END METADATA "wms_srs" "EPSG:4269 EPSG:4326" "wms_title" "Nasa Blue Marble Offline" END END LAYER NAME "world_land" DATA "./50m_physical/50m_land.shp" STATUS OFF TYPE POLYGON OPACITY 100 CLASS NAME 'Land Outline' STYLE OUTLINECOLOR 184 138 0 END # STYLE END # CLASS METADATA "wms_title" "Land Outline" END END # LAYER LAYER NAME "world_freshwater_bodies" DATA "./50m_physical/50m_rivers_lake_centerlines.shp" STATUS OFF TYPE LINE OPACITY 100 CLASS NAME 'Fresh Water Bodies' STYLE OUTLINECOLOR 51 102 255 END # STYLE END # CLASS METADATA "wms_srs" "EPSG:4269 EPSG:4326" "wms_title" "Freshwater Bodies Of The World" END END # LAYER LAYER NAME "world_lakes" DATA "./50m_physical/50m_lakes.shp" STATUS OFF TYPE POLYGON OPACITY 100 CLASS NAME 'Lakes' STYLE COLOR 0 61 245 END # STYLE END # CLASS METADATA "wms_srs" "EPSG:4269 EPSG:4326" "wms_title" "Lakes Of The World" END END # LAYER LAYER NAME "geographic_points" DATA "./50m_physical/50m_geography_regions_points.shp" STATUS OFF TYPE POINT OPACITY 50 CLASS LABEL COLOR 0 0 0 OUTLINECOLOR 255 255 255 FONT "sans" TYPE truetype SIZE 6 POSITION AUTO PARTIALS FALSE END END # CLASS METADATA "wms_srs" "EPSG:4269 EPSG:4326" "wms_title" "Major Geographic Points" END END # LAYER LAYER NAME "countries" DATA "./country2007/cntry07_econ.shp" STATUS OFF TYPE POLYGON CLASS NAME 'The Countries Of The World' STYLE OUTLINECOLOR 0 0 0 END # STYLE END # CLASS METADATA "wms_srs" "EPSG:4269 EPSG:4326" "wms_title" "The Countries Of The World" END END # LAYER LAYER NAME "state_lines_usa" DATA "./50m_cultural/ne_50m_admin_1_states_provinces_shp.shp" STATUS OFF TYPE POLYGON CLASS NAME 'States Lines USA' STYLE OUTLINECOLOR 0 0 0 END # STYLE END # CLASS METADATA "wms_title" "States Lines USA" END END # LAYER LAYER NAME "urban_areas" DATA "./50m_cultural/ne_50m_urban_areas.shp" STATUS OFF TYPE POLYGON CLASS NAME 'Urban Areas' STYLE OUTLINECOLOR 0 0 0 END # STYLE END # CLASS METADATA "wms_title" "Urban Areas" END END # LAYER #LAYER # NAME "populated_places" # DATA "./50m_cultural/ne_50m_populated_places.shp" # STATUS OFF # TYPE POINT # # # METADATA # "wms_title" "Populated Places" # END # #END # LAYER END # MAP Regards, Dinni.
<<attachment: Improper_Mapserver5.6.6.JPG>>
<<attachment: Proper_Mapserver6.0.2.JPG>>
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
