|
POST
|
On line 95 you have referenced "currentMap" but this is not defined until line 102. You need to change the order of your code or do you want to add the table to the Database and not the Map?
... View more
01-28-2019
07:20 AM
|
1
|
4
|
6917
|
|
POST
|
Good Day. It is difficult to follow your code sample therefore difficult to comment. In general when starting to learn scripting tools in ArcGIS: Work in small steps, do not attempt to complete an entire tool in one step Add a section, test the section, debug the section, confirm the result is as intended Proceed to the next small section and repeat A few other tips: Write out your workflow breaking it down into easily manageable steps to be competed with a measurable result If you have access to ModelBuilder, use this tool to build portion of your workflow then look to see how the python command was executed. The ArcGIS Desktop version has a Export to Python Script option but unfortunately they have removed this from later versions of Pro. You can still view each python command from Project>Geoprocessing History, right clicking any tool and select Copy Python Command In your code you commented "Looks like tables need to be converted first - why can't it be used as-is?" CSV is not a table it is a text file representing the data and needs to converted into a table.
... View more
01-27-2019
11:23 AM
|
1
|
1
|
6917
|
|
POST
|
You may want to revisit Asrujit SenGupta's earlier post pertaining to the 10.6.1 Raster Patch. I was setting up a new virtual ArcGIS Desktop 10.6.1 this morning and ran the Raster_to_Geodatabase tool before installing the 10.6.1 Raster Patch. I received the same errors you have reported with the files from the QGIS Training Data. After running the 10.6.1 Raster Patch the Raster to Geodatabase tool ran without issue using the same files. Make sure you do not have any apps open when running the Patch or better yet run the Patch immediately after a restart as an Administrator. Check if this patch helps, if you are using 10.6.1: ArcGIS (Desktop, Server) 10.6.1 Raster Patch
... View more
01-27-2019
09:06 AM
|
1
|
0
|
4520
|
|
POST
|
I was able to locate the file you are trying to use at QGIS-Training-Data/exercise_data/raster at master · qgis/QGIS-Training-Data · GitHub. I was also able to import this to a SDE database running on SQL Server 2017 using the following method as a workaround since Raster to Geodatabase is not working for you. 1) from ArcCatalog, right click on the SDE database Connection and select New>Raster Dataset 2) in the Create Raster Dataset dialog input the Raster Dataset Name - I used "test" set the Number of Bands - 4 as this matches the original image press OK and wait for the blank Raster Dataset to be created 3) Again in ArcGIS Catalog, right click on the new Raster Dataset you just created and select Load>Load Data 4) in the Load data dialog add the raster files you need click OK This will create a mosaic Raster Dataset for you on your SDE database
... View more
01-26-2019
09:42 PM
|
2
|
0
|
4520
|
|
POST
|
I typically use the following for crawling through unknown database feature datasets and feature classes: arcpy.env.workspace = gdbFrom for ds in arcpy.ListDatasets(feature_type='feature') do what you need with each feature dataset for fc in arcpy.ListFeatureClasses(feature_dataset=ds): do what you need here for each feature class in a dataset To define a spacial reference for a dataset: cs = arcpy.SpatialReference(4326) # for GCS_WGS_1984 as an example arcpy.DefineProjection_management(dataset, cs) If you are not modifying the data just applying a coodinate system and/or transformation to the dataset you could use Project—Help | ArcGIS for Desktop on each feature dataset setting your gbdFrom and gbdTo, in and out coordinate system and transformation if needed. Do not forget about applying a transformation if need or your data may end up in the wrong part of the world. cs = arcpy.SpatialReference(4326) # for GCS_WGS_1984 as an example arcpy.Project_management(gdbFrom/in_dataset, gbdTo/out_dataset, cs) ListDatasets—Help | ArcGIS Desktop ListFeatureClasses—ArcPy Functions | ArcGIS Desktop SpatialReference—Help | ArcGIS Desktop Define Projection—Help | ArcGIS Desktop Project—Help | ArcGIS for Desktop
... View more
01-26-2019
01:48 PM
|
2
|
0
|
1599
|
|
POST
|
A few comments/questions: The few items in the results that stand out are the source in the Executing statement is a TIF the destination in the Executing statement is pointing to only to the sde connection string the "No raster store is configurated" warning it looks more like you need to create a create a raster dataset in your SDE first then add the raster image(s) see Creating raster datasets in a geodatabase—Help | ArcGIS Desktop Also check what level of user credentials are you using to connect to the SDE database, do you have the proper permissions especially if you are not also the DBO Does this work when importing into a local file geodatabase, as a test? As you noted this is urgent, have you put a support ticket in with ESRI?
... View more
01-26-2019
12:46 PM
|
0
|
0
|
4520
|
|
POST
|
I posted this as an idea ArcGIS Collector - Table of Contents Sidebar Position but wanted also ask if there is already a way to change the position of the sidebar in collector or workarounds others have found? As we have been testing Aurora and now working with Collector 18.1.0 the number one complaint we have is the position of the Table of Contents sidebar on tablet devices. In previous versions of Collector, the sidebar was on the right and you can make all inputs from one side of the screen. The new versions the sidebar is on the left and you need to cross the screen to select your feature then back again to press Submit. This may sound petty, but when you a collecting hundreds of points a day this takes time. We have also noted, on occasion, you accidentally pan the map when moving your hand across the map and end up collecting a manual point rather than the GPS point. It took us a while to figure out where these rouge points were coming from. Edited screen shots for graphic representation
... View more
01-26-2019
12:01 PM
|
0
|
0
|
797
|
|
IDEA
|
As we have been testing Aurora and now working with Collector 18.1.0 the number one complaint we have is the position of the Table of Contents sidebar on tablet devices. In previous versions of Collector, the sidebar was on the right and you can make all inputs from one side of the screen. The new versions the sidebar is on the left and you need to cross the screen to select your feature then back again to press Submit. If there a way to change the position of the sidebar in collector we have not found it. This may sound petty, but when you are collecting hundreds of points a day this takes time. We have also noted, on occasion, you accidentally pan the map when moving your hand across the map and end up collecting a manual point rather than the GPS point. It took us a while to figure out where these rouge points were coming from. Edited screen shots for graphic representation Current Sidebar Location Proposed Sidebar location (or option to change)
... View more
01-26-2019
11:46 AM
|
2
|
0
|
798
|
|
POST
|
We are utilizing ArcGIS Online and Collector to capture field data. We try and limit the number of features on a map to those applicable to the data being collected so a user does not need to scroll through a long list in collector and minimize errors. At the bottom of the feature list we always include an "Other" feature so the the user can select the appropriate feature type manually to capture that one-off feature. The point type for the "Other" feature is set to blank or No Value. Once you select "Other" you can select the blank POINT_TYP field and chose from the domain list of about 200 values. Everything works fine until we make a change to the map from ArcGIS Online such adding an additional default point to be displayed on the map. After adding the additional point we can only select from the items listed as feature type rather than the domain list available for the POINT_TYP field and can no longer utilize the "Other" category. Screen shots below are from a different map as I do not want to break the one above. Selecting POINT_TYP no longer displays the field domain list but rather features on the map One item I did just notice is the POINT_TYP field is now set to required even though it is not on the original map. If we make the changes from ArcGIS Desktop or ArcGIS Pro and republish the map the problem does not occur. Only when making a change from ArcGIS Online to the map. Unfortunately, we are normally in the field when making these changes and using mobile device which limits us to ArcGIS Online. Here are the settings for the POINT_TYP field in the Feature Layer, note nulls are allowed and not required Also if you now try and create a feature with an empty POINT_TYP from ArcGIS Online you receive the error below. It is probably something simple I am doing wrong when adding the additional point(s) to cause this error but reached the point where I cannot figure it out. Any input? Running ArcGIS Desktop 10.6.1, ArcGIS Pro 2.3.0 and Collector 18.1.0
... View more
01-26-2019
08:19 AM
|
0
|
1
|
924
|
|
POST
|
Like you we have not been able to isolate the issue causing the crash. One other workaround we have found sometime alleviates the crash is to create a new MXD for the project or at least test using the Excel sheet in a blank/minimal MXD. One other comment, we have found if another user is editing or has a lock on the excel file it always causes an issue. We have been making a copy of the file for GIS use and storing it in another location. As for updating the GDB table from the Excel worksheet, this can easily be scripted in Python or Model Builder and scheduled to run on demand, hourly, daily, etc. The easiest way is to manually insert the table manually the first time then write the script/model to Truncate the table and reimport the excel sheet. As long as you do not change the file/table names your joins will remain in place. We do this regularly for data we receive from third parties.
... View more
01-25-2019
06:49 AM
|
3
|
0
|
3968
|
|
POST
|
Yes, Collector needs the correct NEMA settings you also need to set up the profile for your GPS to use it with collector. Here is link for the setup of a high accuracy GPS with Collector Classic: Use high-accuracy GPS—Collector for ArcGIS (Classic) | ArcGIS. Also here is a list of supported NEMA strings: GPS receiver support—Collector for ArcGIS (Classic) | ArcGIS. Below are screen shots on my NEMA settings and the profile settings in collector. Keep in mind these are for a Leica GPS (your screen will look different) and the VRS network I am using for the profile. Our VRS network is using GCS NAD 1983 2011 and ArcGIS Collector is using WGS_1984_Web Mercator Auxliary Sphere with the appropriate transformation applied. Sorry I cannot be more helpful as I am not familure with the Trimble units. It took me a good bit of time and a lot of testing to get our system working with the Leica unit.
... View more
01-25-2019
06:46 AM
|
1
|
5
|
6343
|
|
POST
|
I have only used iPads with a Leica GPS but will offer some direction. No idea if android and Trimble are the same. Exit all apps on your android Power on your GPS Pair the GPS to your android device via BlueTooth Start the Trimble Status App Open Collector and go to Settings In settings select Provider There should be a “+” in the top corner, press Your Trimble unit should now be listed, select Input required info, press Done Most important, select the GPS you just added so the check mark is next to it. It does not do this when added. Press Settings to go back to Collector You may need to change the order depending upon your hardware.
... View more
01-24-2019
07:32 PM
|
0
|
8
|
6343
|
|
POST
|
It looks like you have the image extraction down using How To: Batch export attachments from a feature class in ArcMap. You need to modify your cursor to include the other attribute data you would like to include in the image metadata You then need to write this information as metadata to each image file using an additional Python module such as piexif · PyPI or py3exiv2 · PyPI depending which version of Python you are running. There are only a limited number of valid EXIF tags so you may need to concatenate the data into a JASON string and save it to the UserComment tag. Example of using pyexif to write JASON data: Writing complex custom metadata on images through python - Stack Overflow
... View more
01-24-2019
05:41 PM
|
1
|
0
|
1704
|
|
POST
|
With the limited info you have given it sounds like you have done the hard part of identifying the strings and creating the urls. You just need to wrap those into a HTML string for the pop-up dialog in ArcGIS Online. This can be completed in the custom attribute display. We have done this using text separated with a comma and split the string using attribute expressions in the pop-up configuration to generate the HTML dynamically. For your example, you can wrap the info in HTML: <p><a href="url_link_for_development_ activities_from_expression_or_data">Development Activities</a> are prohibited as per the <a href="url_link_for_parks_art"> Parks Art</a>.</p> will display: Development Activities are prohibited as per the Parks Art. Use the button in the Custom Attribute Display to show your dialog in HTML. A list of supported HTML is available at Supported HTML—ArcGIS Online Help | ArcGIS and a blog is also available at Using URL parameters in pop-ups with a simple singe line example.
... View more
01-24-2019
03:38 PM
|
0
|
0
|
5920
|
|
POST
|
Display filter simply filters what is displayed on the screen dependent upon the settings configured for the feature. The feature data is still available and will show in attribute tables, can be used in calculations, selections can be made, etc. Whereas a definition query removes the data as if it does not exist. It does not show in the attribute tables nor can it be accessed for calculations or other processes without removing the definition query for that feature layer.
... View more
01-24-2019
03:16 PM
|
1
|
1
|
2475
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM | |
| 1 | 12-29-2023 10:06 AM | |
| 1 | 03-02-2023 05:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
9 hours ago
|