|
POST
|
Thank you very much! @Anonymous User I was already using a similar approach with PolyLineBuilder. I am first resetting the old geometry and create a new one. if(mpLineGraphic != NULL){
this->replaceGeometry(Geometry());
}
this->addPoint(startPos);
this->addPoint(endPos);
if(mpLineGraphic == NULL){
mpLineGraphic = new Graphic(this->toGeometry(), mpLineSymbol, this);
mpMapViever->mpRulersOverlay->graphics()->append(mpLineGraphic);
}
else{
mpLineGraphic->setGeometry(this->toGeometry());
}
... View more
05-26-2021
06:44 AM
|
0
|
0
|
1550
|
|
POST
|
Hi @Nicholas-Furness , I made some small changes and it worked out for me. void MainMapWidget::slotOrbitCameraAroundPoint(bool checked){
const Point baseSurfacePos = m_sceneView->currentViewpoint(ViewpointType::CenterAndScale).targetGeometry();
const Viewpoint pt = m_sceneView->currentViewpoint(ViewpointType::CenterAndScale);
const Camera cm = m_sceneView->currentViewpointCamera();
if(checked){
OrbitLocationCameraController camCtrl(baseSurfacePos, cm.location().z(), m_sceneView);
m_sceneView->setCameraController(&camCtrl);
}
else{
m_sceneView->setCameraController(mpDefaultCameraController);
m_sceneView->setViewpoint(pt);
}
m_sceneView->update();
} If I had set the DistanceInteractive to false, then the user would not be able to zoom in/out, right?
... View more
05-25-2021
01:10 AM
|
0
|
1
|
2877
|
|
POST
|
I have a ruler item with 2 end nodes and I want to enable user to move these nodes and accordingly adjust the ruler item after that move. Is it possible to move a single item and change a line item after it is added to GraphicsOverlay?
... View more
05-25-2021
12:07 AM
|
0
|
2
|
1610
|
|
POST
|
Hi @Nicholas-Furness , Thank you for the detailed reply. What I wanted to achieve was to provide a seamless switch between GlobeCameraController and OrbitLocationCameraController in a 3D SceneView. We have a camera button which user clicks and orbits the camera around the center point of the current viewport. void MainMapWidget::slotOrbitCameraAroundPoint(bool checked){
const Point baseSurfacePos = m_sceneView->currentViewpoint(ViewpointType::CenterAndScale).targetGeometry();
const Viewpoint pt = m_sceneView->currentViewpoint(ViewpointType::CenterAndScale);
const Camera cm = m_sceneView->currentViewpointCamera();
if(checked){
OrbitLocationCameraController camCtrl(baseSurfacePos, cm.location());
m_sceneView->setCameraController(&camCtrl);
}
else{
m_sceneView->setCameraController(mpDefaultCameraController);
}
m_sceneView->setViewpoint(pt);
m_sceneView->update();
} I was wondering how could I preserve the current scale and viewpoint of the map when I switch to the OrbitCameraController.
... View more
05-21-2021
04:08 AM
|
0
|
3
|
2907
|
|
POST
|
I want to obtain the center point of the SceneGraphicView's current viewport. Is that possible?
... View more
05-20-2021
04:51 AM
|
0
|
5
|
2958
|
|
POST
|
Hi @EkkaratPrasongsap, I am attaching the workaround library in this post. Also in my ArcGIS project at the very top of the library includes, I have included this library as follows: LIBS += -L/home/fatma/Downloads/arcgisqthack/2020-11-09_ArcGISQt5Hack/ArcGISQt5Hack \ -lArcGISQt5Hack \
... View more
05-12-2021
09:23 AM
|
1
|
1
|
2437
|
|
POST
|
Hi @NorbertThoden , I have used the cmake version did not create a pro file. I might have made some changes in cmake file.
... View more
05-12-2021
02:30 AM
|
1
|
1
|
2442
|
|
POST
|
Hi @JamesBallard1 , Yeah I was looking for a ready to use Ui element for ruler. Can I find an example in github which allows user to draw a line or polygon with mouse?
... View more
05-06-2021
05:30 AM
|
0
|
1
|
3668
|
|
POST
|
We want to provide user a ruler that shows the distance between 2 points that are clicked by user? Is there a way to do that?
... View more
05-02-2021
06:31 AM
|
0
|
7
|
3735
|
|
POST
|
We have migrated from QGraphicsView to 3d Scene with a basemap. We have plenty of item classes which have paint() functions (inheriting QGraphicsItem). Is there any way to add these items to Scene? Do we have to rewrite all these classes by changing the base class as "Graphics" instead of "QGraphicsItem"?
... View more
05-02-2021
06:26 AM
|
0
|
1
|
1507
|
|
POST
|
Hi @Nicholas-Furness , They also sold us an annual developer subscription code ( starting with ADS ) alongside the runtime license. What is the purpose of Developer Subscription Code? What would we lose if we removed that code from our plan?
... View more
05-01-2021
07:57 AM
|
0
|
1
|
3384
|
|
POST
|
Hi @JamesBallard1 , Thank you for this detailed reply. I was also wondering if I could use this license string in 100.8 while it was given for 100.9?
... View more
04-30-2021
07:51 AM
|
0
|
1
|
3404
|
|
POST
|
I am using ArcGIS Runtime SDK for Qt C++ version 100.8. I purchased a runtime license string like this format: "runtimestandard,1000,rud0002xxxxx,none,7RC63PJxxxxxxxxx" How can I use this code to remove watermark? How does it work if the PC is not connected to internet?
... View more
04-29-2021
02:22 AM
|
0
|
6
|
3473
|
|
POST
|
We are using ArcGIS Pro 2.7 trial version and we added elevation data from link below: https://services.arcgisonline.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer We zoom to desired area and click "Download Map" to download elevation as .tpk. It says "Export Finished" but nothing seems to be downloaded. What is the correct way of downloading elevation data? What am I missing?
... View more
04-15-2021
03:11 AM
|
0
|
1
|
1349
|
|
POST
|
I need to add a camera control button on my 3D SceneGraphicsView. Is there any previously developed button for this purpose? I don't want to reinvent the wheel.
... View more
04-14-2021
03:10 AM
|
0
|
1
|
850
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-16-2022 11:27 PM | |
| 1 | 08-16-2022 11:32 PM | |
| 1 | 02-10-2022 10:50 PM | |
| 1 | 09-02-2021 11:53 PM | |
| 1 | 08-24-2021 06:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-18-2025
10:58 PM
|