POST
|
Good afternoon Ismael, I was having the 400 not supported columns... error when trying to add a new column in Survey123. I created a copy and published the survey as you requested, however, I am not able to append data to the survey as you suggested. I have included the XLSX file and I could send the data seperately if that is helpful.
... View more
10-18-2021
01:23 PM
|
0
|
0
|
2312
|
IDEA
|
Dask is not required, but if one tries to work with a netcdf data of any larger size it will ask you to use Dask. I know that once can clone the default environment and install Dask. But if a developer is trying to develop tools and training that use netcdf it would be best not to have to clone and install Dask.
... View more
10-28-2020
12:37 PM
|
0
|
0
|
1112
|
IDEA
|
With ArcGIS Pro 2.6 ESRI has included the XARRAY Package as a default package in ArcGIS Pro. This is a great inclusion with it allowing power analysis of Netcdf data. One Caveat however is that XARRAY depends on the DASK package as well and that is not included in the Default Python Env. Could DASK be included in future updates/releases in the future?
... View more
10-28-2020
10:07 AM
|
3
|
5
|
1139
|
POST
|
I have a hosted feature table of insect traps with a related table. The related table contains data on the counts of insect pests on different dates. I would like to be able to summarize the related tables to each trap point in the hosted feature layer and show the data in an arcgis dashboard. I would like the summary to be dynamic in that new records are automatically summarized as they are added to the related table. How would one do this?
... View more
05-05-2020
04:36 PM
|
0
|
1
|
644
|
POST
|
Thank you for your prompt reply... My message may have been misleading, the form was created via survey 123 connect and uploaded to the web. I am hope to style the groups and buttons from the desktop and have them work on the web as well. Cheers, Shane Sent from my iPad
... View more
10-23-2018
09:41 PM
|
1
|
0
|
600
|
POST
|
With help from geonet, I was able to set the background color on the web survey. Is it possible to change the styling of the buttons, like the submit button and the group outline and group labels using the survey.info file. I would like to change the default color from green to something else like blue. any help would be greatly appreciated.
... View more
10-23-2018
05:23 PM
|
0
|
2
|
774
|
POST
|
Re-paste with code formatting... import arcpy
class Toolbox(object):
def __init__(self):
"""Define the toolbox (the name of the toolbox is the name of the
.pyt file)."""
self.label = "Toolbox"
self.alias = ""
# List of tool classes associated with this toolbox
self.tools = [Tool]
class Tool(object):
def __init__(self):
"""Define the tool (tool name is the name of the class)."""
self.label = "Vector Prep"
self.description = ""
self.canRunInBackground = False
def getParameterInfo(self):
# First parameter
param0 = arcpy.Parameter(
displayName = "Stream Flow Database",
name = "FlowDatabase",
datatype = "DEWorkspace",
parameterType = "Required",
direction = "Input")
# Second parameter
param1 = arcpy.Parameter(
displayName = "Model Name",
name = "ModelName",
datatype = "GPString",
parameterType = "Required",
direction = "Input")
# Third parameter
param2 = arcpy.Parameter(
displayName = "Workspace",
name = "Workspace",
datatype = "DEWorkspace",
parameterType = "Required",
direction = "Input")
# Fourth parameter
param3 = arcpy.Parameter(
displayName = "DEM",
name = "DEM",
datatype = "GPRasterLayer",
parameterType = "Required",
direction = "Input")
# Fifth parameter
param4 = arcpy.Parameter(
displayName = "Regions",
name = "Regions",
datatype = "GPFeatureLayer",
parameterType = "Required",
direction = "Input")
# Sixth parameter
param5 = arcpy.Parameter(
displayName = "Precipitation",
name = "Precipitation",
datatype = "GPFeatureLayer",
parameterType = "Required",
direction = "Input")
# Seventh parameter
param6 = arcpy.Parameter(
displayName = "Include Stream Network",
name = "SteamNetwork",
datatype = "GPBoolean",
parameterType = "Optional",
direction = "Input",
category = "Optional")
param6.value = True
# Eigth parameter
param7 = arcpy.Parameter(
displayName = "Acre Threshold",
name = "AcreThreshhold",
datatype = "GPDouble",
parameterType = "Optional",
direction = "Input",
category = "Optional",
enabled = "False")
# NinthSeventh parameter
param8 = arcpy.Parameter(
displayName = "Scale Precip. by Gauge",
name = "ScaleGuage",
datatype = "GPBoolean",
parameterType = "Optional",
direction = "Input",
category = "Optional")
# Tenth parameter
param9 = arcpy.Parameter(
displayName = "Gauge Layer",
name = "Gauges",
datatype = "GPFeatureLayer",
parameterType = "Optional",
direction = "Input",
category = "Optional",
enabled = "False")
# Eleventh parameter
param10 = arcpy.Parameter(
displayName = "Run Reservoir Model",
name = "ReservoirModel",
datatype = "GPBoolean",
parameterType = "Optional",
direction = "Input",
category = "Optional")
# Tweth parameter
param11 = arcpy.Parameter(
displayName = "Reservoir Layer",
name = "Reservoirs",
datatype = "GPFeatureLayer",
parameterType = "Optional",
direction = "Input",
category = "Optional",
enabled = "False")
# Thirteenth parameter
param12 = arcpy.Parameter(
displayName = "Run Water Rights Model",
name = "WRModel",
datatype = "GPBoolean",
parameterType = "Optional",
direction = "Input",
category = "Optional")
# Fourteenth parameter
param13 = arcpy.Parameter(
displayName = "Water Rights Layer",
name = "WaterRights",
datatype = "GPFeatureLayer",
parameterType = "Optional",
direction = "Input",
category = "Optional",
enabled = "False")
# Fifteenth parameter
param14 = arcpy.Parameter(
displayName = "Run Demand Model",
name = "Demand",
datatype = "GPBoolean",
parameterType = "Optional",
direction = "Input",
category = "Optional")
# Sixteenth parameter
param15 = arcpy.Parameter(
displayName = "Structures Layer",
name = "Structures",
datatype = "GPFeatureLayer",
parameterType = "Optional",
direction = "Input",
category = "Optional",
enabled = "False")
# Seventeenth parameter
param16 = arcpy.Parameter(
displayName = "Vineyards Layer",
name = "Vineyards",
datatype = "GPFeatureLayer",
parameterType = "Optional",
direction = "Input",
category = "Optional",
enabled = "False")
params = [param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16]
return params
def isLicensed(self):
"""Set whether tool is licensed to execute."""
return True
def updateParameters(self, parameters):
"""Modify the values and properties of parameters before internal
validation is performed. This method is called whenever a parameter
has been changed."""
return
def updateMessages(self, parameters):
"""Modify the messages created by internal validation for each tool
parameter. This method is called after internal validation."""
return
def execute(self, parameters, messages):
"""The source code of the tool."""
return
... View more
02-01-2018
08:50 AM
|
0
|
0
|
750
|
POST
|
I know that this had been asked before, But the simple examples have not worked. I am including the pyt code in the message to help illustrate the issue. If I use the line param6.value = True, the python toolbox will not load, but if I comment out that line it loads fine. How should I be setting that boolean value on load to be checked. import arcpy class Toolbox(object): def __init__(self): """Define the toolbox (the name of the toolbox is the name of the .pyt file).""" self.label = "Toolbox" self.alias = "" # List of tool classes associated with this toolbox self.tools = [Tool] class Tool(object): def __init__(self): """Define the tool (tool name is the name of the class).""" self.label = "Vector Prep" self.description = "This tool is a first test of a python toolbox and tool" self.canRunInBackground = False def getParameterInfo(self): #Define parameter definitions # First parameter param0 = arcpy.Parameter( displayName="Stream Flow Database", name="FlowDatabase", datatype="DEWorkspace", parameterType="Required", direction="Input") # Second parameter param1 = arcpy.Parameter( displayName="Model Name", name="ModelName", datatype="GPString", parameterType="Required", direction="Input") # Third parameter param2 = arcpy.Parameter( displayName="Workspace", name="Workspace", datatype="DEWorkspace", parameterType="Required", direction="Input") # Fourth parameter param3 = arcpy.Parameter( displayName="DEM", name="DEM", datatype="GPRasterLayer", parameterType="Required", direction="Input") # Fifth parameter param4 = arcpy.Parameter( displayName="Regions", name="Regions", datatype="GPFeatureLayer", parameterType="Required", direction="Input") # Sixth parameter param5 = arcpy.Parameter( displayName="Precipitation", name="Precipitation", datatype="GPFeatureLayer", parameterType="Required", direction="Input") # Seventh parameter param6 = arcpy.Parameter( displayName="Include Stream Network", name="SteamNetwork", datatype="GPBoolean", parameterType="Optional", direction="Input", category="Optional") #param6.value = True # Eigth parameter param7 = arcpy.Parameter( displayName="Acre Threshold", name="AcreThreshhold", datatype="GPDouble", parameterType="Optional", direction="Input", category="Optional", enabled="False") # NinthSeventh parameter param8 = arcpy.Parameter( displayName="Scale Precip. by Gauge", name="ScaleGuage", datatype="GPBoolean", parameterType="Optional", direction="Input", category="Optional") # Tenth parameter param9 = arcpy.Parameter( displayName="Gauge Layer", name="Gauges", datatype="GPFeatureLayer", parameterType="Optional", direction="Input", category="Optional", enabled="False") # Eleventh parameter param10 = arcpy.Parameter( displayName="Run Reservoir Model", name="ReservoirModel", datatype="GPBoolean", parameterType="Optional", direction="Input", category="Optional") # Tweth parameter param11 = arcpy.Parameter( displayName="Reservoir Layer", name="Reservoirs", datatype="GPFeatureLayer", parameterType="Optional", direction="Input", category="Optional", enabled="False") # Thirteenth parameter param12 = arcpy.Parameter( displayName="Run Water Rights Model", name="WRModel", datatype="GPBoolean", parameterType="Optional", direction="Input", category="Optional") # Fourteenth parameter param13 = arcpy.Parameter( displayName="Water Rights Layer", name="WaterRights", datatype="GPFeatureLayer", parameterType="Optional", direction="Input", category="Optional", enabled="False") # Fifteenth parameter param14 = arcpy.Parameter( displayName="Run Demand Model", name="Demand", datatype="GPBoolean", parameterType="Optional", direction="Input", category="Optional") # Sixteenth parameter param15 = arcpy.Parameter( displayName="Structures Layer", name="Structures", datatype="GPFeatureLayer", parameterType="Optional", direction="Input", category="Optional", enabled="False") # Seventeenth parameter param16 = arcpy.Parameter( displayName="Vineyards Layer", name="Vineyards", datatype="GPFeatureLayer", parameterType="Optional", direction="Input", category="Optional", enabled="False") params = [param0, param1, param2, param3, param4, param5, param6, param7, param8, param9, param10, param11, param12, param13, param14, param15, param16] return params def isLicensed(self): """Set whether tool is licensed to execute.""" return True def updateParameters(self, parameters): """Modify the values and properties of parameters before internal validation is performed. This method is called whenever a parameter has been changed.""" return def updateMessages(self, parameters): """Modify the messages created by internal validation for each tool parameter. This method is called after internal validation.""" return def execute(self, parameters, messages): """The source code of the tool.""" return
... View more
01-31-2018
04:11 PM
|
0
|
2
|
988
|
POST
|
I have created an app that queries the photo galleries of the device. The app successfully shows the photo gallery on ios and windows devices. It only shows the file system structure and file names on android devices. Has any one successfully create a method to choose an image from android devises that uses thumbnails? Any help would be greatly appreciated.
... View more
07-19-2016
05:17 PM
|
0
|
1
|
1645
|
POST
|
I have modified the quick report app to gather data offline and the app worked well until just recently. We have been testing the app on various devices and we are having an issue with the app crashing when the user interacts with dropdown controls on iOS devices. The controls crash the app whether the control is bound to a list or the domains of the dataset. Has anyone had this issue. Any thoughts on causes would be greatly appreciated.
... View more
07-06-2016
09:29 PM
|
0
|
2
|
2171
|
POST
|
I would need to take this up with the client that we are creating the application for.
... View more
06-21-2016
09:18 AM
|
0
|
3
|
659
|
POST
|
I have built an app using the quick report template as a template. I have built in offline capabilities to the app. The issue I am having is that the app works on Windows, android tablets, iPads., but I have an iPhone 6s and it works when I use it online, but the phone does not recognize when it goes offline (airport mode). Has anyone else had a problem with and iPhone and having it recognize when it is offline?
... View more
05-07-2016
03:51 PM
|
0
|
8
|
4305
|
POST
|
Thank you all for the comments. I will give them a try and let you all know what worked. A related question, after you declare a geodatabase {path: xxxxx} how to you undeclare the geodatabase and remove the lock that is placed on it.
... View more
04-15-2016
04:25 PM
|
0
|
0
|
443
|
POST
|
I have built a custom version of the quick report app with the ability to store and add features offline. It works perfectly on windows using appstudio player from within qt creator. However when I use the appstudio player on either iOS and Android the features are not created and therefor there is nothing to sync. I think that the app is creating the geodatabase correctly, but when I add the feature to the local geodatabase the new feature id reported by the addFeature method on the geodatabase says that the id is -1. The path that I am defining to the local geodatabase is "~/ArcGIS/Runtime/Data/PigTest.geodatabase". Should I be storing the local geodatabase in a different location? Any help or insight would be appreciated. Regards, Shane Feirer
... View more
04-14-2016
01:32 PM
|
0
|
4
|
3094
|
Title | Kudos | Posted |
---|---|---|
3 | 10-28-2020 10:07 AM | |
1 | 10-23-2018 09:41 PM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|