Hi all,
I have the following customised gridSet in Geoserver (using GeowebCache with Direct integration with GeoServer WMS)

So, I’ve customised the resolutions in mapstore to match geoserver scales, as you can see below:
{
"version": 2,
"map": {
"projection": "EPSG:25830",
"units": "m",
"center": {"x": 636000, "y": 4200000, "crs": "EPSG:25830"},
"zoom":6,
"maxExtent": [
227071.8572857892, 3901876.695336829,
772928.1427142108, 8942165.537905218
],
"mapOptions": {
"view": {
"resolutions": [
2187.6253656980857,
1093.8126828490429,
546.9063414245214,
273.4531707122607,
136.72658535613036,
68.36329267806518,
34.18164633903259,
17.090823169516295,
8.545411584758147,
4.272705792379074
]
}
},
"layers": [
……
However, you can see at following screenshot from a new map in mapstore missmatching scales with geoserver. This missmatching I think leads to problems due to the client making WMS requests (mapstore) that do not align with the grid of tiles that GeoWebCache has created.

I would be very grateful if anyone can help me with this problem or clarify me how it works.
Thanks a lot.
"scales": [
1:100,
1:200,
1:3000,
etc. search the github forum and mapstore groups i think you will find the answer.
https://groups.google.com/g/mapstore-users/c/J418lCt4mtQ/m/3_6CusdZCAAJ
--
You received this message because you are subscribed to the Google Groups "mapstore-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapstore-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/2f4eea79-fc0b-4568-91db-66bf37a56aaen%40googlegroups.com.
Sorry but I think I don't understand you. Your proposal about "scales" doesn't work (I've replaced 'resolutions' by 'scales' and filled with related scales ).
Besides, I've read your link and applied what Mauro Bartolomeoli says about
- scale = resolution * dpu where dpu = dpi * (100 / 2.54), where dpi = 96
and although at small scales (zoom out) works fine, but a bigger scales (zoom in, more details) appears again problems related to grid misalignment, as it showed in the following message:
400: Requested horizontal resolution: 2145.5411359375003 , best match: 2445.984905625 exceeds 10% threshold. Perhaps the client is configured with an incorrect set of scales (resolutions), or the DPI setting is off compared to the one in GWC ?



To view this discussion on the web visit https://groups.google.com/d/msgid/mapstore-users/5ba8f462-79bf-4cd9-ab9d-ba59b6e012ffn%40googlegroups.com.
Regards,
Stefano Bovio
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
==
Stefano Bovio
Digital Cartographer - UI/UX Designer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
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.