-
Notifications
You must be signed in to change notification settings - Fork 25
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
NetTopologySuite.IO.ShapeFile with Xamarin.Mac - ArgumentNullException #34
Comments
Hi TomQv, Thanks in advance |
Hi, no, unfortunate not yet. I mean, I downloaded the source, commented out DetectEncoding() because I don't have text in that specific project so its working with me. But of course this is just a workaround if you don't have text in db. |
Perfect, i haven text also, so, do you download the project from here https://github.com/NetTopologySuite/NetTopologySuite??? because i go to do the same. A lot of thanks for your pretty fast response TomQv. |
I only downloaded https://github.com/NetTopologySuite/NetTopologySuite.IO.ShapeFile These are my changes only in file DbaseEncodingUtility:
|
Thanks a lot Tom, i done the same, but my bug was another, in the method GetLdidFromEncoding; i added a try catch and is done:
Thanks. |
👍 |
Hi @TomQv, do you need more support on this issue? If so, provide further details, please. |
Im trying to read shp-files in a Xamarin.Mac project with NetTopologySuite.IO.Shapefile 2.0.0.
Project is targeting Xamarin.Mac Full NET 4.8.
Calling _
reader = new ShapefileDataReader(file, _geometryFactory, System.Text.Encoding.Default);
results in ArgumentNullException, see stacktrace below.With a plain .NET Core 3.0 project, everything is fine.
Any ideas?
The text was updated successfully, but these errors were encountered: