POST
|
Hi Guys, I got answer to my question. According to the link : Query map with geoprocessing result | ArcGIS API for JavaScript 3.17 if the link is more than 2000 characters then browser uses proxy. Thus proxy has to be properly configured using Query map with geoprocessing result | ArcGIS API for JavaScript 3.17 to process such links.
... View more
09-20-2016
07:34 AM
|
0
|
0
|
7
|
POST
|
Hey Shaun, Thanks to your sample I am able to use it for my routing with async call...it works well for 9 points but as soon as I use provide more than 9 points to async call... my calls starts through proxy. Did you face similar issue for more no. of points.
... View more
09-19-2016
08:36 AM
|
0
|
0
|
4
|
POST
|
I am trying to generate a route for more than 150 points with service - http://logistics.arcgis.com/arcgis/rest/ with a asynchronous call. I am successful with around 1-9 points but after 9 points it starts using proxy (appends proxy link) because of which I am not able to get results. Can someone help me with this?
... View more
09-19-2016
08:28 AM
|
0
|
1
|
612
|
POST
|
Hi All, Even i am struggling with similar thing. I am not able to register using wix. can you share your wix files for reference? did it run on windows 7? regards, sameer
... View more
12-10-2013
01:24 AM
|
0
|
0
|
22
|
POST
|
Thanks for your reply. I tried the code without if(). But, the attribute table value did not change. I have 2 shapes in directory "D:\Shape\" . Shape1 and Shape2. I need change values of Shape1. IWorkspaceEdit wrkspcedit = pFeatWorkspace as IWorkspaceEdit; But here wrkspcedit don't show Shape1. I tried the code below, but have an error.(NullReferenceException was unhandled) WorkspaceEdit wrkspcedit = myTable as IWorkspaceEdit; wrkspcedit.StartEditing(false); // NullReferenceException was unhandled wrkspcedit.StartEditOperation(); myTable.GetRow(5).set_Value(8,"anyvalue"); wrkspcedit.StopEditOperation(); wrkspcedit.StopEditing(true); What can I do? Hi, Found out! Please read this http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//00250000089m000000 you havent called store() on to this row to commit changes to the shapefile. do it this way replace myTable.GetRow(5).set_Value(8,"anyvalue"); with IRow pRow = myTable.GetRow(5); pRow.set_Value(8,"anyvalue"); pRow.store(); and this will work! Regards, Sameer Puppal
... View more
09-27-2013
02:36 AM
|
0
|
0
|
15
|
POST
|
Hi, I have suggestions 🙂 ! try doing this one by one. 1. For shapefile first try without doing startediting and stopediting. 2. trying using same code without starteditoperation and stopeditoperation coz this is used for SDE. 3. try using IEditor instead of workspaceedit. 4. trying using Ifeatureclass.search instead of update. something outta this should work! Regards, Sameer
... View more
09-27-2013
02:31 AM
|
0
|
0
|
15
|
POST
|
Hi, What exactly do you need? .. I was not able to understand! regards, sameer
... View more
09-27-2013
02:18 AM
|
0
|
0
|
4
|
POST
|
Sameer, Whilst I agree that the help for this Class is missing basic examples on how to implement the tool and is something that ESRI should rectify, a simple search on this forum for "RasterCalculator" will find you enough code examples to work out how to use it. Finally did it! posting so that this might be helpful for someone like me. and someone may find it by searching "RasterCalculator" as you suggested... Public Sub ExecuteRasterCalc() Dim expression As String = "'D:\Clip2.img'*'D:\Clip3.img'" Dim outputpath As String = "C:\Default.gdb\rastercalc7" Dim geoprocessor = New ESRI.ArcGIS.Geoprocessor.Geoprocessor() Dim ToolRasterCalc As New ESRI.ArcGIS.SpatialAnalystTools.RasterCalculator(expression, outputpath) geoprocessor.OverwriteOutput = True geoprocessor.AddOutputsToMap = True Dim result As IGeoProcessorResult = geoprocessor.Execute(ToolRasterCalc, Nothing) End Sub Regards, Sameer Puppal
... View more
09-27-2013
02:05 AM
|
0
|
0
|
7
|
POST
|
Do you need something specific? There is pretty good explanation of how to run a Geoprocessor tool here: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Using_geoprocessing/0001000004mm000000/ And the Raster Calculator: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Members/004700002782000000/ Finally did it! posting so that this might be helpful for someone like me. Public Sub ExecuteRasterCalc() Dim expression As String = "'D:\Clip2.img'*'D:\Clip3.img'" Dim outputpath As String = "C:\Default.gdb\rastercalc7" Dim geoprocessor = New ESRI.ArcGIS.Geoprocessor.Geoprocessor() Dim ToolRasterCalc As New ESRI.ArcGIS.SpatialAnalystTools.RasterCalculator(expression, outputpath) geoprocessor.OverwriteOutput = True geoprocessor.AddOutputsToMap = True Dim result As IGeoProcessorResult = geoprocessor.Execute(ToolRasterCalc, Nothing) End Sub Regards, Sameer Puppal
... View more
09-27-2013
02:02 AM
|
0
|
0
|
16
|
POST
|
Sameer, Whilst I agree that the help for this Class is missing basic examples on how to implement the tool and is something that ESRI should rectify, a simple search on this forum for "RasterCalculator" will find you enough code examples to work out how to use it. Duncan, I have done quite research before posting it here. while i don't think you can find 'enough' codes just by searching "RasterCalculator". I do not want to use RasterMapAlgebraOp and RasterModel is my basic criteria. when i search as you suggested then 99pc of the code are done by using RasterMapAlgebraOp / RasterModel. let me know if you can help! Sameer
... View more
09-27-2013
01:10 AM
|
0
|
0
|
7
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|