Question

FME Server 2020.0: How to develop a tool that can be plugged into Cityworks map viewer to display an AutoCAD file format (*.dwg)?


Badge

Hi All,

How to develop a tool that can be plugged into Cityworks map viewer to display an AutoCAD file format (*.dwg)?

For example, we managed to develop a tool and plug it into Geocortex viewer so that end user can upload an AutoCAD file format and get it displayed into the viewer as shown in the screenshots below. The FME desktop and server capacity (creating workbench and publishing it) is used to develop the tool with particular configuration at the level of Windows (operating system) and Geocortex.

Currently, we are trying to develop the same tool (displaying AutoCAD file format) and plug it into Cityworks map viewer.

Is this something we can perform with the capacity of FME Desktop\\Server or an API Javascript code as it has been successfully completed for Geocortex viewer?

 

Thanks In advance

Lubna

 

 


3 replies

Badge

@takashi do you have any idea regarding this

 

Thanks in advance

Lubna

 

 

Badge +7

Hi @lubna_najeh,

 

 

Thanks for your question.

 

 

From an FME Platform perspective this should be possible with a workspace authored in FME Desktop that reads/writes your AutoCAD data (perhaps writing out as ESRIJSON or GeoJSON), and is published to FME Server's Data Streaming service, which automatically streams the output from the workspace back to the client, ie the Cityworks map viewer. With this setup, your front end could call the workspace on FME Server using either 1) a direct URL to the workspace (simplest), 2) the FME Server REST API (simpler), or 3) the FME Server Javascript API (least simple).

 

 

Some useful resources will be the FME Server Developer Playground: https://playground.fmeserver.com/getting-started/, the FME Server REST API documentation: https://docs.safe.com/fme/html/FME_REST/apidoc/v3/index.html#!/transformations, and likely this article on Data Streaming: https://knowledge.safe.com/articles/32838/streaming-geojson-with-fme-server-2016.html. In the Developer Playground you can find examples of how to develop simple forms for uploading datasets to be sent to FME Server for processing.

 

 

I hope this helps. Let me know if you have further questions as I'd be happy to help you find the solution.

 

 

Best,

 

 

Nathan
Badge +5

Has anyone already developed a tool that can be plugged in a map viewer that is able to display shp, gdb, xlsx and other format using the capacity of FME desktop\\Server?

Reply