

OUTDATED_TRANSFORMER - The transformer needs to be upgraded before proceeding. INVALID_GEOMETRY_ERROR - The geometry on the input feature is unsupported.PYPRT_ERROR - The ESRI 3rd party dependency PyPRT generated an error.



Any input Feature in a geographic coordinate system will be rejected by the transformer and will need to be reprojected to a projected coordinate system beforehand. The input geometry is expected to be in a projected coordinate system. The generated geometry model will be transformed to a z-Up orientation on output. As a result, the CityEngineModelGenerator will transform input geometry from an assumed z-Up orientation to y-Up before processing through the PyPRT module. The configuration JSON string will define the type as "string", but "buildingColor": is valid.ĬityEngine stores geometry internally in a y-Up orientation, which does not match the standard z-Up orientation of FME and other GIS applications. There could be a rule package that has a color attribute buildingColor that specifically requires a hex color string.It is important to understand the rule package you are using. The specifications of the CGA attribute values are defined individually in each rule package.The specified input must be within the “range” of 28 and 150. "input": 30 is incorrect and will be converted into a float at runtime and trigger a warning. The transformer will attempt to convert the value to the correct data type but it is recommended that you input the CGA attribute with the correct data type to avoid unexpected results.įor example, “input”: null should have the value "input": 30.0 to be applied correctly because of the “type: float”. The attribute values inserted into the JSON must be of that data type for the CGA attribute value to be applied to the resulting geometry output. When editing the configuration JSON string of CGA attributes, the data type (such as float, int, string) is STRICT. To edit these attributes for model generation, run the transformer with ‘Action’ as ‘Generate Configuration Template’ to generate a config JSON as an FME attribute which can be edited to insert these values. The rule package file can contain CGA attributes which can be specified for model generation.In another CityEngineModelGenerator, use the “Generate Model” action to apply the JSON attribute and. Edit the JSON attribute to change the building color and building height. Use the “Generate Configuration Template” action to generate a config JSON template attribute of the CGA attributes defined in an extrusion.
IMPORT RPK INTO WORKSPACE CITYENGINE LICENSE
Legal Disclaimer: It is free for non-commercial use, however, commercial use requires at least one commercial license of the latest Esri CityEngine version installed in the organization. Note: This transformer uses PyPRT, which is a Python Binding for the CityEngine SDK. The generated model is output as 3D geometry on the feature. The input geometry is provided as FME geometry on the input feature. The CityEngineModelGenerator uses CityEngine to apply rule packages to input geometry to produce textured 3D models. rpk file which can be used to customize the model generation process. rpk file and generate a config JSON attribute of the CGA attributes defined in the.
