-
Notifications
You must be signed in to change notification settings - Fork 83
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
Add proper handling of EXTENSION tag #111
base: develop
Are you sure you want to change the base?
Conversation
refers to #106
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 work done @gktval.
/// Adds a parameter to the parameter list | ||
/// </summary> | ||
/// <param name="name">The projection parameter name</param> | ||
/// <param name="value">The value</param> |
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.
Use Projection.Parameters.Add(new ProjectionParameter(name, value));
and remove this method
/// <summary> | ||
/// Adds a parameter to the parameter list | ||
/// </summary> | ||
internal void AddParameter(string name, double value) |
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.
This is not needed to get the solution to compile. The parameters need to be present when the class is constructed anyway, so adding parameters afterwards will not do any good.
var projection = new Projection(projectionName, paramList, projectionName, authority, authorityCode, string.Empty, string.Empty, string.Empty); | ||
return projection; | ||
} | ||
|
||
private static void ReadParamater(WktStreamTokenizer tokenizer, Projection projection) |
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.
Typo ReadParameter
, argument projection
could be of type ICollection<ProjectionParameter>
Removed the AddParameter method. Added async search methods to the database.
Thanks, I remember having problems with AppCompat on that. What you did works. I also made those fixes in #108. There should be a new, third commit to that branch. I am not sure what the conflict is with ProjNet.Test.csproj in that commit. |
Kudos to @gktval
refers to #106