POST
|
We used to download imagery data to our local directories for offline usage via QGIS application. We were using the below link for image export. https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer However this is not working lately, giving SSL errors. Is there an alternative or am I missing something?
... View more
01-08-2024
04:50 AM
|
0
|
1
|
236
|
POST
|
Hi @GuillaumeBelz , We observe the problem after 24 hours of the executable up and working. There are approximately 200 symbols on the view. And version of the SDK is 100.8.
... View more
10-03-2023
01:39 AM
|
0
|
0
|
309
|
POST
|
Hi @GuillaumeBelz , Thanks four your reply. In order to reproduce the problem, you might change the text of those 50000 symbols once in every second indefinitely. It might be a while loop or a QTimer. Setting the text of the symbols with random text would be enough.
... View more
09-29-2023
01:23 AM
|
0
|
0
|
326
|
POST
|
We have a label item showing the info about a track on the 3D SceneGraphicsView, just as below. There are many tracks on scene and each track has its own label. Esri::ArcGISRuntime::Graphic *mpLabelItem = nullptr;
Esri::ArcGISRuntime::TextSymbol *mpTextSymbol = nullptr;
mpTextSymbol = new TextSymbol("", QColor(Qt::white), 10.0, HorizontalAlignment::Center, VerticalAlignment::Bottom, this);
mpTextSymbol->setOffsetX(10);
mpTextSymbol->setOffsetY(10);
mpLabelItem = new Graphic(Point(0, 0), mpTextSymbol, this);
QString labelStr(GetSource());
labelStr.append("-label");
mpLabelItem->attributes()->insertAttribute("source", labelStr);
mpLabelItem->attributes()->insertAttribute("id", pId);
mpMapViewer->AddToTracksOverlay(mpLabelItem); However when we try to set text of this textSmbol once in every second, we face the problem of all labels disappearing from the scene after one day. void PpiTrackItem::SetText()
{
QString mText = QString("T").append(attributes()->attributeValue("id").toString());
mText.append("\n");
mText.append("R:");
mText.append(QString::number(AstrxUnitConverter::ConvertMeterToNM(attributes()->attributeValue("range").toDouble()), 'f', 2));
mText.append("nm ");
mText.append("B:");
mText.append(QString::number(attributes()->attributeValue("bearing").toDouble(), 'f', 2));
mText.append("\u00B0");
mText.append("\n");
mText.append("S:");
mText.append(QString::number(Calculations::CovertMsToKnots(attributes()->attributeValue("speed").toDouble()), 'f', 2) + " knot");
attributes()->replaceAttribute("text", mText);
mpTextSymbol->setText(mText);
}
... View more
09-20-2023
01:14 AM
|
0
|
5
|
446
|
POST
|
Is there any way to draw a pie slice shape on a Basemap? There is a function in QPainter called drawPie() where we give a start angle and a span angle. We just want an exact equivalent of that function in ArcGIS.
... View more
10-31-2022
04:58 AM
|
0
|
1
|
349
|
POST
|
Hi @MichaelBranscomb , JSON label definition is below: const QString labelJsonMgr(R"({"labelExpressionInfo":{"expression":"$feature.text"},"labelPlacement":"esriServerPointLabelPlacementAboveCenter","symbol":{"angle":0,"backgroundColor":[0,0,0,0],"borderLineColor":[0,0,0,0],"borderLineSize":0,"color": [255,0,0,255],"font":{"decoration":"none","size":8,"style":"normal","weight":"normal"},"haloColor":[0,0,0,0],"haloSize":0,"horizontalAlignment":"Left","kerning":false,"type":"esriTS","verticalAlignment":"bottom","xoffset":0,"yoffset":0}})");
... View more
09-23-2022
01:54 AM
|
0
|
0
|
553
|
POST
|
We want to find a fast way to check if a given lat/lon is contained in any polygon of a Shapefile. Is there any solution that works faster than queryFeatureCount etc. ?
... View more
09-22-2022
12:21 AM
|
0
|
0
|
306
|
POST
|
Currently we upgraded our applications from 100.8 to 100.15 and we saw that labels are not always visible regardless of zoom in/out. How can we make labels visible always? We create our LabelDefinition with a JSON expression.
... View more
09-21-2022
11:26 PM
|
0
|
3
|
590
|
POST
|
Hi @GuillaumeBelz , thank you for your answer! I looked at those examples and I think they are a little bit different from what I need actually. What I need is to extract polygons from shapefile as a Geometry and add these geometries to a GraphicsOverlay and vice versa. If I extract the geometries as a Feature, is there a way to convert them to Geometry?
... View more
09-08-2022
11:18 PM
|
0
|
1
|
370
|
POST
|
Thank you very much @Tanner_Yould. I clipped the shapefile by using QGis application. After that, query time reduced to 2 ms.
... View more
09-08-2022
11:01 PM
|
0
|
0
|
612
|
POST
|
Are there any future plans or requests about movable (selected and moved by mouse) labels which are connected to the item with a connector line? Also I want to ask about Qt 6 support for the next releases.
... View more
09-08-2022
12:17 AM
|
0
|
2
|
370
|
POST
|
Thank you @Nicholas-Furness , actually I discovered that I made a small mistake in my own code which was the reason of labels not being displayed. fromJSON is working just as before.
... View more
09-07-2022
11:46 PM
|
0
|
0
|
410
|
POST
|
Hi @Tanner_Yould , I really appreciate your help. I managed to generate the shapefile offline. However since it contains all countries, the land or sea check takes approximately 130 ms. Is there any way to reduce the shapefile or load only certain countries while creating FeatureTable?
... View more
09-07-2022
11:42 PM
|
0
|
2
|
624
|
POST
|
Hi everyone, I was using 100.8 runtime library in my project. After upgrading to 100.15 we saw that labels were not visible anymore. We were creating labels like below: mpDistrictNamesOverlay = new GraphicsOverlay(this);
mpDistrictNamesOverlay->setSceneProperties(LayerSceneProperties(SurfacePlacement::Draped));
const QString labelDistrictNames(R"({"labelExpressionInfo":{"expression":"$feature.districtName"},"labelPlacement":"esriServerPointLabelPlacementAboveCenter","symbol":{"angle":0,"backgroundColor":[0,0,0,0],"borderLineColor":[0,0,0,0],"borderLineSize":0,"color": [255,255,255,255],"font":{"decoration":"none","size":8,"style":"normal","weight":"normal"},"haloColor":[0,0,0,0],"haloSize":0,"horizontalAlignment":"center","kerning":false,"type":"esriTS","verticalAlignment":"middle","xoffset":0,"yoffset":0}})");
LabelDefinition* labelDefDistrictNames = LabelDefinition::fromJson(labelDistrictNames, this);
mpDistrictNamesOverlay->labelDefinitions()->append(labelDefDistrictNames);
mpDistrictNamesOverlay->setLabelsEnabled(true);
m_sceneView->graphicsOverlays()->append(mpDistrictNamesOverlay); What would be the new way to print $feature.districtName as a label, in fact a simple label, on an overlay? We have a 3D SceneView by the way.
... View more
09-06-2022
12:47 AM
|
0
|
2
|
591
|
POST
|
Hi @Tanner_Yould , Thank you very much for this great answer! However our application will be installed on a mountain where there is no internet. Is there any way to download this "World Countries" feature so that we can make this check offline?
... View more
09-05-2022
04:20 AM
|
0
|
4
|
645
|
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 |
01-16-2024
12:07 PM
|