Opened 13 years ago
Closed 13 years ago
#3668 closed enhancement (fixed)
Use CPLAtofM in ArcInfo ASCII Grid importer (patch included)
Reported by: | mkraemer | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
The ArcInfo ASCII Grid importer should use CPLAtofM to be able to handle locale dependent ASCII files. The attached patch can be used to patch frmts/aaigrid/aaigriddataset.cpp
Attachments (1)
Change History (5)
by , 13 years ago
Attachment: | aaigriddataset.patch added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Are AAIGRID files with comma as decimal separator really valid ? Does ArcInfo like them ?
comment:3 by , 13 years ago
Actually, I used the ArcInfo Toolbox command "Raster to ASCII" to generate such a file. So, the answer is yes.
By the way: the file has been created on a system with a German locale where "," is the decimal separator.
comment:4 by , 13 years ago
Component: | default → GDAL_Raster |
---|---|
Milestone: | → 1.8.0 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I just added a better heuristic to the patch, so the importer recognizes float values with commas automatically.