POST
|
I have a feature class on an SQL server enterprise geodatabase of Oil and Gas units. It has 75 records with fields like UnitID, name, status, type & admin. 5 of those units(records) are federal and are manually updated. The rest are state units and are tracked/updated thru a different table. How do I update the attributes of the state units only with attributes from the other table without overwriting the federal unit attributes. I've tried joins, and load data but couldn't figure it out.
... View more
04-26-2016
11:44 AM
|
0
|
1
|
1723
|
POST
|
Jeff, this works almost perfectly. In testing, it created PDF's out all my MXD's in a folder, but is it possible to output to a different folder? I tried messing around with your code but I don't have enough knowledge to get it to work. thanks Sean
... View more
10-13-2015
12:52 PM
|
0
|
1
|
1365
|
POST
|
update: Bjorn's suggestion and link was pretty darn close. I changed my source data to Web Mercator and I was able to reshape the polygons and have them save back to my server and SDE database. thanks Bjorn BTW, How did you see that error?
... View more
12-18-2013
09:26 AM
|
0
|
0
|
364
|
POST
|
I???m trying to reshape the boundaries of a polygon using the javascript samples located here:https://developers.arcgis.com/en/javascript/jssamples/util_reshape.html I downloaded the zip file, plugged in the URL of my feature and geometry service, and hosted it on a webserver: http://www.navmaps.alaska.gov/kusko/reshape_kusko.html I???ve published a feature service to a external ArcGIS server, from desktop using feature classes in SDE ??? ( both running Arc 10.1) here:http://www.dmlwmaps.dnr.alaska.gov/agsweb/rest/services/kuskokwim_indexing/FeatureServer/0 I???ve registered the feature class on the server. But when I try to edit the polygons and it appears to let me but the edits don???t save to the feature class. Can anyone help? What am I missing? thanks
... View more
12-13-2013
02:01 PM
|
0
|
2
|
672
|
POST
|
Can someone tell me why I'm getting this error/warning: Web Map Conversion Warning Layer "Contaminated Sites"; Failed to create layer from service at http://dec.alaska.gov/DAS/GIS/arcgis/rest/services/SPAR/Contaminated_Sites/MapServer/0 I'm trying to add the above service to a blank fresh ArcMap 10.1 session and get this error. there are other layers in the service that work just fine, as a matter of fact, all of the layers draw in ArcGIS.com map viewer just not in ArcGIS Desktop
... View more
10-16-2013
01:34 PM
|
0
|
1
|
2181
|
POST
|
hi Jake thanks for replying so quickly!! It works!!!!!! and not only that I was able to plug it into that original model ( fig 1, from above ) and it works exactly that it's supposed to. I did have to tweak one thing - deleting the "+os.sep" from line 10. I don't know why it works without it but it does. below is the current working version, with comments. I know its not the way your supposed to do it but it helps this novice understand whats going on. some questions though 1. what does the * do? 2. what does the get message () do? # import arcpy modules and geoprocessing tools import arcpy, os # not sure what this does from arcpy import env # enables the output to overwrite anything that was there before env.overwriteOutput = 1 # not sure what this does env.workspace = r"C:\Workspace\CaseTypeTables.gdb" #1sttables is a variable that contains a list of all the tables from casetypetables.gdb #what is the * for lstTables = arcpy.ListTables("*") #loop to run thru all the tables in 1sttables and execute the exportreport function from arcpy #table is a variable for a single table from 1sttable #cttable is a variable calling the arcpy funtion tableview to view the single table #the TRY command is executing the exportreport function on cttable using the report format from # LAS_case-type_report.rlf and exporting the resulting PDF at C:\workspace\. . . . for table in lstTables: cttable = arcpy.mapping.TableView(table) try: arcpy.mapping.ExportReport(cttable, r"C:\Workspace\working\LAS_case-type_report.rlf", r"C:\Workspace\working\_"+table+".pdf") except: arcpy.GetMessages()
... View more
08-30-2012
03:03 PM
|
0
|
0
|
376
|
POST
|
Hello, I'm new to arcmapping and modelbuilder. My first task was create a model (fig 1) to run thru a .gdb, check for a certain field, then run the frequency tool, and output the resulting table to a different .gdb. It works exactly as I want it. Now I want to take each those tables (about 50 of them) and create a report (.rlf) and export it to PDF. The code below, which I've loaded as a script into a toolbox, works correctly but only one table at a time. How can I (1) loop it thru each table? and (2) not overwrite the previous PDF? Ultimately I want to insert it to the first model ( Fig 1) Any help or suggestions would be greatly appreciated import arcpy cttable=arcpy.mapping.TableView(r"C:\Workspace\CaseTypeTables.gdb\AGR_SET_RECON_LN_case_types") arcpy.mapping.ExportReport(cttable,r"C:\Workspace\working\LAS_case-type_report.rlf",r"C:\Workspace\working\successPDFreport.pdf") del cttable
... View more
08-29-2012
03:12 PM
|
0
|
3
|
722
|
Online Status |
Offline
|
Date Last Visited |
02-01-2024
12:54 AM
|