[Mapserver-users] mapinfo

Sylvain Beorchia sbeorchia at gi-lemans.fr
Wed Jun 16 05:59:26 EDT 2004


Hi,
In fact i'm using MITAB to manage my mapinfo layer in Mapserver. that's why
i posted this message.
And you're right. It's not possible to update the file. So, i have to create
a new one and transfert all the features plus the new ones.
Thank u.
Sylvain

----- Original Message ----- 
From: "Stéphane MOREL" <stephane.morel at vanoise.com>
To: "Sylvain Beorchia" <sbeorchia at gi-lemans.fr>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, June 16, 2004 11:50 AM
Subject: Re: [Mapserver-users] mapinfo


> Sylvain Beorchia a écrit :
>
> > Hi list,
> >
> > Anyone has already used the MITAB library to create object in a
> > mapinfo layer ?
> > I try to use it, but i'm not sure it is possible to open an existing
> > mapinfo file to add some objects.
> > It seems to be only possible to create some new ones and add objects...
> > Anyone can confirm, or better, tell me that it's possible to update
> > the file ?
> > Thanks.
> > Sylvain.
>
>
> I use mitab too and I can't manage to update an existing file. It's
> clearly mentionned in the documentation file
>
> mitab_handle MITAB_STDCALL mitab_c_open (  const char *
> /pszFilename/ )
>
>
>
> Open an existing .TAB or .MIF dataset for read access.
>
> The function automatically detects the format (.MIF or .TAB) of the
> specified file.
>
> _*Note that it is not possible to open a file for update (i.e.
> read+write) with the current version of the library.*_
>
> *Parameters: *
>     /pszFilename/  the complete filename (including extension .TAB or
>     .MIF) of the file to open.
>
> *Returns: *
>     a valid mitab_handle, or NULL if the file could not be opened.
>
>  Stephane
> PS :  I guess it's not the right newsgroup for discussing round mitab




More information about the mapserver-users mailing list