POST
|
Hi, Is there a way to get the user of my web app to select a point and then have the coordinate of that point written to a xls,txt or even a shapefile on my server? this idea is to have the user submit a point/line or rectangle as an area of interest that will be pushed to my server for further analysis later from arcmap.
... View more
11-01-2013
04:46 PM
|
0
|
1
|
332
|
POST
|
Hi, I am trying to concatonate an existing field with a parameter in a python script parameter = 4 expression = !field! + ", " + parameter arcpy.management.CalculateField("testshp", "field", expression, "PYTHON") my field is a text field with a value of "1, 2, 3" and i want to make it "1, 2, 3, 4" where everytime the script runs and the user inputs a number it adds a comma, a space, then the parameter. I keep running into issues with combining a string and an int but the parameter is preset to string. Any ideas? Thanks.
... View more
03-10-2013
05:07 PM
|
0
|
2
|
122
|
POST
|
Hi, I have a spreadsheet with a Line ID, a Begining point X,Y,Z and End Point X,Y,Z and even a distance plus other attributes. How do I create a polyline in python from this data and keep my attributes. Thanks
... View more
02-22-2013
09:59 AM
|
0
|
3
|
621
|
POST
|
Hi, I am trying to add a definition query to all layers in an MXD that reside in an SDE database and not those that do not. The below code will add the definition query "RID = 111" to all layers in an MXD. How do I manipulate it to only add to those in my SDE database? I tried the wildcard but the names are all different so I was not able to get only the sde layers. Thanks. import arcpy from arcpy import env env.workspace = "C:/WORKSPACE" mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd)[0] CRID = 333 defquery = """ "RID" = """ + str(CRID) for lyr in arcpy.mapping.ListLayers(mxd): lyr.definitionQuery = defquery
... View more
01-29-2013
04:57 AM
|
0
|
2
|
640
|
POST
|
thanks kimo, Yes I am looking to determine the angle of the bends in a pipeline to determine the bending method. induction vs cold(rope). Thank you for your input. I believe the arctan2 function will work. I will let you know what i find out.
... View more
10-14-2012
03:48 PM
|
0
|
0
|
0
|
POST
|
Hi, If i have a polyline with 5 PIs (bends) ex: 2 45deg bends 2 90deg bends and a 5deg bend, what can I do to automatically calculate the degree of the bends in my polyline? Thanks so much.
... View more
10-12-2012
06:32 AM
|
0
|
2
|
263
|
POST
|
can anyone point me in the right direction to writing query results to a database. Id like to select records then have an option to submit them to our SDE oracle database. I do not need the geometries, just the IDs really. Anything will help. Thanks.
... View more
08-10-2012
07:55 AM
|
0
|
1
|
559
|
POST
|
When I add one of my services as a DynamicMapServiceLayer in my silverlight app is works fine but if I add it as a feature layer it will not display because when I run a 1=1 query on the service it fails and my server manager log gives me these errors Processing request took longer than the timeout for service 'Service'. Server request timed out. Check that the usage timeout is appropriately configured for such requests. Server Internal Server Error. Error handling service request: Transaction was rolled back, presumably because setRollbackOnly was called during a synchronization Internal Server Error. Error handling service request: java.lang.OutOfMemoryError: Java heap space Instance of service 'Service' failed to process a request. Instance of the service 'Service' crashed. This service is published in server 10.1 using desktop 10.1 and is an oracle 10g view in sde 9.3.1. Other views within this database are working fine as dynamic and feature layers. Does anyone have any clues on why this is happening?
... View more
07-24-2012
06:19 AM
|
0
|
0
|
1361
|
POST
|
I'm not sure if this should be on the SL or Server forum. However, I have Oracle layers in SDE that I would like to display live on my SL webmap. What is the fastest way to display them with popups/maptips as some of them are fairly large. Would it be by publishing them in a map service using a direct connection? Can I publish them directly to the SL app? Add them as mapservices or feature layers in my SL map? Would an oracle view work better than a layer? Any advice on the best way to get my oracle sde layers on my SL web map would help. Thanks everyone.
... View more
06-28-2012
06:13 AM
|
0
|
0
|
171
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|