[Geoserver-devel] [JIRA] (GEOS-7171) Geoserver WMS Circle SLD style return incomplete Circle with higher zoom levels

Ahmed GIS created an issue

GeoServer / BugGEOS-7171

Geoserver WMS Circle SLD style return incomplete Circle with higher zoom levels

Issue Type:

BugBug

Affects Versions:

2.6.4

Assignee:

Unassigned

Components:

WMS

Created:

25/Aug/15 10:09 AM

Environment:

I’m Using Windows 7 Ultimate 64 bit, OpenGeo Suite v2.5

Labels:

WMS Tile Cache SLD Cirlce Graphic Render

Priority:

MediumMedium

Reporter:

Ahmed GIS

I created a SLD style for a points layer and create 2 rules:

Rule to draw a graphics icon from png file.
Rule to draw a circle with radius(size) from db table using (OGC Attribute) value in meters.
I use the following code to load the layer in OL3:

var wmsSource = new ol.source.TileWMS ({
    url: 'http://localhost:8080/geoserver/wms',
    params: {'TILED': true, VERSION:'1.3.0',
       'LAYERS': 'myds:antenna',
    },
    serverType: 'geoserver'
});

new ol.layer.Tile({
         id:'Message',
         title: 'Antennas',
         visible: true ,
         source:wmsSource
     });

The layer loaded correctly on the map in some lower zoom levels (0-10) if i zoomed in to more levels down (11-17) the circle shape is trimmed by the tiles like the attached image.

WMS Graphics Circle Error

The strange thing when i set the 2nd rule in the SLD that to get a fixed radius value like (2000) meters - Not from db table -, it draw a complete circle in all zoom levels, but i need to set a different radius for each circle.

I tried many solutions to avoid this error by changing the metatiling factors (4x4, 5x5, …, 100x100)and change the Gutter to be 100px, it solve the problem but affect the loading speed badly also i tried to set the WMS layer params:

{‘TILED’: false}

to disable tiles but nothing changed also, same problem.

Here’s my question with images in http://gis.stackexchange.com/:
My StackExchange Question

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-02-247#70102-sha1:09808d3)

Atlassian logo