How to Set Prediction Area by Winprop API
Hi,
I'm currently attempting to calculate the received power of networks using the Winprop API. And I found I need to manually set the prediction area using 'GeneralParameters.UrbanLowerLeft' and 'GeneralParameters.UrbanUpperRight'. Is there an automated method for setting the prediction area? I have 2000 odb files that need to be calculated, and I can't manually set each one. Any help would be greatly appreciated.
Best Answer
-
Hi,
you can try to use the fct. OutdoorPlugIn_ReadPredictionArea() which reads the parameters for the prediction area from the map database i.e. by using this function call and passing the .odb Filename and the DATABASE_TYPE_WINPROP_ODB you should get back the lower left and upper right corners i.e. 2 corners (NumberCorners will be set to 2) in the argument Polygon.Hopefully this will help.
1
Answers
-
Hi,
you can try to use the fct. OutdoorPlugIn_ReadPredictionArea() which reads the parameters for the prediction area from the map database i.e. by using this function call and passing the .odb Filename and the DATABASE_TYPE_WINPROP_ODB you should get back the lower left and upper right corners i.e. 2 corners (NumberCorners will be set to 2) in the argument Polygon.Hopefully this will help.
1