[postgis-users] WMS Renders Differently than GWC?
Darafei "Komяpa" Praliaskouski
me at komzpa.net
Sat Oct 13 00:50:19 PDT 2018
Hi,
I don't know what is GWC. This mailing list is about PostGIS.
This looks like the overlay does not do proper reprojection and instead
just takes proportion of latitude and longitude. You need to reproject all
the coordinates into underlay's projection before working with linear
proportions.
сб, 13 окт. 2018 г. в 2:07, Aaron Edwards <aedwards at b3insight.com>:
> We are showing US States using GWC.
>
>
>
> When the user selects a state, we show a “selected polygon” layer on top
> of it:
>
>
>
> https://b3insight.com/Content/Images/US.png
>
>
>
> As you can see from the image, the yellow Highlighted WMS layer is
> incorrectly rendering on top of the red GWC layer of states.
>
>
>
> Both are the same layer in Geoserver. The layer has two styles available:
> the thin red line and the thicker yellow line.
>
>
>
> We are rendering it once with plain GWC, and once as a WMS layer (with a
> filter on it to only show the selected state).
>
>
>
> Both the GWC and WMS layers are in Google Maps, which is requesting 256 x
> 256 tiles.
>
>
>
> BTW this only happens at lower zoom levels. As you zoom in, the two line
> up better until they completely overlap at about zoom level 7.
>
>
>
> Thanks in advance.
>
>
>
> Aaron
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users
--
Darafei Praliaskouski
Support me: http://patreon.com/komzpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20181013/6f3c5a40/attachment.html>
More information about the postgis-users
mailing list