|
POST
|
Dear All. Below is the code for con opertor in arcmap. When i execute it gives me the error.Pls suggest and show to me where is something wrong. rasModel = New RasterModelClass rasModel.BindRaster(slopeRDN, "slope") strExpression = "Con" + "(" + """" + "[slope]" + """" + ">" + "0" + "," + """" + "[slope]" + """" + "," + "0.000001" + ")" rasModel.Script = strExpression---error throw on this line Error:010084 invalid command or expression. thanks in advance
... View more
01-13-2015
10:36 PM
|
0
|
2
|
4149
|
|
POST
|
If inRaster < inputnumber1 Then outRaster = 1 ElseIf inRaster > inputnumber2 Then outRaster =0 ElseIf inRaster >= inputnumber1 and inRaster<= inputnumber2 Then outRaster = 0.5 * (1 + cos(3.14159*((inRaster– inputnumber1 )(inputnumber2 - inputnumber1 )))) Else outRaster = 0 The above statments i have to make in arcobjects by using spatial analyst.I am totally confused.Please help.How to make condition in IConditionalop of spatial analyst.Any help will be appreciated. Thanks in Advance. Regards
... View more
01-04-2015
04:24 AM
|
0
|
2
|
4424
|
|
POST
|
Dear all,i am working on arcobjects.i want to divide one raster dataset to a constant value0.0896.how it is possible.please reply as soon as possible.for this i convert the scaler value(0.0896) to a constant reaster.But constant raster value is o.so when i divide no result come. Thanks in advance.
... View more
12-31-2014
10:05 PM
|
0
|
1
|
4197
|
|
POST
|
12-02-2014
02:05 AM
|
0
|
0
|
458
|
|
POST
|
Dear anthony, according to the you n0 error.But see the out put. In I
... View more
12-01-2014
11:51 PM
|
0
|
1
|
458
|
|
POST
|
Dear All, <configuration> <layer label="Points" url="http://dell-pc/ArcGIS/rest/services/Sirens/FeatureServer/2"></layer> <!-- non-mapped layer(s), added for just this widget --> <layer label="Buffer" url="http://dell-pc/ArcGIS/rest/services/Sirens/FeatureServer/3"></layer> <!-- non-mapped layer(s), added for just this widget --> <layersettings> <layer name="Points"> <!-- Overwriting layer settings for a feature layer --> <fields> <field name="SIREN_NO" alias="Object ID"/> <field name="Reg_A" alias="Facility"/> <field name="Reg_E" alias="Description"/> <field name="Prov_A" alias="Quality"/> <field name="Prov_E" alias="Object ID"/> <field name="City_A" alias="Facility"/> <field name="City_E" alias="Description"/> <field name="Grade" alias="Quality"/> <field name="Feature_Type" alias="Object ID"/> <field name="Description" alias="Facility"/> <field name="Location" alias="Description"/> <field name="POINT_X" alias="Quality"/> <field name="POINT_Y" alias="Description"/> <field name="Zone_No" alias="Quality"/> </fields> <showobjectid>false</showobjectid> <showglobalid>false</showglobalid> <exportlocation>false</exportlocation> <showattachments>false</showattachments> <showrelatedrecords>false</showrelatedrecords> <!-- <columnsorder>fields|alphabetical|fieldinspector</columnsorder> --> <columnsorder>fields</columnsorder> </layer> <layer name="Buffer"> <!-- Overwriting layer settings for a map service layer --> <fields> <field name="SIREN_NO" alias="Object ID"/> <field name="Reg_A" alias="Facility"/> <field name="Reg_E" alias="Description"/> <field name="Prov_A" alias="Quality"/> <field name="Prov_E" alias="Object ID"/> <field name="City_A" alias="Facility"/> <field name="City_E" alias="Description"/> <field name="Grade" alias="Quality"/> <field name="Feature_Type" alias="Object ID"/> <field name="Description" alias="Facility"/> <field name="Location" alias="Description"/> <field name="POINT_X" alias="Quality"/> <field name="POINT_Y" alias="Description"/> <field name="Zone_No" alias="Quality"/> </fields> <showobjectid>false</showobjectid> <showglobalid>false</showglobalid> <exportlocation>false</exportlocation> <showattachments>false</showattachments> <showrelatedrecords>false</showrelatedrecords> <!-- <columnsorder>fields|alphabetical|fieldinspector</columnsorder> --> <columnsorder>fields</columnsorder> </layer> </layersettings> <excludelayer>CapitalCities</excludelayer> <!-- excludes the feature layer and the complete map service layer --> <excludelayer>Cities</excludelayer> <!-- excludes the feature layer and the complete map service layer --> <excludelayer>KSA</excludelayer> <!-- excluding a sublayer withing a map service layer --> <excludelayer>World_Map</excludelayer> <!-- excluding a sublayer withing a map service layer --> </configuration> the above is my configuration file for attribute widget.i want to show only points and buffer layers.But in attribute table all layers are coming.please anyone tell me where is the mistake. Thanks in advance
... View more
11-30-2014
11:12 PM
|
0
|
3
|
3140
|
|
POST
|
function myClickHandler(evt) { try { map.graphics.clear(); if (identfyFlag == 1) { var point = evt.mapPoint; SMS.setStyle(SimpleMarkerSymbol.STYLE_CIRCLE); SMS.setSize(12); SMS.setColor(new esri.Color([255, 0, 0, 0.5])); identifyTask = new IdentifyTask("http://dell-pc/ArcGIS/rest/services/Sirens/MapServer"); identifyParams = new IdentifyParameters(); identifyParams.tolerance = 3; identifyParams.returnGeometry = true; identifyParams.layerIds = [0, 1, 2, 3, 4, 5]; identifyParams.geometry = point; identifyParams.layerOption = IdentifyParameters.LAYER_OPTION_ALL; identifyParams.width = map.width; identifyParams.height = map.height; var pointGraphic = new Graphic(point, SMS); map.graphics.add(pointGraphic); idResults = new IdentifyResult(); processIdentifyResults(point) }//if } //try catch (err) { txt = "There was an error on this page.\n\n"; txt += "Error description: " + err.message + "\n\n"; txt += "Click OK to continue.\n\n"; alert(txt); } } dear ken, i update the code.but same error is coming.i am confused.please help
... View more
09-19-2014
02:34 AM
|
0
|
0
|
702
|
|
POST
|
function myClickHandler(evt) { try { map.graphics.clear(); if (identfyFlag == 1) { var point = evt.mapPoint; SMS.setStyle(SimpleMarkerSymbol.STYLE_CIRCLE); SMS.setSize(12); SMS.setColor(new esri.Color([255, 0, 0, 0.5])); identifyTask = new IdentifyTask("http://dell-pc/ArcGIS/rest/services/Sirens/MapServer"); identifyParams = new IdentifyParameters(); identifyParams.tolerance = 3; identifyParams.returnGeometry = true; identifyParams.layerIds = [0, 1, 2, 3, 4, 5]; if (identifyParams != null) { identifyParams.Geometry = point; identifyParams.layerOption = IdentifyParameters.LAYER_OPTION_ALL; identifyParams.width = map.width; identifyParams.height = map.height; } var pointGraphic = new Graphic(point, SMS); map.graphics.add(pointGraphic); idResults = new IdentifyResult(); processIdentifyResults(point) } } //try catch (err) { txt = "There was an error on this page.\n\n"; txt += "Error description: " + err.message + "\n\n"; txt += "Click OK to continue.\n\n"; alert(txt); } } Dear ken thanks for reply. my complete code is above.i passed the event mapPoint to the point variable.
... View more
09-18-2014
01:04 AM
|
0
|
2
|
702
|
|
POST
|
function mapClickHandler(evt) { try { map.graphics.clear(); if (identfyFlag == 1) { var point = evt.mapPoint; SMS.setStyle(SimpleMarkerSymbol.STYLE_CIRCLE); SMS.setSize(12); SMS.setColor(new esri.Color([255, 0, 0, 0.5])); var pointGraphic = new Graphic(point, SMS); map.graphics.add(pointGraphic); identifyTask = new IdentifyTask("http://dell-pc/ArcGIS/rest/services/Sirens/MapServer"); identifyParams = new IdentifyParameters(); identifyParams.tolerance = 3; identifyParams.returnGeometry = true; identifyParams.layerIds = [0, 1, 2, 3, 4, 5]; identifyParams.geometry = point; identifyParams.layerOption = IdentifyParameters.LAYER_OPTION_ALL; identifyParams.width = map.width; identifyParams.height = map.height; } } //try catch (err) { txt = "There was an error on this page.\n\n"; txt += "Error description: " + err.message + "\n\n"; txt += "Click OK to continue.\n\n"; alert(txt); } } i am facing problem in above code.when i want to set identifyParams.i get the fallowing error.cannot read property 'geometry' of undefined.please help.what can be the reason.the line with red color in the code throwing error.
... View more
09-17-2014
11:57 PM
|
0
|
0
|
4599
|
|
POST
|
identifyParams.tolerance = 3; identifyParams.returnGeometry = true; identifyParams.layerIds = [0, 1, 2, 3, 4, 5]; identifyParams.geometry = point; identifyParams.layerOption = IdentifyParameters.LAYER_OPTION_ALL; identifyParams.width = map.width; the redline fail.It give the message.cannot read property 'geometry' undefined . please what should be the reason.Thanks in advance.
... View more
09-17-2014
09:24 AM
|
0
|
4
|
4147
|
|
POST
|
Dear Robert, http://dell-pc/ArcGIS/rest/services/TestService/FeatureSerever/0 This is the text which is written there. Supported Operations: Query Add Features Update Features Delete Features Apply Edits
... View more
08-29-2014
10:32 PM
|
0
|
0
|
735
|
|
POST
|
dear robert, i already try your suggestion but it not work in fv enviornment.i change this and make one testing page. the code for testing page e.<esri:Map id="myMap" width="100%" height="60%" click="myMap_clickHandler(event)"> <esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/TestService/MapServer"/> <esri:FeatureLayer id="myFeatureLayer" mode="selection" outFields="*" url="http://dell-pc/ArcGIS/rest/services/TestService/MapServer/0"/> </esri:Map> the data come like above image.but no link for delete menu.i change little bit of code ike below .<esri:Map id="myMap" width="100%" height="60%" click="myMap_clickHandler(event)"> <esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/TestService/MapServer"/> <esri:FeatureLayer id="myFeatureLayer" mode="selection" outFields="*" url="http://dell-pc/ArcGIS/rest/services/TestService/FeatureSerever/0"/> </esri:Map> no data come in attribute table.this can be the reason for arcgis server(standard,advance).if not please check what can be the reason. thanks in advance.
... View more
08-29-2014
01:44 PM
|
0
|
2
|
735
|
|
POST
|
Dear Robert i check my code and the point of concern is rest service.when i put the url of feature layer like <esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/myFeature/MapServer"/> <esri:FeatureLayer id="myFeatureLayer" mode="onDemand" outFields="*" url="http://dell-pc/ArcGIS/rest/services/Sirens/MapServer/2"/> it shows values on attribute table and menu from attribute table delete selected record is not there. if i change the above code <esri:ArcGISDynamicMapServiceLayer url="http://dell-pc/ArcGIS/rest/services/myFeature/FeatureServer"/> <esri:FeatureLayer id="myFeatureLayer" mode="onDemand" outFields="*" url="http://dell-pc/ArcGIS/rest/services/Sirens/FeatureServer/2"/> No values on attribute table.no map visible and message on attribute table is No features in current map extent. so please what should be the reason. Thanks
... View more
08-28-2014
12:54 AM
|
0
|
4
|
735
|
|
POST
|
Dear All, I am working on one application using flex viewer 3.4.and using the attribute widget.i have total 7 layers in my dynamic map service.Some are scaled dependent .when i load the attribute table .the data for some scale dependent layers not visible on attribute table.one scale dependent layer showing data.The others not showing data on the attribute table.what can be the reason.one layer not showing data make the table with columns headers and all columns of layer.but cells have no data.the other layer which does not show data only text showing " NO FEATURES IN CURRENT MAP EXTENT".Please tell me what can be the reason. Thanks in advance,
... View more
08-27-2014
04:30 AM
|
0
|
6
|
3137
|
|
POST
|
Dear All, I am working on one application using flex viewer 3.4.and using the attribute widget.i have total 7 layers in my dynamic map service.Some are scaled dependent .when i load the attribute table .the data for some scale dependent layers not visible on attribute table.one scale dependent layer showing data.The others not showing data on the attribute table.what can be the reason.one layer not showing data make the table with columns headers and all columns of layer.but cells have no data.the other layer which does not show data only text showing " NO FEATURES IN CURRENT MAP EXTENT".Please tell me what can be the reason. Thanks in advance,
... View more
08-27-2014
03:40 AM
|
0
|
1
|
3172
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-04-2020 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-30-2023
10:23 PM
|