API: Vector based rural simulation - Winprop_Open() - error code: 11 ( Operation not supported)

Roland Sipos
Roland Sipos Altair Community Member
edited June 12 in Community Q&A

Hello,

We are trying to run vector DB based Rural simulations through the API, using winprop_open() - WinProp_Predict_Points() - WinpProp_Close().
When invoking winprop_open(), Winprop throws the following error: 
"
Initiating simulation with WinProp DLL version: 2022.2-23555 
Info  [10] - CppSimRunner: Starting simulation 3172505 
Error [10] - sim3172505: Operation not supported. 
Info  [10] - CppSimRunner: Simulation done with error code: 11 
"

We are following the API specs and the sample codes within it, 

"
WinProp_Scenario scenario;
WinProp_Structure_Init_Scenario(&scenario);
scenario.VectorDatabase = vectorDatabase;
scenario.Scenario = WINPROP_SCENARIO_RURAL;
int dataId = 0;
ret = WinProp_Open(&dataId, &scenario, &callback);
"

As for the used vector database, first we used a 250 mb .tdv that contained both topo and clutter data.
Than we tried a 250 Mb .tdv with only topo data.
Than we tried an 50 Kb .tdv with only topo data.  
None of them worked, while the Proman UI had no problem opening any of the files (except for the message 
image
at 1,5 meters height),  and doing vector based rural simulations with them.
(I attached 2 small vector DBs we used, one with "divide 1 pixel into 2 triangles" option, and one with "conversion by connecting the centers of the pixels to triangles" option).

 

Any insight into what "error code 11"/"operation not supported" means, or what the problem might be here would be helpful.

 

Thank you, 
Roland Sipos

 

convert Topo database into vector DB steps (we use N34 zone for Budapest location, the original .tdb was made from big OpenDem 1sec .hgt file): 

image

image

image

 

 

Answers

  • Reiner_Hoppe
    Reiner_Hoppe Altair Community Member
    edited June 12

    Hello Roland,

    this error means that the Scenario component of WinProp_Scenario has not been defined correctly or this scenario is not supported. Please try setting this to the WINPROP_SCENARIO_INDOOR as the RRT ray tracing model is originating from the indoor domain.

    Hoepfully this will help!

    Best regards,
    Reiner