|
POST
|
I think what you said makes sense. I'm not exactly sure what the problem is - these are tricky problems to fix... Have you tried running install_name_tool on this lib as well?
... View more
05-15-2020
12:39 PM
|
0
|
3
|
4712
|
|
POST
|
If I understand you correctly, you're saying your app does not use Extras, but there are some references to it somewhere that are causing notarization to fail?
... View more
05-15-2020
12:28 PM
|
0
|
5
|
4712
|
|
POST
|
side note - that layer returns a 404 for me in the browser, so it may not work...
... View more
05-14-2020
03:29 PM
|
0
|
0
|
443
|
|
POST
|
On the right side of the page under Details, you should see Source. The link you provide says Map Service, so you can use ArcGISTiledLayer for that. If it says Vector Tile Service like it does for this one, use ArcGISVectorTiledLayer.
... View more
05-14-2020
03:28 PM
|
0
|
1
|
3164
|
|
POST
|
Brad- What you have should work, but seems like something is not quite wired up correctly for the Basemap constructor with a URL. I tried the following and was able to get it to work (and the map is now in WGS84) auto vtl = new ArcGISVectorTiledLayer(QUrl("https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_GCS_v2/VectorTileServer"), this);
auto basemap = new Basemap(vtl, this);
m_map = new Map(basemap, this);
... View more
05-14-2020
02:29 PM
|
0
|
3
|
3164
|
|
POST
|
Sorry I missed that detail. I'm not sure a 3D scale bar would give you the results you are after. Due to the nature of 3D, the camera viewpoint (heading, pitch, height, roll, etc) would mean that a given screen length in pixels would have different geographic length depending where on the screen you are looking. For example, consider looking at the full globe - 3 cm in the center 0,0 would be much different real world length than 3 cm at edge. Another scenario is to consider looking at an observer view from the top of a building down across the city scape - 3 cm close to your current camera would be much different than 3 cm across the horizon. There is some similar discussion here for ArcGIS Pro Scenes & Scale Bars - Scale bar in ArcgisPro layout "Scale is continuous and changing across a 3D view, so the traditional idea of scale bars don’t work in scenes - things that are far away are at a different scale than things that are closer."
... View more
05-12-2020
01:19 PM
|
0
|
0
|
2289
|
|
POST
|
Unfortunately, no. Most of our data types cannot be read directly out of a QRC directory. The only exception that comes to mind is PictureMarkerSymbol.
... View more
05-04-2020
08:26 AM
|
1
|
0
|
1058
|
|
POST
|
This can be achieved with ModelSceneSymbol. You can set the SymbolSizeUnits to DIPs (device independent pixels) instead of the default (meters), and the width/height will be in screen size and not real world size. ModelSceneSymbol Class | ArcGIS for Developers
... View more
05-04-2020
08:16 AM
|
1
|
1
|
1374
|
|
POST
|
This is something that should be possible by accessing MapView::mapScale and MapView::unitsPerDIP. We have been wanting to add this as a ready-to-use ArcGIS Runtime Toolkit component for some time, but have not gotten to it yet. In the meantime, here is a pure QML example that might get you on the right track - https://community.esri.com/thread/201990-scale-bar#comment-715878 Also, here is the iOS swift implementation of their Scalebar toolkit component. Since we share the same common design of the Runtime API, much of the logic should be the same - arcgis-runtime-toolkit-ios/Scalebar.swift at master · Esri/arcgis-runtime-toolkit-ios · GitHub
... View more
05-04-2020
08:09 AM
|
0
|
2
|
2289
|
|
POST
|
Here is the API ref for MapView::locationToScreen - MapView Class | ArcGIS for Developers If you are wanting this in 3D, I don't think my suggestion would be suitable as you would need the polygon to properly wrap the globe. My suggestion was for 2D, and by "custom OpenGL layer", I was referring to some effect you could draw on the screen on your own. Here is the visual hierarchy I imagined (this is just an idea - nothing I have tried on my own): > ApplicationWindow > "custom OpenGL layer" - this is something you'd develop. We don't have any examples. This would be using Qt's graphic's stack to draw your smoke effects - Graphics | Qt 5.14 > MapView > Basemap > use locationToScreen to get coordinates back and update the screen geometry of your "custom OpenGL layer"
... View more
04-29-2020
08:51 AM
|
0
|
0
|
1887
|
|
POST
|
did you try out this sample? arcgis-runtime-samples-qt/DisplayWfsLayer.qml at master · Esri/arcgis-runtime-samples-qt · GitHub if you swap out the url and tableName, it should work. If it doesn't perhaps the URL is formatted wrong? I also notice you are setting the FeatureLayer.name property, but that is read-only (LayerContent QML Type | ArcGIS for Developers ) Can you connect to the errorChanged signal and see if you get any errors: WfsFeatureTable {
onErrorChanged: {
console.log(error.message, error.additionalMessage);
}
}
FeatureLayer {
onErrorChanged: {
console.log(error.message, error.additionalMessage);
}
}
... View more
04-27-2020
02:45 PM
|
2
|
0
|
2888
|
|
POST
|
Correct, the Map can only explicitly set the SpatialReference through the constructor. This is because it is very expensive to reproject all of the layers after everything is already initialized. If you choose one of the other Map constructors, your map will automatically take on the spatial reference of the first layer in the basemap. In a large majority of cases (such as with our static basemap create functions), that will be Web Mercator (wkid 3857). The problem you will run into is that if you define your map in spatial reference 'A' but then your layers are in spatial reference 'B', only certain types of layers can be "projected on the fly" so that everything displays and lines up correctly. I believe the only layers that cannot be reprojected on the fly are ArcGISTiledLayer and ArcGISVectorTiledLayer. This means that if you want to use a specific spatial reference, you'll need to get basemaps that are in that spatial reference as well. Also worth noting that on-the-fly reprojection is expensive and could have a rendering hit. In your case, it looks like you are trying to set the spatial reference to WGS84 (wkid 4326). We have a few pre-published basemaps that are in that spatial ref already - https://www.arcgis.com/home/search.html?q=owner%3Aesri%20basemap%20wgs84
... View more
04-27-2020
11:24 AM
|
0
|
8
|
3164
|
|
POST
|
We don't have a way to draw custom OpenGL. You might be able to achieve something that can suffice for the time being. Here are some ideas: - Display Graphics. Graphics will be for vector shapes only, so you could define polygons as a Graphic object (inside a GraphicsOverlay) and display various symbol fills with SimpleFillSymbol, PictureFillSymbol, or HatchFillSymbolLayer. - Another option could be to create a Raster file with various cell values and then apply one of our RasterRenderers to the RasterLayer - RasterRenderer Class | ArcGIS for Developers - Another option would be to attempt to create and style your map in ArcGIS Online or ArcGIS Pro first. You can save as a Web Map (and consume with the Map c'tor that takes a URL) or as a MobileMapPackage. Both of these authoring tools (Pro and Online) have advanced styling options and have more things you can do than what we have exposed as developer APIs. However, our API will render what is defined. For example, you can define a HeatMapRenderer or display color ramps in ArcGIS Online and view them in Runtime, but we don't have ways to create either programmatically in Runtime at the moment. - Finally, you could use our MapView::locationToScreen (https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-mapview.html#locationToScreen ) API to convert the real world coordinates of where you want your smoke layer to draw into screen coordinates. Then, you can display your custom OpenGL layer within those screen coordinates. I think this might be your best option. Let us know if any of these seem like options.
... View more
04-27-2020
08:30 AM
|
1
|
0
|
1887
|
|
POST
|
Depending on your data, you might look at either the StretchRenderer (StretchRenderer Class | ArcGIS for Developers ) or applying a RasterFunction (Add raster data—ArcGIS Runtime SDK for Qt | ArcGIS for Developers ) The ColorRamp may work but may be better suited for discrete data vs continuous elevation data.
... View more
04-27-2020
07:52 AM
|
0
|
0
|
1231
|
|
POST
|
Yes, you should be able to do this. I think a ColormapRenderer applied to a RasterLayer might be the best option. Check out this sample - arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_CppSamples/Layers/RasterColormapRenderer at master · Esri/arcgis-runtime-sa… The idea is that you map pixel values in the raster to a specific color. In our sample, anything over 150 is red and under is yellow.
... View more
04-27-2020
07:48 AM
|
0
|
1
|
1231
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|