[Geoserver-devel] [JIRA] (GEOS-8733) Adding a geometry-based condition to a CSS rule causes linearization of CIRCULARSTRING

Fawzy Basyoni created an issue

GeoServer / BugGEOS-8733

Adding a geometry-based condition to a CSS rule causes linearization of CIRCULARSTRING

Issue Type:

BugBug

Assignee:

Unassigned

Attachments:

figure-1.png, figure-2.png, temp_table.sql

Created:

06/May/18 3:19 PM

Priority:

MediumMedium

Reporter:

Fawzy Basyoni

I’ve one CIRCULARSTRING in my layer. When I style that layer with the following CSS style I got a perfect ellipse, as shown in figure 1:
temp_table.sql
But if I add a rule, based on geometry dimension (such as the following one), I got bad shape, as shown in figure 2:
[dimension(geometry) <> 0]

{ stroke: #000000; }

I’ve also noticed that if I use the same style but in SLD format I got a perfect ellipse.

<?xml version="1.0" encoding="ISO-8859-1"?>



temp_sld

A teal generic style teal polygon 0 #000000

Here is a sample ellipse data if you want to test it your self, and I’ve also attached a dump of the table:
CIRCULARSTRING(25.5 26.9517967926059,25.6557529739215 26.9295998611529,25.7960927648805 26.8652060384337,25.9071800935463 26.7649816765675,25.9781433939001 26.6388146606802,26.0021409704621 26.4991166033321,25.9769892300519 26.3595845178871,25.9053125741098 26.2338520319581,25.7942251921645 26.1341647984092,25.6545987238651 26.0702055376065,25.5 26.048174597808,25.3454012761349 26.0702055376065,25.2057748078355 26.1341647984092,25.0946874258902 26.2338520319581,25.0230107699481 26.3595845178871,24.9978590295379 26.4991166033321,25.0218566060999 26.6388146606802,25.0928199064538 26.7649816765675,25.2039072351195 26.8652060384337,25.3442470260785 26.9295998611529,25.5 26.9517967926059)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100083-sha1:3a3582d)

Atlassian logo