POST
|
Figured this one out, so I am just sharing. ArcMap kept crashing everytime I was trying to join a view to a versioned feature class. RDMS is Oracle 11g SDE 9.3.1. The solution was to unregister the feature class as versioned. Hope this helps somone. Will
... View more
09-02-2014
05:19 AM
|
0
|
0
|
419
|
POST
|
Thanks Robert. I didn't know that an ArcGIS Online Organizational account comes with ArcGIS Desktop maintenance. All this time I've been missing out on all the great content on AGOL. Good to know!
... View more
08-22-2014
06:40 PM
|
0
|
0
|
1004
|
POST
|
Thanks for the feedback Matt, Robert, and Bjorn. So as I understand it WebApp Builder (WAB) will require Portal or an ArcGIS Online subscription? Both of these are paid subscriptions or licensed so WAB will not be available to those of us who do not have Portal or an ArcGIS Online subscription? If this is correct, ESRI is locking out developers who don't work for an organization with these subscriptions/products. RE: Flex API 3.7. ESRI will retire the Flex API at 3.7 but will the API be turned over to the Open Source community for continued development after ESRI retires it? I hope ESRI comes up with a better name than WebApp Builder. Thanks. Will
... View more
08-22-2014
06:16 PM
|
0
|
2
|
1004
|
POST
|
So from what I have been reading recently, it appears that the Flex 3.6 API is the last release of the Flex API - meaning that there will be no future Flex API releases. It seems like ESRI is pushing the ArcGIS JavaScript API and their own ArcGIS Online web application. Yeah, I get it. JavaScript is THE coding language of choice on the web, and HTML 5 makes Flash obsolete, plus JavaScript is a better platform for mobile devices - no flash plugin required. But my concern is that the Flex API community is so huge that it makes me question whether the Flex API will go away for good or not. Is there any discussion about a third party (or open source) taking over the Flex API? Aren't there many folks out there who are too invested in Flex and thus a transition to JavaScript would be a huge endeavor, not to mention a waste of a good thing? When you compare the Flex Viewer to the JavaScript ...wait there is no JS Viewer, so you cannot make a comparison with something that doesn't exist. The Flex Viewer model is priceless don't you think - turn key out of the box Viewer, no coding required ..only configuration, and a deluge of downloadable widgets that are plug-and-play. So I don't mind switching to JavaScript but ESRI needs to produce a JS Viewer/model which is similar to the Flex Viewer. Unless ESRI's intentions are to force us to use the ArcGIS online viewer. Anyways I would like to hear your thoughts on this. What's the future look like for the Flex API / Flex Viewer?
... View more
08-21-2014
04:26 PM
|
0
|
6
|
5317
|
POST
|
I installed 10.1 SP 1 Web Adaptor on web server (SSL), but when I try to open the http://localhost:443/arcgis/webadaptor page from IE on my web server I get a "page cannot be displayed message", so I am unable to configure the web adaptor. I've tried the FQDN, and the hostname and I get the same message. I also tried to register the web adaptor with the GIS Server using the command line, but it failed due to no connection. Anyone had this problem and know of a solution? BTW - I went through the steps on ESRI's site to configure the GIS Server for SSL (HTTPS only). I know that this is a requirement for SSL. Windows Server 2008R2 IIS 7 ArcGIS Server 10.1 SP1 Thanks. Will
... View more
08-15-2014
04:39 PM
|
1
|
0
|
2556
|
POST
|
Is there an existing flex viewer widget which allows users to use the functionality of dynamic layers? For instance my users want to be able to change the symbology of features, such as change the fill color of a polygon or make the fill color null. Thanks.
... View more
08-14-2014
03:57 PM
|
0
|
1
|
777
|
POST
|
OK so the answer is yes, you can configure the Geoprocessing Widget (.xml file) to work with your published geoprocessing task and input/output parameters. Very nice.
... View more
10-10-2013
03:30 PM
|
0
|
0
|
96
|
POST
|
Can you hook up any geoprocessing task to the compiled geoprocessing widget? I have a gp task which does a select by location based on user input. For example it selects all points that fall within a user selected polygon - (user selected polygon is a selection by attribute not a click selection on the map). So I need to customize a gp widget (or THE gp widget) so that there is a dropdown list of polygon ids (field/values) on the widget, which the user selects and then runs the tool. The tool selects all the points within the selected polygon, and then updates the attributes of the selected points to a constant value. Can this be configured or do I need to do some customization in the source code? Is there a getting started example for customizing geoprocessing widgets (extending source code using flash builder)? Something similar to the "building a custom widget" example on youtube? I need an example of how to send input parameters to my geoprocessing service. Thanks. Will
... View more
10-08-2013
03:08 AM
|
0
|
1
|
1703
|
POST
|
the service url is: url="http://myserver/arcgis/rest/services/land/FeatureServer/2"/>
... View more
10-08-2013
02:38 AM
|
0
|
0
|
141
|
POST
|
10.1 feature access (service) 3.4 flex viewer The service is not refreshing for some reason. <layer label="land" type="feature" visible="true" autorefresh="10" url="http://myserver/arcgis/rest/services/land/2"/> What am I missing? Thanks. Will
... View more
10-06-2013
10:53 PM
|
0
|
4
|
599
|
POST
|
Thanks Bjorn! This worked for me. All I had to do was copy the crossdomain.xml file from C:\Program Files\ArcGIS\Server\framework\runtime\tomcat\contexts\rootapp to my webserver's root directory (ex. C:\inetpub\wwwroot) Will
... View more
09-18-2013
07:35 PM
|
0
|
0
|
749
|
POST
|
I modified one of the samples which uses the FindTask and displays the results in a Datagrid. When the Datagrid is click the map zooms to the extent of the selected feature. I changed the map service from a Tax Parcel (polygon) service to the Cities (point) service. Everything works except for the zoom to on selecting a record in the Datagrid. I assume the issue has to do with the geometry type. <!DOCTYPE html><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10">
<!--The viewport meta tag is used to improve the presentation and behavior of the samples
on iOS devices-->
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Display Find Task results in Dojo DataGrid</title>
<link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/Grid.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dojox/grid/resources/claroGrid.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css">
<style>
html, body { height: 100%; width: 100%; margin: 0; padding: 0; }
</style>
<script>var dojoConfig = { parseOnLoad:true }</script>
<script src="http://js.arcgis.com/3.6/"></script>
<script>
dojo.require("esri.map");
dojo.require("dojox.grid.DataGrid");
dojo.require("dojo.data.ItemFileReadStore");
dojo.require("esri.tasks.find");
dojo.require("dijit.layout.BorderContainer");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.form.Button");
var findTask, findParams;
var map, center, zoom;
var grid, store;
function init() {
dojo.connect(grid, "onRowClick", onRowClickHandler);
center = [-83.266, 42.568];
zoom = 4;
map = new esri.Map("map", {
basemap: "streets",
center: center,
zoom: zoom
});
//Create Find Task using the URL of the map service to search
findTask = new esri.tasks.FindTask("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/");
dojo.connect(map, "onLoad", function() {
//Create the find parameters
findParams = new esri.tasks.FindParameters();
findParams.returnGeometry = true;
findParams.layerIds = [0];
findParams.searchFields = ["CITY_NAME","STATE_NAME","POP1990"];
findParams.outSpatialReference = map.spatialReference;
console.log("find sr: ", findParams.outSpatialReference);
});
}
function doFind() {
//Set the search text to the value in the box
findParams.searchText = dojo.byId("ownerName").value;
findTask.execute(findParams,showResults);
}
function showResults(results) {
//This function works with an array of FindResult that the task returns
map.graphics.clear();
var symbol = new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 10, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255, 0, 0]), 1), new dojo.Color([0, 255, 0, 0.25]));
//create array of attributes
var items = dojo.map(results,function(result){
var graphic = result.feature;
graphic.setSymbol(symbol);
map.graphics.add(graphic);
return result.feature.attributes;
});
//Create data object to be used in store
var data = {
identifier: "FID", //This field needs to have unique values
label: "FID", //Name field for display. Not pertinent to a grid but may be used elsewhere.
items: items
};
//Create data store and bind to grid.
store = new dojo.data.ItemFileReadStore({ data:data });
var grid = dijit.byId('grid');
grid.setStore(store);
//Zoom back to the initial map extent
map.centerAndZoom(center, zoom);
}
//Zoom to the parcel when the user clicks a row
function onRowClickHandler(evt){
var clickedTaxLotId = grid.getItem(evt.rowIndex).FID;
var selectedTaxLot;
dojo.forEach(map.graphics.graphics,function(graphic){
if((graphic.attributes) && graphic.attributes.FID === clickedTaxLotId){
selectedTaxLot = graphic;
return;
}
});
var taxLotExtent = selectedTaxLot.geometry.getExtent();
map.setExtent(taxLotExtent);
}
dojo.ready(init);
</script>
</head>
<body class="claro">
<div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="design:'headline'" style="width:100%;height:100%;margin:0;">
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'" style="height:40px;">
Owner name: <input type="text" id="ownerName" size="60" value="Raleigh" />
<button data-dojo-type="dijit.form.Button" data-dojo-props='onClick:function(){ doFind();}, value:"Search"'>
Search
</button>
</div>
<div id="map" data-dojo-props="region:'center'" data-dojo-type="dijit.layout.ContentPane" style="border:1px solid #000;"></div>
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'bottom'" style="height:150px;">
<table data-dojo-type="dojox.grid.DataGrid" data-dojo-id="grid" id="grid" data-dojo-props="rowsPerPage:'5', rowSelector:'20px'">
<thead>
<tr>
<th field="FID">FID</th>
<th field="CITY_NAME">City</th>
<th field="STATE_NAME" >State</th>
<th field="POP1990">Population</th>
</tr>
</thead>
</table>
</div>
</div>
</body>
</html>
... View more
08-16-2013
09:59 PM
|
1
|
10
|
3927
|
POST
|
Thanks Ken. I just tried using the centerAndZoom method and it worked perfectly. map.centerAndZoom(resultFeatures[0].geometry, .01); Will
... View more
08-16-2013
05:08 AM
|
0
|
0
|
114
|
POST
|
Thanks Zach and Ken. Zach, I like the option of just centering on the selected feature, but how would you set the zoom level? It would be fine to use a constant value for zoom level. Will
... View more
08-16-2013
04:46 AM
|
0
|
0
|
742
|
Title | Kudos | Posted |
---|---|---|
1 | 06-03-2016 10:20 PM | |
1 | 12-30-2015 07:08 AM | |
1 | 08-15-2014 04:39 PM | |
4 | 11-15-2018 12:30 PM | |
1 | 12-29-2015 08:04 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|