POST
|
rdharles: I am still confused with how you use arcpy.env.workspace = os.getcwd() along with ListWorkspaces. According to the arcgis python documentation, ListWorkspaces lists all the workspaces within the set workspace. If you set the workspace to be the folder location where the python script is being run, that also means that the file geodatabases you are looping through need to be stored in the same folder location. That does not seem like how most organizations would structure their data storage locations. Please correct me if I am interpreting the documentation incorrectly as I usually explicitly set the workspace from a config file. The data storage location is in a different location than where the python scripts are stored and run from.
... View more
09-11-2013
04:52 AM
|
0
|
0
|
1169
|
POST
|
rdharles: In your sample code you use the method getcwd. I am reading that this method returns the current working directory of a process. So in this case, would the working directory be the folder location where the python script is being run from? If this is not the case, what would the working directory be if I see no directory specified in your code?
... View more
09-11-2013
04:34 AM
|
0
|
0
|
1169
|
POST
|
Jake: If I already have the Oracle Client installed on the computer where I am running the python script, do I also need to set up an Oracle ODBC connection in the ODBC Data Source Administrator tool for the pyodbc.connect code to work?
... View more
09-10-2013
11:12 AM
|
0
|
0
|
441
|
POST
|
Has this widget been around for at least a few versions, as I thought I downloaded it for Flex 3.1 or 3.2?
... View more
09-10-2013
10:36 AM
|
0
|
0
|
212
|
POST
|
Anthony: Does this widget create a heat map for the data from Excel in the flexviewer web application?
... View more
09-10-2013
09:47 AM
|
0
|
0
|
212
|
POST
|
Would ListDatasets help you out? In 1 script where I need to access feature classes inside feature datasets, I loop through the feature datasets and then I loop through the feature classes inside the feature dataset that has the current focus.
... View more
09-10-2013
09:22 AM
|
0
|
0
|
1169
|
POST
|
Jake: 3 more questions 1.) Do I need a special driver for an Oracle connection with pyodbc? 2.) What is the syntax difference for Oracle in the line cnxn = pyodbc.connect('Driver={SQL Server Native Client 11.0};UID=gis;PWD=gis;SERVER=sdeserver;DATABASE=db;')? an example would be great 3.) What is the syntax for getting the number of records counted so I know the python script actually selected records? Thank you
... View more
09-10-2013
08:01 AM
|
0
|
0
|
441
|
POST
|
Jake: Can you post the code for the quick tests you did to compare ArcSDESQLExecute function using the arcpy library vs the pyodbc library?
... View more
09-10-2013
06:25 AM
|
0
|
0
|
441
|
POST
|
Thanks for the clarification Tim. Hopefully when I implement your instructions it will work in the Flex App. I believe I need to create a virtual directory to direct the web application to on that server.
... View more
09-09-2013
09:52 AM
|
0
|
0
|
231
|
POST
|
Tim: What do you mean by local data? Do you mean local to a client machine that is calling the web application through a URL? Or do you mean local data to the server where ArcGIS Server is installed and running the web application?
... View more
09-09-2013
09:10 AM
|
0
|
0
|
231
|
POST
|
Tim: Have you ever tried this with an ArcGIS Server feature service that can be edited through a web application such as a FlexViewer application?
... View more
09-09-2013
08:30 AM
|
0
|
0
|
231
|
POST
|
Is this table being used in a web application, where you would be hyperlinking to the file after it has been added to the table?
... View more
09-09-2013
07:07 AM
|
0
|
0
|
231
|
POST
|
"Check to make sure that the ArcGIS Server (AGS) Account is able to access c:\arcgisserver." That is if you went with the default configuration. If you pointed ArcGIS Server to use another drive such as an E-drive, then you want to make sure AGS has access to that location.
... View more
09-03-2013
11:04 AM
|
0
|
0
|
544
|
POST
|
Do you know what the geoprocessing is failing on? Maybe you can add some messages to see where the script is running to.
... View more
09-03-2013
10:06 AM
|
0
|
0
|
241
|
POST
|
Is this something that ESRI might consider adding as out-of-the-box functionality in a future release?
... View more
09-03-2013
09:34 AM
|
1
|
0
|
239
|
Title | Kudos | Posted |
---|---|---|
1 | 3 weeks ago | |
1 | 03-14-2024 11:51 AM | |
1 | 03-04-2024 12:31 PM | |
1 | 12-15-2023 10:21 AM | |
1 | 06-18-2018 12:27 PM |
Online Status |
Offline
|
Date Last Visited |
Wednesday
|