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

WKTParser extension support #3244

Merged
merged 4 commits into from
May 21, 2020

Conversation

pomadchin
Copy link
Member

Overview

Checklist

Closes #3241

@pomadchin pomadchin changed the title WKTParser extension extension Support WKTParser extension extension support May 15, 2020
@pomadchin pomadchin force-pushed the feature/wkt-extension-proj4 branch from a5a3b18 to 3e29f41 Compare May 15, 2020 17:11
@pomadchin pomadchin force-pushed the feature/wkt-extension-proj4 branch from 3e29f41 to c7181ea Compare May 15, 2020 17:14
@pomadchin pomadchin changed the title WKTParser extension extension support WKTParser extension support May 16, 2020
}

case class ExtensionProj4(value: String) extends Extension {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still wondering was it a good idea to make it a part of the parsing DSL or not.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you describe why or why not? I think I'm lacking some project context to know more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@pomadchin pomadchin May 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also wondering, mb there is a better name for Extention that is just anything and not Proj4?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Including as part of the DSL seems fine, its what we do for all the other things we need to parse, so that feels consistent at least.

IDK about better names. All the other parsers match the names being parsed out, like Parser[GeocCS] looks for GEOCCS[]. So what's here is consistent with the current naming convention. Kinda annoying that its such a generic word that could be confused in other contexts, but it seems pretty well isolated here at first glance, so 🤷

@CloudNiner CloudNiner self-requested a review May 20, 2020 19:34
@CloudNiner CloudNiner self-assigned this May 20, 2020
Copy link
Contributor

@CloudNiner CloudNiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core functionality looks ok, I just posed a few questions in order to better orient myself for this change.

@pomadchin pomadchin force-pushed the feature/wkt-extension-proj4 branch from 40f11e9 to f5efae9 Compare May 20, 2020 23:52
Copy link
Contributor

@CloudNiner CloudNiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@pomadchin pomadchin merged commit 225cb9d into locationtech:master May 21, 2020
@pomadchin pomadchin deleted the feature/wkt-extension-proj4 branch May 21, 2020 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WKT Proj4 Extension support
2 participants