My mistake, it is working fine now

Le mar. 16 mars 2021 à 13:42, Nicolas Raggueneau <
[email protected]> a écrit :

> Hi Daniele
>
> Thank you for answering. While reading my first message I realized it was
> incomplete. Individual layer rendering is quite good, but when I compose
> the layers in the aggregate they don't look interpolated
>
> This is a snap of the 8 level layer, it is using bilinear interp. Output
> is quite good at level 8 in TMS: https://ibb.co/10hgtFB
> At level 7 the interpolation is not so good, some tiles are blurry. Maybe
> I will switch to bicubic, but it is acceptable https://ibb.co/2YyGkZc
>
>
> Now  with the aggregate at level 8 and 7:
> https://ibb.co/WBX4xxK
> https://ibb.co/jhWzVLQ
>
> Is it possible to enable interpolation as the aggregate as well?
>
> To generate the overview I've adapted the script of the tutorial to
> increas the JPEG quality but I've kept the other parameters. I'm not sure
> it tiling is useful because for this dataset mosaic granules have a 500x500
> dimension
> for %%F in (*.tif) do  (
>       echo Processing file %%F
>
>       REM translate
>       echo Performing gdal_translate on file %%F to file %%~nF.tiff
>       gdal_translate -b 1 -b 2 -b 3 -mask 4 -co "TILED=YES" -co
> "BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -co "COMPRESS=JPEG" -co
> "PHOTOMETRIC=YCBCR" -co "jpeg_quality=100"
>  --config GDAL_TIFF_INTERNAL_MASK YES %%F %outputdir%\%%~nF.tiff
>
>       REM add overviews
>       echo Adding overviews on file %%~nF.tiff
>
>       gdaladdo -r average --config COMPRESS_OVERVIEW JPEG --config 
> PHOTOMETRIC_OVERVIEW YCBCR --config JPEG_QUALITY_OVERVIEW
> 100 %outputdir%\%%~nF.tiff 2 4 8 16 32
>
> )
>
> Best Regards,
>
> Nicolas
>
> Le mar. 16 mars 2021 à 09:19, Daniele Romagnoli <
> [email protected]> a écrit :
>
>> Hi Nicolas,
>>
>> On Mon, Mar 15, 2021 at 7:57 PM Nicolas Raggueneau <
>> [email protected]> wrote:
>>
>>> Hi All,
>>>
>>> France Geographical Institute (IGN) is distributing some of its data
>>> with an Open Licence here:
>>> https://geoservices.ign.fr/documentation/diffusion/telechargement-donnees-libres.html#plan-ign
>>> In particular there is a pack with zoom levels 8-12.
>>> I've loaded them in Geoserver, each level in its own ImageMosaic
>>> store/layer, and I've created an aggregate with all the layers and SLD
>>> sheet to switch from one layer to another in the TMS.
>>> I've added tile blocks, overviews and masks according to geosolutions'
>>> tutorial (awesome)
>>>
>>> Problem is the output is not very good looking, in particular the place
>>> names are not very readable.
>>>
>>
>> Can you share a couple of images showing the rendered output?
>>
>>
>>> So here are the two options that we have in mind to improve the
>>> rendering but so far it's not very effective:
>>> - Increase tile dimensions to 1024x1024 - problem is that it messes with
>>> the gridset tile footprint without much improvement on quality
>>> - enable interpolation on layers  - no visible improvement
>>> - adding overviews - no visible improvement
>>>
>>>
>> Which resampling are you using to generate overviews?
>>
>> Regards,
>> Daniele
>>
>>
>>> Is there any other option? With the same tile size if i use mapnik
>>> rendered tiles i don't have this issue so there may be another way...
>>>
>>> regards,
>>>
>>> Nicolas
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>> Regards,
>> Daniele Romagnoli
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. Daniele Romagnoli
>> Senior Software Engineer
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> 55054  Massarosa (LU)
>> Italy
>> phone: +39 0584 962313
>> fax:      +39 0584 1660272
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to