Please download the Transform CRS For Points By Proj.4 String. Data Function for Spotfire from the exchange.
Overview
This Data Function converts columns of geographic coordinates from one reference system to another, using PROJ.4 strings to specify the reference systems. The download contains a data function you can import into your own .dxp.
Details about the data function
Programing Language: TERR
Required Packages: sp, rgdal
Description: Converts a column of polygons from one coordinate reference system to another, using PROJ.4 strings to specify the reference systems.
Inputs:
-
Xln - column of geographic coordinates of longitude (x) values
-
Yln - column of geographic coordinates of latitude (y) values
-
Proj4ln - The PROJ.4 string identifying the reference system of the input coordinates.
-
Proj4Out - The PROJ.4 string identifying the desired reference system of the output coordinates.
Outputs:
-
XOut - column of geographic coordinates of longitude (x) values, in the new reference system
-
YOut - column of geographic coordinates of latitude (y) values, in the new reference system
Reference Info
- For an overall overview of the GeoAnalytics or Location Analytics capabilities of Spotfire please also review this page.
- Useful Geospatial Data Functions for Spotfire
Recommended Comments
There are no comments to display.