You are here: New Formats for 2017+ > SAP HANA Spatial Reader/Writer

SAP HANA Spatial Reader/Writer

Licensing options for this format begin with FME Professional Edition.

The SAP HANA Spatial reader and writer modules provide FME with access to attribute data held in SAP HANA spatial database tables.

FME provides read and write access via SAP's JDBC driver, which must be installed separately.

Downloading and Installing the JDBC Driver

Note: For best results, use the JDBC driver that matches the version of the server being communicated with.

The JDBC driver is available in the SAP HANA Client Libraries package, and is usually named ngdbc.jar.

This driver is downloadable from https://support.sap.com/swdc as part of the SAP HANA Client package. It is also bundled with most SAP HANA distributions.

Mac

Place ngdbc.jar in one of the locations that are added to the Java CLASSPATH when the Java Virtual Machine is loaded. These locations are:

  • /Users/<username>/Library/Application Support/FME/Plugins/Java
  • /Library/FME/<FME_version>/plugins

Linux

Place ngdbc.jar in one of the locations that are added to the Java CLASSPATH when the Java Virtual Machine is loaded. These locations are:

Windows

Place ngdbc.jar in one of the locations that are added to the Java CLASSPATH when the Java Virtual Machine is loaded. These locations are:

  • <User_Documents>/FME/Plugins/Java
  • <FMEServerSystemShare>/Resources/engine/Plugins/Java (see FME Server Web UI Resources)
  • <FME_install_directory>/plugins

Usage Notes

The performance of this format is dependent on the amount of memory allocated to the Java Virtual Machine (JVM). The following environment variables allow you to specify memory available to Java Plugins:

  • FME_JVM_MIN_HEAP_SIZE: Initial heap size for initializing the JVM. Default value is 1024K.
  • FME_JVM_MAX_HEAP_SIZE: Maximum heap size for initializing JVM. Default value is 16384K.

If unset, the JVM applies the default values. If set, the values must be multiples of 1024K (for example, 4M and 64M, or 4096K and 32768K).

Note: To pass additional parameters used by FME to the Java Virtual Machine, use the JAVA_TOOL_OPTIONS environment variable.