POST
|
I created a simple point feature class in default gdb in ArcGIS Pro and published it as a web layer with enabling edit and sync data to ArcGIS online. Other staff edited this web layer and I can see his edit in ArcGIS pro after refreshing web layers. However my original gdb is still in-tact and I wonder how I can bring the changes into gdb not just on published web layer in ArcGIS online.
... View more
04-23-2018
03:26 PM
|
0
|
2
|
2036
|
POST
|
Which server machine is better to install the image server? One with enterprise geodatabase or the other with ArcGIS Server?
... View more
04-04-2018
10:07 AM
|
0
|
1
|
2508
|
POST
|
Jake, I plan to create two new servers. One for enterprise geodatabase on SQL, the other for enterprise ArcGIS Server. Since we don't perform any raster analytics, we can install Image server on either these machines, right? Is there any license role that prohibit from installing image server on ArcGIS server?
... View more
04-03-2018
10:56 AM
|
0
|
3
|
2508
|
POST
|
I don't plan to perform raster analytics and just publish mosaic datasets. Thanks,
... View more
03-28-2018
07:48 AM
|
0
|
2
|
2508
|
POST
|
I just noticed that I need to install ArcGIS Image Server on separate machine from ArcGIS Server instance for 10.6 version. We store raw Ortho photo imagery(1.75TB), Lidar data(554GB), Cached basemap(21GB) images on the other machine(enterprise Geodatabase machine(SDE)) and plan to create a VM to install image server. I'd like to know the minimum server specs for image server. Do you think that dual core CPU/8GB RAM/200GB Hard drive is good enough? Thanks,
... View more
03-27-2018
04:13 PM
|
1
|
13
|
7231
|
POST
|
I need to delete a domain that we don't use anymore however I can't figure out which field and which feature class use this domain. I'm trying to use 'Remove Domain from field' and 'Delete Domain' tool but I have no idea which feature class contain this domain since we have hundreds of feature classes. any help appreciate!
... View more
12-27-2012
08:11 AM
|
0
|
1
|
404
|
POST
|
I don't see any problem on mosaic dataset itself however when I published to image service and zoom in more than 1:25,000 scale, it started turning red, black and missing images. Any ideas? Mosaic Dataset: # band = 3 pixel type: unsigned integer pixel depth: 8 bit no data value = 255 ArcGIS Server 10, SP4 ArcGIS Desktop 10, SP4 Winder Server 2008 64 bit
... View more
04-30-2012
08:07 AM
|
0
|
1
|
2185
|
POST
|
Does anyone have a problem to print bigger size? I have a data model that has about 10 feature classes and each feature class has more than 20 fields. I'd like to print out a big piece of paper to show all of them, its relationship, rules, domains, etc so that I can discuss with customers. Anyhow, when I choose a bigger size, objects in arcgis diagrammer doesn't move beyond its current layout. Please fix this issue for the next version if you can so I can print out just like ESRI UML model.
... View more
03-02-2012
06:55 AM
|
0
|
0
|
955
|
POST
|
What I like to do is convert layer on off dropdown box to a check box. I couldn't get it to work and wonder if someone can walk me through it. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:esri="http://www.esri.com/2008/ags"> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var MS:ArrayCollection = new ArrayCollection( [{label:"Census Block Points", data:0}, {label:"Census Block Group", data:1}, {label:"Counties", data:2}, {label:"states", data:5} ]); private function changeH():void { //trace(msCombo.selectedItem.data); dyn.visibleLayers = new ArrayCollection([msCombo.selectedItem.data]); dyn.refresh(); } private function turnLayerOn():void { //need help on this } ]]> </mx:Script> <mx:ComboBox id="msCombo" dataProvider="{MS}" change="changeH()" /> <mx:HBox> <mx:VBox color = '#330033'> <mx:CheckBox id="chk_co" label="Block Counties" change="turnLayerOn()"/> <mx:CheckBox id="chk_st" label="Block States" change="turnLayerOn()"/> </mx:VBox> </mx:HBox> <esri:Map> <esri:extent> <esri:Extent xmin="-150" ymin="5" xmax="-50" ymax="68"> <esri:SpatialReference wkid="4326"/> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> <esri:ArcGISDynamicMapServiceLayer id="dyn" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"/> </esri:Map> </mx:Application>
... View more
05-17-2011
02:04 PM
|
0
|
0
|
417
|
POST
|
I created a button to select a graphic(points) with polygon extent. What I'd like to do is when it selects points, its attributes are populated in datagrid and highlight corresponding graphic when mouse over on an each item in datagrid. I got it to work except highlight corresponding graphic from datagrid. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:esri="http://www.esri.com/2008/ags" layout="horizontal" creationComplete="doQuery()"> <mx:initialize> <![CDATA[ drawToolbar.activate(Draw.EXTENT); ]]> </mx:initialize> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; import com.esri.ags.geometry.MapPoint; import com.esri.ags.geometry.Extent; import com.esri.ags.events.DrawEvent; import mx.controls.Alert; import com.esri.ags.Graphic; import mx.rpc.AsyncResponder; import com.esri.ags.tasks.Query; import com.esri.ags.tasks.QueryTask; import com.esri.ags.tasks.FeatureSet; import mx.events.ListEvent; private function doQuery():void { queryTask.execute(query, new AsyncResponder(onResult, onFault)); function onResult(featureSet : FeatureSet, token:Object = null):void { for each(var graphic:Graphic in featureSet.features) { myGraphicsLayer.add(graphic); } } function onFault(info:Object, token:Object = null) : void { Alert.show(info.toString()); } } private function drawEndHandler(event:DrawEvent):void { var extent:Extent = event.graphic.geometry as Extent; var graphic:Graphic; var results:ArrayCollection = new ArrayCollection; for (var i:Number = 0 ; i < myGraphicsLayer.numChildren ; i++) { graphic = myGraphicsLayer.getChildAt(i) as Graphic; //if point is contained within extent, highlight it and add for display in results list if (extent.contains(MapPoint(graphic.geometry))) { graphic.symbol = highlightedSymbol; results.addItem({CITY_NAME: graphic.attributes.CITY_NAME, STATE_NAME:graphic.attributes.STATE_NAME}); } //else if point was previously highlighted, reset its symbology else if (graphic.symbol == highlightedSymbol) { graphic.symbol = defaultSymbol; } } labelPoints.text = "# of points in extent = " + results.length; dg.visible = true; dg.dataProvider = results; } //Sync map and datagrid interaction private var highlightedGraphic:Graphic; private function onItemRollOver(event:ListEvent):void { if (highlightedGraphic) { highlightedGraphic.symbol = resultsSymbol; } highlightedGraphic = findGraphicByAttribute(event.itemRenderer.data) highlightedGraphic.symbol = highlightedSymbol; } private function onItemRollOut(event:ListEvent) : void { findGraphicByAttribute(event.itemRenderer.data).symbol = resultsSymbol; } public function findGraphicByAttribute(attributes:Object):Graphic { for each( var graphic:Graphic in myGraphicsLayer.graphicProvider) { if (graphic.attributes === attributes) { return graphic; } } return null; } ]]> </mx:Script> <!-- Start Declarations --> <esri:SimpleMarkerSymbol id="defaultSymbol" color="0x0000FF" style="circle" size="12" alpha="0.5"> <esri:SimpleLineSymbol/> </esri:SimpleMarkerSymbol> <esri:SimpleMarkerSymbol id="highlightedSymbol" color="0xFF0000" style="circle"> <esri:SimpleLineSymbol/> </esri:SimpleMarkerSymbol> <esri:SimpleFillSymbol id="sfs" style="solid" alpha="0.5" color="0x000000"> <esri:SimpleLineSymbol color="0xFF0000"/> </esri:SimpleFillSymbol> <esri:SimpleMarkerSymbol id="resultsSymbol" style="circle" size="24" alpha="0.8" color="0x52F3FF"/> <esri:Draw id="drawToolbar" map="{myMap}" fillSymbol="{sfs}" drawEnd="drawEndHandler(event)"/> <!-- End Declarations --> <esri:QueryTask id="queryTask" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0" /> <esri:Query id="query" where="STATE_NAME = 'Washington'" returnGeometry="true" outSpatialReference="{myMap.spatialReference}"> <esri:outFields> <mx:String>CITY_NAME</mx:String> <mx:String>STATE_NAME</mx:String> </esri:outFields> </esri:Query> <mx:VBox width="100%" height="100%"> <mx:Text text="Draw a rectangle to select points within an extent" fontSize="12" fontWeight="bold" width="100%"/> <esri:Map id="myMap"> <esri:extent> <esri:Extent xmin="-125.9" ymin="44.6" xmax="-114.6" ymax="50.2"> <esri:spatialReference> <esri:SpatialReference wkid="4326"/> </esri:spatialReference> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> <esri:GraphicsLayer id="myGraphicsLayer"/> </esri:Map> </mx:VBox> <mx:VBox width="240" height="100%"> <mx:Text id="labelPoints" fontSize="12" fontWeight="bold" width="100%"/> <mx:DataGrid id="dg" width="100%" height="100%" itemRollOut="onItemRollOut(event)" itemRollOver="onItemRollOver(event)" dataProvider="{queryTask.executeLastResult.attributes}" visible="false"> <mx:columns> <mx:DataGridColumn dataField="CITY_NAME"/> <mx:DataGridColumn dataField="STATE_NAME"/> </mx:columns> </mx:DataGrid> </mx:VBox> </mx:Application>
... View more
05-16-2011
01:38 PM
|
0
|
1
|
1808
|
POST
|
Robert Myers, thanks for the tip. Robert Scheitlin, it works like a charm as always. Thanks again!!!
... View more
05-10-2011
02:32 PM
|
0
|
0
|
278
|
POST
|
I'd like to populate more fields in datagrid in 'select graphic within extent' sample code(http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html). I add 'results.addItem(graphic.attributes.STATE_NAME);' in drawEndHandler function and add <mx:DataGridColumn dataField="STATE_NAME"/> in datagrid. However it returns only city name attribute in both fields. thanks in advance. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:esri="http://www.esri.com/2008/ags" layout="horizontal" > <mx:initialize> <![CDATA[ var queryTask:QueryTask = new QueryTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0"); var query:Query = new Query(); query.where = "STATE_NAME = 'Washington'"; query.returnGeometry = true; query.outFields = ["CITY_NAME", "STATE_NAME"]; queryTask.execute(query, new AsyncResponder(onResult, onFault)); function onResult(featureSet:FeatureSet, token:Object = null):void { for each (var myGraphic:Graphic in featureSet.features) { myGraphic.symbol = defaultSymbol; myGraphicsLayer.add(myGraphic); } } function onFault(info:Object, token:Object = null):void { Alert.show(info.toString()); } drawToolbar.activate(Draw.EXTENT); ]]> </mx:initialize> <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; import com.esri.ags.geometry.MapPoint; import com.esri.ags.geometry.Extent; import com.esri.ags.events.DrawEvent; import mx.controls.Alert; import com.esri.ags.Graphic; import mx.rpc.AsyncResponder; import com.esri.ags.tasks.Query; import com.esri.ags.tasks.QueryTask; import com.esri.ags.tasks.FeatureSet; private function drawEndHandler(event:DrawEvent):void { var extent:Extent = event.graphic.geometry as Extent; var graphic:Graphic; var results:ArrayCollection = new ArrayCollection; for (var i:Number = 0 ; i < myGraphicsLayer.numChildren ; i++) { graphic = myGraphicsLayer.getChildAt(i) as Graphic; //if point is contained within extent, highlight it and add for display in results list if (extent.contains(MapPoint(graphic.geometry))) { graphic.symbol = highlightedSymbol; results.addItem(graphic.attributes.CITY_NAME); results.addItem(graphic.attributes.STATE_NAME); } //else if point was previously highlighted, reset its symbology else if (graphic.symbol == highlightedSymbol) { graphic.symbol = defaultSymbol; } } labelPoints.text = "# of points in extent = " + results.length; dg.visible = true; dg.dataProvider = results; } ]]> </mx:Script> <!-- Start Declarations --> <esri:SimpleMarkerSymbol id="defaultSymbol" color="0x0000FF" style="circle" size="12" alpha="0.5"> <esri:SimpleLineSymbol/> </esri:SimpleMarkerSymbol> <esri:SimpleMarkerSymbol id="highlightedSymbol" color="0xFF0000" style="circle"> <esri:SimpleLineSymbol/> </esri:SimpleMarkerSymbol> <esri:SimpleFillSymbol id="sfs" style="solid" alpha="0.5" color="0x000000"> <esri:SimpleLineSymbol color="0xFF0000"/> </esri:SimpleFillSymbol> <esri:Draw id="drawToolbar" map="{myMap}" fillSymbol="{sfs}" drawEnd="drawEndHandler(event)"/> <!-- End Declarations --> <mx:VBox width="100%" height="100%"> <mx:Text text="Draw a rectangle to select points within an extent" fontSize="12" fontWeight="bold" width="100%"/> <esri:Map id="myMap"> <esri:extent> <esri:Extent xmin="-125.9" ymin="44.6" xmax="-114.6" ymax="50.2"> <esri:spatialReference> <esri:SpatialReference wkid="4326"/> </esri:spatialReference> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> <esri:GraphicsLayer id="myGraphicsLayer"/> </esri:Map> </mx:VBox> <mx:VBox width="240" height="100%"> <mx:Text id="labelPoints" fontSize="12" fontWeight="bold" width="100%"/> <mx:DataGrid id="dg" visible="false" width="100%" height="100%"> <mx:columns> <mx:DataGridColumn dataField="CITY_NAME"/> <mx:DataGridColumn dataField="STATE_NAME"/> </mx:columns> </mx:DataGrid> </mx:VBox> </mx:Application>
... View more
05-09-2011
02:54 PM
|
0
|
3
|
664
|
POST
|
I try to implement 'select graphics within extent' tool in my project. I commented out the lines that I think it doesn't need but nothing happen. When I uncommented it, it only return value from one column. What I need to do is to create a button for select graphic within extent and return results in my master datagrid. Please help! p.s. please see attachment for the entire code. //Select EOC member by Polygon Extent, click event function private function drawExtent():void { //var queryTask:QueryTask = new QueryTask("http://gisserver/ArcGIS/rest/services/EOC/MapServer/0"); //var query:Query = new Query(); //query.where = "EmpNo > 0"; //query.returnGeometry = true; //query.outFields = ["EmpNo", "Fname", "Lname", "ADDRESS_LINE_1", "City", "Team", "PositionTitle", "Title", "DeptName", "HMPhone", "GIS_MILE"]; queryTask.execute(queryselect, new AsyncResponder(onResult, onFault)); function onResult(featureSet:FeatureSet, token:Object = null):void { for each (var myGraphic:Graphic in featureSet.features) { myGraphic.symbol = defaultSymbol; myGraphicsLayer.add(myGraphic); } } function onFault(info:Object, token:Object = null):void { Alert.show(info.toString()); } drawToolbar.activate(Draw.EXTENT); } private function drawEndHandler(event:DrawEvent):void { var extent:Extent = event.graphic.geometry as Extent; var graphic:Graphic; var results:ArrayCollection = new ArrayCollection; for (var i:Number = 0 ; i < myGraphicsLayer.numChildren ; i++) { graphic = myGraphicsLayer.getChildAt(i) as Graphic; //if point is contained within extent, highlight it and add for display in results list if (extent.contains(MapPoint(graphic.geometry))) { graphic.symbol = highlightedSymbol; results.addItem(graphic.attributes.Fname); } //else if point was previously highlighted, reset its symbology else if (graphic.symbol == highlightedSymbol) { graphic.symbol = defaultSymbol; } } labelPoints.text = "# of points in extent = " + results.length; //dg.visible = true; //dg.dataProvider = results; pnlDataGrid.visible = true; resultsGrid.visible = true; resultsGrid.dataProvider = results; } <esri:Query id="queryselect" where="EmpNo > 0" returnGeometry="true" outSpatialReference="{mainMap.spatialReference}"> <esri:outFields> <mx:String>EmpNo</mx:String> <mx:String>Fname</mx:String> <mx:String>Lname</mx:String> <mx:String>ADDRESS_LINE_1</mx:String> <mx:String>City</mx:String> <mx:String>Team</mx:String> <mx:String>PositionTitle</mx:String> <mx:String>Title</mx:String> <mx:String>HMPhone</mx:String> <mx:String>DeptName</mx:String> <mx:String>GIS_MILE</mx:String> </esri:outFields> </esri:Query> <!-- Identify Symbol for where the user clicked --> <esri:SimpleMarkerSymbol id="clickPtSym" style="x" color="0xFF0000" size="12"/> <esri:SimpleLineSymbol id="slsIdentify" style="solid" color="0x00FF00" width="2" alpha="1"/> <esri:SimpleMarkerSymbol id="smsIdentify" style="square" color="0x0099FF" size="100"/> <esri:SimpleFillSymbol id="sfsIdentify"/> <esri:Navigation id="navToolbar" map="{mainMap}"/> <!-- Layout --> <mx:VBox height="100%" width="100%" verticalGap="0" > <mx:Canvas id="cvMain" horizontalScrollPolicy="off" verticalScrollPolicy="off" height="100%" width="100%" borderThickness="1" cornerRadius="10" > <!-- Map Service property--> <esri:Map id="mainMap" openHandCursorVisible="false" logoVisible="false" > <esri:extent> <esri:Extent xmin="7567162" ymin="641343" xmax="7651652" ymax="703119"> <esri:SpatialReference wkid="2913"/> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://gisserver/ArcGIS/rest/services/BaseMap/MapServer" /> <esri:ArcGISDynamicMapServiceLayer url="http://gisserver/ArcGIS/rest/services/EOC/MapServer" /> <esri:GraphicsLayer id="myGraphicsLayer" graphicProvider="{queryTask.executeLastResult.features}" symbol="{resultsSymbol}"/> </esri:Map> <!-- TOP TOOL BAR --> <mx:HBox id="topHBOX" horizontalAlign="center" width="100%" y="10"> <!-- Basic Tool bar --> <mx:HBox id="toolBarBox" horizontalGap="5" x="5" width="100%" horizontalAlign="center" verticalAlign="middle"> <mx:Spacer width="1" /> <mx:Button toolTip="Select" click="drawExtent()" icon="@Embed(source='images/i_draw_rect.png')" height="41" width="41" styleName="main"/> <components:MultiLineButton id="btnFindMember" label="Find Member" width="80" height="40" click="pnlFindMember.visible=true" color="0xffff00" fontSize="12" fontWeight="bold" styleName="main"/> <mx:Spacer width="0.7" /> </mx:HBox> </mx:HBox> <ext:SuperPanel id="pnlDataGrid" enableResize="true" showControls="true" borderAlpha=".7" borderColor="#3399CC" title="Result" width="750" height="320" visible="false" showEffect="zoomInEffect2" hideEffect="zoomOutEffect2" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <mx:DataGrid id="resultsGrid" dataProvider="{queryTask.executeLastResult.attributes}" visible="{queryTask.executeLastResult != null}" itemRollOver="onItemRollOver(event)" itemRollOut="onItemRollOut(event)" width="100%" height="100%" verticalScrollPolicy="auto" horizontalScrollPolicy="auto" selectedIndex="-1" click="doFind()"> <mx:columns> <mx:DataGridColumn headerText="EMP ID" width="50" dataField="EmpNo"/> <mx:DataGridColumn headerText="First name" width="60" dataField="Fname"/> <mx:DataGridColumn headerText="Last name" width="60" dataField="Lname" /> <mx:DataGridColumn headerText="Address" width="135" dataField="ADDRESS_LINE_1" /> <mx:DataGridColumn headerText="City" width="60" dataField="City" /> <mx:DataGridColumn headerText="Team" width="45" dataField="Team" /> <mx:DataGridColumn headerText="EOC Title" width="100" dataField="PositionTitle" /> <mx:DataGridColumn headerText="City Title" width="120" dataField="Title" /> <mx:DataGridColumn headerText="Department" width="120" dataField="DeptName" /> <mx:DataGridColumn headerText="Hm Phone" width="80" dataField="HMPhone" /> <mx:DataGridColumn headerText="Buffer Radius(Mile)" width="50" dataField="GIS_MILE" /> </mx:columns> </mx:DataGrid> </ext:SuperPanel> </mx:Canvas> </mx:VBox> </mx:Application>
... View more
05-06-2011
08:14 AM
|
0
|
1
|
488
|
POST
|
I try to work on 'Select Graphic within Extent' sample code at http://help.arcgis.com/en/webapi/flex/samples/index.html. However it is written in Flex4. Does anyone have this sample code in Flex3 or ESRI hides old version in someplace else?
... View more
05-03-2011
10:55 AM
|
0
|
2
|
685
|
Title | Kudos | Posted |
---|---|---|
1 | 03-27-2018 04:13 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|