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

Version 1.3.0.4 (NuGet) fails parsing any WKTs #15

Closed
Izhido opened this issue Jan 19, 2017 · 3 comments
Closed

Version 1.3.0.4 (NuGet) fails parsing any WKTs #15

Izhido opened this issue Jan 19, 2017 · 3 comments
Assignees

Comments

@Izhido
Copy link

Izhido commented Jan 19, 2017

Version 1.3.0.4 of the library is plainly refusing to parse any WKT strings that are passed to CoordinateSystemWKTReader.Parse(), and thus, to CoordinateSystemFactory.CreateFromWKT().

EDIT: The issue was found in the PCL version of the library. Other versions were not tested.

A snapshot of the project's sources taken today (Jan 19, 2017), however, works just fine. The problem seems to be the specific .dlls published as part of the 1.3.0.4 NuGet.

The exception that is thrown when one attempts to parse a WKT is the following:
(NOTE: 'P' corresponds to the first letter of whatever WKT string it's being sent to the function).

System.ArgumentException was unhandled by user code
  HResult=-2147024809
  Message='P' is not recognized.
  Source=ProjNET
  StackTrace:
       at ProjNet.Converters.WellKnownText.CoordinateSystemWktReader.Parse(String wkt)
       at ProjNet.CoordinateSystems.CoordinateSystemFactory.CreateFromWkt(String WKT)
       at <yada, yada, yada, >
  InnerException: 
@DGuidi
Copy link
Contributor

DGuidi commented Jan 20, 2017

have you tried with 1.3.2-pre1?

@DGuidi DGuidi self-assigned this Jan 20, 2017
@FObermaier
Copy link
Member

This is no longer valid

@Izhido
Copy link
Author

Izhido commented Feb 16, 2017

Confirmed. Whoever fixed the NuGet, thank you!

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

No branches or pull requests

3 participants