<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
It is a bug I'm reporting.....<br>
<br>
I am being supplied with multiple SHP files, which I am trying to
convert to a single TAB as fast and simple as possible, so bringing a
3rd format into the picture really doesn't help. The DBF still has too
many digits for OGR to process them correctly.<br>
<br>
Regards<br>
Uffe Kousgaard<br>
<br>
Norman Vine wrote:
<blockquote cite="mid:6A8E7A07-1F92-49C3-8A20-7B1429518B87@cape.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html ">
  <br>
  <div>
  <div>On Jan 4, 2013, at 5:37 AM, Uffe Kousgaard <<a
 moz-do-not-send="true" href="mailto:uffe@routeware.dk">uffe@routeware.dk</a>>
wrote:</div>
  <br class="Apple-interchange-newline">
  <blockquote type="cite">When DBF files has numeric fields with values
> 2GB, processing fails and all values come out as -2147483648.<br>
    <br>
My current work-around is manually changing the fields from Numeric to
Char (changing the header of the DBF), but it is really an ugly hack
and spaces for padding are wrong (numeric fields are right-aligned,
while char-fields are left-aligned internally).<br>
    <br>
It would be nice if at least int64 was used for integers in OGR, rather
than int32. Large integers are typically used as identifiers in
databases such as TomTom, OSM etc.<br>
    <br>
Has this been reported before?<br>
  </blockquote>
  <div><br>
  </div>
This is a well known feature<br>
  <div><br>
  </div>
  <div>see</div>
  <div><a moz-do-not-send="true"
 href="http://www.clicketyclick.dk/databases/xbase/format/data_types.html">http://www.clicketyclick.dk/databases/xbase/format/data_types.html</a></div>
  <div><br>
  </div>
  <div>solution </div>
  <div>use something like spatialite instead of shape files </div>
  </div>
  <div><br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
</body>
</html>