|
POST
|
Hi Britta, You can use the following calculation in the field calculator (be sure 'Python' is checked at the top). This will work for a field of type Date. !UTC_Time!.split(' ')[0]
... View more
09-11-2012
11:40 AM
|
0
|
0
|
1400
|
|
POST
|
Hi Vasilii, I was able to get your script to execute successfully and was able to connect without error. I would not recommend using your workaround of renaming the Default version owner to DBO. This will not change who owns all the geodatabase metadata, and this could potentially cause problems down the road. The previously offered solution to change the version name was due to the former SDE admin originally altering the name. I would try deleting the geodatabase and re-executing your script. Or, simply run the 'Create Enterprise Geodatabase' tool from ArcToolbox.
... View more
09-11-2012
09:43 AM
|
0
|
0
|
3242
|
|
POST
|
When you created the Enterprise Geodatabase, did you create it with an SDE owned schema? Can you post the python script you used to create the Enterprise Geodatabase?
... View more
09-11-2012
03:09 AM
|
0
|
0
|
3242
|
|
POST
|
Hi Paul, Yes, this is possible. If you choose 'Show advanced options for overriding replica defaults when I click Next' within the 'Create Replica' dialog, you have the option to choose the Configuration Keyword of the child feature class(es) participating within the replica. Ex: [ATTACH=CONFIG]17596[/ATTACH]
... View more
09-11-2012
02:51 AM
|
0
|
0
|
1127
|
|
POST
|
Hi Rudy, After your right-click on your feature class that has a relationship class, and then you right-click on the geodatabase to paste the data into, you should receive a dialog similar to the following: [ATTACH=CONFIG]17595[/ATTACH] You can see that by copying/pasting the feature class will also copy the relationship class, the other table/feature class participating within the relationship class, and any domains. What do you receive after you right-click > Paste?
... View more
09-11-2012
02:42 AM
|
0
|
0
|
1067
|
|
POST
|
1. Check to make sure 'SQL Server Browser' is running within your services 2. Go to Start > Programs > SQL Server > Configuration Tools > SQL Server Configuration Manager. Expand SQL Server Network Configuration > Protocols for MSSQLSERVER. Check to make sure Named Pipes and TCP/IP are both enabled. Check the same for SQL Server Native Client Configuration within the Configuration Manager. 3. By default, SQL Server communicates through port 1433. Do you have this port open within your Firewall (if there is one)?
... View more
09-07-2012
11:25 AM
|
2
|
0
|
10965
|
|
POST
|
Go to your Security folder, not under your database, but under the instance. Then expand Logins. Is your windows account listed there? If it is, right-click on it > Properties > Server Roles. Is 'sysadmin' and 'public' checked? If it is, you won't have to add your windows account to the database. The 'sysadmin' role gives your account administrative privileges over the entire instance (including all databases). If your windows account is not listed under Logins, right-click on the Logins folder > New Login. Click the Search button and make sure 'From this location' is pointing to your network, and not the current server. You should then be able to add your login, and then grant it 'sysadmin' under Roles at the top left.
... View more
09-07-2012
11:05 AM
|
0
|
0
|
7897
|
|
POST
|
You can double-check to make sure your window's account has the correct permissions by right-clicking on the database in Management Studio > Properties > Permissions. Select your windows account and choose the 'Effective' tab. Your database connection dialog should look like: [ATTACH=CONFIG]17554[/ATTACH]
... View more
09-07-2012
10:46 AM
|
0
|
0
|
7897
|
|
POST
|
If you are the sa, then you have connect privileges. Is PGIS the name of the server where SQL Server is installed?
... View more
09-07-2012
10:35 AM
|
0
|
0
|
7897
|
|
POST
|
Hi Timothy, 1. Does your window's account have 'Connect' privileges to the database? 2. Do you know if this is a named instance for SQL Server? If it is, you will want to change the instance to, for example: <server name>\PGIS
... View more
09-07-2012
10:20 AM
|
0
|
0
|
7897
|
|
POST
|
Hi Gabe, Try overwriting the raster dataset using the Copy Raster tool. For example, take a small raster and execute the Copy Raster tool. Specify the output to be the raster dataset that failed to load within the File Geodatabase. After it's copied, go ahead and delete the raster dataset within the File Geodatabase.
... View more
09-07-2012
10:16 AM
|
0
|
0
|
663
|
|
POST
|
I think I may have figured out what is wrong. Since the ListFields function is not part of the 'mapping' module, it needs to read the full path of the layer. Replace: for sc in arcpy.ListFields(lyr): with: for sc in arcpy.ListFields(lyr.dataSource): Entire code: for de in searchfile.readlines(): if '--' in de: fc=de.split('--') for lyr in arcpy.mapping.ListLayers(mxd): if lyr.name==fc[1].split('\n')[0]: print lyr.name,type(lyr) for sc in arcpy.ListFields(lyr.dataSource): if not sc.name in searchfile.readlines(): print sc.name
... View more
09-07-2012
08:36 AM
|
0
|
0
|
2323
|
|
POST
|
Hi Kevin, "for sc in arcpy.ListFields(lyr)" will return a field object. Try specifying the 'name' property for this object. Ex: for de in searchfile.readlines():
if '--' in de:
fc=de.split('--')
for lyr in arcpy.mapping.ListLayers(mxd):
if lyr.name==fc[1].split('\n')[0]:
print lyr.name,type(lyr)
for sc in arcpy.ListFields(lyr):
if not sc.name in searchfile.readlines():
print sc.name
... View more
09-07-2012
05:32 AM
|
0
|
0
|
2323
|
|
POST
|
A Personal ArcSDE Geodatabase can have 3 concurrent users, with only 1 being an editor. I would recommend upgrading to ArcSDE Workgroup. With this license you can have up to 10 simultaneous users and editors.
... View more
09-07-2012
02:36 AM
|
0
|
0
|
719
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 4 | 05-07-2020 05:14 PM | |
| 1 | 03-25-2026 04:16 AM | |
| 1 | 03-16-2026 01:00 PM | |
| 1 | 12-22-2025 10:39 AM |
| Online Status |
Online
|
| Date Last Visited |
6 hours ago
|