Hi,

The reason I think you having this problem is that you do not have a =
delimiter specified and so when reading the file there is no clear break =
between fileds/columns..
The mif should look like this:

Version 300
Charset "WindowsHebrew"
Delimiter ","
CoordSys Earth Projection 1,104
Columns 2
Name CHAR (20)
ID CHAR (10)


The mif file should then look like this:
"PORTSMOUTH", "PM001"
"PORTSMOUTH", "PM002"

For some reason my messages to the list are invaded by =3D and =3D30 and =
=3D20 on their way through cyberspace. I've sent a message directly to =
you due to the latter.

Laurence Seeff
Points Business Mapping Ltd.
22 Tuval St., Ramat Gan, 52522, Israel
=20
Tel:  +972-3-6126216
Fax: +972-3-6126323
Email: [EMAIL PROTECTED]
Web: www.points.co.il
  ----- Original Message -----=20
  From: Mark Cooter=20
  To: '[EMAIL PROTECTED]'=20
  Sent: Tuesday, November 27, 2001 4:34 PM
  Subject: MI-L FW: Problem when writing MIF/MID files



  Hi,
  Am producing some MIF/MID files in an application and all is fine =
until I=20
  specify more than 1 column in the header of the MIF file.  As soon as =
I=20
  increment it past 1 the file cannot be read anymore.
  The file looks like this:

  VERSION 300
  Charset "WindowsLatin1"
  COORDSYS Earth Projection 1,104
  COLUMNS 2
  Name CHAR (20)
  ID CHAR (10)

  DATA

  PLINE
  2
  2.083333 51.484167
  2.500000 51.450000
  PEN (1,2,16711935)
  PLINE
  2
  2.500000 51.450000
  2.500000 51.305556
  PEN (1,2,16711935)

  and the MID file is as follows:

  PORTSMOUTH PM001
  PORTSMOUTH PM002

  It is fine so long as the column number is 1.  Any ideas as this is=20
  baffling me?

  Mark C.



  =
_______________________________________________________________________
  List hosting provided by Directions Magazine | www.directionsmag.com |
  To unsubscribe, send e-mail to [EMAIL PROTECTED] and
  put "unsubscribe MapInfo-L" in the message body.



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to