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

Unhandled exception. FileHelpers.ConvertException: Error Converting '"GNR 279/2"' to type: 'Int32'. #2

Closed
feisti opened this issue Jun 10, 2024 · 2 comments

Comments

@feisti
Copy link

feisti commented Jun 10, 2024

Hi Wilhelm,

Unfortunately your script is not working anymore with the latest releases.
https://www.bev.gv.at/Services/Downloads/Produktbezogene-Downloads/Unentgeltliche-Produkte/Adressregister.html

output crs, EPSG:31287 reading street names reading orte reading gemeinden reading addresses Unhandled exception. FileHelpers.ConvertException: Error Converting '"GNR 279/2"' to type: 'Int32'. at FileHelpers.ConvertHelpers.Int32Converter.ParseString(String from) at FileHelpers.ConvertHelpers.CultureConverter.StringToField(String from) at FileHelpers.FieldBase.AssignFromString(ExtractedInfo fieldString, LineInfo line) at FileHelpers.FieldBase.ExtractFieldValue(LineInfo line) at FileHelpers.RecordOperations.StringToRecord(Object record, LineInfo line, Object[] values) at FileHelpers.FileHelperAsyncEngine1.ReadNextRecord()
at FileHelpers.FileHelperAsyncEngine1.ReadNext() at FileHelpers.FileHelperAsyncEngine1.AsyncEnumerator.MoveNext()
at convert_bev_address_data.Program.Main(String[] args)`

BR Christoph

@wilhelmberg
Copy link
Collaborator

Hi @feisti
There a new attribute in ADRESSEN.CSV (HNR_ADR_ZUSAMMEN), which caused the error.
Should be fixed:
https://github.com/BergWerkGIS/convert-bev-address-data/releases

@feisti
Copy link
Author

feisti commented Jun 11, 2024

Hi @wilhelmberg yes it's working fine.
Thanks for the fast fix.

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

2 participants