|
POST
|
I'm experiencing a new problem with the eSearch widget that I just installed that is related to running a spatial search on another service layer from the currently selected feature in another service layer. Everything appears to work correctly in that I am able to perform the select by value on the initial Search Layer. However, in the By Spatial search dialog it correctly lists the "Search entities of:" values in the drop-down to include the second layer. What happens is that when I click the "intersected by" it selects coincident features from the first layer where the first selection is made! This wasn't an issue in previous versions from what I remember and I only noticed this recently when doing some testing. Any suggestions on what to do or where to look to see if something is not getting updated when I make any settings changes? Thanks!
... View more
01-28-2016
11:47 AM
|
0
|
2
|
1245
|
|
POST
|
This should get you the datetime, but you may need to go thru some testing to get it just right (trust me, dates are just loads of fun to deal with). import datetime
current_date = datetime.datetime.now()
print current_date CURRENT_DATE in SQL? DO you mean CURRENT_TIMESTAMP?
... View more
01-28-2016
08:46 AM
|
2
|
2
|
1526
|
|
POST
|
pandas is just a python library that offers some somewhat friendly methods for grouping and working with data. I wouldn't equate it with SQL, but it may help in many instances where your data is not in an RDBMS or you cannot perform the SQL on the database. It is friendly with geodatabases in the sense that you can convert your Feature Classes or gdb tables to numpy arrays with arcpy.da.FeatureClassToNumPyArray and then perform your required processing/analysis. If you require saving states of that analysis, you will have to reverse the process to create outputs in your gdb, or not -- just use the results in_memory or as temporary states of data. It works well.
... View more
01-26-2016
01:48 PM
|
2
|
0
|
4036
|
|
POST
|
I'm not sure if this will resolve your issue, but we alter the tokenUtils.js file (located in the \jimu.js folder) and do the following before we deploy: Replace: def = esriNS.id.getCredential(sharingUrl); With: def = esriNS.id.getCredential(sharingUrl,{oAuthPopupConfirmation:false}); Also, set the popup to false in the registerOAuthInfo: function in the same file; popup: false;
... View more
01-26-2016
01:40 PM
|
1
|
1
|
1362
|
|
POST
|
First, I don't see where your workspace is getting set. arcpy.env.workspace = <workspace> Next would be to make sure the input rasters are actually being treated as a list of rasters. Which this doesn't look correct. InRasters = arcpy.GetParameterAsText(0) Maybe should be more like: InRasters = arcpy.ListRasters(arcpy.GetParameterAsText(0)) Although I don't know if that input will be treated as a list of values. You may have to be more verbose in setting this up and iterate through to populate an actual list of rasters: InRasters = arcpy.ListRasters(["raster1","raster2"])
... View more
01-25-2016
09:45 AM
|
1
|
0
|
2490
|
|
POST
|
Edit: the developer is watching what happens thru the dev server (?) when a connection is canceled/lost and is suggesting that the request for the WebMap is persisting. Perhaps he should be handling a timeout property in the original request for the WebMap? Does that make sense? Original post: Apologies for the limited knowledge on JavaScript basics, but I've been asked to research a behavior found in a client app that incorporates a published web map (along with ArcGIS Server services). The developer of a client application is testing what happens when a request for one of the service layers as the browser is closed (this is an arcgis server published service containing tons of polygon features). Apparently, the request continues and has some affect on subsequent requests (new browser window with same services/web map). Is there anything related to the service itself or the way it has been published that can apply? Is there something missing from the calling/client JavaScript application that can apply? Before I start digging into research, I hoped to get some feedback or general guidance on identifying issues related to this would be appreciated!
... View more
01-21-2016
11:48 AM
|
0
|
0
|
1774
|
|
POST
|
arcpy.env.workspace = r'<some path/directory>'
elif arithmos >= valueslist[num_pnts2 - 1]:
OM = n - 1
featureclasses = arcpy.ListFeatureClasses("point" + str(OM) + ".shp")
rasters = arcpy.ListRasters("view" + str(OM))
for f in featureclasses:
arcpy.Delete_management(f)
for r in rasters:
arcpy.Delete_management(r)
... View more
01-21-2016
06:19 AM
|
1
|
0
|
1686
|
|
POST
|
Make sure any and all folders/directories you hope to utilize are registered with ArcGIS Server and appropriate permissions applied. About registering your data with ArcGIS Server—Documentation (10.3 and 10.3.1) | ArcGIS for Server Make your data accessible to ArcGIS Server—Documentation (10.3 and 10.3.1) | ArcGIS for Server
... View more
01-20-2016
07:01 AM
|
1
|
1
|
3259
|
|
BLOG
|
pandas version: import numpy from pandas import * a1 = [[135, 944], [196, 335], [761, 521], [529, 687], [803, 393], [254, 797], [610, 605], [328, 516]] df = pandas.DataFrame(a1) print df.values result: [[135 944] [196 335] [761 521] [529 687] [803 393] [254 797] [610 605] [328 516]]
... View more
01-20-2016
06:59 AM
|
0
|
0
|
759
|
|
POST
|
I didn't intend for that to be a literal example, rather you can see there are some elements that you might need to implement. Are you attempting to write/overwrite the same .txt output with each request of the report? Or do you hope to get unique output(s)? It seemed like you are trying to write/overwrite a .txt file from published geoprocessing service requests, rather than generating unique output(s). I'm not sure of an instance where you'd want that since you'd run into concurrency problems and that's where the scratch workspace can help. Specifically this, Output_File = os.path.join(arcpy.env.scratchFolder, output) You will need to construct the "output" variable to match your text file. It also shows utilizing the scratch workspace --- otherwise, you will run into some concurrency issues if you have multiple users attempting to run the report (which you are writing to a hardcoded destination). Perhaps I'm misreading how you construct the actual inputfile variable, which if that is not unique to each request it will be overwriting itself for each request (that would be a problem in a multi-user environment).
... View more
01-20-2016
05:54 AM
|
1
|
3
|
3259
|
|
POST
|
You can pull some ideas from the Basic Web Map Printing and Exporting example: Tutorial: Basic web map printing and exporting using arcpy.mapping—Documentation (10.3 and 10.3.1) | ArcGIS for Server Essentially, it looks like you are missing the need to use a scratch workspace and an output parameter in your geoprocessing service.
... View more
01-19-2016
01:59 PM
|
0
|
5
|
3259
|
|
POST
|
Perhaps break it down by usage type instead (this is extremely simplified). Publish (read-only, non-versioned) Edit (versioned workspace) The Publish data would be highly-available data that is not affected by versioning/editing overhead and easily consumed by data viewers and probably a better option if you intend to publish services off of the data. The edit data would only be available to editors and internal applications that require edit and/or versioned processes. You'd need to have some extract-load processes in place to move data between the two environments, but you'd de-couple the versioning/editing from the published data for enterprise usage. This way db admin tasks that require more involved/time consuming processes will not affect published, widely used data).
... View more
01-19-2016
08:44 AM
|
2
|
1
|
3265
|
|
POST
|
So I've decided to write a python script for this purpose, and all my process has to happen backend, so there are no parameters declared, data is directly read from SDE/GDB/.SHP. What is going to happen when there are many concurrent users? Each successive one will be overwriting what the last execution created? I'd think each should get their own result (output parameter).
... View more
01-19-2016
05:46 AM
|
0
|
0
|
1153
|
|
POST
|
About registering your data with ArcGIS Server—Documentation (10.3 and 10.3.1) | ArcGIS for Server "Registering your data does not grant the ArcGIS Server account permissions to access your data. Before registering your data, you'll need to ensure that the ArcGIS Server account has at least read permissions to the data stored in folders, in databases, or in enterprise or workgroup geodatabases that are accessed using operating system authentication. To learn more about this process, see Make your data accessible to ArcGIS Server."
... View more
01-13-2016
12:57 PM
|
1
|
3
|
3572
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-17-2020 10:47 AM | |
| 1 | 10-25-2022 11:46 AM | |
| 1 | 08-08-2022 01:40 PM | |
| 1 | 02-15-2019 08:21 AM | |
| 2 | 08-14-2023 07:14 AM |
| Online Status |
Offline
|
| Date Last Visited |
01-22-2025
02:28 PM
|