Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCObject::getProjectionCoordinateSystemInfos

Chapter 06.9 / 07Manual version v0.6.4English

Gets the projection coordinate system information of the LCC model.

Includes the EPSG projection coordinate system code and the origin point's projection coordinates.

Version Requirement

SDK v0.4.0+

Engine Support

CesiumJS

API

LCCObject::getProjectionCoordinateSystemInfos(): ProjectionCoordinateSystemInfos

Parameters

None

Return Value

PropertyTypeDescription
epsgnumberProjection coordinate system EPSG code. 0 or 1 indicates no projection information.
offset[number, number, number]Origin point projection coordinates.

Usage Example

const pcsInfos = lccObject.getProjectionCoordinateSystemInfos();
console.log('PCS infos: ', pcsInfos);
// pcsInfos = {
//     epsg: 32650,
//     offset: [x, y, z]
// }

Notes

  • This method must be called after the success callback of LCCRender.load() has been triggered.
  • LCCObject::prj2Ecef()
  • LCCObject::ecef2Prj()

This chapter is from the official XGRIDS user manual. Official source (opens in a new tab) · Updated:

XGRIDS Türkiye

We're With You During Setup and in the Field

Atlıhan Harita provides training and technical support for device setup, firmware updates, software use, and field applications. Send us your question and our specialist will get back to you.

+90 216 546 0804