[Geoserver-users] Gaps in tiled WMS raster layers [SEC=OFFICIAL]

2021-02-25 Thread Sedgmen Aaron
Hi all,

I am encountering some odd results with tiled WMS requests for raster layers.  
When zoomed in on a raster layer, the edges of the tiles appear to be being 
clipped, resulting in horizontal and/or vertical strips and wedges of no data 
(gaps) along the tile borders.  The issue occurs when the WMS default 
interpolation method for the raster layer is set to bilinear or bicubic 
(nearest neighbour is ok) and the requested CRS is different to the declared 
CRS of the layer (i.e. GeoServer is reprojecting the data to produce the 
tiles).  Adjusting the metatiling factor and gutter size has no appreciable 
effect.

There seems to be a correlation between the cells size of the raster dataset 
and the zoom extent at which the issue starts to occur - the smaller the cell 
size the further you have to zoom in to see the problem. 

The issue can be repeated with the Spearfish elevation demo layer that ships 
with GeoServer by viewing the layer in a web map client able to make tiled 
requests (e.g. QGIS or GeoServer's built in OpenLayers client), setting the 
request CRS to something other than EPSG:26713, e.g. 4326, and zooming into a 
scale of around 1:1000 or less and panning around.

The issue appears to have been introduced in version 2.16.1 and later, doesn't 
happen in 2.16.0.  Tested on Windows 10/Oracle JRE 1.8.0_281 and Ubuntu 18.04.5 
LTS/OpenJDK 11.0.10.

This is a bit of a problem for us as we have national scale raster datasets 
with coarse cell sizes and discrete classifications that need to be smoothed 
using bilinear interpolation to be presentable in our portal, and unfortunately 
the user doesn't have to zoom in very far before the strips and wedges become 
apparent.

Could I be missing something in the GeoServer settings?  Any advice would be 
much appreciated.

Regards,

Aaron Sedgmen.


Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is 
intended only for the person or entity to which it is addressed. If you are not 
the intended recipient, then you have received this e-mail by mistake and any 
use, dissemination, forwarding, printing or copying of this e-mail and its file 
attachments is prohibited. The security of emails transmitted cannot be 
guaranteed; by forwarding or replying to this email, you acknowledge and accept 
these risks.



___
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer BLOB issue while migrating raster data tiles from Window to Linux Environment.

2021-02-25 Thread Singh3, Hariom (Xceedance)
Hi Team,
GeoServer BLOB issue while migrating raster data tiles from Window to Linux 
Environment- We have large data tiles stored as BLOB and now we want to migrate 
and access these tiles by assigning new path to updated GeoServer. During this 
process, we find difficulty in GeoServer restart again with various errors.
On the other side, it became possible by generating empty BLOB and copy all the 
tiles makes it very time-consuming process. To reduce time and effort, we want 
to access large data BLOB by assigning new accessible path without generating 
empty BLOB.
Please let us know the approaches/solutions in this regard. We would appreciate 
your time and effort.
Thank you in advance for your help.
Kind regards,
Hariom Singh

___
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Global Styles not showing in preview

2021-02-25 Thread Andrea Aime
On Tue, Feb 23, 2021 at 11:23 PM Neil Saunders <
neil.saund...@lotsearch.com.au> wrote:

> I’m creating an isolated workspace for the data. The styles are not
> assigned to a workspace so they can be used by multiple isolated
> workspaces. No extra plugins. No security changes at this point.
>

Ah, that explains it. The layer preview GetMap requests are using the
global WMS endpoint, if the style being edited is not in a workspace
Workspace isolated layers are not reachable there (they are only from the
workspace specific service).

Isolated workspaces usage is pretty uncommon, typically used to publish the
same INSPIRE theme multiple times from the same server (or so I hear, I
never used them myself).
Not surprised this did not come up before.

Can you write a fix? If so it would be in this area:
https://github.com/geoserver/geoserver/blob/e701004e988a8d0a9b7d993090c9a96dcf155e12/src/web/wms/src/main/java/org/geoserver/wms/web/data/OpenLayersPreviewPanel.java#L202

Not entirely trivial mind, the code is already trying to setup a workspace
specific service if the style is in a workspace, it should
also try to recognize the possibility of using a layer (and then check its
workspace), or layer group that is in a workspace (but it might also not
be).

See also https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Problem with creating featuretyp with sql-view using rest

2021-02-25 Thread Erik Böhm
Dear list,

I try to create a feature type with an sql-view through REST using FME(Safe 
Software).
I use a POST-request to upload the following XML-body:



Layer_Name
Layer_Title
 DATABASE_TABLENAME
$(NATIVE_RCS)
true

false


 Layer_Name 

 select * FROM schema.table
 where attribute1 IN
 (SELECT p1. attribute1 FROM schema.table p1, 
schema.table p2 WHERE p1. attribute1 = p2. attribute1 AND p1.attribute2 != p2. 
attribute2)

false
 
geom
Point
4326







As a result, the feature type is created and when I navigate to the SQL-view 
editor in the GUI, the SQL-statement is there. Nevertheless, even though it's 
there, it doesn't seem to work as when watching the layer preview I see all my 
geometries rather than the desired subset.
If I create the feature type with the SQL-view manually using the same 
SQL-statement, it works perfectly. So I guess I have to add something to the 
REST-request?

Additionally, there is a selection box in the GUI to suggest the geometry and 
SRID. Is it possible to call this option via a REST-request?

Thank you in advance and kind regards
i.A. Erik Böhm

-

[BSH]

Erik Böhm,  M4209
Open Data Koordination

Tel  +49-40-3190-3429 (Neue Nummer ab 1.4.20) | 
erik.bo...@bsh.de
Fax +49-40-3190-5000
Bernhard-Nocht-Straße 78, 20359 Hamburg

Das Bundesamt für Seeschifffahrt und Hydrographie 
(BSH) ist eine Bundesoberbehörde im 
Geschäftsbereich des Bundesministerium für Verkehr und digitale 
Infrastruktur




___
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users