POST
|
I hope this is an easy question...but how would I go about setting the default date for a date field in the edit widget??? It is currently set (out of the box) as 12/29/1899... Thank you so much. -Jordan
... View more
09-13-2010
12:43 PM
|
0
|
3
|
2703
|
POST
|
Hi all, I've created a feature service which I've plugged into the editing widget in 2.0 and it works great. Now I'm wondering if there is; a) a way to set permissions so users are unable to modify previous edits and/or b) show only previous edits as a separate map layer without editing capabilities while still allowing new edits via the feature service. Thanks! -Jordan
... View more
09-13-2010
10:21 AM
|
0
|
0
|
1026
|
POST
|
Thanks David! I had to modify for file geodatabases, but it worked perfectly. My (slight) modifications are below; [HTML]import arcgisscripting, os gp = arcgisscripting.create(9.3) gp.overwriteOutput = True gp.workspace = "B:\NRCA" outputCS = gp.CreateObject("SpatialReference") outputCS.createFromFile(os.path.join(gp.getinstallinfo()['InstallDir'],"Coordinate Systems/Projected Coordinate Systems/World/WGS 1984 Web Mercator (Auxiliary Sphere).prj")) transformation = "" outFolder = os.path.join(gp.workspace, "projected") gp.CreateFolder_management(*os.path.split(outFolder)) for gdb in gp.ListWorkspaces("", "FileGDB"): # Get all personal geodatabases gp.workspace = gdb gdb = os.path.basename(gdb) toProject = gp.ListFeatureClasses() + gp.ListDatasets() gp.CreateFileGDB_management(outFolder, gdb) gp.BatchProject_management(toProject, os.path.join(outFolder, gdb), outputCS, "", transformation) [/HTML]
... View more
08-05-2010
08:24 AM
|
0
|
0
|
219
|
POST
|
Hi All, I have 90 geodatabases, all in the the same folder and projected in WGS84. I need to get all the data in those geodatabases re-projected into WGS84 Web Mercator. I'm hoping there is a relatively simple python script (compatible with ArcInfo 9.3.1) that can do this. I found the following script in the old forums, but being a relative newb to python I'm not sure what to do with it... import arcgisscripting, os gp = arcgisscripting.create(9.3) sourceGDB = r"C:\New Personal Geodatabase.mdb" def fcsFromWorkspace(workspace): gp.workspace = workspace fcList = gp.listfeatureclasses() for fc in fcList: print "Do whatever gp process with: " + fc fcsFromWorkspace(sourceGDB) datasetList = gp.listdatasets() for dataset in datasetList: fcsFromWorkspace(sourceGDB + os.sep + dataset) Thanks in advance!
... View more
08-02-2010
05:47 AM
|
0
|
2
|
2153
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|