[ka-Map-users] about the padding part in the displayed map

王连波 happyforev1 at gmail.com
Sun Sep 27 08:50:38 EST 2009


Firstly, thanks to anybody who helps me and I am so glad to tell you that it
gets better when I changed the mapfile and config.php to enable png24
OutputFormat. I do it like this :
1)in the mapfile ,add these lines:
OUTPUTFORMAT
NAME png
DRIVER "GD/png"
MIMETYPE "image/png"
IMAGEMODE RGB
EXTENSION "png"
END
2)in the config.php, I changed the default PNG OutputFormat to PNG24

However, it's still not so good like I have expected. First, there is still
shadows at the bottom of the map. Second, the colors of some part is a
little different from the original picture. I have tested that when I
changed
PNG to JPEG in both mapfile and config.php , the shadows at the bottom
disappeared while the map became very dazzling with something like colorful
pepper and salt noisy. It is the same with DITHERED .
The picture which I use in the mapfile as a raster data is from Google
Earth. It is about 100M and its format is JPEG (maybe it is why the bottom
shadows disappear when I changed the OutputFormat to JPGE ,I guess). Now I
do not know what I should do to make the map  looks  better in  ka-map.
THX  in advance  for  any help!


On Sat, Sep 26, 2009 at 3:05 AM, joel ml <mpg70221725 at yahoo.com.ar> wrote:

>
>
>
> >
> >    1. about the padding part in the
> > displayed map (???)
> >> ----------------------------------------------------------------------
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > I download and configure ka-map according to my private
> > situation,
> > everything goes well except that there are some padding
> > parts (I call them
> > shadows) in the displayed image .I just test to produce an
> > image through a
> > mapfile with only one layer(just a tiff picture with its
> > geoinfo file .tfw).
> > It is ok to display the image, but the color of most parts
> > in the image is
> > changed from original ,also many shadows of different
> > colors appear at the
> > border of the image. What is the problem? Hope someone can
> > help me .
> > Maybe it is due to the tile parameter ,but I have tried to
> > change them and
> > the issue is still there.
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.maptools.org/pipermail/ka-map-users/attachments/20090925/7d5e0047/attachment.html
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/ka-map-users
> >
> >
> > End of ka-Map-users Digest, Vol 53, Issue 3
> > *******************************************
> >
> Joel:
>
> hello, the problem you describe, I think it is due to the
> configuration of OutputFormat, if you want your layers
> raster display as the original, then use the
> RGB PNG format, you must configure the file
> "config.php".
> greetings!
>
>
>      Yahoo! Cocina
>
> Encontra las mejores recetas con Yahoo! Cocina.
>
>
> http://ar.mujer.yahoo.com/cocina/
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090927/85fd2422/attachment.htm 


More information about the ka-Map-users mailing list