Skip to content

In the BRUSH option of OGR FeatureStyle, support the options "a","s", "dx", "dy", "l" #4983

Closed
@aperi2007

Description

@aperi2007

Try-ing this sample:

  SYMBOL
    NAME "rettangolo-1"
    TYPE vector
    FILLED false
    POINTS
      0 10
      0 0
      4 0
      4 10
      0 10
    END # POINTS
  END # SYMBOL

LAYER
    NAME "test_poly"
    TYPE POLYGON
    STATUS OFF
    FEATURE
    WKT "POLYGON((631215.0 4857617.0, 631250.0 4857617.0, 631650.0 4857817.0,  631215.0  4857817.0, 631215.0 4857617.0 ))"
    ITEMS 'BRUSH(fc:#00FF00,bc:808080,a:45.0,id:"rettangolo-1")'
    END #FEATURE
    METADATA
      "wms_title" "Test2"
      "ows_enable_request" "*"
    END
    PROJECTION
      "+init=epsg:25832 +towgs84=0,0,0,0,0,0,0"
    END
    PROCESSING "ITEMS=FIELD1"
    LABELCACHE off
    MAXSCALEDENOM 6000000
    MINSCALEDENOM 1
    STYLEITEM 'FIELD1'
    CLASS
    END #CLASS
END 

The result is always a rectangle filled vertical oriented,.
Mapserver is supporting the Angle orientation of symbols (ANGLE) and Spacing between symbols (INITIALGAP, GAP). But it dont recognize them in the FeatureStyle settings of STYLEITEM when use the BRUSH with attributes "a" (angle), "s" (size) and "dx","dy" (gap between symbols).

All these option should be feasible to support to help the STYLEITEM usability of MapServer.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions