Changeset 32 for trunk/zoo-services/ogr
- Timestamp:
- Sep 27, 2010, 10:09:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-services/ogr/base-vect-ops/service.c
r26 r32 246 246 OGRGeometryH geometry,res; 247 247 map* tmp=getMapFromMaps(inputs,"InputPolygon","value"); 248 if(tmp==NULL) 248 if(tmp==NULL){ 249 setMapInMaps(conf,"lenv","message","Unable to fetch input geometry"); 249 250 return SERVICE_FAILED; 251 }else 252 if(strlen(tmp->value)<=0){ 253 setMapInMaps(conf,"lenv","message","Unable to fetch input geometry"); 254 return SERVICE_FAILED; 255 } 250 256 map* tmp1=getMapFromMaps(inputs,"InputPolygon","mimeType"); 251 257 if(strncmp(tmp1->value,"application/json",16)==0)
Note: See TracChangeset
for help on using the changeset viewer.