|
POST
|
I am attempting to use a custom ArcFM validation rule because I can use field model names instead of hard coding field names. It looks like a custom validation rule for the data reviewer would also work. I may try both.
... View more
10-01-2013
06:43 AM
|
0
|
0
|
549
|
|
POST
|
I have a facilityid field on a point feature class. I also have the facilityid field on one or several related units which have a relationship class defined to the parent feature. I want to use data reviewer to compare the facilityid field on the parent to the unit and make sure they're the same. I've been trying the table to table check, but I haven't had any luck on getting this particular combination to work. I have reviewer working for quite a few other things, but am still learning it's functions. Any thoughts or help would be great! Thanks
... View more
09-27-2013
10:27 AM
|
0
|
2
|
3172
|
|
POST
|
Has anyone been able to make this work with the lastest JS API? I'm trying to make the sample work by only changing the api references and have started trying to convert the code, but am getting stumped pretty early. dojo.declare('esri.ux.layers.ClusterLayer', esri.layers.GraphicsLayer, { is right at the top in the declaration of the class and it blows up thinking the GraphicsLayer is "null or undefined". Thoughts?
... View more
09-17-2013
09:37 AM
|
0
|
8
|
6097
|
|
POST
|
Modifying to use arcgisscripting I'll lose all of the performance benefits I've gained with faster cursors and some new tools. That's an unfortunate answer from them. I'm trying the 'Run with highest privledges' option selected which seems to have a positive impact (combined with run if user is logged in or not). It's allowed me to run my scripts, but it may only be possible because my service running account is in the local admin group. I'd be curious what requires the extra privledges. The scripts I'm using should only need to read files, possibly aside from compiling the py files into pyc files.
... View more
06-25-2013
10:36 AM
|
0
|
0
|
3658
|
|
POST
|
I'm now moving my scripts to 10.1 SP1 on our production servers as part of an upgrade. All of my scripts used to work fine. Now when they're supposed to launch over night they fail with code 0xC0000005 (Seems to be an access violation). These must work at 10.1 and can't rely on an upgrade to 10.2. A script without arcpy in it works fine. A script with the code below fails with the fault listed above.
import arcpy
print "Hello World"
Have you made any progress on this issue.
... View more
06-25-2013
09:34 AM
|
0
|
0
|
3658
|
|
POST
|
Open Weather Map
<layer label="Open Weather Map Precipitation" type="webtiled" visible="false" useproxy="true" autorefresh="600" alpha="0.7" disableclientcaching="true" url="http://undefined.tile.openweathermap.org/map/precipitation/{level}/{col}/{row}.png" subdomains=""/>
<layer label="Open Weather Map Pressure" type="webtiled" visible="false" useproxy="true" autorefresh="600" alpha="1.0" disableclientcaching="true" url="http://undefined.tile.openweathermap.org/map/pressure_cntr/{level}/{col}/{row}.png" subdomains=""/>
<layer label="Open Weather Map Clouds" type="webtiled" visible="false" useproxy="true" autorefresh="600" alpha="0.5" disableclientcaching="true" url="http://undefined.tile.openweathermap.org/map/clouds/{level}/{col}/{row}.png" subdomains=""/>
Not really basemaps, but they're global.
... View more
06-19-2013
03:44 AM
|
0
|
0
|
244
|
|
POST
|
I extract some data to a file geodatabase (v9.3) from a SDE Geodatabase (Oracle 11g / 10.1). The extract works fine. I compress the geodatabase using either ArcCatalog or Python. Either option crashes the software. In Python it crashes with "Exit code: -336589910" and crashes python.exe. It doesn't matter that the compress tool is in a try block. In ArcCatalog the background geoprocessor process crashes. Has anyone else seen this behavior. I am running ArcGIS Desktop 10.1 SP1. The process is built on a previous one that worked fine with desktop 10.0 / File Geodatabase 9.3 / SDE Geodatabase (Oracle 11g / 9.3.1).
... View more
06-13-2013
05:29 AM
|
0
|
2
|
3093
|
|
POST
|
I'm using the uncompiled widget with 3.3 viewer and it doesn't appear to have any major issues. I get a few warnings about deprecated functions, but it logs some data to google analytics that I can view. I'll keep trying it out. Looks positive.
... View more
06-12-2013
10:54 AM
|
0
|
0
|
1134
|
|
POST
|
I'm using 10.1 SP1 and Web Tiled Layers still appear to be unsupported. I have a number of basemaps and some weather layers that I would like to be able to print. I'm going to give this a shot, possibly creating a custom print task. Has anyone attempted custom prints with python or anything else to add support for WebTiledLayers that could be a start in this direction?
... View more
06-12-2013
06:43 AM
|
0
|
0
|
1122
|
|
POST
|
I would suggest that would be an expected behavior. Geoprocessing services are rarely easy tasks and therefore require significant processing power. A 'simple' task would consume an instance of the service for the period of time required to generate the response. That instance will consume up to a full processor to generate a response as quickly as possible. This is key when you are deciding what to expose, how to optimize it, and how to configure your services (instances/pooling/hardware requirements). I currently have a geoprocessing service which generates results for a table in a viewer. The task queries a table and returns 15 numbers. A previous version of this service took only six seconds to respond. This was fine on a good day, but under high load (200+ users at a 60s refresh interval) it led to server overload and timeouts. Now at 1.2s and 120s refresh interval that failure threshold has been pushed out. In the past I have worked with a report generation task. While the initial requirements appeared simple it turned into a mammoth 2-3hr task. You can obviously not generate many of these simultaneously on a server with 4 cores and still reasonably host maps (generate four at a time and the server can't do anything else for hours). It was deployed to a single user behind a password with the expectation it would be run once a week. Doing it again it wouldn't be developed as a GP service... Using techniques like limiting the size or resolution of prints, and limiting who can print could be methods you can use to help limit the performance hit you take from printing. Asynchronous jobs with long timeouts to allow prints to queue could help, emailing the print to the user when it is complete rather than forcing them to wait and stare at a hourglass.
... View more
06-10-2013
09:26 AM
|
0
|
0
|
381
|
|
POST
|
Does anyone have some particularly interesting basemaps that they've stumbled across and gotten to work in the viewer? I'm always looking for new backgrounds to try. If you have some post them up! Unique data or visualizations are fun. I've got a few I've tried recently to get started.
<layer label="MapquestWebTiled" type="webtiled" visible="true"
alpha="1.0"
url="http://{subDomain}.mqcdn.com/tiles/1.0.0/vx/map/{level}/{col}/{row}.jpg"
subdomains="mtile01"/>
<layer label="Toner (maps.stamen.com)" type="webtiled" visible="false"
alpha="1.0"
url="http://{subDomain}.stamen.com/toner/{level}/{col}/{row}.png"
subdomains="tile"/>
<layer label="Terrain (maps.stamen.com)" type="webtiled" visible="false"
alpha="1.0"
url="http://{subDomain}.stamen.com/terrain/{level}/{col}/{row}.png"
subdomains="tile"/>
<layer label="Watercolor (maps.stamen.com)" type="webtiled" visible="false"
alpha="1.0"
url="http://{subDomain}.stamen.com/watercolor/{level}/{col}/{row}.png"
subdomains="tile"/>
... View more
06-05-2013
10:44 AM
|
0
|
1
|
2139
|
|
POST
|
...
theOutageView = r"\\theServer\ArcGISServerResources\workingConnectionFile.sde\GIS.TableName"
arcpy.TableToTable_conversion(theOutageView, arcpy.env.scratchGDB, "theOutageViewTable")
...
Script works great in python IDE and ArcMap. Give the error 00068, Script contains broken project data source and the error 24032, Data source used by Script is not registered with the server and will be copied to the server. I've hit this error while publishing my GP service after upgrading from 10.0 to 10.1. Referencing this sde file has worked since 9.X and is now causing issues (as did in_memory as a workspace). I am unable to mark this error as an exception. Was there ever a resolution to this issue?
... View more
06-04-2013
06:10 AM
|
0
|
0
|
2236
|
|
POST
|
Open the flex viewer. Open the edit widget. You can edit. Open the flex viewer. Open the search widget. You can search. Open the flex viewer. Open the edit widget. Open the search widget. You can edit. You can search. Open the flex viewer. Open the search widget. Open the edit widget. Edit widget is broken. Open the flex viewer. Open the search widget. Do a search. Open the edit widget. You can edit. I am using the uncompiled flex viewer 3.3 pulled from GitHub. I haven't merged changes for a couple weeks. It appears to be an issue with a feature layer being added to the viewer by the search widget that is totally null in it's attributes until a search is completed. The edit widget makes it though this section of code gracefully, but returns without going through all the layers since the first one it finds is null (url=null, loaded=null, loadfault=null). var layer:Layer = arrLayers[index] as Layer;
if (layer.loaded)
{
if ((layer is FeatureLayer && layer.name.indexOf("hiddenLayer_") == -1) && FeatureLayer(layer).isEditable && !FeatureLayer(layer).featureCollection)
{
layer.removeEventListener(FeatureLayerEvent.SELECTION_COMPLETE, featureLayer_selectionComplete);
layer.addEventListener(FeatureLayerEvent.SELECTION_COMPLETE, featureLayer_selectionComplete, false, 1);
featureLayers.push(layer);
arrFinalLayers.push(layer);
index++;
getAllFeatureLayers(index, featureLayers);
}
else if (layer is ArcGISDynamicMapServiceLayer && layer.name.indexOf("hiddenLayer_") == -1)
{
createFeatureLayersFromDynamicMapService(ArcGISDynamicMapServiceLayer(layer), index);
}
else
{
index++;
getAllFeatureLayers(index, featureLayers);
}
}
else if (layer.loadFault)
{
index++;
getAllFeatureLayers(index, featureLayers);
}
else
{
// listen for load
layer.addEventListener(LayerEvent.LOAD, layerLoadHandler);
} Can anyone else duplicate this behavior? I noticed it because I have a custom search widget that gets loaded during the initial load app the app (preload=open) and just added the edit widget to my viewer and it broke my workflow. If this is a problem my personal suggestion would be to fix this in the edit widget so that it can continue on past this bad layer. My first attempt at a quick fix is to add one more else if block to continue checking layers if you still have more to go. Not sure if it fits the logic, but works with very preliminary testing.
else if (index < arrLayers.length-1)
{
index++;
getAllFeatureLayers(index, featureLayers);
}
... View more
05-31-2013
06:24 AM
|
0
|
1
|
2268
|
|
POST
|
Correct, that function will only do web mercator to WGS84 Decimal Degrees. Geometry service sample from ESRI would be used to project between other coordinate systems.
... View more
05-31-2013
05:15 AM
|
0
|
0
|
5670
|
|
POST
|
Did you generate your cache based on the purple feature class? It wouldn't have generated tiles for the white space which could make up a significant number of tiles for the whole cache. The full cache would be rectangular.
... View more
05-31-2013
05:13 AM
|
0
|
0
|
4735
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-04-2019 09:22 AM | |
| 1 | 07-10-2015 01:01 PM | |
| 1 | 06-30-2015 11:18 AM | |
| 1 | 01-29-2019 01:43 PM | |
| 1 | 01-25-2019 10:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|