POST
|
Hi! I am using ArcGIS SDK 100.1.0 Qt. I want to create a PictureMarkerSymbol with a text label next to it. This text symbol will be updated during runtime with. I've tried to create a CompositeSymbol consisting of a PictureMarkerSymbol and a TextSymbol. However, the Text overlaps with the picture symbol. Is there a way to give the text symbol some offset to the picture symbol or is there another way to achieve this? Thanks in advance
... View more
11-23-2017
06:46 AM
|
0
|
1
|
603
|
POST
|
Hi! I am using ArcGIS Qt 100.1.0 and I want to add a Scale bar on my map to be able to give the user an estimate for the distance on the map. In the Java SDK there is a sample code: Scale bar | ArcGIS for Developers However, I cannot find the equivalent for the Qt SDK. How do I achieve this? Thanks in advance!
... View more
10-24-2017
09:24 AM
|
0
|
1
|
1052
|
POST
|
I've updated to arcGIS Qt SDK 100.1.0 on Linux (Ubuntu) and I get the following error message: Error.h: No such file or directory in the FeatureTableListModel.h The problem is that it is actually <error.h> in the standard gnu c library instead of <Error.h> (case sensitive). It compiles using <error.h> (i.e. when I change the include in the FeatureTableListModel.h to lower case). Seems like a bug. Or do I have to consider something else?
... View more
08-11-2017
06:01 AM
|
0
|
1
|
1379
|
POST
|
Hi Luke, I've added a simpleLineSymbol, but I also find out that my mapPointMouse was in the wrong spatial reference system. My Polylinebuilder is using spatialReference WGS84 while my mapPointMouse is not georeferenced. When I put in the right coordinate values, it works! m_currentPolyLineBuilder.addPoint(mapPointMouse); Esri::ArcGISRuntime::SimpleLineSymbol simpleLineSymbol; simpleLineSymbol.setColor(Qt::red); simpleLineSymbol.setWidth(2); simpleLineSymbol.setStyle(Esri::ArcGISRuntime::SimpleLineSymbolStyle::Solid); m_currentPolylineGraphic = new Esri::ArcGISRuntime::Graphic(m_currentPolyLineBuilder.toGeometry(), &simpleLineSymbol); m_graphicsLayer->graphics()->append(m_currentPolylineGraphic); m_currentPolylineStarted = true; Thank you!
... View more
06-22-2017
02:22 AM
|
0
|
1
|
786
|
POST
|
In ArcGIS 10.2.6 there was sample code about drawing polylines. I am now using the ArcGIS 100.0 SDK trying to implment the same functionality there but it does not work somehow. Nothing is shown on the map. This is the code I am currently using: When clicking left on the map, this code is executed: if(!m_currentPolylineStarted) { m_currentPolyLineBuilder.addPoint(mapPointMouse);
m_currentPolylineGraphic = new Esri::ArcGISRuntime::Graphic(m_currentPolyLineBuilder.toGeometry(), this);
m_graphicsLayer->graphics()->append(m_currentPolylineGraphic);
m_currentPolylineStarted = true;
// m_currentPolyline.startPath(mapPointMouse);
// m_currentPolyline.lineTo(mapPointMouse);
// Esri::ArcGISRuntime::Graphic* graphic = new Esri::ArcGISRuntime::Graphic(Esri::ArcGISRuntime::Polyline(m_currentPolyline), Esri::ArcGISRuntime::SimpleLineSymbol(Qt::red, 1));
// m_currentPolylineId = m_graphicsLayer->graphics()->append(graphic);
} else { m_currentPolyLineBuilder.addPoint(mapPointMouse); m_currentPolylineGraphic->setGeometry(m_currentPolyLineBuilder.toGeometry());
// m_currentPolyline.lineTo(mapPointMouse);
// m_graphicsLayer->updateGraphic(m_currentPolylineId, new Esri::ArcGISRuntime::Graphic(Esri::ArcGISRuntime::Polyline(m_currentPolyline), Esri::ArcGISRuntime::SimpleLineSymbol(Qt::red, 1)));
}
where mapPointMouse is the current mouse point position. The commented code was the old way (using ArcGIS SDK 10.2.6 which worked fine. What am I doing wrong? Are there samples providing the same functionality on the new ArcGIS SDK 100.0? Thanks in advance
... View more
06-22-2017
01:41 AM
|
0
|
4
|
1490
|
POST
|
Yes, they all are larger. I've compared the samples about the military symbols rendering from ArcGIS 10.2.6 and 100.0 and in the samples application in ArcGIS 100.0 they are cleary larger (same size as in my test application). ArcGIS 10.2.6 ArcGIS 100.0
... View more
04-05-2017
03:47 AM
|
0
|
1
|
401
|
POST
|
I have the same problem. I used it to convert geo coordinates (lat/lon) to map coordinates and vica versa. Is there functionality available or do I have to write my own converter class?
... View more
04-04-2017
09:29 AM
|
0
|
4
|
581
|
POST
|
I've switched to ArcGIS 100.0.0 SDK for Qt and it looks like military symbols are rendered larger than in the previous version of ArcGIS (10.2.6). How can I modify the size of the rendered graphic corresponding to the military symbol? Best regards, dark.rider85
... View more
04-04-2017
05:28 AM
|
1
|
3
|
836
|
POST
|
I want to use a heat map layer to visualize my data's density distribution over the map. I was thinking about using a ArcGISFeatureLayer, but I am not quite sure on how to use it for my purposes and if it is the right way. I am using ArcGIS SDK 10.2.6. For example a heat map about the elevation of a specific area. How can I achieve that? Is there some example code available?
... View more
03-06-2017
02:05 AM
|
0
|
5
|
2575
|
POST
|
I am able to highlight a military symbol but I cannot turn the highlight off anymore. I do this: EsriRuntimeQt::Message selectMsg = EsriRuntimeQt::MessageHelper::createSelectMessage(EsriRuntimeQt::SymbolDictionaryType::Mil2525C, msgId, "position_report", true); selectMsg.setProperty("_action", "select"); mMessageProcessor->processMessage(selectMsg); This will highlight my military symbol just fine! But as soon as I do: EsriRuntimeQt::Message deSelectMsg = EsriRuntimeQt::MessageHelper::createSelectMessage(EsriRuntimeQt::SymbolDictionaryType::Mil2525C, msgId, "position_report", false); selectMsg.setProperty("_action", "un-select"); mMessageProcessor->processMessage(deSelectMsg); It has no effect on the same military symbol, i.e. it is still highlightning. What am I doing wrong here? Is there a bug? EDIT: I just tried this on a small project and there it works. I think I did some mistake with the correct message id in my other project. I have to check that.
... View more
11-18-2016
07:49 AM
|
0
|
0
|
637
|
POST
|
The default highlight color is purple. In a graphicLayer there is the possibility to change the selection color by calling setSelectionColor(). But how can I achieve this when dealing with military symbols? There I use a GroupLayer and I have the messageProcessor. You can create a selectMessage via the MessageHelper class and create a selection message of specific symbol, but I did not find a possibility to change the highlighting color. Is it possible to change it? Any help is appreciated!
... View more
11-18-2016
05:11 AM
|
0
|
1
|
950
|
POST
|
I am using the display of military symbols (Mil2525C) and I know that I can select one by creating a selectMessage via the MessageHelper class. But how can I select a military symbol with a mouse click? Do I have to do my own implementation or does the API provide some functionality for that? Thanks in advance! P.S.: I am using ArcGIS 10.2.6 with Qt 5.6.1.1
... View more
11-16-2016
06:15 AM
|
0
|
2
|
736
|
POST
|
I am using ArcGIS 10.2.4.6 and Eclipse Neon.1 on Windows 7 I've followed the following tutorial: Display military messages—ArcGIS Runtime SDK for Java | ArcGIS for Developers For that I've created an ArcGIS Map application. I've attached the code file. When I run the code, I get the following error message: java.lang.RuntimeException: Internal error exception - Group layer is not bound to map, or map not initialized at com.esri.core.internal.symbol.advanced.MessageProcessorInternal.nativeProcessMessage(Native Method) at com.esri.core.internal.symbol.advanced.MessageProcessorInternal.a(Unknown Source) at com.esri.core.symbol.advanced.MessageProcessor.processMessage(Unknown Source) at MainClass$2.run(MainClass.java:94) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Although the group layer is bound to the map and the map is initialized. Can anybody help me with this?
... View more
10-23-2016
02:40 PM
|
0
|
1
|
939
|
Title | Kudos | Posted |
---|---|---|
1 | 04-04-2017 05:28 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|