Start a new topic

CdbDB::Initialize method

Original Post by: Tiltan Sun Jun 29 13:14:00 2014


In the method documentation i see the following

/// @param iEnhancements An array of filenames representing CDB Enhancements; use 0 if none are provided.

/// @param iEnhancementCount The number of CDB Enhancements.

When i pass a file name to the method, Taken from terra vista, with the following dataset


<DATASETDIR code="906" topdir="Tiles" dir="906_GSIntegratedModelGeometry"/>

<DATASET code="906" type="3D">

<ENCODING name="Directory" Lat="true" Lon="true" Dataset="true" Subset="false" SubsetIdx="false" LOD="true" URef="true" RRef="false" FACC="false" FSC="false" MODL="false" MipMap="false" Texture="false" Filename="false" EntityType="false" Format=""/>

<ENCODING name="Filename" Lat="true" Lon="true" Dataset="true" Subset="true" SubsetIdx="true" LOD="true" URef="true" RRef="true" FACC="false" FSC="false" MODL="false" MipMap="false" Texture="false" Filename="false" EntityType="false" Format=".flt"/>

</DATASET>

<DATASETDIR code="907" topdir="GTModel" dir="907_GTIntegratedModelTexture"/>

<DATASET code="907" type="Raster">

<ENCODING name="Directory" Lat="false" Lon="false" Dataset="true" Subset="false" SubsetIdx="false" LOD="false" URef="false" RRef="false" FACC="false" FSC="false" MODL="false" MipMap="false" Texture="true" Filename="false" EntityType="false" Format=""/>

<ENCODING name="Filename" Lat="false" Lon="false" Dataset="true" Subset="true" SubsetIdx="true" LOD="true" URef="false" RRef="false" FACC="false" FSC="false" MODL="false" MipMap="false" Texture="true" Filename="false" EntityType="false" Format=".rgb:.rgba"/>

</DATASET>

, to enable reading dataset 906, i get an error (eInsufficientLicense), i don't understand why i need a license, as the specifications for the API claim that license is needed for writing, not reading.


Since terra vista produce roads using the extension, and not as defined in CDB 3.2 specification (310 dataset), i need the extension to add the roads to the scene view.


Original Post by: hermann Wed Jul 2 17:27:11 2014


Hi,


The road produced by Terra Vista in dataset 906 and 907 are the 2D layer version of the road and not the real CDB spec representation of road (road network dataset).


Since dataset 906 and 907 are inserted as CDB extensions by Terra Vista (they are not CDB spec 3.0 or 3.2 compliant at this time), you will require the pro license of the CDB API to access them.


CDB API page


The license is very affordable (less than a video card) and provides more flexibility than just the extended datasets. You can contact your Presagis sales rep or e-mail sales@presagis.com to get the exact price.


Regards,


Hermann

Original Post by: Tiltan Thu Jul 3 06:23:45 2014


First, thanks, Secons, when will Terra Vista support dataset 310 (T2DModels) as specified in CDB specification 3.2?

Original Post by: hermann Thu Jul 3 16:13:55 2014


Hi,


Please use the support channels for Terra Vista related questions rather than the CDB API forum.


Regards,


Herm

Login to post a comment