[QGIS-trac] [Quantum GIS] #1432: Delimited text import: precision
loss (latlong)
Quantum GIS
qgis at qgis.org
Thu Nov 27 12:29:49 EST 2008
#1432: Delimited text import: precision loss (latlong)
---------------------------------------------------------+------------------
Reporter: neteler | Owner: nobody
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.0.0
Component: Plugins | Version: HEAD
Keywords: Delimited | Platform_version:
Platform: Mandriva | Must_fix: No
Status_info: 0 |
---------------------------------------------------------+------------------
I observe a severe precision loss when importing !LatLong CSV files:
{{{
#original CSV:
ID,LONG,LAT
BG1,10.367989875,45.873774277
BG2,10.368377488,45.903017929
BG3,10.368990013,45.907293667
...
# imported into QGIS, saved as SHP
shpdump traps_LL.shp
Shapefile Type: Point # of Shapes: 20
File Bounds: ( 10.341, 45.874,0,0)
to ( 10.903, 45.927,0,0)
...
Shape:18 (Point) nVertices=1, nParts=0
Bounds:( 10.369, 45.907, 0, 0)
to ( 10.369, 45.907, 0, 0)
( 10.369, 45.907, 0, 0)
...
}}}
Precision of 3-digits isn't sufficient in !LatLong, especially if my
original data were good.
Suggestions: either increase the precision during import/export (not sure
where it get's lost). Or add a "number of decimals" field to the user
frontend so that s/he may decide.
--
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1432>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list