Skip to content

Commit

Permalink
#43 fix getFeatureInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jul 9, 2021
1 parent b1302a1 commit 43850d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/WMSLayer.R
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,13 @@ WMSLayer <- R6Class("WMSLayer",
saveXML(obj, destfile)
}else if(destext == "json"){
write(obj, destfile)
# }else if(destext == "xml"){
# write(obj, destfile)
}
}else if(destext == "xml"){
saveXML(obj, destfile)
}

ftFeatures <- NULL
if(destext == "xml"){
xml<- xmlParse(obj)
xml<- xmlParse(file = destfile)
rootname <- xmlName(xmlChildren(xml)[[1]])
if(rootname == "FeatureInfoResponse"){
xml_list <- xmlToList(xml)
Expand Down

0 comments on commit 43850d9

Please sign in to comment.