-
Notifications
You must be signed in to change notification settings - Fork 82
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
Change names of some "literal" production because they are not stricly literals. #790
Conversation
…emporalInstance", "spatialLiteral" to "spatialInstance" and "arrayLiteral" to "arrayInstance".
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.
I have updated a few more places. Please check and merge, if my edits make sense.
Meeting 2023-02-27: @pvretano will review and merge today. |
The only thing here that is not consistent with the conceptual model for Styles & Symbology is the Arrays and Instances are two fundamental types of expressions in it. Could we simply call them From 7.1.4. Expressions: For the spatial instances, they are essentially regular instances of a base Geometry class in that model. Somewhat related to all this, is recent consideration in extending CQL2 for the Styles & Symbology encoding, and harmonizing WKT (which uses tuples without commas), INTERVAL (with start end separated by comma), the UML model that e.g., says that a POINT has a |
Just so I understand ... @jerstlouis you want me to rename I reviewed 21.1.6 Expression and my initial comment is that people agreed to this? It seem like you are allowing multiple ways to encode the same thing which I think is a bad idea. Also, it seems you are trying to shoehorn CQL2 into CSS which, again, seems a little awkward. |
That is correct.
Not in vanilla CQL2, at least not 1.0 (unless everyone think it's a good idea to make this change already?).
With Styles and Symbology, as in #705, the idea is that from the grammar perspective, it doesn't matter instance of what.
That is a current topic of discussion in Styles & Symbology. We want to use and extend CQL2, but this is the logical conclusion of maintaining consistency with WKT, INTERVAL, and arbitrary instance expressions. Note that this is somewhat related to the complex object support e.g., for Search/Queries.
Note that this is Cascading Cartographic Symbology Style Sheets and not Web-CSS. I am accutely aware of the multiple ways to encode the same thing which may seem like a bad idea, but so far this is the best we could come up with :) Ideas and suggestions welcome. P.S. another place where the CSS-like syntax
|
Change `arrayInstance` to `array`.
Change `arrayInstance` to `array`.
Change `arrayInstance` to `array`.
Change `arrayInstance` to `array`.
Change `arrayInstance` to `array`.
Change `arrayInstance` to `array`.
@cportele I changed |
@pvretano - I reviewed the changes, looks good to me. |
Change "instantLiteral" to "instantInstance", "temporalLiteral" to "temporalInstance", "spatialLiteral" to "spatialInstance" and "arrayLiteral" to "arrayInstance".