|
||||
[Chameleon] RGB Map Output and Keymap ProblemsPaul Spencer spencer@dmsolutions.caMon, 29 Dec 2003 12:50:00 -0500
|
ok, try setting the output format in the cwc2.xml configuration file to png24. I think that it should honour the format selected in the map file, but it may override this from the configuration file. Cheers Paul Rene Teniere wrote: > Paul, > > Unfortunately, that did not work. It is still outputting in 256 > colours, not RGB values. You should know that I am using the sample as a > testbed for my data to make sure everything works. > > RT > > >>>>pagameba@magma.ca 2003-12-29 11:15:43 AM >>> > > Rene, > > try imagetype png24, you should not need the outputformat object. > > as for the keymap, if everything is right, then it should line up. It > > is somewhat tricky to get all the pieces right though, I will be > evaluating different options for the keymap to simplify it in January > (I > hope). In the mean time, look at the relative sizes of the map and > keymap, the extents, and the projection of the extents ... make sure > that the values are the same everywhere. > > Cheers, > > Paul > > Rene Teniere wrote: > >>Hi All, >> >>Wondering if there is another place besides the mapfile where you > > have > >>to specify RGB output in Chameleon? The raster display works fine in >>MapServer and MapLab, however, in Chameleon it comes out as 256 > > colour. > >> >>Also, has anyone else encountered a problem with the keymap location >>box being in the wrong place, even though the projection and extents > > are > >>correct? >> >>Later, >> Rene >> >>Selected .MAP file >>MAP >> NAME "Hurricane Juan Page" >> STATUS ON >> EXTENT 381053 4915490 573294 5059550 >> SIZE 400 300 >> SHAPEPATH "D:/GIS_Data/" >> SYMBOLSET "C:/chameleon11a/websites/test/etc/symbols.sym" >> FONTSET "C:/chameleon11a/websites/test/etc/fonts.txt" >> IMAGETYPE PNG >> IMAGECOLOR 255 255 255 >> UNITS METERS >> RESOLUTION 90.714286 >> WEB >> IMAGEPATH "c:/temp/" >> IMAGEURL "/temp/" >> END >> PROJECTION >> "init=epsg:2038" >> #UTM Zone 20 NAD83 for Nova Scotia >> END >> OUTPUTFORMAT >> NAME "PNG" >> MIMETYPE "image/png" >> DRIVER "GD/PNG" >> EXTENSION "png" >> IMAGEMODE RGB >> TRANSPARENT OFF >> END >> LAYER >> NAME "orthov1.ecw" >> STATUS ON >> DATA "D:/GIS_Data/NSMrSIDImages/Output/orthov1.ecw" >> TYPE RASTER >> MINSCALE 0 >> MAXSCALE 200000 >> END >> >> >>Rene J.R. Teniere - BSc., D.GIS >>GIS Technician >>Nova Scotia Department of Natural Resources >>Forestry Division (GIS) - Truro >> >>Phone: (902) 893-5655 >>Mobile: (902) 209-8956 >>_______________________________________________ >>Chameleon mailing list >>Chameleon@lists.maptools.org >>http://lists.maptools.org/mailman/listinfo/chameleon >> > > -- ----------------------------------------------------------------- |Paul Spencer spencer@dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| -----------------------------------------------------------------
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |