Hi Adam,
Thanks as always for your prompt responses and interest in solving others 
problems.

So, after poking around a bit more I a leaning towards this not actually 
being a QGIS issue.  I have found that the issue is directly related to the 
"gutter" attribute of the WMS layer we are using.  When I use the 
OpenLayers3 code to bring up a tile WMS in Arches we had been adding a 
gutter, which is a buffer around the tiles so that items near the edges of 
the tiles don't get cut off.  In the layers I show in the images the gutter 
is set to 32.  If I remove the gutter completely I don't have the offset at 
all.

So it is possible the issues isn't with QGIS at all is actually an 
OpenLayers3 issues, or possibly a combination OpensLayers/Arches issue.

I am going to try and load Geoserver and serve up the same layers (with and 
without gutters) to see if I can repeat the artifact, that would tell me 
whether it is a QGIS or something higher up.

Once again it is weird that it is only showing up on certain computers and 
the mobile devices, which is a little frustrating.  Can't imagine how that 
is possible.

I would be interested in hearing if anyone else out there has the time to 
try and load some tile WMS layers to their copies of Arches with and 
without the gutter attribute.  There may not be a difference on the 
computer you are using but we have seen a consistent difference on mobile 
devices.

Once I get done investigating a little more I will post again, under a new 
thread.

Thanks again.

Andy

On Monday, January 25, 2016 at 9:40:28 AM UTC-8, Adam Cox wrote:
>
> Hi Andy, yes, that is a very bizarre issue, and sorry I don't actually 
> have an answer for you.  I have been curious about using QGIS Server, so 
> maybe this is a downside...
>
> You mentioned GeoServer, and I just thought I'd say that I've really come 
> to like that application.  It has a pretty good interface (through a 
> browser), especially when you get the hang of it. GS can serve postgis 
> data, so you could load the shapefile into your arches PostGIS database, 
> and have GeoServer serve it from there.  At the same time, you could edit 
> it with QGIS, which supports postgis layers.
>
> So, not at all an answer, just a possible alternative.  I'm very 
> interested to hear what you are able to find out...
>
> On Fri, Jan 22, 2016 at 11:21 AM, Andy Graham <[email protected] 
> <javascript:>> wrote:
>
>> Is anyone out there using QGIS Server to provide WMS overlays to their 
>> Arches instance?  We have set this up and found it to be very easy to use.  
>> However, just recently I notice some very strange behavior that I can not 
>> figure out and doesn't make sense.
>>
>> We loaded resources via a shapefile into our instance which were line 
>> segments along a shoreline.  We then used the same shapefile to create an 
>> overlay in QGIS which we sent to our instance as a WMS.  In theory the 
>> overlay should show up right on top of the resources.  And this 
>> happens.....on 3 out of 5 of the computers we have looked at the instance 
>> on.  On two of the computers there is an offset between the resource and 
>> the overlay.  This is consistent between browsers too, if there is an 
>> offset on a computer, it shows up on any browser used.  If there is 
>> alignment on the computer it shows up in different browsers.  Additionally, 
>> there is a significant offset on mobile devices, we haven't found a mobile 
>> device yet that shows alignment.  The 3 cpus that show alignment are 
>> running Win 7, 8 and 10.  The ones that show offset are both 7.
>>
>> I have attached some frame grabs showing the issues.
>>
>> This really doesn't make sense to me as to why there would be difference 
>> between computers.
>>
>> As a test I used the same shapefile to create an overlay in Mapbox.  This 
>> shows alignment on both of the computers that showed an offset with QGIS, 
>> and the Mapbox layer shows alignment on at least one mobile device (haven't 
>> had a chance to test another one).
>>
>> Anyone have any suggestions as to why this would be the case?
>>
>> Obviously one option is to drop QGIS and use Mapbox, however we probably 
>> won't be able to do this as we would like to be able to serve up these 
>> layers as WMS to other companies mapping applications, and I don't think we 
>> can do that with Mapbox unless we share our key.  I have avoided Geoserver 
>> up to this point as QGIS was so easy, however, I may have to give this a 
>> shot.
>>
>>
>> <https://lh3.googleusercontent.com/-KGDxuzKw_Q0/VqJkrqMZ9sI/AAAAAAAAFgA/GsGdxEqCBic/s1600/QGIS%2Boffset.jpg>
>>
>> -- 
>> -- To post, send email to [email protected] <javascript:>. To 
>> unsubscribe, send email to [email protected] <javascript:>. 
>> For more information, visit 
>> https://groups.google.com/d/forum/archesproject?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Arches Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to