POST
|
Are there any best practices for upgrading to the new ArcGIS runtime especially on Linux? I Just uninstalled the 100.4 version using ./Setup like we did with the first 100.1 upgrade. Afterwards I just executed the ./Setup of the 100.5 and followed the installation instructions. Luckily it worked like a charm, but I only have the arcgis runtime samples and some small demo apps to upgrade. It would be nice to have any upgrade like e.g. necessary steps when upgrading the ArcGIS Runtime and the Qt version. Maybe we can use to DSA - App as a best practice use case. Lucas Danzinger
... View more
08-05-2019
07:26 AM
|
0
|
1
|
502
|
POST
|
When using Network Analyst in a Python Environment you should use the GetNAClassNames utitlity function returning the language dependent Network Analysis class names as a dictionary. Using ArcGIS with the German Supplement you end up with "Einrichtungen" instead of "Facilities". na_layer = arcpy.na.MakeClosestFacilityAnalysisLayer(... na_classes = arcpy.na.GetNAClassNames(na_layer) facility_class_name = na_classes["Facilities"] arcpy.na.AddLocations(na_layer, facility_class_name, ... GetNAClassNames Documentation
... View more
08-02-2019
03:30 AM
|
0
|
0
|
273
|
POST
|
This issue still arises with version 1.6. symbol = { "type":"simple-marker", "size":6, "color":"black" } san_diego_map = gis.map("San Diego") san_diego_map.add_layer(last_24hours.feature_set, { "renderer":"autocast", "type":"simple", "symbol": symbol }) Errors in JS console: [esri.core.Accessor] Accessor#set Invalid property value, value needs to be one of 'esri.symbols.SimpleFillSymbol', 'esri.symbols.PictureFillSymbol', 'esri.symbols.PictureMarkerSymbol', 'esri.symbols.SimpleLineSymbol', 'esri.symbols.SimpleMarkerSymbol', 'esri.symbols.TextSymbol', 'esri.symbols.LineSymbol3D', 'esri.symbols.MeshSymbol3D', 'esri.symbols.PointSymbol3D', 'esri.symbols.PolygonSymbol3D', 'esri.symbols.WebStyleSymbol', or a plain object that can autocast (having .type = 'simple-fill', 'picture-fill', 'picture-marker', 'simple-line', 'simple-marker', 'text', 'line-3d', 'mesh-3d', 'point-3d', 'polygon-3d', 'web-style')
... View more
07-10-2019
02:27 AM
|
0
|
0
|
521
|
POST
|
Using ArcGIS Pro v2.3 the custom drop handlers defined in DAML seem to be ignored. This perfectly worked with ArcGIS Pro v2.0. Definition of the handler: <dropHandlers> <insertHandler id="FoxDropHandler_FoxHandler" className="FoxHandler" dataTypes=".FOX|.fox" /> </dropHandlers> After the custom file is dropped onto the mapview a datatype not supported message is shown: Do we have to implement another interface or change the DAML configuration?
... View more
07-08-2019
05:17 AM
|
0
|
1
|
389
|
IDEA
|
Is this coming for Christmas this year "Planned for an update, in 2017" ??? ebader-esristaff
... View more
11-24-2017
07:48 AM
|
0
|
0
|
2436
|
POST
|
Hi Wolfgang, I pulled your changes from the last commit "Simplified code to manage DataGrid control", but I cannot see any major changes to the view model acting as a view pane. Would you be so kind and validate if you pushed the changes you made to the public repository or maybe it is just committed to your local one?
... View more
11-14-2016
02:03 PM
|
0
|
1
|
1609
|
POST
|
There is a need for using custom panes connected to the map view like the attribute table is already doing.
... View more
11-07-2016
05:40 AM
|
0
|
4
|
1609
|
IDEA
|
Any timeframe yet? Come on we want some Streaming Quartz release.
... View more
09-20-2016
08:09 AM
|
2
|
0
|
2436
|
IDEA
|
Right now, only the JavaScript API allows the usage of a Streaming Layer (e.g. connecting to the GeoEvent Processor).
... View more
03-13-2014
08:55 AM
|
19
|
16
|
4278
|
POST
|
Here is an updated sample. The reference to the data source was corrupted.
... View more
05-17-2013
06:16 AM
|
0
|
0
|
408
|
POST
|
It would be nice, if the PDB's were shipped or maybe uploaded to the Esri Symbol Server. We have seen some C++ exceptions which were thrown by the ArcGIS Runtime binaries. For now, it is nearly impossible to narrow the unexpected behaviour down. We are creating dump files for the application crashes and attach those to the bug reports we are creating. Having the PDB's we were able to create better technical feedback and only upload the WinDbg analyze output. Thanks in advance
... View more
05-02-2013
04:58 AM
|
0
|
1
|
2662
|
POST
|
Just open the workspace by using the path to the geodatabase and then enumerate through the containing datasets. The code below iterates through all feature datasets and their containing feature classes. If your feature classes are not within a feature dataset you have to modify the third line by using a type of esriDTFeatureClass for getting those.
var workspaceFactory = (IWorkspaceFactory) Activator.CreateInstance(typeof(FileGDBWorkspaceFactoryClass));
var featureWorkspace = workspaceFactory.OpenFromFile(@"C:\data\OpenStreetMap\Germany.gdb", 0);
var datasets = featureWorkspace.Datasets[esriDatasetType.esriDTFeatureDataset];
datasets.Reset();
IDataset dataset;
while (null != (dataset = datasets.Next()))
{
var featureDataset = (IFeatureDataset) dataset;
var featureSubsets = featureDataset.Subsets;
IDataset subset;
while (null != (subset = featureSubsets.Next()))
{
if (esriDatasetType.esriDTFeatureClass == subset.Type)
{
var featureClass = (IFeatureClass) subset;
}
}
}
Happy coding
... View more
01-22-2013
11:37 PM
|
0
|
0
|
893
|
POST
|
Thank you for clarification. I was just confused because the WPF API allows creating an ArcGISLocalDynamicMapServiceLayer passing an instance of a local map service to the constructor. It would be nice if the Java API uses stronger types e.g. MapPackage(java.io.File path) for paths to mpk's and URL for REST end points.
... View more
01-22-2013
11:06 PM
|
0
|
0
|
404
|
POST
|
Would someone be so kind and explain the usage of the implementation of ArcGISLocalDynamicMapServiceLayer? If you want to use dynamic workspaces with the ArcGIS Runtime SDK for Java 10.1.1 you have to use the ArcGISDynamicMapServiceLayer implementation e.g. for adding shapefiles or local geodatabases. Trying to use an instance of ArcGISLocalDynamicMapServiceLayer will fail. No exception is be thrown, instead the LayerStatus is ERRORED and Layer::getInitializationError returns "WARNING: The filename, directory name, or volume label syntax is incorrect" after the layer initialize complete event was fired. ArcGISLocalDynamicMapServiceLayer extends directly from ArcGISDynamicMapServiceLayer, but behaves different using dynamic workspaces. Is it correct that ArcGISLocalDynamicMapServiceLayer is only used for dynamic layers directly pointing to an existing map package? When I was using ArcGIS Runtime SDK for WPF 10.1 using an instance of ArcGISLocalDynamicMapServiceLayer for dynamic workspaces worked as expected. But you had to specify a LocalMapServer instance not the corresponding URL.
arcGisLocalDynamicMapServiceLayer = new ArcGISLocalDynamicMapServiceLayer(localMapService)
Works:
private List<ArcGISDynamicMapServiceLayer> createLocalDynamicLayers(LocalMapService localMapService, WorkspaceInfoSet dynamicWorkspaces) {
List<ArcGISDynamicMapServiceLayer> localLayerList = new ArrayList<>(dynamicWorkspaces.size());
for (final WorkspaceInfo dynamicWorkspace : dynamicWorkspaces) {
ArcGISDynamicMapServiceLayer mapServiceLayer = new ArcGISDynamicMapServiceLayer(localMapService.getUrlMapService());
mapServiceLayer.addLayerInitializeCompleteListener(new LayerInitializeCompleteListener() {
@Override
public void layerInitializeComplete(LayerInitializeCompleteEvent e) {
logger.info(bundle.getString("LocalDataLoader.info.localDynamicLayerInitialized"));
ArcGISDynamicMapServiceLayer localDynamicLayer = (ArcGISDynamicMapServiceLayer) e.getLayer();
LayerStatus status = localDynamicLayer.getStatus();
if (LayerStatus.INITIALIZED != status) {
logger.severe(String.format(bundle.getString("LocalDataLoader.error.localDynamicLayerUninitialized"), localDynamicLayer.getUrl()));
String initializationError = localDynamicLayer.getInitializationError();
logger.warning(initializationError);
return;
}
Fails:
private List<ArcGISDynamicMapServiceLayer> createLocalDynamicLayers(LocalMapService localMapService, WorkspaceInfoSet dynamicWorkspaces) {
List<ArcGISDynamicMapServiceLayer> localLayerList = new ArrayList<>(dynamicWorkspaces.size());
for (final WorkspaceInfo dynamicWorkspace : dynamicWorkspaces) {
ArcGISDynamicMapServiceLayer mapServiceLayer = new ArcGISLocalDynamicMapServiceLayer(localMapService.getUrlMapService());
mapServiceLayer.addLayerInitializeCompleteListener(new LayerInitializeCompleteListener() {
@Override
public void layerInitializeComplete(LayerInitializeCompleteEvent e) {
logger.info(bundle.getString("LocalDataLoader.info.localDynamicLayerInitialized"));
ArcGISDynamicMapServiceLayer localDynamicLayer = (ArcGISDynamicMapServiceLayer) e.getLayer();
LayerStatus status = localDynamicLayer.getStatus();
if (LayerStatus.INITIALIZED != status) {
logger.severe(String.format(bundle.getString("LocalDataLoader.error.localDynamicLayerUninitialized"), localDynamicLayer.getUrl()));
String initializationError = localDynamicLayer.getInitializationError();
logger.warning(initializationError);
return;
}
Thanks in advance
... View more
01-21-2013
11:16 AM
|
0
|
2
|
3796
|
Title | Kudos | Posted |
---|---|---|
1 | 03-13-2024 11:41 AM | |
1 | 03-13-2024 10:42 AM | |
1 | 03-13-2024 09:41 AM | |
1 | 03-13-2024 12:24 PM | |
2 | 03-07-2024 02:41 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|