Changeset 252 for trunk/zoo-services/ogr
- Timestamp:
- Jun 29, 2011, 9:52:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-services/ogr/ogr2ogr/service.c
r49 r252 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.