Changeset 790 for trunk/zoo-project/zoo-kernel/service_internal_saga.c
- Timestamp:
- Dec 19, 2016, 6:01:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal_saga.c
r760 r790 690 690 tmpName[strlen(fext)+(strlen(gfile->value)+strlen(tmpSubName)-4)]=0; 691 691 692 maps* louts=(maps*)malloc(MAPS_SIZE); 693 louts->name=zStrdup(tinOut[i]); 692 maps* louts=createMaps(tinOut[i]); 694 693 louts->content=createMap("mimeType","UNKOWN"); 695 louts->next=NULL;696 694 697 695 addToMap(arg,tinOut[i],tmpName); … … 741 739 addToMap(arg,"GRIDS",""); 742 740 743 maps* louts=(maps*)malloc(MAPS_SIZE); 744 louts->name=zStrdup("GRIDS"); 741 maps* louts=createMaps("GRIDS"); 745 742 louts->content=createMap("mimeType","UNKOWN"); 746 louts->next=NULL;747 743 748 744 sagaExecuteCmd(conf,"io_gdal","0",arg,&louts); … … 786 782 addToMap(arg,"FILES",v->value); 787 783 788 maps* louts=(maps*)malloc(MAPS_SIZE); 789 louts->name=zStrdup("SHAPES"); 784 maps* louts=createMaps("SHAPES"); 790 785 louts->content=createMap("mimeType","UNKOWN"); 791 louts->next=NULL;792 786 793 787 sagaExecuteCmd(conf,"io_gdal","3",arg,&louts); … … 832 826 if(v!=NULL) 833 827 addToMap(arg,"SHAPES",v->value); 834 maps* louts=(maps*)malloc(MAPS_SIZE); 835 louts->name=zStrdup("TIN"); 828 maps* louts=createMaps("TIN"); 836 829 louts->content=createMap("mimeType","UNKOWN"); 837 louts->next=NULL;838 830 sagaExecuteCmd(conf,"tin_tools","2",arg,&louts); 839 831 map* tmp=getMapFromMaps(louts,"TIN","generated_file"); … … 887 879 888 880 // Create the output maps 889 maps* louts=(maps*)malloc(MAPS_SIZE); 890 louts->name=zStrdup("TABLE"); 881 maps* louts=createMaps("TABLE"); 891 882 louts->content=createMap("mimeType","UNKOWN"); 892 louts->next=NULL;893 883 894 884 // Execute the saga command … … 940 930 941 931 // Create the output maps 942 maps* louts=(maps*)malloc(MAPS_SIZE); 943 louts->name=zStrdup("POINTS"); 932 maps* louts=createMaps("POINTS"); 944 933 louts->content=createMap("mimeType","UNKOWN"); 945 louts->next=NULL;946 934 947 935 // Execute the saga command
Note: See TracChangeset
for help on using the changeset viewer.