ravenAtSafe / fme-CityJSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CityJSON Format Plugin for FME

CityJSON

CityJSON Format Plugin for FME

This repository contains the source code of the CityJSON Format Plugin for FME.

Description

The CityJSON Format Plugin for FME ...

CityJSON is a format for encoding a subset of the CityGML data model (version 2.0.0) using JavaScript Object Notation (JSON). A CityJSON file represents both the geometry and the semantics of the city features of a given area, eg buildings, roads, rivers, the vegetation, and the city furniture.

FME is the all-in-one tool for data integration and productivity.

Requirements

FME 2018.0 or later installed on either

  • Linux
  • Mac
  • Windows

Limitation

We are working toward full CityJSON support. We have tested ...

How to build

Linux

Mac

Windows

Set an environment variable FME_DEV_HOME to be the path to the directory where FME is installed. For example, C:\Program Files\FME In Visual Studio (2017 or later), open fmecityjson.sln. Select either the x64 or x86 configuration, depending on if you want to build 64-bit or 32-bit versions, respectively. Your choice of 64-bit or 32-bit must match the version of FME you are running. The solution contains a Debug and Release configuration. When a project is built in the Debug configuration, debug information can be retrieved when running project. Build the plug-ins by selecting Build > Build Solution from the menu. To verify the build was successful, select View > Error List from the menu. In the Error List pane, check that there are 0 errors.

Installation Instructions

There are several steps necessary to extend FME to include this CityJSON Format support.

  • The Plugin: **Build the CityJSON plugin, using the instructions above. This will produce a file fmecityjson.so file on Linux, fmecityjson.so file on Mac, or a fmecityjson.dll file on Windows. Copy this file into the plugins subdirectory where FME is installed.
  • The Format Information File : ** Copy the file cityjson.db into the formatsinfo subdirectory where FME is installed. (This file will supply the Reader and Writer Gallery with information about the format, including whether to display the format in the gallery, if it supports coordinate systems, and the default file extensions. For more information on the parameters in format files, see the file formats.txt in the directory where FME is installed.)
  • The Metafile: ** Copy the file cityjson.fmf into the metafile subdirectory where FME is installed. (The metafile contains directives that inform FME of the details about a format such as default parameters, settings, schemas and so on.)
  • Restart FME

Licenses

About

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 96.9%Language:C 2.6%Language:Python 0.5%