|
POST
|
Dear Bindu, We developed a custom python script for that and use it (.gpk file) as a source for local geoprocessing service. Here are some resources: General overview on sample profile tool: Setting up your own Profile Service Most important tools are: Densify—Help | ArcGIS Desktop Interpolate Shape—Help | ArcGIS Desktop Feature Vertices To Points—Help | ArcGIS Desktop Hope this helps. Adam
... View more
08-14-2019
05:29 AM
|
1
|
0
|
2380
|
|
POST
|
Hi Bindu, I remember developing the same functionality using ArcGIS Runtime for Java 10.2.4. At that time, we used a local geoprocessing service to accomodate DSM with better resulution. As an ouput we used z-enabled points which were generated using Densify and Feature Vertices to Points tools out of profile line. Next, we plotted the elevation profile, with distances and angles in the custom JPanel component. I reckon we used basic swing-comaptible library for this. Hope this helps. Adam
... View more
08-14-2019
03:29 AM
|
0
|
2
|
2380
|
|
POST
|
Hi Helen, According to Esri Support, you should ignore them. Hope this helps. Adam
... View more
07-18-2019
02:29 AM
|
0
|
0
|
3454
|
|
POST
|
According to the Esri Support, these are generic errors and can be disregarded.
... View more
07-14-2019
07:34 AM
|
0
|
0
|
3454
|
|
POST
|
Dear All, I experience some issues with a portal deployment upgraded from 10.5.1 to 10.7.1. Although, the portal is up and running, some SEVERE errors appear in the log files. Here they are: Portal log after restarting the portal service: The portal has been initialized and configured but is not accessible. The internal portal database does not appear to be running or accepting connections. Restart the portal machine or machines and if the problem persists, contact Esri technical support (U.S.) or your distributor (customers outside the U.S.).
The portal is currently unavailable. Please contact your portal administrator.
Error at URL updater. <Portal dir>\framework\webapps\rootapp\styleItems\RealisticTrees\web\Other.json (The system cannot find the path specified)
The database server was found to be stopped. Re-starting it.
The web server was found to be stopped. Re-starting it.
Starting the web server. Next, after couple of minutes the portal is accessible again. DB log: FATAL: no pg_hba.conf entry for host "::1", user "<arcgis service account name>", database "arcgis service account name", SSL off localhost log (attached): com.esri.arcgis.portal.admin.core.PortalException: The configuration store is not connected. Please invoke the connect() method and try again. Can anybody make heads or tails of these messages? What might be the most probable cause of them? Thanks in advance for sharing any ideas. Adam
... View more
07-09-2019
12:35 AM
|
0
|
3
|
4086
|
|
IDEA
|
Dear Esri JS/ REST team, could you please expose in JS API the FeatureLayer method to specify the order by clause accompanied by queryDefinition ? That would allow developers to better control the order of features returned by the server without implementing GraphicLayers/QueryTask/Query and symbology. Thank you in advance for considering this.
... View more
06-27-2019
11:03 PM
|
1
|
0
|
602
|
|
POST
|
Dear Joshua, Thank you for your support. Here is the code I tried to run: p = arcpy.mp.ArcGISProject('CURRENT')
m = p.listMaps('Map1')[0]
l = m.listLayers('Lines*')[0]
sym = l.symbology
sym
new_list = []
new_list.append(sym.renderer.groups[0].items[1])
new_list.append(sym.renderer.groups[0].items[2])
new_list.append(sym.renderer.groups[0].items[0])
new_list.append(sym.renderer.groups[0].items[3])
new_listsym.renderer.groups[0].items
sym.renderer.groups[0].items = new_list and the screenshot with the error: Well, most probably in the end I will have to direct to Esri Support, but maybe somebody in the community already came across this issue and found a workaround. Keeping my fingers crossed. BR Adam
... View more
05-07-2019
01:11 AM
|
0
|
0
|
1008
|
|
POST
|
Dear All, ArcPy and ArcGIS Pro 2.3.2 Was anybody here successfull in setting a list of sorted Item objects based on features count to the ItemGroup (Unique Value Renderer)? Everytime I try it, I receive an error saying that such attribute cannot be set or ArcGIS Pro crashes unexpectedly. According to the docs, the list if items can be changed. ItemGroup—ArcPy | ArcGIS Desktop. Cannot? I thought something like the snippet below would do the job, but it doesn't: sym.renderer.groups [0].items = new_list_of_sorted_Item_objects Any hints? Thanks! Adam
... View more
05-06-2019
05:48 AM
|
0
|
4
|
1125
|
|
POST
|
Hi, Have you tried to use Geometry| arcgis-java to get gemeotry in WKT? Hope this helps, Adam
... View more
03-26-2019
12:27 AM
|
0
|
0
|
2022
|
|
POST
|
Hi All, Does anybody know if labels for polylines are supported in 4.x? Any working example? Here is the simple JS snippet trying to label polylines, but without success: <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<title>Intro to FeatureLayer - 4.10</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.10/esri/css/main.css">
<script src="https://js.arcgis.com/4.10/"></script>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
</style>
<script>
require([
"esri/Map",
"esri/views/MapView",
"esri/layers/FeatureLayer"
],
function(
Map, MapView,
FeatureLayer
) {
var map = new Map({
basemap: "hybrid",
});
var view = new MapView({
container: "viewDiv",
map: map
});
/********************
* Add feature layer
********************/
const labelClass = { // autocasts as new LabelClass()
symbol: {
type: "text", // autocasts as new TextSymbol()
color: "green",
haloColor: "white",
font: { // autocast as new Font()
family: "playfair-display",
size: 12,
weight: "bold"
}
},
labelExpressionInfo: {
expression: "$feature.condition"
}
};
// Carbon storage of trees in Warren Wilson College.
var featureLayer = new FeatureLayer({
url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/LocalGovernment/Recreation/FeatureServer/1",
outFields: ["*"],
labelingInfo: [labelClass],
labelsVisibleBoolean: true
});
map.add(featureLayer);
});
</script>
</head>
<body>
<div id="viewDiv"></div>
</body>
</html> Any ideas? BR, Adam
... View more
03-19-2019
01:29 PM
|
0
|
2
|
1275
|
|
POST
|
Dear Rafael, You should use GeometryEngine class for that. Check it here: GeometryEngine| arcgis-java and Project—ArcGIS Runtime SDK for Java | ArcGIS for Developers Hope this helps. Adam
... View more
02-10-2019
11:02 PM
|
0
|
0
|
2932
|
|
POST
|
Dear Dan, The name is unique. No warnings at all. Adam
... View more
09-20-2018
05:44 AM
|
0
|
0
|
5001
|
|
POST
|
No warnings at all in the tool output window... It seems that I need to get use to that 🙂 Adam
... View more
09-20-2018
04:28 AM
|
0
|
2
|
5001
|
|
POST
|
Dear Dan. I am running the script from ArcGIS Pro (Script tool in Toolbox), so there is no python window or ide to close. Indeed, I tried to delete those variables as well. The documentation clearly states that the object still has the reference to the former aprx file: The method creates a new output project file, but the project variable continues to reference the original ArcGISProject object. It does not duplicate all the content within a project folder. So, I reckon it is a bug in arcpy.... Best Regards! Adam
... View more
09-19-2018
11:09 PM
|
0
|
4
|
5001
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-19-2024 12:19 PM | |
| 1 | 05-11-2016 06:36 AM | |
| 1 | 09-28-2023 08:17 AM | |
| 2 | 03-17-2021 12:09 PM | |
| 1 | 05-11-2016 10:40 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-22-2024
10:35 PM
|