Skip to content
Snippets Groups Projects
Commit d8cdce75 authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

BUG check if the regex modification give a correct xml file in ossimPleaidesModel

parent 2ec87e20
Branches
Tags
No related merge requests found
......@@ -231,6 +231,10 @@ namespace ossimplugins
DIMxmlFileTmp = DIMxmlFileTmp.file().replaceStrThatMatch("^IMG_", "DIM_");
DIMxmlFileTmp = DIMxmlFileTmp.replaceStrThatMatch("_R[0-9]+C[0-9]+\\.(JP2|TIF)$", ".XML");
// Check if it is an XML extension
if( DIMxmlFileTmp.ext() != "xml")
return false;
RPCxmlFileTmp = DIMxmlFileTmp.file().replaceStrThatMatch("^DIM_", "RPC_");
DIMxmlFile = DIMxmlFile.dirCat(DIMxmlFileTmp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment