hajkmap / Hajk

A modern, full-featured OpenLayers based map viewer and editor
MIT License
123 stars 46 forks source link

WMS point style not render right with wrong coordinate system set on layer #354

Open FredrikEkstrom79 opened 4 years ago

FredrikEkstrom79 commented 4 years ago

If you miss to set the right coordinate sytem for a layer the default is EPSG:3006. When you viewing the layer in a map with diffrent coordsys, for say EPSG:3008 the style is very little (if not using single tile, single tile works fine). image image

Setting the coordsys to the right value makes the style to render like it should. image image

jacobwod commented 4 years ago

Has anyone else noticed this behavior?

perosoderstrom commented 4 years ago

I have the same problem.

jacobwod commented 4 years ago

We'll need to dig deeper into this.

I'll try to sum up, with a couple of questions and answers, please help out with missing answers and/or details on your setup.

  1. Q: Does this happen for both WMS 1.1.1 and 1.3.0? A: -
  2. Q: What version of GeoServer are being used? A: Halmstad has 2.16.0 at time of writing.
  3. Q: Single tile or tiled? A: Only when using tiled layers, single tile works fine.
  4. Q: What about GWC, is the layer cached? A: -
perosoderstrom commented 4 years ago
  1. A: WMS 1.1.1 SingleTile true and false and WMS 1.3.0 SingleTile true behaves as expected: ok. WMS 1.3.0 SingleTile false show smaller symbols at the initial scale (1:50 000), BUT if you zoom in to scales equal to or larger than 1:10 000 the symbols displays as expected.

  2. A: Geoserver 2.14.2 (at kungsbacka.se)

  3. A: see 1A

  4. A: The layer is not a GWC layer.