[poppler] Extracting geolocation metadata from a GeoPDF file
Albert Astals Cid
aacid at kde.org
Tue Mar 30 13:40:03 PDT 2010
A Dimarts, 30 de març de 2010, Phil Endecott va escriure:
> Albert Astals Cid wrote:
> >> One aspect that I'm uncertain about is how to use the dict lookup
> >> method. My understanding was that it takes a pointer to an object as
> >> the second parameter and copies the retrieved object there, and also
> >> returns a pointer to same object on success, or returns NULL on
> >> failure. But this doesn't seem to be the case on failure. How am I
> >> supposed to use this?
> >
> > Check if the object is null (Object::isNull())
>
> Thanks Albert, that works.
>
> In the unlikely event that anyone else ever needs to extract the
> geolocation info from a GeoPDF (TerraGo format) and inject it into a
> TIFF to make a GeoTIFF, my code is at
> http://svn.chezphil.org/geopdf/trunk/ ; see e.g. the README for details.
>
>
> While looking at this I noted that these map PDFs have layers, which
> could be useful to me at some point in the future. I don't see any
> support for turning layers on and off in the poppler API. Am I missing
> something, or is this not (yet) supported?
With layers you mean OCG?
Albert
>
>
> Thanks, Phil.
>
>
>
>
>
>
>
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list