|
POST
|
My first step was to add a Windows account on the server, then used Create Database User to use this Windows authentication which looked like it added lots of privileges by default, but when that wouldn't work for editing, I used Manage > Privileges to add everything to the feature data set. This is my first installation since 9.3.1, and my first to try to use OS authentication, rather than Database authentication. So I guess what you are saying is the is no way for me to keep this simple for this user and just let him do what he wants under his Windows Login. I'll have to make a separate database user to do editing, and have the user make a new geodatabase connection in ArcCatalog to use when editing and adding new feature classes? And he will have to use Desktop 10.3.1 to edit, 10.2 won't work?
... View more
02-27-2016
08:01 AM
|
0
|
0
|
918
|
|
POST
|
I have the opposite problem from Randall https://community.esri.com/message/540389#comment-540389 I used Add User tool' in ArcCatalog to add a user, but the user has not been able to create a new feature class or edit. I used ArcCatalog >Manage> Privileges to also add all I can for this user to the particular feature data set he is working in, but apparently it is not enough. I'm using Arc 10.3.1, SQL Server 2012, Windows Server 2012, and OS authentication. Is there a way with OS authentication that I can make a database connection with the users credentials so I can test how the database is working for him?
... View more
02-26-2016
05:00 PM
|
0
|
3
|
2860
|
|
POST
|
right click > manage > privileges only seems to work for me for items within a database, not for the whole database. When I right click on a database, I get Administration, not manage. I need to be able to grant one of my users the ability to create new feature classes in this data base. For feature datasets, I was able to grant him Select, Insert, Update, and Delete, but it doesn't seen to be enough.
... View more
02-26-2016
04:38 PM
|
0
|
1
|
2650
|
|
POST
|
I'm using Arc 10.3.1, SQL Server 2012, Windows Server 2012. Is there a way using ArcCatalog administrative tools to list the database users and privileges that have been added, not just the active connections?
... View more
02-26-2016
01:24 PM
|
0
|
3
|
4733
|
|
POST
|
ANDERSON LAKE is a good tif, INDIAN ROCK is a bad tif.
... View more
02-26-2016
11:32 AM
|
0
|
0
|
1553
|
|
POST
|
I've tried refreshing ArcCatalog, restarting ArcCatalog, restarting the PC, and changing the ArcCatalog options to "Use world file" and back. State plane is a kind of Lambert_Conformal_Conic_2SP, so .spatialReference is getting part of the idea, but ArcCatalog is not. The bad tifs have a world file that is similar to the good tifs. Maybe I can attach one here.
... View more
02-26-2016
09:37 AM
|
0
|
2
|
1553
|
|
POST
|
Those Lambert_Conformal_Conic_2SP rasters stay stubbornly undefined. I modified my script to skip the if test for spacial ref unknown, and tried to just define the projection for everything in the folder: for raster in rasters:
# Create the spatial reference object
spatial_ref = arcpy.Describe(raster).spatialReference
print("{0} : {1}".format(raster, spatial_ref.name))
# If the spatial reference is unknown
#if spatial_ref.name == "Unknown":
arcpy.DefineProjection_management(raster, coord_sys)
print raster + " is defined."
This runs, hits both print statements, the first print statement says the spatial ref is State_Plane but ArcCatalog still says they are undefined. In this test folder, only Anderson Lake is known to ArcCatalog as defined State Plane. ANDERSON LAKE.tif : NAD_1983_StatePlane_Washington_South_FIPS_4602_Feet
ANDERSON LAKE.tif is defined.
INDIAN ROCK.tif : NAD_1983_StatePlane_Washington_South_FIPS_4602_Feet
INDIAN ROCK.tif is defined.
JENNIES BUTTE.tif : NAD_1983_StatePlane_Washington_South_FIPS_4602_Feet
JENNIES BUTTE.tif is defined.
JUNGLE BUTTE.tif : NAD_1983_StatePlane_Washington_South_FIPS_4602_Feet
JUNGLE BUTTE.tif is defined.
... View more
02-25-2016
05:05 PM
|
0
|
4
|
1553
|
|
POST
|
The Stateplane and the undefined ones all have tfw files that contain 6 similar lines of numbers. The top and right numbers look like StatePlane, and they draw exactly where they are supposed to on a Wash. State Plane Data Frame, so I could just stop here and define the coordinate system of everything in the folder as State Plane. I tried the trick in ArcCatalog to change the raster options to read the world file, but ArcCatalog still says they are undefined.
... View more
02-22-2016
02:37 PM
|
0
|
5
|
1553
|
|
POST
|
Now I'm getting it. The print formatting stuff and the spatialReference object. From spatialReference.name, I can see that the problem rasters are set to Lambert_Conformal_Conic_2SP, but ArcDesktop thinks they are <Undefined>.
... View more
02-22-2016
01:58 PM
|
0
|
7
|
1553
|
|
POST
|
http://www.vidarholen.net/contents/interjections/ , indentation wasn't as important in VB, or Avenue, or AML, or CPL. But here, changing the indentation of the last two lines from two to a tab of four spaces didn't change the result. Still don't detect spatial reference == "unknown" and hit the defineProjection and the print raster + " is defined". I had a hard time figuring out the print statement, but finally discovered it was simpler than I thought. Now I get a print out of spatial_ref string but I don't know what it means. In this test folder, ANDERSON LAKE.tif is defined as Washington State Plane S., while the rest are undefined. for raster in rasters:
# Create the spatial reference object
spatial_ref = arcpy.Describe(raster).spatialReference
#print "\n".join(raster).join(str(spatial_ref))
#print "\n".join(raster),str(spatial_ref)
#print "\n".join(raster)
#print "\n".join(str(spatial_ref))
#print (str(spatial_ref))
print raster + " " + (str(spatial_ref))
# If the spatial reference is unknown
if spatial_ref.name == "Unknown":
arcpy.DefineProjection_management(raster, coord_sys)
print raster + " is defined."
ANDERSON LAKE.tif <geoprocessing spatial reference object object at 0x113B3A88>
INDIAN ROCK.tif <geoprocessing spatial reference object object at 0x113B3AA0>
JENNIES BUTTE.tif <geoprocessing spatial reference object object at 0x113B3908>
JUNGLE BUTTE.tif <geoprocessing spatial reference object object at 0x113B3A88>
... View more
02-22-2016
10:55 AM
|
0
|
9
|
1553
|
|
POST
|
A strange thing is happening today. I found another folder with a few undefined projection tifs in it. I changed my script so env.workspace = this new folder. But the script never gets any hits on the if spatial_ref.name == "Unknown": line. I stuck in a line around line 12 to print out my raster list and verified that I am getting the tifs into the list. Then I moved some of the known undefined spatial reference tifs into a test folder, and ran the script on the test folder. Same deal. Is there a kind of "undefined" that the spatial_ref.name == "Unknown": can't detect? In ArcCatalog, the properties of this tifs reveal that the Spatial Reference is <Undefined>
... View more
02-19-2016
04:24 PM
|
0
|
11
|
3129
|
|
POST
|
found the 10.2 version but haven't found sdeservice.exe on the host yet. Are sde command line utilities still available in 10.3.1?
... View more
02-10-2016
02:57 PM
|
0
|
1
|
966
|
|
POST
|
Where are the docs for the SDE command line? All that I have been able to find are the ArcServer Command line Utilities http://server.arcgis.com/en/server/10.3/administer/windows/arcgis-server-command-line-utilities.htm but it nice to know I can run these.
... View more
02-10-2016
02:46 PM
|
0
|
3
|
966
|
|
POST
|
After restoring some old geodatabases to my new configuration, 10.3.1 on Windows Server 2012 R2 64, SQL Server 2012, a couple months ago, I noticed that the database properties were still set to version 9.3.1. I went through ArcCatalog>Update geodatabase to bring them up to the current version. Except one wouldn't update. Says it can't update because there is another open connection. I had two different connections in ArcCatalog, trying a connection as administrator and one as a user. But closing the other connection didn't fix it, deleting the other connection didn't fix it. When I look at the geodatabase properties > connections I see two connections, both from local host, but one at 6:30 today, way too early to be my current ArcCatalog connection. One is in italics, one is in non-italics. What does that indicate? When I clicked on the italics one, disconnect was not allowed, and when I clicked on the non-italics one and tried to disconnect I got "Entry for SDE instance not found in services file". What would you do here? What documentation should I be looking at?
... View more
02-10-2016
12:54 PM
|
0
|
6
|
2645
|
|
POST
|
Now I see where I picked up uppercase W on Workspace. I was looking at some old code examples from wayyyyyy back in 2010, back when everything started with creating a gp object. Then it was gp.Workspace. That's so six years ago.
... View more
01-14-2016
03:46 PM
|
1
|
1
|
3129
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-28-2018 04:57 PM | |
| 3 | 09-20-2017 02:37 PM | |
| 1 | 09-20-2017 02:21 PM | |
| 1 | 03-09-2018 03:25 PM | |
| 1 | 03-12-2015 02:06 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|