-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Upgrade mapfile parser #33
Conversation
Never mind. I just noticed the |
Thanks @jansule! Even though it is still DRAFT, any advice is greatly appreciated! |
Sorry for gatecrashing this ticket, but it might be something of interest. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @mholthausen! Just some minor nitpicks you might want to address.
I would also love to get some feedback from @b4l, @ger-benjamin or @faselm.
Also might want to switch to a more advanced parsing step leveraging a proper grammar/schema than the current mediocre line based one. |
Thanks for the reviews! When all uncertainties are solved, the changes can be merged. |
That's a good consideration! A discussion should be continued on this in the Issues or GitHub Discussions. These changes exceed the requirements of this PR. |
I am +1 on merging, and we should probably make dedicated issues out of:
|
Hey @mholthausen, @geographika & @b4l maybe you want to join the monthly meeting today? Than we can have a chat about this. Drop us an email at reports@geostyler.org, then you'll get invited |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
With this PR
DATA
block of a mapfile is removed, because it is irrelevant for the style and the content could lead to misinterpretation of the whole document,STYLE
blocks,MAXSCALEDENOM
/MINSCALEDENOM
value at the particular class will always be used, even if a different value is present at the layer,visibility
property set ifOUTLINECOLOR
is presenthaloColor
andhaloWidth
fromOUTLINECOLOR
andOUTLINEWIDTH
forLABEL
SYMBOLS
with the linked filename if SYMBOLS are defined within the Mapfile and not framed by aSYMBOLSET
lineObject
as a block which led to a wrong amount of blocks related toEND
keysI request a final review of the changes made here by this PR