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

Comments

Projects
None yet
3 participants
@aperi2007

aperi2007 commented Aug 31, 2014

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

OGR style: support more options for Pen and Brush (mapserver#4982, ma…
…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

@mapserver-bot

This comment has been minimized.

Show comment
Hide comment
@mapserver-bot

mapserver-bot Feb 23, 2016

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

mapserver-bot commented Feb 23, 2016

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