|
POST
|
Scott: You do not add the YEAR (or whatever time frame you call it) field to the rasters themselves. You add this field to the raster mosaic dataset that is linked to the rasters via some pointer to their file location.
... View more
09-13-2013
10:53 AM
|
0
|
0
|
7051
|
|
POST
|
Kevin: Are you getting your data from an SDE feature class? If so, I think you should refer to the SHAPE.len field as SHAPE.LEN. This is how an SDE field shows up when I investigate its REST properties.
... View more
09-13-2013
09:52 AM
|
0
|
0
|
1408
|
|
POST
|
Barry: What is the source of your data (e.g. file geodatabase, SDE)?
... View more
09-13-2013
09:02 AM
|
0
|
0
|
1394
|
|
POST
|
How about a raster mosaic dataset where you enable the time feature? You can load multipule raster mosaic datasets into another raster mosaic dataset that you could consider a composite raster mosaic dataset. Then you can add a new field to this composite mosaic dataset with a meaningful name such as YEAR. Then populate this field with the year of each raster mosaic dataset. Then set the Time properties of the composite raster mosaic dataset using the field you just added. You would then need to open the Time Slider Window which would only be enabled if the selected layer has a time property enabled. Once this time slider window is also properly enabled you can slide the bar to see the rasters change as you move from year to year. Please note that if there are gaps in your data (You do not have rasters for each year), no raster will show up at that interval(s). I believe this was new functionality to ArcGIS v10.0.
... View more
09-13-2013
05:30 AM
|
1
|
0
|
7051
|
|
POST
|
Will the attachments created from an Oracle BLOB field be able to be viewed in a FlexViewer application? This is the business need that I am looking for as a 3rd party GIS based program stores images in an Oracle BLOB field that certain endusers would like to view from an associated file that is exposed via a FlexViewer application. I am looking to be able to perform this function without having to convert the BLOB data to another format as it seems that is creating redundant data.
... View more
09-13-2013
05:04 AM
|
0
|
0
|
1300
|
|
POST
|
Thank you for the excellent clarification rdharles 3.) We also have a path set to where the the python installlation is Do you have this set with the PYTHONPATH environmental variable?
... View more
09-11-2013
05:33 AM
|
0
|
0
|
4579
|
|
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
|
4579
|
|
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
|
4579
|
|
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
|
1872
|
|
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
|
1370
|
|
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
|
1370
|
|
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
|
4579
|
|
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
|
1872
|
|
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
|
1872
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-18-2024 01:45 PM | |
| 1 | 08-19-2024 10:38 AM | |
| 1 | a month ago | |
| 1 | 02-23-2026 05:32 PM | |
| 2 | 02-11-2026 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
6 hours ago
|