|
POST
|
Sumbul, Survey 123 does support the use of external GPS units. Please see https://community.esri.com/groups/survey123/blog/2019/03/05/direct-gnss-external-receiver-support-in-survey123-33. We are using a Leica GG04+ with Collector and Survey123 for centimeter accuracy with RTK corrections. I have also used a BadElf GPS just for fun on a couple of occasions with 1 to 2 meter accuracy. Using Survey123 for ArcGIS with a Bad Elf GPS Receiver. You can also take a look at Use a high-accuracy receiver—Survey123 for ArcGIS | ArcGIS that has a whitelist of supported gps units depending upon the device platform. Others may also work with if they provide the needed NMEA sentences.
... View more
08-07-2019
01:03 PM
|
1
|
3
|
3775
|
|
POST
|
Jared, Go into catalog and open the connection you have listed above. Navigate to dFRIM_2019_Effective dataset and see if you can add and delete a feature class. If you can it may be the overwriteOutput. If allowable and you have a backup, see if you can delete one of the feature classes you are trying to over write. If those work, try adding a delete_Management statement to your code to remove the feature class before writing the new. EDIT, just saw your revision. No one else can be on the SDE database to modify the schema and add/delete feature classes. Make sure others are not logged on or that you do not have multiple sessions open. We have this issue when someone locks their workstation rather than logging off at the end of the day. Have to terminate their connection forcibly but they have been warned. You also need appropriate access level, test the connection as I noted above. You may need to log on to the database using the SDE or DBO credentials to modify the schema.
... View more
08-07-2019
12:45 PM
|
0
|
0
|
6476
|
|
POST
|
Jared, Your SDE connection string should be stored in your ArcGIS Pro Project folder with an sde extension not in the path you are referencing. You can also use the Create Database Connection tool in Pro to Create and save a connection to your SDE database. I save them to a common location on my system or network share. Just be careful if you include username and passwords with database authentication as the SDE file can be used by anyone. Please also insure your logon credentials have sufficient permissions to add and delete feature classes to the SDE database. You can test this once you create the SDE connection, just try to add then delete a feature class in Catalog. You may need to use the SDE or DBO user to add/delete a feature class.
... View more
08-06-2019
06:41 PM
|
0
|
2
|
6476
|
|
POST
|
Lisa, One quick way using python is the following code. You can customize the list of words to be striped from your string. Please do note, this particular rendition is case-sensitive so 'Branch' is not he same as 'branch' and the latter would not be removed. string = "Weston Ranch Branch Library"
stripList = ['Library','Branch']
print ' '.join(i for i in string.split() if i not in stripList) In a label expression it would be along the lines of the following and you would replace [string] with the name of your attribute:
... View more
08-05-2019
03:48 PM
|
1
|
0
|
830
|
|
POST
|
Joshua, Thanks, missed that when I was searching and pasting the links last night.
... View more
08-02-2019
08:46 AM
|
0
|
0
|
4340
|
|
POST
|
Jared, You have a single "\" at the start of GBD path this should be a double "\\" in line 12 of your code.
... View more
08-02-2019
08:26 AM
|
1
|
0
|
6321
|
|
POST
|
Jared, You need to change the "pathto\Test\shapefiles" to the path of your shapefiles in line 5 of the code, for example r"C:\myshapefiles\toimport". The same for the gdb path in line 6 needs to be set to the path and name of your GDB file, for example r"C:\myGDBs\TestFGDB.gdb". Did you catch the second env.workspace = gdb after you populate the fcList? This changes the enfironment from the shapefile folder to the GDB. Also, if you can post the actual code you are currently using that would be helpful.
... View more
08-02-2019
07:20 AM
|
0
|
2
|
6321
|
|
POST
|
April, Have you tried to use the Microsoft ODBC Driver 17 for SQL Server assuming you have clients 10.5 or newer. Also check the Rules for mixed-releases connections in Compatibility between ArcGIS clients and geodatabases in SQL Server—Help | ArcGIS Desktop if you are using older clients.
... View more
08-01-2019
05:05 PM
|
0
|
0
|
1811
|
|
POST
|
Zavier, You can add a table using the Create Table function in python from ArcGIS Desktop or Pro. Create Table— ArcGIS Desktop Create Table—ArcGIS Pro Fields can be added to the table using Add Field function in python from Desktop or Pro Add Field—ArcGIS Desktop Add Field—ArcGIS Pro To add rows of data you can use an InsertCursor in python from Desktop or Pro InsertCursor—ArcGIS Desktop InsertCursor—ArcGIS Pro You can also add a table from other sources such as XLS, XLSX, CSV, TXT, DBF, etc. using Table to Table conversion from both Desktop and Pro Table To Table—ArcGIS Desktop Table To Table—ArcGIS Pro
... View more
08-01-2019
04:50 PM
|
1
|
2
|
4340
|
|
POST
|
Zaira, Thank you, I understand now what you are attempting. Couple of additional questions; 1) can you include the ID in your original table before your transpose the additional records. 2) are you attempting to only assign an ID based upon ndr_est, correct? or will it also be dependent upon edo as well? 3) do you have another table with the wanted ID and ndr_est values available? If so, you can perform a temporary attribute Join in ArcGIS using the ndr_est values and use field calculator to copy the ID values from one table to another then remove the join. Please see Overview of joins and relates—ArcGIS Pro | ArcGIS Desktop. 4) are you comfortable with python scripts? If so, you can use something along the lines of the following: import arcpy
# function returns list of unique values in a given field of a table
def unique_values(table , field):
with arcpy.da.SearchCursor(table, [field]) as cursor:
return sorted({row[0] for row in cursor})
fc = r'C:\path\to\MyGDB.gdb\MyTable' # path to your table or featureclass
lst = unique_values(fc, 'nbr_est')
with arcpy.da.UpdateCursor(fc, ['nbr_est', 'ID']) as cursor:
for row in cursor:
row[1] = lst.index(row[0])
cursor.updateRow(row) This script runs standalone and will create a list of unique values from the field 'nbr_est' in the table or feature class "MyTable" contained in the GBD "MyGDB.gdb". The second part of the script uses the index position of the unique value in the list to assign an integer ID based upon the contents of 'nbr_est'. Please do note, this script will not always return the same ID for a given 'nbr_est' value, especially if additional rows have been added to the table or feature class containing additional 'nbr_est' values. However, if you are running it once this should work well to set the initial ID values.
... View more
08-01-2019
01:07 PM
|
1
|
0
|
4880
|
|
POST
|
Jared, Add the statement env.overwriteOutput = True to your code as Dan Patterson recommended. This should allow feature classes to be overwritten. You forgot your env.workspace = r'path\to\shapefiles' statement so your ListFeatureClasses() statement is not returning anything or [] Go back to your original iteration of code - you were very close. Something like this: import arcpy
from arcpy import env
import os
shp = r'pathto\Test\shapefiles'
gdb = r'pathto\TestFGDB.gdb'
sde = r'path\to\gissql(2).sde' #if using SDE connection string
env.workspace = shp
fcList = arcpy.ListFeatureClasses()
env.workspace = gdb #or use 'sde' for your SDE database
env.overwriteOutput = True
for shapefile in fcList:
in_shapefile = os.path.join(shp, shapefile)
out_featureclass = os.path.splitext(shapefile)[0]
print('Copying %s to %s' %(in_shapefile, out_featureclass))
arcpy.CopyFeatures_management(in_shapefile, out_featureclass)
print("done")
A note on using a SDE connection, make sure you are using the correct connection string with the appropriate SDE or DBO level to overwrite a feature class or if need delete a feature class. Your normal connection string may not have the appropriate level or permissions.
... View more
08-01-2019
12:20 PM
|
1
|
4
|
6321
|
|
POST
|
Zaira, Yes, this is something that can be completed very easily using Python or even field calculator, however, can you please provide a more detailed explanation for what you are trying to accomplish? Your question is a little confusing pertaining to how and when you are generating the "unique IDs".
... View more
08-01-2019
09:35 AM
|
1
|
3
|
4880
|
|
POST
|
Jimmy, ArcCatalog 10.4 should naively support ECW. You can try and uninstall and reinstall ArcGIS or look in to installing ECW for ArcGIS Desktop plug-in 10.4 available from Hexagon Geospatial. 10.6 had a known issue and required a patch for ECW but you indicated you are running 10.4. You can also take a look at the following posts: Arcmap 10.4 won't open ecw Resetting your ArcGIS application profile Also note Jayanta Poddar's additional recommendation to make the following registry changes after resetting your ArcGIS application profile. Carefully consider this before attempting, editing a ESRI registry is not recommended. Also make following changes to registry Press the Windows Key in conjuntion with the "R" key on your keyboard and type "regedit" - this will open the Windows registry editor. Navigate to: HKEY_LOCAL_MACHINE > Software > ESRI and rename the "ESRI" folder to "ESRI_OLD". Note that on a 64-bit machine, the location is HKEY_LOCAL_MACHINE> Software> Wow6432Node> ESRI Navigate to: HKEY_CURRENT_USER > Software > ESRI and rename the "ESRI" folder to "ESRI_OLD". *Note: The templates of ArcGIS Desktop (ArcMap/ArcCatalog/ArcScene) will be set to default. Reboot machine and start ArcMap.
... View more
08-01-2019
07:44 AM
|
2
|
2
|
3437
|
|
POST
|
Jared, Take a look at what your statement below is returning. I bet it is a empty set []. fcList = arcpy.ListFeatureClasses(ws)
Try using the variation below and see if you get a list of shapefiles returned from the folder path. fcList = arcpy.ListFeatureClasses()
Also, make sure you are just pointing to your shapefile folder path and not a specific shapefile. ws = env.workspace = r'path\to\shapefiles'
... View more
08-01-2019
05:16 AM
|
1
|
0
|
6321
|
|
POST
|
For our public facing data, that does not require a logon, we use ArcGIS Online to host this data. This minimizes exposure of our network for security reasons. We have installed a "public" Web Adapter in our DMZ that points back to our enterprise deployment but are not utilizing this connection at this time. We also have a second Web Adapter in our DMZ that utilizes SAML for external users authentication that allows access to other resources than those offered on our public site. Internal users access our Portal via another Web Adapter hosted on an internal webserver that is not exposed externally. You can place as many web adapters as you need each using various levels of access all pointing to the same data.
... View more
07-29-2019
08:59 AM
|
0
|
0
|
3199
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-14-2026 11:47 AM | |
| 3 | 05-14-2026 12:23 PM | |
| 1 | 09-16-2019 05:49 PM | |
| 1 | 06-11-2025 03:32 PM | |
| 1 | 12-26-2023 09:15 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|