[Mapserver-users] create and display point obj on the fly
Lowell Filak
lfilak at medinaco.org
Wed Feb 5 12:21:32 PST 2003
As an option, Mapscript contains an msDBFCreate(dbf_filename); function.
Lowell F.
The following message was sent by Lionel Bargeot <l.bargeot at educagri.fr> on 03 Feb 2003 23:19:42 +0100.
> Le lun 03/02/2003 à 23:07, Lionel Bargeot a écrit :
> > I simply create manualy (touch unix command) an empty dbf file with the
> > right name and then it works. So my question is : have I to create
> > manually an empty dbf file or is there somewhere an option I missed that
> > provides a mean to create a dbf file with shp and shx ?
>
> So I simply added those lines
>
> $dbfname="../data/$shapetempname".".dbf";
> $dbf=fopen("$dbfname", "w");
> fclose($dbf);
>
> and it works fine
>
> But if you have a better way to do it, I'm ok to try
>
> Lionel
>
> --
> AgrogeomaTIC
> CNERTA-ENESAD, 4 rue champs-prevois, batiment grand-champs, 21000 Dijon
> 03.80.77.28.49
> http://stb.educagri.fr
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list