POST
|
Thanks Randy, Joshua for your help on this. this works like a charm, really appreciate your help on this.
... View more
10-19-2020
08:36 AM
|
0
|
0
|
4793
|
POST
|
Thanks Randy, Your code works great. I have one calculated value that doesn't exist in source data, how do I update that field in target using this construct.
... View more
10-16-2020
02:44 PM
|
0
|
2
|
4793
|
POST
|
This looks better formatting, Thanks Dan for pointing this out.
... View more
10-16-2020
09:46 AM
|
0
|
0
|
4793
|
POST
|
Thanks Joshua, I will try limiting the fields and see it helps.
... View more
10-16-2020
09:44 AM
|
0
|
0
|
4793
|
POST
|
def LoadData(fSource, fTarget):
# setup search cursor
fields = ['*']
fldShape = "SHAPE@"
# target field mapping
fldCountry = 'Country'
fldCommodity = "Product"
constructionYear = "CNSTR_YEAR"
try:
with arcpy.da.InsertCursor(fTarget, ['*']) as insertCursor:
with arcpy.da.SearchCursor(fSource, "*") as cursor:
for row in cursor:
country = row[cursor.fields.index(fldCountry)]
geometry = row[cursor.fields.index(fldShape)]
commodity = row[cursor.fields.index(fldCommodity)]
constructionYear = row[cursor.fields.index(constructionYear)]
newRow = [country, geometry, commodity, constructionYear]
insertCursor.insertRow(newRow)
except Exception:
print(e.args[0])
... View more
10-16-2020
09:25 AM
|
0
|
1
|
4793
|
POST
|
Hi, I am looking for some help on proper syntax in ArcGIS Pro/ Python 3. I am trying to read data from a feature class and write to another feature class. The attribute fields are different so I am reading from source and assigning it to output. I get this error at insertCursor.insertRow(newRow). Appreciate any input. Thanks def LoadData(fSource, fTarget):
# setup search cursorfields = ['*'] fldShape = "SHAPE@"# target field mapping fldCountry = 'Country'fldCommodity = "Product"constructionYear = "CNSTR_YEAR"try: with arcpy.da.InsertCursor(fTarget, ['*']) as insertCursor: with arcpy.da.SearchCursor(fSource, "*") as cursor: for row in cursor: country = row[cursor.fields.index(fldCountry)] geometry = row[cursor.fields.index(fldShape)] commodity = row[cursor.fields.index(fldCommodity)] constructionYear = row[cursor.fields.index(constructionYear)] newRow = [country, geometry, commodity, constructionYear] insertCursor.insertRow(newRow) except Exception: print(e.args[0])
... View more
10-15-2020
09:08 PM
|
0
|
9
|
4922
|
POST
|
After doing some research on this tiopic, I found that Jenkins has some support for python, I am curious if anyone has experience working with Jenkins in the context of Enteprise ArcGIS.
... View more
03-18-2020
09:08 AM
|
0
|
1
|
1086
|
POST
|
Thanks David for your comment, please let me know the best way to further discuss potential options.
... View more
03-17-2020
08:24 AM
|
0
|
2
|
1086
|
POST
|
Hello There, I am exploring possibility of implementing Devops/Automation workflows within our enterprise GIS and wanted to gather from experience of community members on how to get started. I am particularly interested to know what tools/technologies were used to implement DevOps. These are some of the tasks that I use python scripting which gets run by a task scheduler: Promotion of ArcMap services from dev/test/prod environment Reconcile/post operation for data edits I am curious to know what tools/technologies other users are using to implement automation. Appreciate any feedback. JS
... View more
03-16-2020
09:40 AM
|
0
|
4
|
1160
|
POST
|
Hi There, In our enterprise, we use few floating licenses for various ArcGIS license levels (advanced, Standard, Basic as well as extensions). I am trying to figure out a way to quantify ArcMap usage pattern for our users, want to know how many time a user has accessed what license level and for how long. I noticed that lmgrd9.log has details for access of and it seems like it gets refreshed at a certain interval, doesn’t show full history of access. I am curious if someone in the community has any suggestions. Thanks JS
... View more
03-16-2020
09:26 AM
|
0
|
0
|
502
|
POST
|
Hi There, We have a geodatabase (ver 10.4.1) hosted on SQL Server 2012. There is a table that has field (Length) that requires field type change from long to double. This field has values. Since the field names are the same and only type changes, here is my workflow: Create a field called LengthTemp Using Edit session, Calculate value from Length to LengthTemp Remove Length field Add Length as double field type Calculate value from LengthTemp to Length field Remove Length field Here is the ESRI recommended approach. First reconcile and post all the versions Unregister feature class Change schema Register feature class as versioned The issues that we have large number of editors and getting all the users to reconcile and post before making this change will result in delaying this update. I am curious how other community members are making these types of changes. Appreciate any feedback.
... View more
05-06-2019
02:07 PM
|
0
|
1
|
550
|
POST
|
Hi There, We are in process of setting a windows server (2012) that would host GeoEvent server. 10.6.1. Our Server Admin want to knows if this server needs to have dynamic/static IP address. Our GIS Servers have dynamic IP address but not sure if GeoEvent Server has any specific requirement. Appreciate any feedback. Thanks Jay
... View more
03-25-2019
12:57 PM
|
0
|
1
|
811
|
POST
|
Hi There, I am having an issue with Server Object Extension in Visual Studio 2013 where .soe file is not being generated...it only generates soe dll file. Our development environment is 10.3.1. I found another post with this suggestion but that doesn't seem to be helping. I was wondering if someone has any suggestions. Thanks Jay 10.2 and VS 2012 - Wont Create SOE file I found that there is a similar issue reported in our system as [#NIM093779 Problems with .NET SDK SOE templates at 10.2 in Visual Studio 2012 prevent the .soe file from being generated. ] The cause of this bug and the issue you are having are the same. The workaround would be : Edit the project file *.csproj: Near the bottom of the XML you will see an Import element. For both Project and Condition, update the path from Server.targets to Server.11.targets.
... View more
07-23-2018
04:15 PM
|
0
|
1
|
1226
|
POST
|
As of now, Visual Studio 2017 is not supported by ESRI but seems like these components will be required. Microsoft.VisualStudio.Component.CoreEditor ID: Microsoft.VisualStudio.Workload.Universal ID: Microsoft.VisualStudio.Workload.NetWeb ID: Microsoft.VisualStudio.Workload.NetCoreTools 😧 Microsoft.VisualStudio.Workload.ManagedDesktop
... View more
06-05-2017
02:40 PM
|
0
|
0
|
456
|
POST
|
Hi There, I am looking for some feedback on what workloads are required for ESRI development (desktop extensions, server object extension). It seems like Visual Studio 2017 has introduced concept of workloads and licensing is based on that. Here is a link that describes this in detail: https://docs.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-professional Appreciate your feedback. Jay
... View more
06-05-2017
10:48 AM
|
0
|
1
|
925
|
Title | Kudos | Posted |
---|---|---|
1 | 07-04-2016 01:36 PM | |
1 | 08-29-2016 10:42 AM |
Online Status |
Offline
|
Date Last Visited |
02-18-2021
05:23 PM
|