Please enable JavaScript to view this site.

Version:

Navigation: Parameterization for Integration > XML/XSL Processing > VI XSL API

Coordinate Transformation functions

Prev Top Next More

NodeList transformCoordinates(String restEndPoint, String x, String y, String inSR, String outSR, String transformation, String transformForward) throws Exception

Description

Transforms a point into another coordinate system.

Parameter

Value

restEndPoint

Name of the endpoint that references the feature service.

x

The X-coordinate of the point.

y

The Y-coordinate of the point.

inSR

Code of the source system.

outSR

Code of the target system.

transformation

Code of the transformation.

transformFormward

Direction used in the transformation.

Return value

The returned value is a NodeList with the transformed coordinates.

Example:

<xsl:variable name="TRCOORD" select="utiapi:transformCoordinates('11.57','48.08','4326','31467','1673')" />
 
<coord>
  <x><xsl:value-of select="$TRCOORD[1]" /></x>
  <y><xsl:value-of select="$TRCOORD[2]" /></y>
</coord>  

© 2024 VertiGIS GmbH. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 2.0 (fa3b2a93)