Showing results for 
Search instead for 
Do you mean 

GeoMedia 3D Import 3D Objects utility and CityGML color assignments

by Technical Evangelist on ‎08-24-2016 05:38 AM (673 Views)

Question

How are CityGML model colors assigned when using the import 3D models utility?

Answer

There is a file included with GeoMedia 3D called " Import3DObjectsCityGMLDefaultColors.csv". 

 

It is located by default in the C:\Program Files (x86)\Hexagon\GeoMedia 3D\Program folder after installation of GeoMedia 3D. 

 

By changing particular values in this file, the user can change colors of different features in an imported CityGML model. 

 

The contents of the default color file are as follows:

 

Feature                           Color

AuxiliaryTrafficArea         0.333333333333333,0.333333333333333,0.333333333333333

Building                           0.76078431372549,0.76078431372549,0.76078431372549

BuildingFurniture             0.584313725490196,0.486274509803922,0.356862745098039

BuildingInstallation          0.827450980392157,0.686274509803922,0.501960784313725

BuildingPart                     0.494117647058824,0.549019607843137,0.486274509803922

CeilingSurface                 0.133333333333333,0.156862745098039,0.180392156862745

CityFurniture                   0.984313725490196,0.247058823529412,0.247058823529412

ClosureSurface               0.72156862745098,0.545098039215686,0.192156862745098

Door                               0.0,0.0,0.886274509803922

FloorSurface                  0.803921568627451,0.803921568627451,0.713725490196078

GenericCityObject          0.686274509803922,0.286274509803922,0.286274509803922

GroundSurface              0.647058823529412,0.231372549019608,0.0470588235294118

IntBuildingInstallation     0.866666666666667,0.717647058823529,0.525490196078431

InteriorWallSurface         0.741176470588235,0.741176470588235,0.741176470588235

LandUse                        0.117647058823529,0.423529411764706,0.0

PlantCover                     0.725490196078431,0.482352941176471,0.00784313725490196

Railway                          0.537254901960784,0.266666666666667,0.0705882352941176

Road                              0.458823529411765,0.458823529411765,0.458823529411765

RoofSurface                  0.588235294117647,0.0,0.0

Room                             0.968627450980392,0.874509803921569,0.647058823529412

Square                          1.0,1.0,1.0

Track                             0.180392156862745,0.180392156862745,0.180392156862745

TrafficArea                    0.282352941176471,0.282352941176471,0.282352941176471

WallSurface                   0.6,0.6,0.6

WaterGroundSurface    0.235294117647059,0.811764705882353,0.894117647058824

WaterSurface                0.0,0.0,0.941176470588235

Window                         0.6,0.850980392156863,0.850980392156863

 

The numbers for each feature type are floating point RGB values ranging from 0 to 1.

 

This workflow will not work with KML model files.

Contributors