<div dir="ltr"><div class="gmail_extra"><div class="im" style="font-family:arial,sans-serif;font-size:13px">On Tue, May 13, 2014 at 7:59 AM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>><br>> In light of this, it may be better to use an xml or textual representation<br>
> and embed it inside an XMP block, which is supported for many formats[1].<br>> Also it would allow for easier human-reading.<br><br></div>Yes, that's one possibility. Which comes back to GMLJP2 unless there are other<br>
standards...<br><br>I'd want to build on something that is a "real" standard or a de-facto<br>standard, but not reinvent everything from scratch.<br></blockquote><div><br></div></div><div style="font-family:arial,sans-serif;font-size:13px">
While embedding a GeoTIFF inside a JPEG file is straightforward for GDAL, I would think that doesn't apply to a random implementation (eg. libjpeg) who wants to support geo-information. But then I learn that EXIF (from what I can tell) is implemented as a TIFF file stored within the JPEG, so any JPEG libraries that support EXIF already support TIFF tags.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">In terms of "be native", EXIF seems like the right approach to do this, with a "Geo" IFD alongside "Image" or "GPSInfo", maybe using exactly the same set of tags as GeoTIFF. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">GMLJP2 is arguably more comprehensive and has the benefit of (in theory) improving on GeoTIFF, but I haven't actually used it in depth, and Jukka already mentioned missing GCP support.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">2c, didn't really get to a conclusion though</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Rob :)</div></div></div>