|
POST
|
Dear robert, i check local users in my computer local users. and one user is arcgis.Should i use this arcgis as sql server instance user or create ArcGISServer user.Which rights should i gave to this user.waiting for reply. Thanks once again.
... View more
01-04-2016
10:17 PM
|
0
|
1
|
621
|
|
POST
|
Dear All i am facing problem for publishing service in arcgis server 10.2.2.my geodatabase is in sql server. i have already register the database as versioned geodatabase. i can edit the layers.i have already created the feature templates for editing.i have also register the database as Arcgis Server Managed Database.when i press validate all button.It gives me OK sign.when i publish as service and on service editor form.i make it analyze.it give me some warnings.other warnings are low but one warning having Severity level high and its code is 24011.Layers data source not register with the server and data will be copied to the server.i am stuck here.when i press publish button the process packaging in progress start it takes unlimited time and process carry on and arcmap become unresponsive.so what should i do.waiting for help. Thanks once again.
... View more
01-04-2016
03:53 AM
|
0
|
3
|
3988
|
|
POST
|
Dear robert, I have one .css class in code having name .title.when i change it with titlebar.My infowindow start showing default behaviour.so i think there should no css having name title. Thanks.
... View more
01-02-2016
10:29 PM
|
0
|
0
|
608
|
|
POST
|
Dear All, i want to change the font size of this selection box and display result.All three images are showing this. Thanks in advance.
... View more
01-01-2016
10:26 PM
|
0
|
1
|
3092
|
|
POST
|
Dear All, Thanks in advance..In load function i am using parser.parse(); var imageParameters = new ImageParameters(); var startExtent = new esri.geometry.Extent(34.172358, 15.849254, 56.8245501, 32.2850301, new esri.SpatialReference({ wkid: 4326 })); map = new Map("mapCanvas", { sliderOrientation: "vertical", sliderStyle: "small", logo: false, "nav": true, extent: startExtent }); map.disableMapNavigation(); map.infoWindow.resize(250, 100); on datagrid row click event i am calling below function //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function QueryForSirenNumber(strSirenNumber) { queryTask = new esri.tasks.QueryTask(strURL); query = new esri.tasks.Query(); query.returnGeometry = true; query.outFields = ["*"]; query.where = "SIREN_NO = '" + strSirenNumber + "'"; queryTask.execute(query, function (resultset) { for (var i = 0; i < resultset.features.length; i++) { var picGraphic = new esri.Graphic(resultset.features[0].geometry, new esri.symbol.PictureMarkerSymbol("Images/flag.png", 22, 22)); pt = resultset.features[0].geometry; // alert(resultset.features[0].geometry.x + "__________" + resultset.features[0].geometry.y); map.graphics.add(picGraphic); } map.infoWindow.setTitle("Coordinates"); map.infoWindow.setContent("Heeelllo"); map.infoWindow.show(map.toScreen(pt), map.getInfoWindowAnchor(map.toScreen(pt))); }); } Title of infowindow not coming.Please help.Thanks in advance.
... View more
12-30-2015
01:46 AM
|
0
|
2
|
2703
|
|
POST
|
pls help var chart1 = new dojox.charting.Chart2D("CenterPane"); chart1.addPlot("default", { type: Columns, markers: true, gap: 10, tension: 3, minBarSize: parsedArray[parsedArray.length - 1].SirenCounter, maxBarSize: parsedArray[0].SirenCounter }); for (var i = 0; i < parsedArray.length; i++) { xLabelArray.push({ value: i + 1, text: parsedArray.FeatureType }); dynObjArray.push({ y: parsedArray.SirenCounter, x: i + 1, tooltip: parsedArray.FeatureType + "" + ": " + parsedArray.SirenCounter, text: "", stroke: { color: "blue", width: 2 }, fill: "lightblue" }); } chart1.addAxis("x", { labels: xLabelArray, includeZero: false, from: 0, to: parsedArray.length, majorLabels: true, minorLabels: true, majorTicks: true, majorTick: { length: 10 }, minorTicks: true, minorTick: { length: 10} }); chart1.addAxis("y", { vertical: true, fixLower: "major", fixUpper: "major" }); chart1.addSeries("Series 1", dynObjArray); // example var a1 = new dojox.charting.action2d.Tooltip(chart1, "default"); chart1.render(); thanks in advance
... View more
06-09-2015
04:50 AM
|
0
|
0
|
582
|
|
POST
|
dear all Below is my code and image is attached.i am not getting labels along x-xis.from 26 labels just two are coming on page. var chart1 = new dojox.charting.Chart2D("CenterPane"); chart1.addPlot("default", { type: Columns, markers: true, gap: 10, tension: 3, minBarSize: parsedArray[parsedArray.length - 1].SirenCounter, maxBarSize: parsedArray[0].SirenCounter }); for (var i = 0; i < parsedArray.length; i++) { xLabelArray.push({ value: i + 1, text: parsedArray.FeatureType }); dynObjArray.push({ y: parsedArray.SirenCounter, x: i + 1, tooltip: parsedArray.FeatureType + "" + ": " + parsedArray.SirenCounter, text: "", stroke: { color: "blue", width: 2 }, fill: "lightblue" }); } chart1.addAxis("x", { labels: xLabelArray, includeZero: false, from: 0, to: parsedArray.length, majorLabels: true, minorLabels: true, majorTicks: true, majorTick: { length: 10 }, minorTicks: true, minorTick: { length: 10} }); //chart1.addAxis("x", { // labels: [ // { value: 1, text: parsedArray[0].FeatureType }, // { value: 2, text: parsedArray[1].FeatureType }, // { value: 3, text: parsedArray[2].FeatureType }, // { value: 4, text: parsedArray[3].FeatureType }, // { value: 5, text: parsedArray[4].FeatureType }, // { value: 6, text: parsedArray[5].FeatureType }, // { value: 7, text: parsedArray[6].FeatureType }, // { value: 8, text: parsedArray[7].FeatureType }, // ] // }); chart1.addAxis("y", { vertical: true, fixLower: "major", fixUpper: "major" }); chart1.addSeries("Series 1", dynObjArray); // example var a1 = new dojox.charting.action2d.Tooltip(chart1, "default"); chart1.render(); minor ticks labels is true and still some labels are not coming.what can be the reason label along x-axis are coming.if i pass static array every thing work.but labels are not visible when i create labels and series data dynamically.please help. thanks in advance.
... View more
06-08-2015
12:12 AM
|
0
|
1
|
3846
|
|
POST
|
<select id="FeatureType" dojotype="dijit.form.ComboBox" style="width:300px;font-size:18px; margin-top:55px;margin-left:660px;position:fixed;direction:rtl;fixed;z-index:90;" autoComplete="true" forceValidOption="false" value="Select Feature" ></select> script code: var newArr = []; newArr.push({ name: "ALdddddddddddL0" }); newArr.push({ name: "ALdddddddddddL1" }); newArr.push({ name: "ALdddddddddddL2" }); newArr.push({ name: "ALdddddddddddL3" }); var dataItems = { identifier: 'name', label: 'name', items: newArr }; var store = new dojo.data.ItemFileReadStore({ data: dataItems }); dijit.byId('FeatureType').set('store', store); now it is working.
... View more
05-22-2015
11:28 PM
|
0
|
1
|
676
|
|
POST
|
i want to load values in drop down list dynamically.but it throws error.code is below.Please help. HTML CODE: <select id="FeatureType" dojotype="dijit.form.ComboBox" style="width:300px;font-size:18px; margin-top:55px;margin-left:660px;position:fixed;direction:rtl;fixed;z-index:90;" autoComplete="true" forceValidOption="false" value="Select Feature" ></select> script code: var newArr = []; newArr.push({ name: "ALdddddddddddL0" }); newArr.push({ name: "ALdddddddddddL1" }); newArr.push({ name: "ALdddddddddddL2" }); newArr.push({ name: "ALdddddddddddL3" }); var dataItems = { identifier: 'name', label: 'name', items: newArr }; var store = new dojo.data.ItemFileReadStore({ data: dataItems }); dijit.byId('mySelect').store = store; but it through error.i have already call the required libraries in page cannot set property 'store' of undefined. Please help.It is in dojo. Thanks in advance.
... View more
05-22-2015
04:13 PM
|
0
|
3
|
3973
|
|
POST
|
HTML CODE <table data-dojo-type="dojox.grid.DataGrid" id="grid" selectionMode="none" style="height:96%;width:96%;margin :5px; border:4px solid black;"> <thead> <tr> <th field="ObjectID" width="50px"> <img alt="+" src="Images/nav_zoomin1.png"/> </th> <th field="SIREN_NO" width="100px">Siren Number</th> <th field="Reg_E" width="200px">Region English</th> </tr> </thead> </table> JAVA SCRIPT CODE function executeQueryTask(strRegionName, strCityName, intCondition) { var items = []; //all items to be stored in data store var featureAttributes; var inti = 0; var queryTask = new esri.tasks.QueryTask("http://dell-pc/ArcGIS/rest/services/SirenFeatureService/MapServer/3"); var query = new esri.tasks.Query(); query.returnGeometry = true; query.outFields = ["SIREN_NO", "Reg_E", "ObjectID"]; if (intCondition == 0) query.where = "1=1"; else if (intCondition == 1) query.where = "Reg_A=" + strRegionName + " " + "And" + " " + "City_A=" + strCityName; queryTask.execute(query, function (results) { for (var i =0; i < results.features.length; i++) { featureAttributes = results.features.attributes; items.push(featureAttributes); } var memStore = new Memory({data: items,idProperty: "ObjectID"}); window.grid.set("store", memStore); window.grid.set("sort", "Reg_A"); }); } i have check my code works and fullfill items array.but i think the problem starts from the red lines.please help why grid is not showing data.thanks for help
... View more
04-15-2015
02:26 AM
|
0
|
1
|
2545
|
|
POST
|
var myFeatureLayer = new FeatureLayer("http://dell-pc/ArcGIS/rest/services/SirenFeatureService/FeatureServer/1", { mode: FeatureLayer.MODE_SELECTION, outFields: ["SIREN_NO", "Reg_E", "Reg_A", "Featuer_Type", "Description", "Location", "POINT_X"] }); map.on("click", function(evt) { try { selectQuery.geometry =evt.mapPoint; myFeatureLayer.selectFeatures(selectQuery, FeatureLayer.SELECTION_NEW, function(features) { if (features.length > 0) { //store the current feature updateFeature = features[0]; map.infoWindow.setTitle(features[0].getLayer().name); map.infoWindow.show(evt.screenPoint, map.getInfoWindowAnchor(evt.screenPoint)); } else { map.infoWindow.hide(); } }); }//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); } }); in above code featurelayer 1 is point layer and its symbols are picturemarker symbol in symbology.if i click on this symbol feature return 0.Even i check it returns the x and y point..if i change the feature layer number like 3,which is my polygon layer.it is simplefillsymbol in symbology.when i click on this it give me the feature.what can be the reason.might be the line is any selectQuery.geometry =evt.mapPoint is any problem.this works for polgon layer not work for point layer. please help.
... View more
04-08-2015
03:27 AM
|
0
|
1
|
2642
|
|
POST
|
Dear all i add the measurement widget in my application.the code for this part is given below. esri.config.defaults.geometryService = new esri.tasks.GeometryService("http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"); var pms = new PictureMarkerSymbol("Images/i_draw_point.png", 24, 24); pms.setOffset(9, 11); var sls = new SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DOT,new dojo.Color([255, 0, 0, 0.55]), 4); var measurement = new esri.dijit.Measurement({map: map,lineSymbol:sls,pointSymbol:pms}, dojo.byId('measurementDiv')); measurement.startup(); The code for HTML part is given. <div id="mapDiv" style="height:100%;width:75%; background-color:white;float:left; margin-right: 0px; margin-top: 0px;border-top:3px solid #00f"> <div id="HomeButton"></div> <div style="position:absolute; right:400px; top:40px;background-color:White; z-Index:999;"> <div id="titlePane" data-dojo-type="dijit.TitlePane" data-dojo-props="title:'Measurement', closable:'false', open:'false'"> <div id="measurementDiv"></div> <span style="font-size:smaller;padding:5px 5px;">Press <b>CTRL</b> to enable snapping.</span> </div> </div> </div> but my measurement not display whole as shown in attatched image.pls what can be the reason.
... View more
04-02-2015
02:01 AM
|
0
|
2
|
4096
|
|
POST
|
dear All my identify code give error. map.infoWindow.setContent(registry.byId("tabs").domNode); <div id="tabs" data-dojo-type="dijit/layout/TabContainer" style="width:385px;height:385px;"> <div id="PointsTab" data-dojo-type="dijit/layout/ContentPane" title="Points"></div> <div id="BufferTab" data-dojo-type="dijit/layout/ContentPane" title="Buffer"></div> </div> the above line always produce error.html code for tabs. "Error Description Cannot read property 'domNode' of undefined. "pls see atttched image for this.i am using 10.0 arcgis server and 1.10.4 is the dojo library i have placed reference library already in the project thanks in advance.
... View more
03-30-2015
12:23 AM
|
0
|
2
|
3987
|
|
POST
|
dear all, var allInputs = dojo.query('input:checkbox', cp); return all checkboxes from content pane in allinputs array. allInputs .set("checked",false);//error undefined is not a function.set statment producing error.please help how to uncheck the checkbox. thanks in advance..
... View more
03-20-2015
12:17 AM
|
0
|
2
|
3815
|
|
POST
|
Dear All. Below is the code for con in map aljebra. 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 rasModel.execute() Error:010084 invalid command or expression. thanks in advance
... View more
01-13-2015
11:07 PM
|
0
|
1
|
348
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-04-2020 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-30-2023
10:23 PM
|