POST
|
I solved the issue. The directions were not so clear to me but I had to update my Arc Desktop Client. Then create a direct conection to the SQL database http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Making_a_direct_connection_from_ArcGIS_Desktop_to_a_geodatabase_in_SQL_Server/002q00000039000000/ Next I had to update my ArcSDE Geodatabase in SQL SErver http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Upgrading_an_ArcSDE_geodatabase_in_SQL_Server/002q000000m9000000/ Once I did that I was able to start the ArcSDE service with no problems and everything seems to be running fine.
... View more
02-21-2012
05:53 AM
|
0
|
0
|
152
|
POST
|
I have applied the patch for 10.3 to ArcGIS Server, WebADF Runtime, and Web Applications just fine. Post install just fine as well But when i applied 10.3 for ArcSDE the sde service will not run. The post install says the service stated but when i look in services its not running. I start the service but it emedialty stops. The services throws the message: The ArcSDE Service(esri_sde) service on Local Computer stated and then stopped. Som services stop automatically if they are not in use by other services or programs. The Error log shows: The description for Event ID 110 from source esri_sde cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: esri_sde Connection to RDBMS failed the message resource is present but the message is not found ***************************************************************************** I'm running win server 2008 R2 64-bit SQL 2008 R@ 64-bit ARCSDE for SQL 64-bit
... View more
02-21-2012
04:56 AM
|
0
|
1
|
2536
|
POST
|
I have found the way to fix the zoom to graphic problem I had to create a graphics layer and the pass the array in it to the zoomExtent() fcn. This works great because I can zoom to a single or multiple parcels depending on input. function showParcel(results) {
//symbology for graphics
var polygonSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOT, new dojo.Color([255, 0, 0]), 2), new dojo.Color([255, 0, 0, 0.5]));
//find results return an array of graphics in the graphicslayer.
var graphicslayer = new esri.layers.GraphicsLayer();
map.graphics.clear();
//Build an array of attribute information and add each found graphic to the map
dojo.forEach(results, function(result) {
var graphic = new esri.Graphic(result.feature);
graphic.setSymbol(polygonSymbol);
map.graphics.add(graphic);
graphicslayer.add(graphic);
});
//create an extent matching the graphics of the parcel(s)
var parcelExtent = esri.graphicsExtent(graphicslayer.graphics);
map.setExtent(parcelExtent);
}
... View more
08-05-2011
10:00 AM
|
0
|
0
|
399
|
POST
|
Thanks, I tried that, but it seems to stop execution or break out of the showresults() when the new extent is created: var parcelExtent = esri.graphicsExtent(results.features); The application continues to function, but the graphic is never added to the map now. I know I've got something wrong I just can see it. function showParcel(results) {
//symbology for graphics
var polygonSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOT, new dojo.Color([255, 0, 0]), 2), new dojo.Color([255, 0, 0, 0.5]));
//create an extent matching the graphics of the parcel(s)
var parcelExtent = esri.graphicsExtent(results.features);
//find results return an array of findResult.
map.graphics.clear();
//Build an array of attribute information and add each found graphic to the map
dojo.forEach(results, function(result) {
var graphic = new esri.Graphic(result.feature);
graphic.setSymbol(polygonSymbol);
map.graphics.add(graphic);
});
map.setExtent(parcelExtent);
}
... View more
08-03-2011
10:27 AM
|
0
|
0
|
399
|
POST
|
Is it possible to zoom to a graphic? My Application allows a user to enter a Parcel Number and use the findTask to create a graphic over the correct Parcel on the map. But there are a lot of parcels so I would like to be able to zoom to the graphic. Is this possible? I've looked at centerAndZoom(point, lvl). But I cant seem to figure out how to get a point from my graphic because its as Polygon not a Point. Thanks for the help in Advance. //Executed to search for a Parcel with the correct Map and Page number
function findParcel() {
//set the search text to find parameters
var searchText = dojo.byId("Map").value;
if (searchText.length == 4) {
searchText = searchText + " " + dojo.byId("Page").value;
}
else if (searchText.length == 3 ){
searchText = searchText + " " + dojo.byId("Page").value;
}
findParams.searchText = searchText;
findTask.execute(findParams, showParcel);
}
function showParcel(results) {
//symbology for graphics
var polygonSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_SOLID, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASHDOT, new dojo.Color([255, 0, 0]), 2), new dojo.Color([255, 0, 0, 0.5]));
//find results return an array of findResult.
map.graphics.clear();
//Build an array of attribute information and add each found graphic to the map
dojo.forEach(results, function(result) {
var graphic = new esri.Graphic(result.feature);
graphic.setSymbol(polygonSymbol);
map.graphics.add(graphic);
});
}
... View more
08-03-2011
09:04 AM
|
0
|
3
|
2774
|
POST
|
I hav a similar issue. I'm trying to use an info window to get parcel infromation, but i want to be able to use the measure tool when i need to WITHOUT the infoWindow poping up. My idea around this was to simply change my 'onClick' event to 'onDblClick' to call the function for the infoWindow. That way i can single click when using the measure tool. The problem is that when i Double Click on the map it just zooms in to that location, no infoWindow is displayed. I've added map.disableDoubleClickZoom(); to my init() code but that doesn't seem to do any good because the map still zooms in and still DOESNT call my infoWindow
... View more
06-09-2011
12:41 PM
|
0
|
0
|
337
|
POST
|
I am working on a project where the map will give users the option click and recieve an infoWindow containg quereied Parcel data. I also want to use the measureing widgit. The problem is that if I click the measure widgit and then click the map, it not only starts measureing, but it also displayes the infoWindow. My work around i think should be to have the infoWindow display when a user double clicks. So i changed my listener from 'onClick' event to 'onDblClick' even. function init() { .. dojo.connect(map, "onDblClick", myClickHandler); .. } But that doesnt fire off myClickHandler fucntion, instead it simply center and zooms the map. I have tried to disable double click and zoom: function init() { .. map = new esri.Map("map", {infoWindow: Popup, logo: false}); dojo.place(Popup.domNode,map.root); dojo.addClass(map.infoWindow.domNode, "myTheme"); map.disableDoubleClickZoom(); ... dojo.connect(map, "onDblClick", myClickHandler); ... } But the map still zooms when double clicked, and the function myClickHandler is not fired. It works just fine if I use "onClick" instead of "onDblClick". Any help is appreciated.
... View more
06-09-2011
12:26 PM
|
0
|
3
|
2540
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|