Changeset 268 for branches/branch-1.2/zoo-services/ogr/ogr2ogr
- Timestamp:
- Jul 16, 2011, 12:58:47 PM (13 years ago)
- Location:
- branches/branch-1.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1.2
-
branches/branch-1.2/zoo-services/ogr/ogr2ogr/cgi-env/Ogr2Ogr.zcfg
r48 r268 8 8 serviceProvider = ogr2ogr_service.zo 9 9 <MetaData> 10 Title = My Demo10 title = My Demo 11 11 </MetaData> 12 12 <DataInputs> -
branches/branch-1.2/zoo-services/ogr/ogr2ogr/service.c
r49 r268 95 95 const char *pszSQLStatement = NULL; 96 96 int eGType = -2; 97 double 97 double dfMaxSegmentLength = 0; 98 98 99 99 /* Check strict compilation and runtime library version as we use C++ API */ … … 178 178 } 179 179 180 tmpMap=NULL; 181 tmpMap=getMapFromMaps(inputs,"overwrite","value"); 182 if(tmpMap!=NULL){ 183 bOverwrite = TRUE; 184 } 185 180 /* if exist, overwrite the data with the same name */ 181 bOverwrite = TRUE; 182 186 183 tmpMap=NULL; 187 184 tmpMap=getMapFromMaps(inputs,"update","value"); … … 826 823 827 824 #ifdef ZOO_SERVICE 828 outputs=(maps*)malloc(sizeof(maps*));829 outputs->name="GeneratedFile";830 825 outputs->content=createMap("value",(char*)pszwebDestData); 831 addMapToMap(&outputs->content,createMap("dataType","string"));832 outputs->next=NULL;833 826 return SERVICE_SUCCEEDED; 834 827 #else
Note: See TracChangeset
for help on using the changeset viewer.