georeference.org
Subscribe to this thread
Home - Scripting / All posts - OgcWmsDriver and styled areas
rb31 post(s)
#18-Jan-17 08:38

Hello,

I'm trying to use Manifold as OGC wms server (CreateOgcWmsDriver). On the client side I use openlayers 3.

I have a problem with the styled areas.

I attached two images:

correct.jpg -> as it should be (as it is in Manifold)

wrong.jpg -> as it is in browser (tiled images)

Does anyone has the same problem? Is there a solution?

Thank you

Ruggero

Attachments:
correct.jpg
wrong.jpg

rb31 post(s)
#23-Jan-17 13:36

Hello,

I'm going on with some tests.

What I've done now is to use OpenLayers asking for a single image, insted of tiles.

In this case, of course, we have no problem with styled areas, but we have a very strange problem: when you zoom in and out, the layers shift. but this happens only if the browser window is "big" (I do not know exactly how big, It seems over 1300 px) and the more it is big the more you have a big offset ... very strange, also to explain...

I did two videos:

1) https://www.youtube.com/watch?v=yeedyvf91js&feature=em-share_video_user

Here openlayers asks for tiles -> problem with styled areas

2) https://www.youtube.com/watch?v=_jWhTf_js8I&feature=em-share_video_user

Here openlayers asks for single image -> problem with shifting layers

Hope you have some helpfull suggestions.

Thanks in advange

Ruggero

Manifold User Community Use Agreement Copyright (C) 2007-2011 Manifold Software Limited. All rights reserved.