POST
|
Thanks Thomas Dunn, Looking for the future release.
... View more
12-17-2015
07:24 PM
|
0
|
0
|
1730
|
POST
|
I wanted to use open spatial database for our small requirement that is the reason for getting wkt.
... View more
12-02-2015
07:15 PM
|
0
|
3
|
1730
|
POST
|
Hello, 1) How to get well known text from Geometry Objects in Arc GIS Qt Runtime? 2) Viewshed Analysis is working in Arc GIS Qt Runtime but not Viewshed 2 Analysis (which takes radius of interest as input)? Thanks and Regards Bhargav
... View more
12-02-2015
12:25 AM
|
0
|
5
|
6130
|
POST
|
I created a gpk which packages tool Mosaic to New Raster. The tool Mosaic to New Raster takes input 1. list of raster datasets 2. Path of the folder in which raster dataset is created 3. Name of the raster dataset When this gpk is used in ArcGIS Runtime Qt, We need to give input as GPParameter For list of raster datasets I need to use EsriRuntime::GPMultiValue. How to use this in my Qt Application? I used as follows 1)EsriRuntimeQt::GPMultiValue <EsriRuntimeQt::GPRasterDataLayer * > *gpMV = new EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer *>("ir"); 2)EsriRuntimeQt::GPRasterDataLayer* ftiff = new EsriRuntimeQt::GPRasterDataLayer(); 3)ftiff->setRasterDataUrl("/home/sau/Desktop/Map_Data/Satellite/54f.tif"); 4)gpMV->addValue(ftiff); I got the following error /home/sau/qtsamples/samples/Los/Los.cpp:570: error: undefined reference to `EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer*>::GPMultiValue(QString const&, QObject*)' /home/sau/qtsamples/samples/Los/Los.cpp:594: error: undefined reference to `EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer*>::addValue(EsriRuntimeQt::GPRasterDataLayer* const&)'
... View more
11-27-2015
12:13 AM
|
0
|
2
|
3434
|
POST
|
Service is creating successfully, but when I am creating Geoprocessor giving taskname it is not happening successfully. Thanks, Bhargav
... View more
10-23-2015
08:51 PM
|
0
|
1
|
393
|
POST
|
Yes, I am not able to see execute task on REST endpoint even after starting the service. The reason for creating gpk is I wanted to use file geodatabase(*.gdb) for network analysis. Local Route (Offline) - ArcGIS Runtime SDK for Qt C++ API: EsriRuntimeQt::LocalRouteTask Class Reference --- This can be used only if runtime geodatabase(*.geodatabase) is available, but I dont have this. And the other classes mentioned OnlineRouteTask, ServiceAreaTask, ClosestFacilityTask are used only if Server is availabe, I dont have any server. I can use local server only.
... View more
10-19-2015
08:39 PM
|
0
|
3
|
393
|
POST
|
Hello, I created a Model in ArcMap 10.3.1 for finding routes between two points which takes input Network Dataset and a Feature layer(for giving stops). This I have done following steps in the tutorial Author and publish a geoprocessing model—ArcGIS Runtime SDK for Qt | ArcGIS for Developers . I used network tools like Make Route Layer, Add Locations, Solve. I am able to get result as required when I run in Arc Map. When I used this result to create gpk and use in Arc GIS Runtime, I am getting output "GET GPServer/na/execute: The specified task was not found" na is my model name.
... View more
10-16-2015
10:29 PM
|
0
|
5
|
2664
|
POST
|
I can create GPK which does line of sight analysis, when GPK is used in run time app I need to give elevation data as input to GPK. How to achieve this?
... View more
08-17-2015
03:24 AM
|
0
|
1
|
617
|
POST
|
2) I don't have Arc Server for publishing image services, how image services can be created using local server like mpk used for creating mpk services. 3) Raster can be converted to tpk and I am able to display in map, but I need to use this layer for Line of Sight Analysis, how this can be achieved?
... View more
08-13-2015
10:10 PM
|
0
|
3
|
617
|
POST
|
I have elevation data in DTED (*.dt1) format. In what way I can open this file in Arc GIS Runtime Qt SDK? I am able to open this file in Arc Map, In what format I should convert this data in Arc Map, such that I can use this in Runtime SDK. Thanks, Bhargav
... View more
08-12-2015
09:06 PM
|
0
|
5
|
3517
|
POST
|
Thank you. I have idea of accessing runtime geodatabase from Qt Application. How to access a file geodatabase( *.gdb) using local server, can you give some more idea how to achieve this? Regards, Bhargav
... View more
08-10-2015
08:47 PM
|
0
|
1
|
881
|
POST
|
I used like this in my code.. try { // You can't modify the dynamic workspaces on a running local map service. m_localMapService.stopAndWait(); // get dynamic workspaces from service EsriRuntimeQt::WorkspaceInfoSet& workspaceInfoSet = m_localMapService.dynamicWorkspaces(); // create a workspace info via the static method according to data type // e.g. shapefile folder connection //EsriRuntimeQt::WorkspaceInfo workspaceInfo = EsriRuntimeQt::WorkspaceInfo::CreateShapefileFolderConnection(m_workspaceId, fileDir);//shapefile EsriRuntimeQt::WorkspaceInfo workspaceInfo = EsriRuntimeQt::WorkspaceInfo::CreateFileGeoDatabaseConnection(m_workspaceId, "/home/sau/Downloads/Sample.gdb"); workspaceInfo.setEditable(true); // set dynamic workspaces for our local map service workspaceInfoSet.add(workspaceInfo); m_localMapService.start(); } catch (EsriRuntimeQt::Exception ex) { QMessageBox::warning(this, "Error", ex.what(), QMessageBox::Ok); } I am not getting messages for this part of code. When m_localMapService.start() is called onLocalServiceCreationSuccess() slot is called. void ShapeFile::onLocalServiceCreationSuccess(const QString& url, const QString& name) { Q_UNUSED(url); Q_UNUSED(name); // // create the ArcGISDynamicMapServiceLayer using the LocalMapService's url // m_dynamicLocalServiceLayer = new EsriRuntimeQt::ArcGISDynamicMapServiceLayer(m_localMapService.urlMapService(), this); // m_map->addLayer(m_dynamicLocalServiceLayer); m_dynamicLayer = new EsriRuntimeQt::ArcGISDynamicMapServiceLayer(m_localMapService.urlMapService(), this); connect(m_dynamicLayer, SIGNAL(layerCreateComplete()), this, SLOT(onLayerCreateComplete())); connect(m_dynamicLayer, SIGNAL(layerCreateError(QString)), this, SLOT(onLayerCreateError(QString))); m_map->addLayer(m_dynamicLayer); } on dynamic layer creation onLayerCreateComplete() slot called. void ShapeFile::onLayerCreateComplete() { m_dynamicLayer->setVisible(true); EsriRuntimeQt::DynamicLayerInfoCollection& layerInfos = m_dynamicLayer->dynamicLayerInfos(); EsriRuntimeQt::DynamicLayerInfo* layerInfo = layerInfos[0]; if (!layerInfo) return; /* Apply a renderer for vector layers. * Note: It is always necessary to provide a renderer, but the renderer provided does * not need to be valid with regard to the actual layer and geometry type, it simply * needs to be a valid renderer. If the renderer specified here is not appropriate for * the geometry type of the layer the symbology will fall back to a default * SimpleMarkerSymbol, SimpleLineSymbol or SimpleFillSymbol. */ EsriRuntimeQt::SimpleRenderer* simpleRenderer; //simpleRenderer = new EsriRuntimeQt::SimpleRenderer(EsriRuntimeQt::SimpleLineSymbol(QColor(1, 1, 1), 6.0), this);//0, 100, 250 simpleRenderer = new EsriRuntimeQt::SimpleRenderer(EsriRuntimeQt::SimpleMarkerSymbol(Qt::blue, 16, EsriRuntimeQt::SimpleMarkerSymbolStyle::Diamond)); EsriRuntimeQt::DrawingInfo* drawingInfo = new EsriRuntimeQt::DrawingInfo(simpleRenderer, 20, this); layerInfo->setDrawingInfo(drawingInfo); // Create the table data source EsriRuntimeQt::TableDataSource* dataSource = new EsriRuntimeQt::TableDataSource(this); dataSource->setWorkspaceId(m_workspaceId); dataSource->setDataSourceName("Cities"); qDebug() << "DataSource JSON" << dataSource->toJson(); // Set the data source EsriRuntimeQt::LayerDataSource* layerDataSource = new EsriRuntimeQt::LayerDataSource(this); layerDataSource->setDataSource(dataSource); layerInfo->setLayerSource(layerDataSource); m_dynamicLayer->refresh(); }
... View more
08-05-2015
09:15 PM
|
0
|
3
|
881
|
POST
|
1. I am planning to read only file geodatabase, editing is not required. 2. When I tried using EsriRuntimeQt::WorkspaceInfo::CreateFileGeoDatabaseConnection, where to give layers name to load.
... View more
08-03-2015
10:02 PM
|
0
|
5
|
881
|
POST
|
In Qt SDK, if I want to open a shape file I need to follow the procedure which is told in sample LocalServer->Shapefile project. But following this process I am not able to access individual features of Shape file and also not able to load multiple shape files. Thanks, Bhargav
... View more
08-03-2015
05:29 AM
|
0
|
3
|
3032
|
POST
|
I tried using this static method but not able to access layers present in file geodatabase(*.gdb). Can you please give more insight on how to achieve this in Qt SDK and also if possible any code snippets. Thanks,Bhargav
... View more
08-03-2015
04:58 AM
|
0
|
7
|
881
|
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|