Write xml file OGC WMS Service compliant with MAtlab

2 views (last 30 days)
Hi all. I'm working with the OGC WMS Service and need to write an xml readable by some gdal function like gdal info and gdal_translate. I have some xml example like the following:
Trying to open the two xml files with gdalinfo, the second give the error: "Your xml file not recognised as a supported file format."
Without the first line: "<?version="1.0" encoding="utf-8"?>" the xml became readable.
Can someone explain how write an xml such the first?
Thanks a lot for your help
Lorenzo

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!