Re: [mapserver-users] Rendering artefacts when serving raster via WMS * SOLVED * Sort of

2011-06-27 Thread John Westwood
Hi

After testing with shp2img I have just realised what is causing this
problem. It is all my fault :) Some of the map sheets overlap and I am
using the OFFSITE command with 255 255 255 to make white transparent,
hence some of the sheet behind is showing through.

Unfortunately, I need the OFFSITE command to make white transparent so
that the white 'border' around the sheet does not obscure the map sheet
it is overlapping.

I'm not sure what would be the easiest / best way around this. Does
anybody have any ideas? Thanks.

Regards,

John W.

Great Britain Historical GIS Project



>>> Frank Warmerdam  15/06/11 4:05 PM >>>
On 11-06-10 12:25 PM, John Westwood wrote:
> Does anybody have any ideas what the problem could be? I know it is
something
> to do with the fact that I boosted the images and MapServer doesn't
like them,
> but I would like to fix it. Suggestions greatly appreciated.

John,

I'm afraid I don't have much to offer.  I just wanted you to know that
someone had looked at your post and had no bright ideas about why it is
happening.  If this is quite important to you, you could file a ticket
on the issue, reducing it to a simple map file with one input GeoTIFF
and a request (ideally with shp2img) that produces the artifacted
output.
Then I could dig into this from my end.

If you do that, you can directly assign the MapServer ticket to
"warmerdam".

Best regards,
-- 
---+--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Rendering artefacts when serving raster via WMS

2011-06-16 Thread John Westwood
Hi Brent

Thanks for the hint. I gave it a try but it did not help. I will have
another look at the problem next week.

Regards

John W.


>>> Brent Fraser  15/06/11 4:21 PM >>>
John,

It looks like a resampling problem.  You could try adding

PROCESSING "OVERSAMPLE_RATIO=1"
PROCESSING "LOAD_FULL_RES_IMAGE=NO"

to your layer definition.  I had some success with these when trying to 
get mapserver to render large (and readable) images from OpenStreetMap.

Best Regards,
Brent Fraser


On 6/15/2011 9:04 AM, Frank Warmerdam wrote:
> On 11-06-10 12:25 PM, John Westwood wrote:
>> Does anybody have any ideas what the problem could be? I know it is 
>> something
>> to do with the fact that I boosted the images and MapServer doesn't 
>> like them,
>> but I would like to fix it. Suggestions greatly appreciated.
>
> John,
>
> I'm afraid I don't have much to offer.  I just wanted you to know that
> someone had looked at your post and had no bright ideas about why it
is
> happening.  If this is quite important to you, you could file a ticket
> on the issue, reducing it to a simple map file with one input GeoTIFF
> and a request (ideally with shp2img) that produces the artifacted
output.
> Then I could dig into this from my end.
>
> If you do that, you can directly assign the MapServer ticket to 
> "warmerdam".
>
> Best regards,

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Rendering artefacts when serving raster via WMS

2011-06-16 Thread John Westwood
Hi Steve

Yes, the images are requested as tiles. I should probably try a standard
(whole image) request or try shp2img to eliminate that possibility. The
requesting software is OpenLayers. The website is using GeoWebCache to
cache the tiles, but the test image supplied went directly from
MapServer to OpenLayers.

I probably won't have time to look at this again until next week. I will
keep the list up-to-date with my progress.

John Westwood


>>> "Lime, Steve D (DNR)"  15/06/11 4:24 PM >>>
>From the sample it almost looks like the mapserver.jpg is the result of
two images being overlayed either on the server (by mapserver) or in the
client. The artifacts look like there's an offset applied to one of them
because of the parallel lines. How are the images managed (perhaps as
tiles)?

Steve 

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Frank
Warmerdam
Sent: Wednesday, June 15, 2011 10:05 AM
To: John Westwood; MAPSERVER-USERS
Subject: Re: [mapserver-users] Rendering artefacts when serving raster
via WMS

On 11-06-10 12:25 PM, John Westwood wrote:
> Does anybody have any ideas what the problem could be? I know it is
something
> to do with the fact that I boosted the images and MapServer doesn't
like them,
> but I would like to fix it. Suggestions greatly appreciated.

John,

I'm afraid I don't have much to offer.  I just wanted you to know that
someone had looked at your post and had no bright ideas about why it is
happening.  If this is quite important to you, you could file a ticket
on the issue, reducing it to a simple map file with one input GeoTIFF
and a request (ideally with shp2img) that produces the artifacted
output.
Then I could dig into this from my end.

If you do that, you can directly assign the MapServer ticket to
"warmerdam".

Best regards,
-- 
---+--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Rendering artefacts when serving raster via WMS

2011-06-15 Thread Lime, Steve D (DNR)
>From the sample it almost looks like the mapserver.jpg is the result of two 
>images being overlayed either on the server (by mapserver) or in the client. 
>The artifacts look like there's an offset applied to one of them because of 
>the parallel lines. How are the images managed (perhaps as tiles)?

Steve 

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Frank Warmerdam
Sent: Wednesday, June 15, 2011 10:05 AM
To: John Westwood; MAPSERVER-USERS
Subject: Re: [mapserver-users] Rendering artefacts when serving raster via WMS

On 11-06-10 12:25 PM, John Westwood wrote:
> Does anybody have any ideas what the problem could be? I know it is something
> to do with the fact that I boosted the images and MapServer doesn't like them,
> but I would like to fix it. Suggestions greatly appreciated.

John,

I'm afraid I don't have much to offer.  I just wanted you to know that
someone had looked at your post and had no bright ideas about why it is
happening.  If this is quite important to you, you could file a ticket
on the issue, reducing it to a simple map file with one input GeoTIFF
and a request (ideally with shp2img) that produces the artifacted output.
Then I could dig into this from my end.

If you do that, you can directly assign the MapServer ticket to "warmerdam".

Best regards,
-- 
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Rendering artefacts when serving raster via WMS

2011-06-15 Thread Brent Fraser

John,

It looks like a resampling problem.  You could try adding

PROCESSING "OVERSAMPLE_RATIO=1"
PROCESSING "LOAD_FULL_RES_IMAGE=NO"

to your layer definition.  I had some success with these when trying to 
get mapserver to render large (and readable) images from OpenStreetMap.


Best Regards,
Brent Fraser


On 6/15/2011 9:04 AM, Frank Warmerdam wrote:

On 11-06-10 12:25 PM, John Westwood wrote:
Does anybody have any ideas what the problem could be? I know it is 
something
to do with the fact that I boosted the images and MapServer doesn't 
like them,

but I would like to fix it. Suggestions greatly appreciated.


John,

I'm afraid I don't have much to offer.  I just wanted you to know that
someone had looked at your post and had no bright ideas about why it is
happening.  If this is quite important to you, you could file a ticket
on the issue, reducing it to a simple map file with one input GeoTIFF
and a request (ideally with shp2img) that produces the artifacted output.
Then I could dig into this from my end.

If you do that, you can directly assign the MapServer ticket to 
"warmerdam".


Best regards,


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Rendering artefacts when serving raster via WMS

2011-06-15 Thread Frank Warmerdam

On 11-06-10 12:25 PM, John Westwood wrote:

Does anybody have any ideas what the problem could be? I know it is something
to do with the fact that I boosted the images and MapServer doesn't like them,
but I would like to fix it. Suggestions greatly appreciated.


John,

I'm afraid I don't have much to offer.  I just wanted you to know that
someone had looked at your post and had no bright ideas about why it is
happening.  If this is quite important to you, you could file a ticket
on the issue, reducing it to a simple map file with one input GeoTIFF
and a request (ideally with shp2img) that produces the artifacted output.
Then I could dig into this from my end.

If you do that, you can directly assign the MapServer ticket to "warmerdam".

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users