<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Dev,<br>
I know this is more an OGR question, but rather than signing up to
another list, I'm hoping someone here knows the answer.<br>
<br>
I want to create <u>a lot</u> of blank SHP files with schemas I
currently have in CSV files.<br>
<br>
(For me) the easiest way is to create a script that reads the CSV
files and generates empty (geometry wise) Mapinfo MID-MIF filesets.<br>
I then use ogr2ogr to batch convert these into empty shapefiles that
have the correct attribute schema.<br>
<br>
But!<br>
<br>
In the MIF file I can say "character 36", or Decimal 6,0 or Real.<br>
Can I get any reassurance that the resulting DBF file will contain
the 36 char length character field - If I look at the table in QGIS,
I do not know how wide the attribute field is.<br>
Likewise for integer and real data types I too need to nail down the
field widths.<br>
<br>
TIA,<br>
Zoltan<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Service
P.O. Box 7, Muizenberg 7950, South Africa.
Mobile: +27-83-6004028
Fax: +27-86-6115323 <a class="moz-txt-link-abbreviated" href="http://www.geograph.co.za">www.geograph.co.za</a>
===========================================</pre>
</body>
</html>