|
POST
|
When the parameters of a geoprocessing service change, the only way I can get the geoprocessing widget to show the new parameters is to remove the widget altogether and re-add it, including all the other widget configuration that's needed. Would be nice if there was a refresh button or if the widget responded to the "Set" url by repopulating the parameters.
... View more
05-05-2015
05:33 AM
|
0
|
2
|
3414
|
|
POST
|
Nowhere in the documentation for ImportToolbox does it say to use arcpy.alias.toolname(). It says to use arcpy.toolname_alias(). Your syntax works, the syntax in the documentation does not, which is what led me here. Thanks for the tip, however you discovered it. Even using the latest documentation: ImportToolbox—Help | ArcGIS for Desktop
... View more
04-15-2015
02:02 PM
|
3
|
1
|
8524
|
|
POST
|
Brandon, Currently the widgets are limited to the service's feature limit. Apparently the bar charts and pie charts are driven by the features that the client has locally. I'm hoping a future version of dashboard takes advantage of some of the statistical operations available at 10.3 REST. For example, just through REST, you can query a feature layer for a list of unique values in a field. Then for each value you can requery the service to get the count. That's all the data you need for a bar chart without having to download all the data (lazy loading). Subsequent click events that trigger selections would then fetch the data, but not until needed. Ted
... View more
03-17-2015
08:17 AM
|
0
|
0
|
1045
|
|
POST
|
Jeff, Looks like still no support for related tables in Operations Dashboard. I like the idea of using the standalone table as a workaround, however, I haven't been able to link a query on the standalone table to a selected record in another layer. Ideally I would like to query a feature layer, display the results in a list, and when I click on one of the results, show a list of the results of another query against the standalone table. I can't figure out how to do this. Can you make a query where the value is equal to the field of a selected record in another list widget? Then you could do this without needing a native relationship. Ted
... View more
03-16-2015
12:39 PM
|
4
|
3
|
1814
|
|
POST
|
Widgets like bar charts that only need to show a count should be able to take advantage of some of the capabilities of the REST endpoint like Return Distinct Values and Return Count Only to construct a bar chart quickly without needing to fetch any features from the server.
... View more
03-16-2015
12:04 PM
|
1
|
2
|
1045
|
|
POST
|
If your web map configured for feature layer search using the search bar returns no results, even though the query works fine in a manual REST query, here's why: New at 10.3 in the ArcGIS REST API: - query now supports pagination in a query layer. This allows you to page through query results instead of getting all the service limit results at once. New query parameters resultRecordCount allows you to ask for how many results you want at a time and resultOffset allows you to ask for a new batch of results . http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Map_Service_Layer/02r3000000p1000000/. These were introduced at 10.3 because SQL Server (and other RDBMS too) introduced pagination at SQL Server 2012, in which select query results can be obtained in batches using "fetch-offset" T-SQL statements. If you try to query a layer with data from a RDBMS that does not support pagination (SQL Server 2008 does not), you will get an error that pagination is not supported. If you are writing your own custom REST client you can find out if a layer supports pagination before you decide to use these parameters. Go to the layer's REST page and in the "Advanced Query Capabilities" is a property called "Supports Pagination". In the December update for ArcGIS Online, the "feature search" was updated to use pagination in its query (confirmed with Fiddler) with a default resultRecordCount = 5. Therefore, if your data layer does not support pagination the search won't work. Of course, the documentation to configure feature search in a web map (http://doc.arcgis.com/en/arcgis-online/create-maps/configure-feature-search.htm) does not mention pagination or the resultRecordCount. Also, the feature search annoyingly supports only text fields.
... View more
02-13-2015
01:16 PM
|
2
|
4
|
6990
|
|
POST
|
I've got some data in an enterprise geodatabase (SQL Server 2012). I want to create a view that joins points in a feature class to the nearest line in another feature class. The join includes the shape field and attributes from the point feature class, plus some attributes from the nearest line, plus the distance to the nearest line. I wrote a simple but inefficient view that works for a small test dataset, but performance quickly degrades. 6 seconds for 2000 points against 20 lines. Looking at the execution plan, the spatial index is not being used at all. I manually created the spatial index in ArcCatalog for both the points and the lines with coordinates that bound all of the data with Medium grid granularity at all levels. Here is the code, looking for tips on how to engage the spatial index or better, more scalable logic in general: --POINTS is the point feature class
--LINES is the line feature class
select
p.OBJECTID,
p.SHAPE,
p.PointAttribute,
closestline.LineAttribute,
p.shape.STDistance(closestline.shape)
from
POINTS as p
cross apply (
select top 1 l.LineAttribute, l.Shape
from LINES as l
order by p.SHAPE.STDistance(l.SHAPE)
) as closestline
... View more
01-30-2015
06:59 AM
|
0
|
2
|
6903
|
|
POST
|
Shouldn't this be an option for all widgets? The gauges, bar charts, pie charts, etc all should be togglable to show all results or just in current window, akin to a feature layer's on demand mode?
... View more
10-09-2014
08:34 AM
|
0
|
3
|
1074
|
|
POST
|
I agree with the comment about putting the table in an editable feature service. That should work if you include an identity column to serve as the ObjectID. This would be a good approach if your uses needed row-level insert, update, delete actions via some sort of UI. But if you just want to push data from an SDE feature class into business tables in some other database, you can do this with a cross-database update query. You could schedule this as a SQL Server job or if you wanted it on demand, use pyodbc in a python tool and publish it as a geoprocessing service.
... View more
09-18-2014
09:58 AM
|
0
|
0
|
1533
|
|
POST
|
The FloatingPane documentation mentions a way to overwrite the close behavior using a subclass. http://dojotoolkit.org/reference-guide/1.10/dojox/layout/FloatingPane.html#dojox-layout-floatingpane When the widget is closed via the close button, it can no longer be shown: FloatingPane destroys itself when the close button is pressed. You must create a subclass of FloatingPane to override this behavior. It would be good to hammer out these details so you can have a closable and reopenable floating pane that remembers the state of its contents.
... View more
09-17-2014
02:06 PM
|
0
|
0
|
1323
|
|
POST
|
Using pyodbc for row-level access to business tables, SDE, SQL Spatial, and non-spatial. Reading and updating data. Inserting and deleting data in the case of non-SDE tables.
... View more
09-12-2014
05:24 AM
|
0
|
0
|
660
|
|
POST
|
So now 5 months and 2 versions later it's still not fixed in the 3.6 viewer. Putting layers in groups and using scale dependencies is critical. I still get complaints from my users who wish we could just go back to the "old" viewer (it was a web ADF viewer). What do I tell them? No more grouped layers? No more scale dependencies?
... View more
01-30-2014
06:06 AM
|
0
|
0
|
1895
|
|
POST
|
Jeff, Hopefully you still get a notification of this reply to a year-old post. Here's a real-world scenario where sheet-by-sheet programmatic access to detailed symbology properties is needed. Data driven pages support attribute-driven map rotation. But polygon line fill symbols do not support attribute-driven angles. So when the data frame is rotated the 45 degree symbol is not 45 degrees anymore. This is a real problem if you have more than one angled line symbol (forward leaning angle means one thing, backwards leaning angle means something else). If the map is rotated just right the symbols are just cartographically wrong. In a static map you can calculate the fill angle to compensate for the map rotation, but this is not possible in a dynamic data driven page where the rotation is changing. We can do really cool things with Python and data driven pages, but this is not one of them. ArcObjects should not be required to solve this problem, which has existed for years. Ted Chapin
... View more
12-12-2013
05:08 AM
|
0
|
0
|
3023
|
|
POST
|
I just upgraded ArcGIS Server to 10.2 and Manager now works fine in Chrome. Ted Chapin SGC Engineering Westbrook, ME
... View more
08-28-2013
10:41 AM
|
0
|
0
|
1927
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-22-2016 01:35 PM | |
| 1 | 11-08-2019 01:56 PM | |
| 1 | 05-09-2023 05:58 AM | |
| 1 | 08-11-2021 05:45 AM | |
| 2 | 08-03-2017 07:40 AM |
| Online Status |
Offline
|
| Date Last Visited |
02-26-2024
06:48 PM
|