[mapserver-users] problem displaying mask
I'm trying to display a water mask as all black. Along the edge of the mask a set of lighter colored pixels appears when zoomed out. It appears this is from resampling the data. I have OFFSITE set and I have NO_DATA set in the GeoTIff yet something is ignoring these during render. Any suggestions? I've attached an image. Black is water white (which is set to transparent) is land. I assure you the lighter pixels are not beach/coastline. I'm using a 5.6.7. -ethan This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives. attachment: mask_problem.jpg___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)
Some more info, this issue has the same symptoms as we have. The initial description and the correct.png and wrong.png show the same rendering issue we are seeing. http://code.google.com/p/android/issues/detail?id=4153 We are still investigating this but at the moment do not even know what those parts of these characters are called so it's tricky to find information. Can anyone on the list read these characters? Thanks Ian -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter Mallen Sent: Monday, December 17, 2012 3:02 PM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort) Hi Thomas, I was able to properly render the Hindi characters from the screenshot you had previously provided (Wazirabad), however we are still unable to render the Hindi text that I had provided earlier (Mexico City). Is there any way you could provide an image showing a Hindi translation for Mexico City from your map? This way I can match characters that I know are not rendering properly on my side. Thank You again for your help, Peter Mallen -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of mapserver-users-requ...@lists.osgeo.org Sent: Monday, December 17, 2012 8:58 AM To: mapserver-users@lists.osgeo.org Subject: mapserver-users Digest, Vol 59, Issue 32 Send mapserver-users mailing list submissions to mapserver-users@lists.osgeo.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/mapserver-users or, via email, send a message with subject or body 'help' to mapserver-users-requ...@lists.osgeo.org You can reach the person managing the list at mapserver-users-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than Re: Contents of mapserver-users digest... Today's Topics: 1. Re: Hindi and Thai text rendering (Ian Walberg) 2. Re: Hindi and Thai text rendering (thomas bonfort) (Peter Mallen) -- Message: 1 Date: Mon, 17 Dec 2012 11:50:52 -0500 From: Ian Walberg ian.walb...@airborne.aero To: thomas bonfort thomas.bonf...@gmail.com,MapserverList OSGEO mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Hindi and Thai text rendering Message-ID: d12323219cedb24aa8fae53ff3f59fb403856...@be28.exg3.exghost.com Content-Type: text/plain; charset=utf-8 Thomas, We are currently using fibidi 0.19.2 and can try the later versions. I have just had a look at 0.19.4 and 0.19.5 and I am not sure how to build them, there does not appear to be build instructions in them or a configure script. Have you (or anyone else on the list) built these for Linux? Thanks Ian From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort Sent: Monday, December 17, 2012 12:48 AM To: MapserverList OSGEO Subject: Re: [mapserver-users] Hindi and Thai text rendering On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort thomas.bonf...@gmail.com wrote: Peter, We don't do any shaping directly inside mapserver, but rely on the fribidi library to do that for us. Your mapfile definitions are correct to activate this (i.e. it includes an LABEL.ENCODING parameter). I'll leave it up to you to confirm that the image sample I sent you is correct or not. If so, check that you have configured your mapserver with fribidi enabled and uptodate (the supplied image was rendered with 0.19.2 . some stable distros use a very outdated fribidi version, so you might need to upgrade manually) . If not, you can try with a bleeding edge fribidi (0.19.5 was released a few days ago), and/or report the issue or find help from the fribidi project directly. please report back with your findings. regards, thomas On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen peter.mal...@airborne.aero wrote: Hi Thomas, Here is a link to a png Image I have created of using the simple Map File I provided in the previous postings, this is exactly how the Hindi text is rendering in Map Server: http://www.maplusplus.com/images/Hindi_Incorrect.png It is appearing incorrectly and should appear as shown in this link to Google Translate: http://tinyurl.com/cqlymgy I am not sure if the Hindi you have provided is displaying correctly, although it appears to be similar to what I looked up in Google Translate. Thank You for your help, Peter Mallen -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Sat 12/15/2012 10:36 AM To: Peter Mallen Cc: MapserverList OSGEO Subject: Re: [mapserver-users] Hindi and Thai text rendering Peter, You don't provide the rendering that mapserver is producing, so it's difficult to
Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)
On Dec 18, 2012, at 10:53 AM, Ian Walberg ian.walb...@airborne.aero wrote: Some more info, this issue has the same symptoms as we have. The initial description and the correct.png and wrong.png show the same rendering issue we are seeing. http://code.google.com/p/android/issues/detail?id=4153 We are still investigating this but at the moment do not even know what those parts of these characters are called so it's tricky to find information. Can anyone on the list read these characters? .. Yes, I can, but I am not sure what you are asking. I will be happy to help you on/off list. -- Puneet Kishor Science and Data Policy at Creative Commons ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] JPEG and OVERSAMPLE_RATIO
Hi, Thanks to Thomas, the problem has been solved by removing an OFFSITE parameter configuring the layer (http://mapserver.org/en/mapfile/layer.html). With the following layer configuration: PROCESSING RESAMPLE=AVERAGE PROCESSING OVERSAMPLE_RATIO=16 the visual quality of the produced image is very good (for the PNG and JPEG format). Best regards, Cédric On Mon, Dec 17, 2012 at 5:11 PM, Cédric MOULLET cedric.moul...@gmail.comwrote: No, we tried with 80 and it doesn't change anything. On Mon, Dec 17, 2012 at 5:00 PM, thomas bonfort thomas.bonf...@gmail.comwrote: On Mon, Dec 17, 2012 at 4:49 PM, Cédric MOULLET cedric.moul...@gmail.com wrote: Hi, Output formats: OUTPUTFORMAT NAME png MIMETYPE image/png DRIVER AGG/PNG EXTENSION png IMAGEMODE RGBA TRANSPARENT TRUE FORMATOPTION INTERLACE=OFF END OUTPUTFORMAT NAME jpeg DRIVER AGG/JPEG MIMETYPE image/jpeg IMAGEMODE RGB FORMATOPTION QUALITY=100 does changing this to values between 80 and 99 change something ? EXTENSION jpg END URL's: 1. https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink 2. https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink 3. https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink Thanks in advance for your help ! Cédric On Mon, Dec 17, 2012 at 4:24 PM, thomas bonfort thomas.bonf...@gmail.com wrote: Can you post the outputformats defined in your mapfile, and the urls used to access each of these images? -- thomas On Mon, Dec 17, 2012 at 4:18 PM, Cédric MOULLET cedric.moul...@gmail.com wrote: I realize that links have been sent and not pictures Here are reachable links for the three cases: 1. https://picasaweb.google.com/lh/photo/j_OClw5fGOeQE7K1wiimytMTjNZETYmyPJy0liipFm0?feat=directlink 2. https://picasaweb.google.com/lh/photo/3q52h52EwOp9JzZm3KAWbNMTjNZETYmyPJy0liipFm0?feat=directlink 3. https://picasaweb.google.com/lh/photo/GTAThw7AOVMK-j-7DWAabtMTjNZETYmyPJy0liipFm0?feat=directlink Cédric On Mon, Dec 17, 2012 at 4:11 PM, Cédric MOULLET cedric.moul...@gmail.com wrote: Hi, The following issue has been observed with MapServer 6.0.3: 1. Very good quality for a PNG with RESAMPLE=BILINEAR and OVERSAMPLE_RATIO=16: [image: http://wms-bgdi.bgdi.admin.ch/?lang=xxLAYERS=ch.swisstopo.pixelkarte-grau-pk100_bazlFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=SRS=EPSG%3A21781BBOX=513184,143152,519840,149808WIDTH=256HEIGHT=256] 2. Less good quality for a PNG or JPEG with default resampling settings: [image: http://wms-bgdi.bgdi.admin.ch/?lang=xxLAYERS=ch.swisstopo.pixelkarte-grau-pk100_originalFORMAT=image%2FpngSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=SRS=EPSG%3A21781BBOX=513184,143152,519840,149808WIDTH=256HEIGHT=256] 3. Awful quality for JPEG with RESAMPLE=BILINEAR and OVERSAMPLE_RATIO=16: [image: http://wms-bgdi.bgdi.admin.ch/?lang=xxLAYERS=ch.swisstopo.pixelkarte-grau-pk100_bazlFORMAT=image%2FjpegSERVICE=WMSVERSION=1.1.1REQUEST=GetMapSTYLES=SRS=EPSG%3A21781BBOX=513184,143152,519840,149808WIDTH=256HEIGHT=256] Any idea why the OVERSAMPLE_RATIO affects heavily the quality of JPEG images ? Thanks in advance for your help, Cédric -- Political blog: http://cedricmoullet.blogspot.com/ Welcome to my world: http://www.cedricmoullet.com/ My Linked In profile: http://www.linkedin.com/in/cedricmoullet Twitter: http://twitter.com/cedricmoullet Home sweet home: http://map.geo.admin.ch/?crosshair=bowlzoom=11X=185241.24219Y=561288.90625bgOpacity=0selectedNode=node_ch.swisstopo.fixpunkte-lage1 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Political blog: http://cedricmoullet.blogspot.com/ Welcome to my world: http://www.cedricmoullet.com/ My Linked In profile: http://www.linkedin.com/in/cedricmoullet Twitter: http://twitter.com/cedricmoullet Home sweet home: http://map.geo.admin.ch/?crosshair=bowlzoom=11X=185241.24219Y=561288.90625bgOpacity=0selectedNode=node_ch.swisstopo.fixpunkte-lage1 -- Political blog: http://cedricmoullet.blogspot.com/ Welcome to my world: http://www.cedricmoullet.com/ My Linked In profile: http://www.linkedin.com/in/cedricmoullet Twitter: http://twitter.com/cedricmoullet Home sweet home: http://map.geo.admin.ch/?crosshair=bowlzoom=11X=185241.24219Y=561288.90625bgOpacity=0selectedNode=node_ch.swisstopo.fixpunkte-lage1 -- Political blog: http://cedricmoullet.blogspot.com/ Welcome to my world: http://www.cedricmoullet.com/ My Linked In profile: http://www.linkedin.com/in/cedricmoullet Twitter: http://twitter.com/cedricmoullet Home sweet home: http://map.geo.admin.ch/?crosshair=bowlzoom=11X=185241.24219Y=561288.90625bgOpacity=0selectedNode=node_ch.swisstopo.fixpunkte-lage1
[mapserver-users] mapcache running on Apache vs Lighttpd?
Hi all, For best performance, should I use Mapcache (released with mapserver 6.2) with Apache or Lighttpd? Thanks MartinOuellet ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users