Changeset 371 for trunk/zoo-project/zoo-services/gdal/profile/service.c
- Timestamp:
- Oct 11, 2012, 11:45:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/gdal/profile/service.c
r348 r371 40 40 #endif 41 41 42 #ifdef WIN32 43 __declspec(dllexport) 44 #endif 42 45 #ifdef ZOO_SERVICE 43 46 int GdalExtractProfile(maps*& conf,maps*& inputs,maps*& outputs) … … 82 85 adfMinMax[1] = GDALGetRasterMaximum( hBand, &bGotMax ); 83 86 if( ! (bGotMin && bGotMax) ) 84 GDALComputeRasterMinMax( hBand, TRUE, adfMinMax ); 85 87 GDALComputeRasterMinMax( hBand, TRUE, adfMinMax ); 86 88 #ifdef ZOO_SERVICE 87 89 tmp1=getMapFromMaps(inputs,"Geometry","value"); … … 90 92 OGRGeometryH geometry=OGR_G_CreateGeometryFromJson(argv[2]); 91 93 #endif 94 92 95 OGR_G_Segmentize(geometry, adfGeoTransform[1]); 93 96 int nbGeom=OGR_G_GetPointCount(geometry);
Note: See TracChangeset
for help on using the changeset viewer.