- Timestamp:
- Oct 11, 2012, 11:45:00 AM (12 years ago)
- Location:
- trunk/zoo-project/zoo-services/gdal/profile
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/gdal/profile/Makefile
r284 r371 4 4 CC=gcc 5 5 6 cgi-env/ gdal_profile_service.zo: service.c7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/ gdal_profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS}6 cgi-env/profile_service.zo: service.c 7 g++ -DZOO_SERVICE ${CFLAGS} -shared -fpic -o cgi-env/profile_service.zo ./service.c ${GDAL_LIBS} ${MACOS_LD_FLAGS} 8 8 9 9 clean: -
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.