Bug report #7064

"cross2" symbol should be exported in SLD as "x"

Added by Jonathan Moules almost 12 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:16149

Description

QGIS has a number of "marker line" symbol types. When i export these to SLD they become
<graphic><mark><wellknowntext> elements

However two of them appear to go against the spec for mark element types.
"rectangle" - the spec says this should be "square"
"cross2" - this should be "x"

The spec says other items can be created as desired, but as these two correlate with each other and are mandatory I figure they should probably be using the spec-defined names for consistency with other applications.

This applies to SLD 1.0 and 1.1.

History

#1 Updated by Giovanni Manghi almost 12 years ago

  • Status changed from Open to Feedback

is master affected?

#2 Updated by Jonathan Moules almost 12 years ago

Sorry. I've now tried at least five times to install QGIS-master and it always fails/doesn't work. I can only run pre-packaged stable builds. As such I can't test this in master.

#3 Updated by Giovanni Manghi almost 12 years ago

Jonathan Moules wrote:

Sorry. I've now tried at least five times to install QGIS-master and it always fails/doesn't work. I can only run pre-packaged stable builds. As such I can't test this in master.

here it is

http://gis-lab.info/programs/qgis/NextGIS-QGIS-5ed164a-29.01.2013.exe

#4 Updated by Jonathan Moules almost 12 years ago

This issue occurs identically in the linked 1.9

#5 Updated by Giovanni Manghi almost 12 years ago

  • Affected QGIS version changed from 1.8.0 to master

#6 Updated by Jonathan Moules almost 12 years ago

@Giovanni Manghi - thanks for the link btw.

#7 Updated by Giovanni Manghi about 10 years ago

  • Status changed from Feedback to Open

#8 Updated by Giovanni Manghi over 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#9 Updated by Andrea Aime about 7 years ago

  • Description updated (diff)

I've just tried, the square symbol is properly exported as square, but indeed "cross2" should be exported as "x" instead. I'll leave it open.

#10 Updated by Andrea Aime about 7 years ago

  • Subject changed from Two SLD style issues with <Mark> elements to "cross2" symbol should be exported in SLD as "x"

Updated the title to reflect the current situation

#11 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF