In my s57 file, I need to set the extent of the mapcanvas, for that i use :
mpMapCanvas->setExtent(mpS57->mMapplay.value(DSID)->extent());but if I display the value of the extents xmin, xmax, ymin and ymax i have very big value like 1.79e308 !!!!
If I change DSID by another which it is reconnized in the file ( i.e M_NSYS ) the qDebug for the value of the extent() was correct
The question is why the DSID type return wrong value for the extent ?
أكثر...
mpMapCanvas->setExtent(mpS57->mMapplay.value(DSID)->extent());but if I display the value of the extents xmin, xmax, ymin and ymax i have very big value like 1.79e308 !!!!
If I change DSID by another which it is reconnized in the file ( i.e M_NSYS ) the qDebug for the value of the extent() was correct
The question is why the DSID type return wrong value for the extent ?
أكثر...