Changeset 563 for trunk/thirds
- Timestamp:
- Feb 9, 2015, 4:48:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/thirds/otb2zcfg/otb2zcfg.cxx
r555 r563 78 78 std::cout << " mimeType = image/png" << std::endl; 79 79 std::cout << " </Supported>" << std::endl; 80 } 81 82 void printKmz(){ 83 std::cout << " <Default>" << std::endl; 84 std::cout << " mimeType = application/vnd.google-earth.kmz" << std::endl; 85 std::cout << " encoding = utf-8" << std::endl; 86 std::cout << " extension = kmz" << std::endl; 87 std::cout << " </Default>" << std::endl; 80 88 } 81 89 … … 362 370 if(descr.find(dtype4)!= std::string::npos || descr.find(dtype5)!= std::string::npos) 363 371 printVector(); 364 else 365 printUnknown(); 372 else{ 373 std::string dtype6("kmz"); 374 std::string dtype7("Kmz"); 375 if(descr.find(dtype6)!= std::string::npos || descr.find(dtype6)!= std::string::npos) 376 printKmz(); 377 else 378 printUnknown(); 379 } 366 380 } 367 381 }
Note: See TracChangeset
for help on using the changeset viewer.