POST
|
Solved by Using Construct Line of sight, and assigning 0 to the elevation in the target field solved it.
... View more
05-25-2018
08:36 AM
|
0
|
0
|
520
|
POST
|
Model and the Process Window, it appear that its stack in the construct sight Lines
... View more
05-25-2018
05:13 AM
|
0
|
1
|
430
|
POST
|
I am using ArcGIS PRO and I have a point feature class which contain many points and need to use them as an observer, by iterating each point then join field SiteID with the target that match the same SiteID. Also I need to Multiply the elevation attribute in the observer by 10, I tried iterate by Value then I used select by attribute, but that did not work for me. Any Suggestion..
... View more
05-24-2018
09:15 PM
|
0
|
3
|
615
|
POST
|
I am using Esri Javascript API 4.6 Is it possible to Assign an elevation at the end of spider lines- from my store point elevation (total Count). or how to curve them as Figure one is what I have so far, when clicked on any store it show a flat spider line (feature Class with definition expression). Figure 2 is what I need to accomplish.
... View more
03-20-2018
07:17 AM
|
0
|
2
|
678
|
POST
|
I managed to iterate through all the field Value just need to export get count to text file or Excel with this formal CallType - Row Count any idea
... View more
03-14-2017
10:12 AM
|
1
|
0
|
308
|
POST
|
Please see attached Model. Trying to 1- select all points by location that fall within a polygon 2- select by attribute from the selected by location using an expression. so far it work fine .. 3- I have a list of value - I need to change the expression every time the model run and write the results to Excel or Text File as table ass follow. call_type - Count I know that can by accomplished using the iteration but I couldn't figure it out. Thanks
... View more
03-14-2017
06:59 AM
|
0
|
1
|
926
|
POST
|
How to create a locator to geocode addresses without zip code and city fields. I have a polygon feature had a gridid field can I create the locator based on that gridID field to act like a zipCode. I Do appreciate any Help. Thanks
... View more
02-23-2017
09:55 AM
|
0
|
7
|
3540
|
POST
|
I figure it out, I have to check Invert Spatial Relationship on the second Selection.. Thanks
... View more
01-24-2017
09:25 AM
|
0
|
0
|
326
|
POST
|
I am trying to: 1- Iterate through each polling place 2- Select polling within precinct (by location) 3- select that precinct ( by location) 4- select adjacent precinct ( intersect precinct) 5- select all voters inside adjacent precincts then calculate field by adding "Near" value. 6 Switch selection to get voters outside precincts then calculate field by adding "Far" value. Attached model is doing the task the only problem its doing it for the last record. I have 85 polling place.. and I am getting only the last one.. if I stopped the model in middle the model calculate the record in middle. How to fix the Model so I can calculate all the Fields. Thanks
... View more
01-24-2017
06:28 AM
|
0
|
1
|
1292
|
POST
|
I solved it. its my bad with Javascript featureLayer.setDefinitionExpression("ED='ED'");
map.addLayer(featureLayer);
featureLayer.on("mouse-out", closeDialog);
/////////////////////////
fld="SiteID";
featureLayer.on("Click", function(events){
var testval=events.graphic.attributes[fld];
//alert( testval);
featureLayer2.setDefinitionExpression('siteID = ' + testval);
featureLayer3.setDefinitionExpression('siteID = ' + testval);
map.addLayer(featureLayer3);
map.addLayer(featureLayer2);
});
... View more
01-17-2017
06:02 AM
|
0
|
0
|
606
|
POST
|
Thank you. Yes your solution worked perfect as mine. featureLayer2.setDefinitionExpression('siteID = ' + testval);
... View more
01-17-2017
05:52 AM
|
0
|
0
|
267
|
POST
|
how to pass field value on click events to setDefinitionExpression for another feature class. I tried this one but its not working. I appreciate any Help. fld="SiteID";
featureLayer.on("Click", function(events){
var testval=events.graphic.attributes[fld];
featureLayer2.setDefinitionExpression("SiteID = 'testval'");
map.addLayer(featureLayer2);
});
... View more
01-13-2017
02:31 PM
|
0
|
2
|
1190
|
POST
|
This is the code i have so far.. Still need help fixing the code. <script src="https://js.arcgis.com/3.19/"></script>
<script>
var map;
require([
"esri/map", "esri/layers/FeatureLayer",
"esri/tasks/query", "esri/geometry/Circle",
"esri/graphic","esri/lang", "esri/InfoTemplate", "esri/symbols/SimpleMarkerSymbol",
"esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/renderers/SimpleRenderer",
"esri/config", "esri/Color", "dojo/number", "dojo/dom-style",
"dijit/TooltipDialog", "dijit/popup", "dojo/dom", "dojo/domReady!"
], function(
Map, FeatureLayer,
Query, Circle,
Graphic,esriLang, InfoTemplate, SimpleMarkerSymbol,
SimpleLineSymbol, SimpleFillSymbol, SimpleRenderer,
esriConfig, Color, number,domStyle,ToolTipDialog,dijitPopup, dom
) {
map = new Map("mapDiv", {
basemap: "streets",
center: [-96.685226, 33.167420],
zoom: 14,
});
var featureLayer = new FeatureLayer("ELECTION_STATS_HM_Test/MapServer/0",{
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"]
// opacity: 0.5
});
var featureLayer2 = new FeatureLayer("ELECTION_STATS_HM_Test/MapServer/2",{
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"]
//opacity: 0.5
});
featureLayer.on("mouse-over", showTooltip);
// featureLayer.on("click", showVotes);
featureLayer.on("mouse-out", closeDialog);
featureLayer.setDefinitionExpression("ED='ED'");
map.addLayer(featureLayer2);
map.addLayer(featureLayer);
});
//roster
function showVotes(evt){
// var vsite = evt.graphic.attributes.SiteID;
// console.log(vsite);
// featureLayer2.setDefinitionExpression("siteID=vsite");
}
//tooltip
function showTooltip(evt){
closeDialog();
var tipContent = "<b>Poll Place</b>: " + " <font color='green'>"+ evt.graphic.attributes.POLLPLACE + "</font> " +
"<br><b>ED Count</b>: " + " <font color='green'>" + evt.graphic.attributes.ED_Count + "</font> " + "<br><b>Site ID</b>: " + " <font color='green'>" + evt.graphic.attributes.SiteID + "</font> " ;
var site= evt.graphic.attributes.SiteID;
console.log(site);
var dialog = new dijit.TooltipDialog({
id: "tooltipDialog",
content: tipContent,
style: "position: absolute; width: 250px; font: normal normal bold 6pt Tahoma;z-index:100"
});
dialog.startup();
dojo.style(dialog.domNode, "opacity", 0.85);
dijit.placeOnScreen(dialog.domNode, {x: evt.pageX, y: evt.pageY}, ["TL", "BL"], {x: 10, y: 10});
}
function closeDialog() {
var widget = dijit.byId("tooltipDialog");
if (widget) {
widget.destroy();
}
}
</script>
... View more
01-13-2017
12:26 PM
|
0
|
0
|
606
|
Title | Kudos | Posted |
---|---|---|
1 | 03-14-2017 10:12 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|