Hi, I'm working in GIS field, and trying to read format of .shp file programmatically. I know the format of .shp file and I can read header and all structures and infromation relating to them. But the problem is that I got very large values for the coordinates. for testing I developed a .shp file in AutocadMap that has only single polyline with coordinates X1 = 5, Y1 = 5 X2 = 10, Y2 = 10 When I tried to read it thru my program I got the values as follow : X1 = 4.6173155179616 Y1 = 4.6173155179616 X2 = 4.6281911758897 Y2 = 4.6281911758897 I can read Integer values exactly but I have doubt that the formula for reading Double value might be wrong. It is as follow : Double Little Endian : Result = byte7 * power(256,7) + byte6 * power(256,6) + byte5 * power(256,5) + byte4 * power(256,4) + byte3 * power(256,3) + byte2 * power(256,2) + byte1 * power(256,1) + byte0 * power(256,0) Double Big Endian : Result = byte0 * power(256,0) + byte1 * power(256,1) + byte2 * power(256,2) + byte3 * power(256,3) + byte4 * power(256,4) + byte5 * power(256,5) + byte6 * power(256,6) + byte7 * power(256,7) I face the same problems through out the file for any coordinates. I'll highly obligned for your help. Thank you, Shailesh Ganatra