|
POST
|
Hi @apalomer-iqua. I pulled down your test project and got it built locally. I was going to recommend using a raster mask function, but it looks like you beat me to it here: https://bitbucket.org/apalomeriqua/arcgis_test/src/24056f737a006278fa6ff7934d83e129bbd1b4ee/src/test_arcgis_lib.cpp#lines-98:102 Testing it out locally with version 200.6.0 does have the desired effect for me on macOS. It should be the same on Linux or other platforms as well. And with the basemap present and all layers visible: Is this what you were trying to achieve? For the question about color scales, you would need to use Colormap and ColormapRenderer instead of the BlendRenderer. https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-colormap.html https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-colormaprenderer.html
... View more
03-06-2025
05:03 PM
|
0
|
0
|
473
|
|
POST
|
> But it is rendered black! @imbachb I believe this is another symptom of the same problem with supporting raster transparency with certain formats. Someone else had reported a similar finding where transparency was rendered as solid back here: https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1262976#M4864
... View more
03-06-2025
11:00 AM
|
0
|
0
|
844
|
|
POST
|
Hi @TroyFoster. No progress on "included ranges" I'm afraid.
... View more
03-06-2025
10:57 AM
|
0
|
0
|
844
|
|
POST
|
Hi @apalomer-iqua. I can confirm that we don't support transparency with GeoTiff format. Possibly it's something we could support in the future, but it's not in our plans for the moment. There are a few options. PNG should work with transparency, but I don't know if it's possible to switch formats of your raster data. Another possibility is to use a raster mask function: https://developers.arcgis.com/qt/layers/add-raster-data/#mask A notable downside to this is the mask function would only allow you define a pixel as ON or OFF, it will not give you transparency, i.e. percentage of "opaqueness". In your case that may be ok.
... View more
03-06-2025
10:54 AM
|
0
|
0
|
844
|
|
POST
|
Hi @ChristopherSwingley. Thanks for reaching out to the team. For an offline map like you're working with, you shouldn't need any access token at all (that's for online services). You will need to license the app to remove the watermark. That's discussed here: https://developers.arcgis.com/qt/license-and-deployment/ And this page explains more about license strings: https://developers.arcgis.com/qt/license-and-deployment/use-a-license-in-your-app/ Let us know if that works for you.
... View more
02-27-2025
03:26 PM
|
0
|
0
|
829
|
|
POST
|
Hi @iurai. Thanks for reaching out to us. I've added an internal issue to support the --install cmake workflow. Can you let me know what platform you're deploying on so I can help put together a list of our dependencies for you to deploy? Generally speaking, it will be this: EsriCommonQt.dll (prefix and extension adjusted for your platform) GPU shaders (for Windows and macOS, not needed on Linux).
... View more
02-24-2025
02:49 PM
|
0
|
0
|
356
|
|
POST
|
@FlipVernooij I should add that we do have a toolkit for Qt Widgets as well, and our OAuth2 sign in workflow is supported there as well. It just doesn't have any examples to go along with it. https://github.com/Esri/arcgis-maps-sdk-toolkit-qt/blob/main/uitools/toolkitwidgets/docs/AuthenticationView.md
... View more
01-02-2025
03:01 PM
|
0
|
0
|
618
|
|
POST
|
Hi @FlipVernooij . Without using our toolkit components, it will be difficult to process OAuth2 manually. It's doable, but we handle all the details in our toolkit code. I recently did some R&D on the workflow you're attempting, and some of the details are in a branch. Note, some of that branch is based on code that doesn't exist yet in our product (and may never), so take it with a grain of salt. https://github.com/Esri/arcgis-maps-sdk-toolkit-qt/blob/james/oauth_callback_spike/uitools/toolkitcpp/cpp/Esri/ArcGISRuntime/Toolkit/ArcGISAuthenticationController.cpp#L162-L199 https://github.com/Esri/arcgis-maps-sdk-toolkit-qt/blob/james/oauth_callback_spike/uitools/toolkitcpp/cpp/Esri/ArcGISRuntime/Toolkit/CustomOAuth2AuthorizationCodeFlow.cpp These are based on Qt's newer OAuth support classes. Refer to https://doc.qt.io/qt-6/qoauthurischemereplyhandler.html#ios-and-macos for how to setup the callback URI scheme and register your app. I tried this on macOS and couldn't get it working, but I was mostly focused on iOS and Android. These recommendations are for the out-of-process browser login experience. If you're ok with using the WebView, which will callback to the same app, you can use "urn:ietf:wg:oauth:2.0:oob" as your callback URI. That is what we currently do in our toolkit. If you're working with arcgis services, then take a look at https://developers.arcgis.com/documentation/security-and-authentication/user-authentication/oauth-credentials-user/ for how to configure this and register your callback URI/URL.
... View more
01-02-2025
02:59 PM
|
0
|
0
|
618
|
|
POST
|
@JustinSteventon here's another idea. You can wait for the draw status to be completed the very first time, and then zoom to the viewpoint you want. There is a momentary stutter since the map appears at one scale and then immediately zooms in, but this avoids any delay. There may be other things you can do to hide the map's visibility until the zoom happens.
connect(m_map, &Map::loadStatusChanged, this, [&](LoadStatus loadStatus)
{
if (loadStatus != LoadStatus::Loaded)
{
return;
}
connect(m_mapView, &MapQuickView::drawStatusChanged, this, [this](DrawStatus drawStatus)
{
// once draw status has completed the first time, set the viewpoint to the desired location
// which is outside the supported scale location for the service
if (drawStatus == DrawStatus::Completed)
{
auto point2 = Point(-109.37801138359127, -27.102741576507512, SpatialReference::wgs84());
auto viewpoint2 = Viewpoint(point2, 701.4829384369524);
m_mapView->setViewpointAsync(viewpoint2, 0.0);
// do this one time only
disconnect(m_mapView, &MapQuickView::drawStatusChanged, this, nullptr);
}
});
auto point = Point(-109.37801138359127, -27.102741576507512, SpatialReference::wgs84());
auto viewpoint = Viewpoint(point, 1128.5);
m_mapView->setViewpointAsync(viewpoint, 0.0);
});
... View more
11-14-2024
09:37 AM
|
0
|
0
|
917
|
|
POST
|
Hi @JustinSteventon. Thanks for reaching out.
I did some digging and I think I know what's happening here. The maximum scale level for OpenStreetMap tiles is 1128.5. Here's how I figured that out:
auto layer = new OpenStreetMapLayer(this);
connect(layer, &Layer::doneLoading, this, [layer](const Error&)
{
qDebug() << layer->maxScale() << layer->minScale();
});
In your code you're trying to display at an initial scale of 701.4829384369524, which is outside the scale level provided by OpenStreetMap. It works after you start zooming in and out because it reaches a tile level that will work, and after we have the map tiles we start to interpolate whatever we have. Since you're using WebTiledLayer in this case, we don't know much about the service (such as min and max scale levels), and we just request tiles.
In your code if you use the max scale reported by OpenStreetMap, it should work.
connect(m_map, &Map::loadStatusChanged, this, [&](LoadStatus loadStatus)
{
if (loadStatus == LoadStatus::Loaded)
{
auto point = Point(-109.37801138359127, -27.102741576507512, SpatialReference::wgs84());
auto viewpoint = Viewpoint(point, 1128.5/*701.4829384369524*/);
m_mapView->setViewpointAsync(viewpoint, 0.0);
}
});
Additionally with some network debugging tools, I can see we are trying to fetch tiles like this one
https://b.tile.openstreetmap.org/20/205701/606350.png , when we initially load at the scale beyond the max scale and there is no such tile.
Let us know if this helps.
... View more
11-13-2024
02:41 PM
|
0
|
0
|
941
|
|
POST
|
@Tsub4sa80 would you be able to share the WMS service you're using along with some steps so we can try this out? A short recording/video of the problem happening would help us understand the nature of the problem better as well if that's a possibility.
Another option is to see if the problem reproduces with our WMS sample: https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main/CppSamples/Layers/WmsLayerUrl
The latest version of our samples viewer app for Windows is here if you want to download and try it out: https://www.arcgis.com/home/item.html?id=c78d9ccabc5a4dcf9b74c11f55c7a279 . It would be helpful to know if the problem you're seeing happens with the sample itself using our example service.
... View more
11-05-2024
08:32 AM
|
0
|
1
|
1123
|
|
POST
|
Thanks, @Tsub4sa80. We will look into why this message is coming through, but it's nothing to be concerned with.
... View more
11-04-2024
08:18 AM
|
1
|
3
|
1144
|
|
POST
|
Hi @MatthewFincham. We had a previous product we've since retired (an entire API exposed to QML), and that product provided an extensive qmltypes file for everything and integrated into Qt Creator nicely.
With our C++ API, we expose very few types to QML directly, so it's not something we've considered. Can you provide some more information about how this would be beneficial, and perhaps which types you'd like to see it for?
... View more
10-30-2024
04:00 PM
|
0
|
0
|
639
|
|
POST
|
Hi @Tsub4sa80. This is an internal exception that we swallow internally. I'd treat it as an internal implementation detail that you can ignore. I am curious... Are you seeing this in the Visual Studio output window, or somewhere else?
... View more
10-30-2024
03:56 PM
|
1
|
0
|
1180
|
|
POST
|
@GuochaShui thank you for sharing the details. I see you are running an Arm-based CPU and Linux distro. Unfortunately we only support x86 family of CPUs for Linux desktop at this time. We are always interested to hear from our users about new use-cases for our product.
Also it seems you are targeting an embedded Linux device. If there is any specific use-case you're trying to support, we'd love to hear about it. You can post here, or send me a DM if you prefer.
... View more
10-29-2024
08:30 AM
|
0
|
0
|
1027
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-22-2025 03:59 PM | |
| 1 | 06-18-2025 10:30 AM | |
| 1 | 06-18-2025 08:43 AM | |
| 1 | 05-15-2025 01:10 PM | |
| 1 | 05-15-2025 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|