The VC Publisher is an out-of-the-box platform for creating, maintaining, and publishing 3D Digital Twins as Cesium based websites. Recent developments on the platform have expanded its REST API allowing more access from external tools including FME. When combining the VC Publisher REST API and the FME Server REST API the capabilities for custom workflows and automation are significantly increased.
This presentation demonstrates how you can use the VC Publisher to run a custom job on FME Server and get the results back – we also show how FME Server automations can be used to control the VC Publisher via its new REST API to update a published map using new data.
8. The
Peak
of
Data
Integration
20
23
The OpenAPI Opens the door to the power of
FME
● On demand conversions (E.g., client upload)
● Chain VC Publisher tasks to automate custom workflows
● Keep data and published application evergreen
● Automate repetitive preprocessing steps
● Rapidly Integrate custom workflows
10. The
Peak
of
Data
Integration
20
23
Connecting to the VC Publisher
● REST API at <HOST>/apidoc/v1/
● 120+ Different REST Calls available
● Too much work to "fully" support in FME
with CustomTransformers.
● 23+ Different Custom Transformers
● Authentication, Upload, Download, Run
Task, etc
11. The
Peak
of
Data
Integration
20
23
Import From OpenAPI
Spec (FME2023.1+)
● Allows for importing call
directly from the spec doc
● Reduces chances of typos
● Easily compare with other
tools (e.g., Postman)
● UI Could provide more info:
○ Descriptions,
○ Group/Sort by Tags
13. The
Peak
of
Data
Integration
20
23
● Set up web connection if you
can
● Requires a good knowledge of
the authentication process
● Worth putting in the effort
especially if working in a shared
environment
Connecting to the VC
Publisher - Authentication
20. The
Peak
of
Data
Integration
20
23
Open API
● OpenAPI-Specification (OAS) defines a standardised, language
independent interface to HTTP-APIs, giving human-beings as well
as computers the capability to explore and understand a service
without access to source code, documentation or network checks.
If correctly set up a client is able to understand and interact with a
service by a minimum of implementation logic
● An OpenAPI-Definition can be used by tools for documentation
creation, for API representation, tools for source code creation, test
creation and many more.
23. The
Peak
of
Data
Integration
20
23
The flow of data
FME FLOW
{REST
API}
{REST
API}
{REST
API}
{REST
API}
Upload to data
store
& register in
catalog
download &
transform
Upload
to
data
store
Find in catalog
Load from data
store
view data
{REST
API}
{REST
API}
{REST
API}
{REST
API}
Upload to data
store
& register in
catalog
transfor
m
Store in data
store
register in
catalog
Find in catalog
Load from data
store
view data
29. The
Peak
of
Data
Integration
20
23
We presented
● Some powerful possibilities offered by OpenAPI's
● How easy it is to leverage the VC Publisher OpenAPI
from FME Flow
● With minimum effort in coding
○ Most annoying stuff is UI / UX ☺
30. The
Peak
of
Data
Integration
20
23
Resources
● VCS Website: https://vc.systems/en
● VC Publisher: https://vc.systems/en/products/vc-publisher/
● VC View: https://vc.systems/en/products/vc-view/
● VC Infra: https://vc.systems/en/products/vc-infra/
● GitHub: https://github.com/virtualcitySYSTEMS