17.05.2014 Views

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EPSG. EPSG is a collection of thousands of coordinate systems which are referenced<br />

via numeric codes. EPSG is named after the defunct European Petroleum Survey Group and<br />

now maintained by the International Association of Oil and Gas Producers (OGP).<br />

EPSG reference codes point to one of the coordinate systems in the EPSG database.<br />

The full EPSG database can be downloaded from the following location:<br />

www.epsg.org<br />

Well-known text (WKT). The WKT (Well-Known Text) system is descriptive and consists<br />

of a textual specification of all relevant parameters of a coordinate system. WKT is specified<br />

in the document OpenGIS® Implementation Specification: Coordinate Transformation<br />

Services, which has been published as Document 01-009 by the Open Geospatial Consortium<br />

(OGC).It is available at the following location:<br />

www.opengeospatial.org/standards/ct<br />

WKT has also been standardized in ISO 19125-1. Although both WKT and EPSG can be<br />

used in Acrobat (and are supported in <strong>PDFlib</strong>), Acrobat does not implement all possible<br />

EPSG codes. In particular, EPSG codes for geographic coordinate systems don’t seem to<br />

be supported in Acrobat. In this case the use of WKT is recommended. The following<br />

Web site delivers the WKT corresponding to a particular EPSG code:<br />

www.spatialreference.org/ref/epsg<br />

3.7.3 Coordinate System Examples<br />

Examples for geographic coordinate systems. The WGS84 (World Geodetic System)<br />

geographic coordinate system is the basis for GPS and many applications (e.g. Open-<br />

StreetMap). It can be expressed as follows in the worldsystem suboption of the georeference<br />

option:<br />

worldsystem={type=geographic wkt={<br />

GEOGCS["WGS 84",<br />

DATUM["WGS_1984", SPHEROID["WGS 84", 6378137, 298.257223563]],<br />

PRIMEM["Greenwich", 0],<br />

UNIT["degree", 0.01745329251994328]]<br />

}}<br />

The ETRS (European Terrestrial Reference System) geographic coordinate system is almost<br />

identical to WGS84. It can be specified as follows:<br />

worldsystem={type=geographic wkt={<br />

GEOGCS["ETRS_1989",<br />

DATUM["ETRS_1989", SPHEROID["GRS_1980", 6378137.0, 298.257222101]],<br />

PRIMEM["Greenwich", 0.0],<br />

UNIT["Degree", 0.0174532925199433]]<br />

}}<br />

Note EPSG codes for the WGS84 and ETRS systems are not shown here because Acrobat doesn’t seem<br />

to support EPSG codes for geographic coordinate systems, but only for projected coordinate<br />

systems (see below).<br />

94 Chapter 3: Creating PDF Documents (Edition for <strong>COM</strong>, .<strong>NET</strong>, and REALbasic)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!