about the padding part in the displayed map

View: New views
4 Messages — Rating Filter:   Alert me  

about the padding part in the displayed map

by 王连波 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users

Parent Message unknown Re: about the padding part in the displayed map

by joel mamani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--- El vie 25-sep-09, ka-map-users-request@... <ka-map-users-request@...> escribió:

> De: ka-map-users-request@... <ka-map-users-request@...>
> Asunto: ka-Map-users Digest, Vol 53, Issue 3
> Para: ka-map-users@...
> Fecha: viernes, 25 de septiembre de 2009, 2:00 pm
> Send ka-Map-users mailing list
> submissions to
>     ka-map-users@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.maptools.org/mailman/listinfo/ka-map-users
> or, via email, send a message with subject or body 'help'
> to
>     ka-map-users-request@...
>
> You can reach the person managing the list at
>     ka-map-users-owner@...
>
> When replying, please edit your Subject line so it is more
> specific
> than "Re: Contents of ka-Map-users digest..."
>
>
> Today's Topics:
>
>    1. about the padding part in the
> displayed map (???)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 25 Sep 2009 21:13:31 +0800
> From: ??? <happyforev1@...>
> Subject: [ka-Map-users] about the padding part in the
> displayed map
> To: ka-map-users@...
> Message-ID:
>     <46b388480909250613i127226ewcae534a11cd35b6c@...>
> 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@...
> 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@...
http://lists.maptools.org/mailman/listinfo/ka-map-users

Re: about the padding part in the displayed map

by 王连波 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...
> 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@...
http://lists.maptools.org/mailman/listinfo/ka-map-users


_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users

Parent Message unknown Re: about the padding part in the displayed map

by joel mamani :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi from Bolivia, i have read your problem, the council i give you
that utilizes the JPG format, with mode=RGB, don't forget, who always have to
remove the temporary directory, where the temporary images, for instance:

OUTPUTFORMAT
NAME jpeg
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
END


      Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/
_______________________________________________
ka-Map-users mailing list
ka-Map-users@...
http://lists.maptools.org/mailman/listinfo/ka-map-users