3 questions in one. Our end goal is serving vector and raster data from GeoServer (GeoWebCash) in Leaflet quickly - in other words we are trying to improve performance.
*Tile Size * We are deciding if our workflow should use the tile size of 512 OR 256. GeoSolutions raster processing tutorial (here <https://geoserver.geo-solutions.it/educational/en/enterprise/raster.html>) is using 512 but 256 is the GeoServer and Leaflet L.TileLayer <https://docs.eegeo.com/eegeo.js/v0.1.780/docs/leaflet/L.TileLayer/>default. Does anyone have insight on this? Is the recommendation different for vector vs raster data? *Projection Settings * We are also investigating performance impacts of projection settings. Leaflet displays everything in 3857, we are currently storing all our vector data in PG in 4269 and the raster data we have been using the datasets local UTM reference such as 26912. If anyone knows what the best projection or combination is. Or if the native SRS doesn't matter but we should set the Declared SRS to 3857 so that there is as little translation work for GeoServer when the request is called? - [26912](https://spatialreference.org/ref/epsg/26912/) - NAD 83 UTM Zone 12 - [4269](https://spatialreference.org/ref/epsg/4269/) - NAD 83 - PG Default - [3857](https://spatialreference.org/ref/sr-org/7483/) - leaflet default - [4326](https://spatialreference.org/ref/epsg/4326/) - WGS 83 *OWS vs GWC* And lastly we are currently calling the layer through https:// .../ows?&service=WMS&request=GetMap&layers=layer_name&styles=&format=image%2Fpng&transparent=true&version=1.1.1&tiled=true&info_format=text%2Fhtml&identify=false&width=256&height=256&srs=EPSG%3A3857&bbox=... But according to this post <https://gis.stackexchange.com/questions/261721/how-to-implement-tile-caching-a-wms-vector-layer-and-use-that-cached-tiles-with> to get the GeoWebCashed version we might need to call it through something more like this: http://example.com/geoserver/*gwc*/service/wms Any advice on this is very much appreciated, Vera
_______________________________________________ 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
