[mapserver-users] Rewarping/Reprojection with GDAL and -wo EXTRA_SOURCE parameter

Heiko Schröter schroete at iup.physik.uni-bremen.de
Thu Dec 19 01:18:27 PST 2013


Oh Andreas, blind me.
Copied it into the POSTGIS layer but not the LINE Layer.
Sorry for that.
It works now as described, panning and zooming is ok.

Btw, where to send the bugreport ?

Thanks and sorry for the additional noise.

Regards
Heiko


Am 19.12.2013 10:01, schrieb Eichner, Andreas - SID-NLKM:
> Narf. Send before attaching the images. So here it goes again, sorry.
>
> Have you set the PROCESSING directive at the grid layer? With the
> patch applied, adding PROCESSING "FORCE_FULL_EXTENT=YES" at the GRID layer
> fixed it for me, ie:
>   
>        LAYER
>            TYPE LINE
>            STATUS DEFAULT
>            EXTENT -180 -90 180 90
>            NAME "GRID"
>            OPACITY 50
>   
>            # the following line enables the hack:
>            PROCESSING "FORCE_FULL_EXTENT=YES"
>   
> I used the BBOXes from your examples below to generate the attached
> images.
>
>> The POSTGIS (i.e. POLYGON) and RASTER layers are fine in any zoom or
>> pan
>> level. The LINE layer is ok if the BBOX has not been paned to far of
>> center (for the "ortho" projection) and if extremly zoomed in the
>> poles
>> are cut.
>>
>> It looks like that POLYGON and LINE Layers are treated a little bit
>> differently.
>>
>> If you like here is the test site with the patch included.
>>
>> Zoomed in, plus poles cut out in LINE layer:
>> http://www.iup.uni-bremen.de/warehouse/cgi-bin/laura?BBOX=-2500000,-
>> 2500000,2500000,2500000&FORMAT=IMAGE/PNG&FROMDAT=2006-08-
>> 06%2000:00&HOEHE=-
>> 1&LAYERS=KARTE1,WILLI,GRID&MAP=/var/www/localhost/mapserver/laura.map
>> &PRODUKT=stro3_21&REQUEST=GETMAP&SERVICE=WMS&SRS=EPSG:0816&STYLES=&TI
>> ME=2006-10-06%2000:00/2006-10-08%2023:59&TODAT=2006-08-
>> 07%2023:59&TRANSPARENT=FALSE&VERSION=1.1.1&WIDTH=600&HEIGHT=600
>>
>> Half a LINE layer missing when BBOX to far off center:
>> http://www.iup.uni-bremen.de/warehouse/cgi-bin/laura?BBOX=-6500000,-
>> 6500000,2500000,2500000&FORMAT=IMAGE/PNG&FROMDAT=2006-08-
>> 06%2000:00&HOEHE=-
>> 1&LAYERS=KARTE1,WILLI,GRID&MAP=/var/www/localhost/mapserver/laura.map
>> &PRODUKT=stro3_21&REQUEST=GETMAP&SERVICE=WMS&SRS=EPSG:0816&STYLES=&TI
>> ME=2006-10-06%2000:00/2006-10-08%2023:59&TODAT=2006-08-
>> 07%2023:59&TRANSPARENT=FALSE&VERSION=1.1.1&WIDTH=600&HEIGHT=600


-- 
-----------------------------------------------------------------------
Dipl.-Ing. Heiko Schröter
Institute of Environmental Physics (IUP)   phone: ++49-(0)421-218-62092
Institute of Remote Sensing (IFE)          fax:   ++49-(0)421-218-62070
University of Bremen (FB1)
P.O. Box 330440               email:  schroete at iup.physik.uni-bremen.de
Otto-Hahn-Allee 1
28359 Bremen
Germany
-----------------------------------------------------------------------



More information about the mapserver-users mailing list