POST
|
In my experience, labeling problems are more associated with feature complexity than they are directly relatied to scaling. When the feature doesn't meet the requirements for labeling, the label doesn't get placed. This seems to be particularly problematic when labeling lines. Labels on vector tile layer line features always follow the curves of the lines. If the line has a lot (or even a little) sinuosity, it likely won't find a suitable straight stretch on which to place the label until you zoom in quite far. One way around this is create scale dependent versions of the underlying data that have fewer curves when zoomed out. I suspect this is how ESRI accomplishes labeling in their vector tile basemaps.
... View more
01-24-2018
12:20 PM
|
0
|
0
|
4795
|
POST
|
Unless you have set your worksapce to "in_memory", arcpy.Delete_management("tableinmemory")
is not the same as:
arcpy.Delete_management("in_memory\\tableinmemory")
I think your just trying to delete a table called " tableinmemory" within your current workspace, which likely doesn't exist.
... View more
12-07-2017
12:54 PM
|
2
|
0
|
4814
|
POST
|
I'm trying to determine whether there is support for Oracle 12.2 in 10.5.1. According to the Desktop documentation, support stops at 12.1, but this 10.5.1 patch suggests otherwise. vangelo-esristaff
... View more
11-24-2017
08:39 AM
|
0
|
2
|
1028
|
POST
|
Has anyone out there had luck using cx_Oracle on ArcGIS Server for Linux 10.2+? We are in the process of upgrading from 10.1 to 10.5 and we can 't seem to get cx_Oracle to connect to our Oracle database. The suggestion above worked on our 10.1 server, but not on 10.5. We put in a ticket with ESRI, but they referenced the following documented bug (documented at 10.2) and said that the cx_Oracle is supported by ArcGIS server for Linux. NIM096269 - The Python implementation provided with ArcGIS for Server on Linux is unstable when running geoprocessing scripts which leverages the 3rd party cx_Oracle module. We have a number of geoprocesses that rely heavily on cx_Oracle and I'd like avoid rewriting them.
... View more
09-14-2017
11:08 AM
|
0
|
0
|
1719
|
POST
|
I'm running into a similar problem trying to label streams. ArcGIS Pro Published Vector Tile Layer
... View more
04-21-2017
10:00 AM
|
1
|
1
|
4795
|
POST
|
Interesting. I’m still running 10.1, so it might be a version difference.
... View more
12-16-2016
07:23 AM
|
0
|
0
|
2578
|
POST
|
Check your logging level. I think it needs to be set to at least "FINE" to get usage stats.
... View more
12-16-2016
07:08 AM
|
0
|
3
|
2578
|
POST
|
Hi Roger, Here is the function that use when the user click the "Go" button. Since the scale is preserved, I don't actually pass the extent directly. _onClickPrint: function() {
var _this = this;
if (this.printForm.validate() == false) {
return;
}
if (this._txtTitle.value !== "") {
this.printTitle = this._txtTitle.value;
}
var standby = new Standby({
target: this.containerNode.parentNode
});
document.body.appendChild(standby.domNode);
standby.startup();
standby.show();
function getLegendInfos() {
var legLayers = 0 || [];
array.forEach(_this.main.map.layerIds, function(layerId) {
lyr = _this.main.map.getLayer(layerId);
if (!lyr._basemapGalleryLayerType && lyr.visibleLayers && lyr.visibleLayers.length > 0 && lyr.id.indexOf('basemapRef_') != 0) {
var legendLayer = new LegendLayer();
legendLayer.layerId = lyr.id;
legendLayer.subLayerIds = [];
array.forEach(lyr.layerInfos, function(layerInfos) {
legendLayer.subLayerIds.push(layerInfos.id);
});
legLayers.push(legendLayer);
}
});
return legLayers;
};
var layoutOptions = {
"titleText": this.printTitle,
"customTextElements": [{
"printText": this.main.printDisclaimer
}],
legendLayers: getLegendInfos()
};
// console.debug(this._layout.value,this._format.value,this._geoRef,true)
this.printParams.template = {
layout: this._layout.value,
format: this._format.value,
Georef_info: this._geoRef,
preserveScale: true
};
this.printParams.template.layoutOptions = layoutOptions;
this.printParams.extraParameters = {
Georef_info: this._geoRef.value,
outputFormat: this._format.value,
Second_Page_Content: this.main.printSecondPageContent
};
this._resetForm();
//Temporarily reset the default timeout
var originalTimeout = esriConfig.defaults.io.timeout;
esriConfig.defaults.io.timeout = 180000;
//run the print request
var deferred = this.printTask.execute(this.printParams);
//handle the result
deferred.then(function(result) {
window.open(result.url);
standby.hide();
}, function(err) {
standby.hide();
_this.main.logMsg('error', 'Print error', err);
alert(err + " error caused the print operation to fail. Please try again.");
});
//Change the timeout back
esriConfig.defaults.io.timeout = originalTimeout;
}
... View more
09-20-2016
03:32 PM
|
1
|
1
|
2887
|
POST
|
Hi Daniel. Thanks for getting back to me. It looks like we are still having the same problem. Here is the screen shot of the open data page: Dataset | Montana Fish, Wildlife & Parks And here is the screenshot of the warning on the admin page:
... View more
09-02-2016
11:16 AM
|
0
|
0
|
654
|
IDEA
|
Using ArcGIS Online requires the use of a browser with local storage enabled. If local storage is disabled, ArcGIS Online fails to load but provides no indication as to what the issue is. Providing some sort of warning to the user if local storage is disable could help minimize user troubleshooting time.
... View more
08-09-2016
09:43 AM
|
1
|
0
|
224
|
POST
|
If you have access to an ArcGIS server, you could certain host your own custom geoprocessing service to create a feature class using any of the existing arcpy functionality.
... View more
08-01-2016
11:33 AM
|
1
|
0
|
1042
|
POST
|
Looks like they changed some internal functions (anything function with an underscore should be referenced at your own risk) that I am referencing in the “_refreshGrid” function. Their version of the editor updates the grid, then applies the changes to the feature layer. My version edits the feature layer directly (using the attribute editor), then forces a refresh on the data. Based on the 3.17 documentation, it looks like they may have added a refresh function. You might try replacing this line: this._createStoreFromDataQuery(); with: this.refresh();
... View more
07-06-2016
10:03 AM
|
0
|
0
|
533
|
POST
|
It looks like they modified the template quite a bit at 3.17. Try using the following html. I haven't tried this myself yet. <div>
<div class="esri-feature-table-border-container" data-dojo-attach-point= "_gridBorderContainer" data-dojo-type="dijit.layout.BorderContainer" gutters="false">
<div class="esri-feature-table-content-pane esri-feature-table-menu" data-dojo-attach-point= "_gridHeaderNode" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'top'">
<div class="esri-feature-table-menu-item esri-feature-table-loading-indicator" data-dojo-attach-point= "_gridLoadingIndicatorNode" style="display:none;"></div>
<div class="esri-feature-table-menu-item esri-feature-table-title" data-dojo-attach-point= "_gridTitleNode"></div>
<div class="esri-feature-table-menu-item esri-feature-table-closer-container"></div>
<div data-dojo-attach-point= "_menuNode" class="esri-feature-table-menu-item esri-feature-table-menu-options">
<div data-dojo-attach-point= "_gridMenuNode"></div>
</div>
</div>
<div class="esri-feature-table-content-pane" data-dojo-attach-point= "_gridContentPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'center'">
<div class="esri-feature-table-grid" data-dojo-attach-point="_gridNode"></div>
</div>
<!-- custom editor tools section -->
<div class="esri-feature-table-editor-toolbar" data-dojo-attach-point="_gridEditToolbarPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'">
<div data-dojo-attach-point="_gridEditorToolbar" data-dojo-type="dijit/Toolbar">
<div data-dojo-type="dijit/form/Button" data-dojo-attach-event="onClick:_addNew" data-dojo-props="iconClass:'fwijitsFeatureTableEditorIcon fwijitsFeatureTableAdd', showLabel:false">Add</div>
<div data-dojo-type="dijit/form/Button" data-dojo-attach-point="_editSelectionButton" data-dojo-attach-event="onClick:_editSelection" data-dojo-props="iconClass:'fwijitsFeatureTableEditorIcon fwijitsFeatureTableEdit', showLabel:false, disabled:true">Edit Selected</div>
<!--div data-dojo-type="dijit/form/Button" data-dojo-attach-point="_deleteSelectionButton" data-dojo-attach-event="onClick:_deleteSelection" data-dojo-props="iconClass:'fwijitsFeatureTableEditorIcon fwijitsFeatureTableDelete', showLabel:false, disabled:true">Delete Selected</div-->
</div>
</div>
<!-- end custom editor tools section -->
</div>
</div>
... View more
07-06-2016
08:22 AM
|
1
|
2
|
2720
|
POST
|
Excellent. Glad to hear it works for you. Were you able to test it on 3.17?
... View more
07-06-2016
07:16 AM
|
0
|
1
|
2720
|
Title | Kudos | Posted |
---|---|---|
1 | 04-21-2017 10:00 AM | |
1 | 09-11-2015 08:24 AM | |
1 | 01-25-2016 12:30 PM | |
1 | 05-27-2015 08:12 AM | |
1 | 06-09-2015 03:28 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|