Jump to content

Transform CRS For Imported Shapefile By EPSG Code Data Function for Spotfire® 1.0.0

1 Screenshot


Spotfire data function that converts an imported shapefile.


Data function that converts an imported shapefile from one coordinate reference system to another, using EPSG codes to specify the reference systems. Written in R code and requires the R packages sp , rgdal , and wkb . Note that the environment variable GDAL_DATA must be set to the location of the gdal folder in the rgdal folder in the library folder where TERR is installed. EPSG codes can be looked up from the .prj files.


Installing the data function

Follow the online guide available here to register a data function in Spotfire.


Configuring the data function

Each data function may require inputs from the Spotfire analysis and will return outputs to the Spotfire analysis. For each data function, these need to be configured once the data function is registered. To learn about how to configure data functions in Spotfire please view this video:

For more information on Spotfire visit the Spotfire training page.


Data function library

There exists a large number of data functions covering various features. Feel free to review what is available on the Data Function Library. For geospatial functionalities, we recommend to review this article.

Initial Release (version 1.0.0)

Published: January 2023

Initial release includes:

  • Data function
  • Documentation
  • License information

  • Create New...