POST
|
Hi Jonathan what I need to do is removing the sequence of 10 (layerId) from the service but still keeping the `Surface Structure` in with layer ID 11. my understanding is if I republish the service again the new layerIDs will apply to the service layers. so I need to do this trough Server
... View more
04-19-2018
10:39 AM
|
0
|
3
|
890
|
POST
|
Using ArcGIS Server 10.4.1 I have a published service which looks like Can you please let me know how I can delete a Layer like Pole(10) from the service?
... View more
04-19-2018
10:22 AM
|
0
|
5
|
1205
|
POST
|
just one more confirmation , How about GISSV01 which is hosting ArcGIS Server, Do I have to install any Adapter (either for Portal or Server) at there too?
... View more
01-24-2018
07:51 AM
|
0
|
1
|
538
|
POST
|
Thanks for comment Juan, but I just have two machines GISSV01 & GISSV02 and I have already IIS installed on GISSV02 so can I install the two web adapters ( for Portal and Server) in GISSV02 ? Back to original question do I have to install ArcGIS For Server on GISSV02 which is only suppose to generates tokens? or the Adabtores are good enough?
... View more
01-24-2018
07:35 AM
|
0
|
3
|
538
|
POST
|
I am trying to install ArcGIS Enterprise 10.5.1 on two separate physical machines called GISSV01 and GISSV02 . This means that there is a separate machine for each of the following: ArcGIS Server (GISSV01) Portal for ArcGIS (GISSV02) The portal will be in charge of authentication process. Now my questions are: 1 - Where should I Install the Web Adaptor on GISSV01 or GISSV02 only or both? 2 - I need to install Portal only Portal for ArcGIS on GISSV02 . From the point of Enterpise level, do I have to have the `ArcGIS for Server to be installed at that machine?
... View more
01-23-2018
02:10 PM
|
0
|
6
|
733
|
POST
|
I need to upload two REST SOE to ArcGIS Server. They are technically same and I just copied second one from the first and renamed the project and built it but when I tried to upload the second SOE ArcGIS server Complained that so I tried to change some configurations at second SOE as 1- in Properties/AssemblyInfo.cs I changed [assembly: AssemblyTitle("GeometricNetworkUtility")]
[assembly: AssemblyDescription("Geometric Network Utility")]
[assembly: AddInPackage("ArcGIS.Soe.Rest.GeometricNetworkUtilitybyPhase", "f15446f6-4217-4c50-a970-078c0b64a20a",
Author = " ",
Company = " ",
Description = "Geometric Network Utility",
TargetProduct = "Server",
TargetVersion = "10.4",
Version = "1.3")] To [assembly: AssemblyTitle("GeometricNetworkUtility2")]
[assembly: AssemblyDescription("Geometric Network Utility 2")]
[assembly: AddInPackage("ArcGIS.Soe.Rest.GeometricNetworkUtility2", "f15446f6-4217-4c50-a970-078c0b64a20a",
Author = " ",
Company = " ",
Description = "Geometric Network Utility 2",
TargetProduct = "Server",
TargetVersion = "10.4",
Version = "1.3")] and in GeometricNetworkUtility.cs I changed the Description = "Geometric Network Utility",
DisplayName = "Geometric Network Utility", to Description = "Geometric Network Utility 2",
DisplayName = "Geometric Network Utility 2", but still after rebuilding the solution and uploading the new SOE I am getting the same error message. Can you please let me know how to solve this?
... View more
01-22-2018
12:27 PM
|
0
|
3
|
628
|
POST
|
Thanks Robert but this is working fine on only Zoomed out maps. I tried to use a zoom level of 12 or 14 and jumping was happening again
... View more
01-04-2018
08:21 AM
|
0
|
1
|
460
|
POST
|
Can you please take a look at this demo and let me know how I can add smooth animation or Pan function to move to the destination? As you can see I am trying to re-center the map center by map.centerAt(new Point(-78.542, 37.61, new SpatialReference({wkid: 4326}))); on a click event but this is jumping the map to the destination. <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<title>Simple Map</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.23/esri/css/esri.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style>
html, body, #map {
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://js.arcgis.com/3.23/"></script>
<script>
var map;
require(["esri/map", "esri/geometry/Point","esri/SpatialReference","dojo/domReady!"], function(Map, Point, SpatialReference) {
map = new Map("map", {
basemap: "topo", //For full list of pre-defined basemaps, navigate to http://arcg.is/1JVo6Wd
center: [-122.45, 37.75], // longitude, latitude
zoom: 13
});
$(".btn").on("click", function(){
map.centerAt(new Point(-78.542, 37.61, new SpatialReference({wkid: 4326})));
});
});
</script>
</head>
<body>
<button type="button" class="btn btn-default">Go There</button>
<div id="map"></div>
</body>
</html>
... View more
01-04-2018
07:56 AM
|
0
|
3
|
1270
|
POST
|
Thanks a lots Robert is there any way also to get Graphics which are not in the Circle?
... View more
12-20-2017
05:10 PM
|
0
|
1
|
1423
|
POST
|
Can you please take a look at This Demo and let me know how I can get geometry of selected Graphics which are inside the clicked circle extent var map;
var baseCircle;
require([
"esri/map", "esri/layers/FeatureLayer", "esri/layers/GraphicsLayer",
"esri/tasks/query", "esri/geometry/Circle", "esri/SpatialReference", "esri/geometry/Point",
"esri/graphic", "esri/symbols/SimpleMarkerSymbol",
"esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/renderers/SimpleRenderer",
"esri/config", "esri/Color", "dojo/dom", "dojo/domReady!"
], function(
Map, FeatureLayer,
GraphicsLayer,
Query, Circle, SpatialReference, Point,
Graphic, SimpleMarkerSymbol,
SimpleLineSymbol, SimpleFillSymbol, SimpleRenderer,
esriConfig, Color, dom
) {
esriConfig.defaults.io.proxyUrl = "/proxy/";
map = new Map("mapDiv", {
basemap: "streets",
center: [-88.158805, 41.786075],
zoom: 14,
slider: false
});
var pointGLayer = new GraphicsLayer();
//pointGLayer.setRenderer(pointRenderer);
map.addLayer(pointGLayer);
var data = [
[-88.13198711899997, 41.79304797900005],
[-88.13559945399999, 41.79100138000007],
[-88.13565587999994, 41.79234125500005],
[-88.13645828899996, 41.79017487800007],
[-88.13801440299994, 41.790968630000066],
[-88.13797007499994, 41.791996288000064],
[-88.13798992699998, 41.79258648200005],
[-88.12837351899998, 41.79370832500007]
]
var symbol = new SimpleMarkerSymbol(
SimpleMarkerSymbol.STYLE_CIRCLE,
12,
new SimpleLineSymbol(
SimpleLineSymbol.STYLE_NULL,
new Color([247, 34, 101, 0.9]),
1
),
new Color([207, 34, 171, 0.5])
);
for (i = 0; i < data.length; i++) {
var pt = new Point(data[i][0], data[i][1], new SpatialReference({
wkid: 4326
}));
var graphic = new Graphic(pt, symbol);
pointGLayer.add(graphic);
}
var symbol = new SimpleMarkerSymbol(
SimpleMarkerSymbol.STYLE_CIRCLE,
12,
new SimpleLineSymbol(
SimpleLineSymbol.STYLE_NULL,
new Color([247, 34, 101, 0.9]),
1
),
new Color([207, 34, 171, 0.5])
);
var circleSymb = new SimpleFillSymbol(
SimpleFillSymbol.STYLE_NULL,
new SimpleLineSymbol(
SimpleLineSymbol.STYLE_SHORTDASHDOTDOT,
new Color([105, 105, 105]),
2
), new Color([255, 255, 0, 0.25])
);
var circle;
map.on("click", function(evt) {
baseCircle = evt.mapPoint;
console.log(baseCircle);
circle = new Circle({
center: evt.mapPoint,
geodesic: true,
radius: 1000,
radiusUnit: "esriMeters"
});
map.graphics.clear();
var graphic = new Graphic(circle, circleSymb);
map.graphics.add(graphic);
var query = new Query();
query.geometry = circle.getExtent();
});
});
... View more
12-20-2017
02:47 PM
|
0
|
3
|
3219
|
POST
|
Thanks Xander, but the Join Field create a permanent join which a very time consuming process. what I need is creating a Temporary join.
... View more
12-16-2017
11:17 AM
|
0
|
1
|
284
|
POST
|
Using ArcGIS 10.4, what Toolbox is the equivalent to performing manual join in ArcMap between a Vector Feature Class and a Table? I am trying to create a GIS Model in Model Builder and I need to Join a Shapefile to a .dbf table so I used Add Join from the Toolbox which looks is for Raster datasets! ESRI Claims that the Add Join tool Joins a layer to another layer or table (where layer is a feature layer, table view, or raster layer with a raster attribute table) based on a common field. But looks like the tool only works with Raster and not Vector to table
... View more
12-16-2017
09:56 AM
|
0
|
3
|
491
|
POST
|
Using ArcGIS API for JavaScript 3.22 and having two given Points as var pt1 = new Point(-106.61, 35.1107, new SpatialReference({ wkid: 4326 }));
var pt2 = new Point(-108.61, 35.1107, new SpatialReference({ wkid: 4326 })); can you please let me know how I can calculate the distance from `pt1 to `pt2`? var map;
require([
"esri/map",
"esri/geometry/Point",
"esri/SpatialReference",
"esri/geometry/webMercatorUtils",
"dojo/domReady!"
], function(Map, Point, SpatialReference, webMercatorUtils) {
map = new Map("map", {
basemap: "topo",
center: [-106.61, 35.1107],
zoom: 8
});
geometryService = new esri.tasks.GeometryService("https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");
var pt1 = new Point(-106.61, 35.1107, new SpatialReference({
wkid: 4326
}));
var pt2 = new Point(-108.61, 35.1107, new SpatialReference({
wkid: 4326
}));
});
... View more
12-12-2017
02:37 PM
|
0
|
1
|
3074
|
POST
|
I am trying to create a Python Toolbox tool which is supposed to add two fields State and StateAbb to selected Shapefile from selected combobox. How I can add a Combobox which contains a list of US states to the Tool? import arcpy
class Toolbox(object):
def __init__(self):
"""Define the toolbox (the name of the toolbox is the name of the
.pyt file)."""
self.label = "states"
self.alias = "states"
# List of tool classes associated with this toolbox
self.tools = [states]
class states(object):
def __init__(self):
self.label = "states Tool"
self.description = "Add and Insert Value from Combo"
self.canRunInBackground = False
def getParameterInfo(self):
param0 = arcpy.Parameter(
displayName="1- State Street Layer",
name="in_features",
datatype="GPFeatureLayer",
parameterType="Optional",
direction="Input"
)
params = [param0]
return params
def execute(self, params, messages):
"""The source code of the tool."""
arcpy.AddField_management(params[0],"area","TEXT","#","#","#","#","NULLABLE","NON_REQUIRED","#")
arcpy.CalculateField_management(params[0],"area","!shape.area@squaremeters!","PYTHON_10.3","#")
return
... View more
12-12-2017
02:20 PM
|
0
|
5
|
7477
|
Title | Kudos | Posted |
---|---|---|
1 | 07-25-2017 08:32 AM | |
1 | 07-04-2017 01:47 PM | |
1 | 08-15-2017 02:44 PM | |
1 | 05-19-2017 02:36 PM | |
1 | 02-09-2017 12:37 PM |
Online Status |
Offline
|
Date Last Visited |
12-31-2020
08:22 PM
|