POST
|
I know there is a known issue regarding rounding down the coordinate when inputting an MGRS coordinate that lies exactly on a grid's corner (Military Tools for ArcGIS 3.6.1—Military Tools for ArcGIS resources | ArcGIS Solutions for Defense) Has this issue been resolved in version 100.8 that was released May 7 2020?
... View more
05-13-2020
05:18 PM
|
0
|
1
|
461
|
POST
|
Hi! I would like to have the ability to control whether you can pan the map from the map view based on certain signals. How would I be able to toggle whether the user can pan the map using the same settings that ArcGIS provides? Thanks! Nick
... View more
10-24-2017
10:22 AM
|
0
|
2
|
886
|
POST
|
I will put that in and see what errors are occurring. What is Fiddler and how can I use it? Thanks!
... View more
10-02-2017
10:11 AM
|
0
|
1
|
936
|
POST
|
Thank you for providing those options! For the moment I will work with the 3rd option (the QML types), but when I use the shaders (particularly the Desaturate item) it turns all of my drawn graphics to grayscale as well since I assume they are associated with the MapView item. Is there any way to separate the graphics and the map so that I could use the shader on just the basemap and not on the graphics? Desaturate { anchors.fill: parent source: map desaturation: 1.0 }
... View more
10-02-2017
09:22 AM
|
0
|
1
|
2025
|
POST
|
Okay thank you for the suggestions! Do you know of any open source or free tools I could use? I don't need a very powerful tool for now so I'd be okay with a very basic one
... View more
10-02-2017
09:18 AM
|
0
|
1
|
515
|
POST
|
Below is the code I'm using that should 1) open a portal to ArcGIS Online, 2) prepare an export task with the Url of the basemap that I'd like to download, and 3) export the basemap. I use the AuthenticationManager QML item to take in my credentials to my ArcGIS Developer account which it accepts, my only error is the one above and I'm not sure what the problem could be. Perhaps it is a network permissions issue?
Portal* portal = new Portal(QUrl("https://arcgis.com"), true, this); connect(portal, &Portal::doneLoading, this, [this](Error error){ if (!error.isEmpty()) qDebug() << error.message() << error.additionalMessage(); else qDebug() << "Portal loaded!"; }); p_ExportTask_ = new ExportTileCacheTask(QUrl("https://tiledbasemaps.arcgis.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer"), this); connect(p_ExportTask_, &ExportTileCacheTask::doneLoading, this, [this](Error error){ if(!error.isEmpty()){ qDebug() << "ExportTask load error: " << error.message() << error.additionalMessage(); } });
Geometry view = p_MapView_->visibleArea(); view = GeometryEngine::project(view, SpatialReference::webMercator()); connect(p_ExportTask_, &ExportTileCacheTask::defaultExportTileCacheParametersCompleted, this, [this, path](QUuid, ExportTileCacheParameters params){ p_ExportParams_ = params; ExportTileCacheJob* exportJob = p_ExportTask_->exportTileCache(p_ExportParams_, path); if(exportJob){ connect(exportJob, &ExportTileCacheJob::jobStatusChanged, this, [this, exportJob](){ QList<JobMessage> msgs; switch(exportJob->jobStatus()){ case JobStatus::Failed: std::cout << "Failed :(" << std::endl; msgs = exportJob->messages(); for(int i = 0; i < msgs.size(); i++){ JobMessage msg = msgs.at(i); std::cout << msg.message().toStdString() << std::endl; //This is where the error occurs } break; case JobStatus::Paused: std::cout << "Export paused." << std::endl; break; case JobStatus::Started: std::cout << "Export in progress..." << std::endl; break; case JobStatus::Succeeded: std::cout << "Export succeeded!" << std::endl; loadExportedMap(exportJob->result()); // This break; } }); // Start the job exportJob->start(); }else{ std::cout << "Export job is invalid, task aborted." << std::endl; return; } }); p_ExportTask_->createDefaultExportTileCacheParameters(view, p_MapView_->mapScale(), p_ExportTask_->mapServiceInfo().maxScale());
void MyApp::loadExportedMap(TileCache *cache){ // Method to load the basemap and display it if(cache){ ArcGISTiledLayer* tiledLayer = new ArcGISTiledLayer(cache, this); Basemap* basemap = new Basemap(tiledLayer, this); p_Map_->setBasemap(basemap); std::cout << "Tile package loaded successfully!" << std::endl; }else{ std::cout << "The cache is invalid." << std::endl; } }
... View more
10-02-2017
09:16 AM
|
0
|
3
|
936
|
POST
|
Hi! I am using the ExportTileCacheTask to create a tile package of the built in Esri basemaps, and I keep getting an error saying: "Job failed. Job error 6 Illegal state. Server response is missing a job id." I'm not sure why the server won't provide a correct id for the job, so if anyone has any advice it would be greatly appreciated! Thanks! Nick
... View more
10-02-2017
07:41 AM
|
0
|
5
|
1081
|
POST
|
Hi! I am in need of some offline map functionality, and I've been looking through the ArcGIS C++ Samples for "Raster Layer (file)" which seems to have the functionality that I want. So my question is now, how can I create files to be used in this way? What software can I download to create the .tif files that are used in the sample? Thanks! Nick
... View more
10-02-2017
06:14 AM
|
0
|
3
|
751
|
POST
|
Dan, Thank you! I will look into those references. Is there a way to access RGB values of an ArcGISTiledLayer? If so, how could I got about changing those values?
... View more
10-01-2017
01:37 PM
|
0
|
1
|
2025
|
POST
|
Hi! I would like to know if there is any way to take a basemap (e.g. Imagery) and make it gray scaled? Perhaps there is a workaround using a raster function or editing the contents of the image layer. I've tried changing the brightness, contrast, and gamma for an ArcGISTiledLayer object but none of those settings seem to make the layer grayscale. Any help is appreciated! Thanks! Nick
... View more
09-29-2017
01:32 PM
|
0
|
6
|
3746
|
POST
|
Okay, then perhaps there is a way to make the symbol a fixed pixel size?
... View more
09-27-2017
08:16 AM
|
0
|
1
|
852
|
POST
|
I'm using 2D symbols and I would like the latter option where it gets smaller when you zoom out
... View more
09-27-2017
07:50 AM
|
0
|
3
|
852
|
POST
|
Hi! I would like to create marker symbols (such as SimpleMarkerSymbol or PictureMarkerSymbol) at a fixed size so that when I zoom in or out they stay the same size. Is this possible using a GraphicOverlay and Graphic items? Thanks! Nick
... View more
09-26-2017
12:09 PM
|
0
|
5
|
1723
|
POST
|
Hmm, this is strange. All I see is the text from the post still:
... View more
09-25-2017
05:35 AM
|
0
|
0
|
441
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|