Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
aperi2007 opened this issue Aug 31, 2014 · 1 comment
Assignees
Milestone

Comments

@aperi2007
Copy link

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.

@rouault rouault self-assigned this Sep 30, 2014
rouault added a commit to rouault/mapserver that referenced this issue Oct 1, 2014
…pServer#4983)

- For pen, support 'p' (pattern), 'cap', 'j' (join) and 'dp' (perpendicular offset)
- For brush, support 'a' (angle), 's' (size), 'dx'='dy' (gap)
rouault added a commit to MapServer/msautotest_DEPRECATED that referenced this issue Oct 1, 2014
@rouault rouault added this to the 7.0 Release milestone Oct 1, 2014
rouault added a commit to MapServer/MapServer-documentation that referenced this issue Oct 3, 2014
@mapserver-bot
Copy link

This is an automated comment

This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.

Typically, issues fall in this state for one of the following reasons:

  • Hard, impossible or not enough information to reproduce
  • Missing test case
  • Lack of a champion with interest and/or funding to address the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants