POST
|
I am currently using ArcGIS Pro 100.0.8 and Esri::ArcGISRuntime::SceneGraphicsView. I need to display moving tracks on map. The track symbol should be a circle with a small line showing the direction of the track. How can I achieve this? Do I have to provide a 3D SimpleMarkerSymbol? If there is any example about a combined Graphic, that would be appreciated. I have attached the appearance of QGraphicsItem that we are currently using for tracks.
... View more
12-08-2020
03:25 AM
|
0
|
1
|
121
|
POST
|
Hi @KoushikHajra , I wanted to inform you that my problem was solved. There were empty parts in my QImage which caused the image to be printed in the wrong place. Thank you very much for your help.
... View more
12-03-2020
04:52 AM
|
0
|
1
|
129
|
POST
|
Hi @LukeSmallwood , I have solved my problem by using ImageOverlay, thank you for your help. We are currently trying ArcGIS library to decide whether to buy a commercial license or not. We want to use this library with an offline map. Is it possible to get offline 3D map data after we get a license? The application that is going to use the library won't have an internet connection.
... View more
12-03-2020
04:49 AM
|
0
|
1
|
176
|
POST
|
I tried your code and it prints the image in the correct place. No problem when I try a .png image. However when I give our QImage which is filled by radar data, it does not scale and shows up in a wrong place. Are we using the wrong format for QImage? mpImage = new QImage(QSize(MY_WIDTH,MY_HEIGHT), QImage::Format_RGBA64_Premultiplied); mpImage->fill(qRgba(0,0,0,0));
... View more
12-03-2020
12:19 AM
|
0
|
0
|
136
|
POST
|
In fact I also wanted ask how to give the width and height when defining an envelope? When should I give a negative width/height and what is the unit of width/height? How can I represent a 40 km width?
... View more
12-02-2020
11:28 PM
|
0
|
1
|
136
|
POST
|
We have SceneGraphicsView where we add a QImage (radar image) as an ImageOverlay. Our image is a circle with 40km radius. I want to give the center point of this circle as the Envelope's center point. However, the ImageOverlay does not appear in the given point. (Lon: 29.444835, Lat: 40.785893) What am I missing? When I change the width and height parameters in Envelope constructor, size of the imageOverlay does not change too much. void MainMapWidget::addImageToMap(){ m_imageOverlay = new ImageOverlay(); m_sceneView->imageOverlays()->append(m_imageOverlay); const Point pointForImageFrame(29.444835, 40.785893, SpatialReference::wgs84()); m_pacificSouthwestEnvelope = Envelope(pointForImageFrame, 0.474571, 0.361748); m_imageOverlay->setOpacity(0.5); Camera camera(40.785893, 29.444835, 10010.0, 0, 0, 0.0); m_sceneView->setViewpointCameraAndWait(camera); } void MainMapWidget::slotRadarImageChanged(const QImage &image){ std::unique_ptr<ImageFrame> m_imageFrame = std::make_unique<ImageFrame>(image, m_pacificSouthwestEnvelope); m_imageOverlay->setImageFrame(m_imageFrame.get()); }
... View more
12-01-2020
12:07 AM
|
0
|
6
|
175
|
POST
|
Hi @LukeSmallwood , Could you give an example about RasterLayer with dataset? Can I draw a QImage or QPixmap with RasterLayer?
... View more
11-30-2020
05:25 AM
|
0
|
3
|
207
|
POST
|
I have a GraphicsOverlay containing the radar image pixel points. I am basically converting points from polar coordinates to geodetic coordinates and adding one point Geometry to my overlay for each point. Points represent the pixels in radar image. This overlay makes the exe too slow and uses excessive memory. How can I make my program be faster so that I can zoom in and out seamlessly? Is there any alternative other than GraphicsOverlay to add pixel points on top of map? void MapViewer::slotDrawOnePixel(GeodeticCoord pos, QColor color){ simpleMarkerSymbol->setColor(color); QPair<int,int> geodeticPos(pos.mLongitude.Degree()*100, pos.mLatitude.Degree()*100); if(!mPointMap.contains(geodeticPos)){ Graphic *newPoint = new Graphic(createPoint(pos), simpleMarkerSymbol, this); mGraphicsOverlay->graphics()->append(newPoint); mPointMap[geodeticPos] = newPoint; } else{ mPointMap[geodeticPos]->setSymbol(simpleMarkerSymbol); } } Geometry MapViewer::createPoint(GeodeticCoord pos) { double x = pos.mLongitude.Degree(); double y = pos.mLatitude.Degree(); const SpatialReference spatialRef(4326); return Point(x, y, spatialRef); }
... View more
11-29-2020
11:37 PM
|
0
|
5
|
233
|
POST
|
Hi Lucas, We have switched to 3D and managed to show our QImage (Radar Image) on SceneView. However it is shown as an oval shaped image. How can we make it look like a circle as it was in 2D? I have atteached the screenshot.
... View more
11-27-2020
12:17 AM
|
0
|
0
|
170
|
POST
|
I have tried ImageOverlay and it looks good for now. I was just wondering if there is a way to make SceneView appear like a 2D view. Do you have any suggestions?
... View more
11-10-2020
05:40 AM
|
0
|
2
|
198
|
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|