[Gdal-dev] Numerical problems with geometries in MapInfo Files

Ari Jolma ari.jolma at tkk.fi
Tue Sep 27 13:51:00 EDT 2005


Hello,

I have geom.AddPoint and respective geom.GetX, geom.GetY method calls in 
my test code (swig/perl API). I make point, line and polygon geometries. 
I create the geometry, save it on disk, open it, and read it. Currently 
I'm testing only Shapefiles and MapInfo files. All is well with 
shapefles but with mapinfo files the returned values seem to differ from 
those saved often. For example a point (1,1) is returned as (0.99, 
1.005). What could be the reason for this, does anybody have any ideas?

Ari

-- 
Prof. Ari Jolma
Kartografia ja Geoinformatiikka / Cartography and Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma




More information about the Gdal-dev mailing list