<div dir="auto"><div>Rodrigo,</div><div dir="auto">To load a png you need to replace TMSOptions with GDALOptions.<br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Mon, Jan 7, 2019, 12:21 PM Rodrigo Dias <<a href="mailto:rodrigo1406@gmail.com">rodrigo1406@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Following this example (<a href="http://docs.osgearth.org/en/latest/developer/maps.html#programmatic-map-creation" rel="noreferrer noreferrer" target="_blank">http://docs.osgearth.org/en/latest/developer/maps.html#programmatic-map-creation</a>), I'm trying to use a PNG instead of a link (like the example uses a TIFF for elevation). However, I got the following error:<br>
<br>
<br>
> [osgEarth]* Error in XML document: Error document empty. (row 0, col 0)<br>
> [osgEarth]* [TMS] Could not find root TileMap element<br>
> <br>
<br>
<br>
What should I do instead?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Rodrigo<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=75402#75402" rel="noreferrer noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=75402#75402</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank" rel="noreferrer">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div></div></div>