-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[GEOT-6494] MBStyle extension #2743
Conversation
@jodygarnett I see this is just a review, which is fine. Could you make sure all PRs against the module are merged before moving it? I have one out, one in the making. |
modules/unsupported/mbstyle/src/main/java/org/geotools/mbstyle/layer/CircleMBLayer.java
Outdated
Show resolved
Hide resolved
@aaime wrote:
Yes I would like to clean up what I can here, and then do a separate PR to move. |
fcf2ea7
to
bd649fb
Compare
@aaime do you have any additional PRs against this module for me to review? |
Yes there are two, I pinged you in both already, the background one and the
exponential math one
Il ven 31 gen 2020, 22:53 Jody Garnett <notifications@github.com> ha
scritto:
… @jodygarnett <https://github.com/jodygarnett> I see this is just a
review, which is fine. Could you make sure all PRs against the module are
merged before moving it? I have one out, one in the making.
@aaime <https://github.com/aaime> do you have any additional PRs against
this module for me to review?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2743?email_source=notifications&email_token=AACPOOOGVFRWPLKWNIPYO63RASMXDA5CNFSM4KF5ZQU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKQD6BI#issuecomment-580927237>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPOOPRUZ4XMT4VGVF7E7DRASMXDANCNFSM4KF5ZQUQ>
.
|
@jodygarnett I don't have time to work on the alpha issue, please go ahead with the review and move, I'll resume later. |
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
b7b6eaa
to
a6b1fc8
Compare
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Color | ||
Quoting `MapBox Style Specification <https://www.mapbox.com/mapbox-gl-js/style-spec/>`__ : | ||
|
||
``Color`` |
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.
@tbarsballe this section has some duplication with spec/types.rst
, do you know any background to untangle?
Reading the content, it looks like this was an earlier summary of the specification
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.
spec/*.rst
is a direct copy of the MapBox spect with GeoTools supported version added.
This index page tries to provide a more concise overview / quickstart, and pulls some of the more top-level information from the spec. It could maybe do with some rewording, but should still keep all that info in it.
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.
okay I removed the duplication, and made this focus on the example snippets
The integration tests show an unrelated failure in GeoServer GeoWebCache (GWC) Module - unable to delete a folder on disk. |
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
* Code contributed by government members is often contributed as public domain | ||
* To facilitate adopting of the GeoTools library the example code used in the | ||
user guide is also public domain | ||
|
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.
Moved this to the respective headings.
<module>property</module> | ||
<module>shapefile</module> | ||
<module>svg</module> | ||
<module>coverage-multidim</module> | ||
<module>geopkg</module> |
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.
So this change kicked geopkg out of the build? Ideally a module promotion should just do that, promote the module, all the other improvements should be in a different commit (if not different PR), because they are not related, and are easy to get lost in the movement of so many files (github reports 200+ files changed in this PR). Thankfully I spotted this one at the source...
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.
Thanks for the catch Andrea, I appreciate it.
I initially tried moving this to plugin, but it did not fit (since it defines new API).
@@ -1577,6 +1577,13 @@ | |||
<artifactId>jt-shadedrelief</artifactId> | |||
<version>${jaiext.version}</version> | |||
</dependency> | |||
|
|||
<!-- Third-party --> | |||
<dependency> |
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.
Ah, so mbstyle is using json-simple to parse JSON? The library is completely dead, has not seen releases since 2012.
Not holding it as a blocker for the module, but wondering, is there any plan to switch to something supported? (it would not be the first dependency having this issue mind, I'm really just asking).
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 am not aware why this was chosen, just annoyed it was not in the dependency management section.
Didn't we talk this out with GeoMesa folks to select a decent JSON library?
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.
There was a discussion on dependencies for gt-main, and we ended up using jackson for that. But mbstyles is older, and used the same library as the semi-defunct gt-geojson (which I hope is gonna be replaced by the gt-jacksondatastore one day or the other...)
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Travis is failing on documentation |
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
This was approved by PMC:
|
There is no need to backport at this time. |
Reviewing mbstyle codebase, cleaning up reports and checking code coverage.
Related:
Working on:
Checklist
For all pull requests:
The following are required only for core and extension modules (they are welcomed, but not required, for unsupported modules):
Submitting the PR does not require you to check all items, but by the time it gets merged, they should be either satisfied or inapplicable.