POST
|
So i just ran into this and am wondering if you can clarify that if image server is the only role listed in manager that my mapservices will not longer be listed? there should be several roles listed? i did reauthorize my server ECP by still only see image server as the only role.
... View more
07-18-2019
01:05 PM
|
0
|
0
|
2798
|
POST
|
it is a long story but this website was built a few years back using javscript 3.5 API and it is currently broken. So i am hoping some really smart person out there can have a look and help me out . Here is a link to full site. GeoNIS but the only location that has any data is AND, it is the top one on the list on the right hand side of page. click it to zoom there. or use this link GeoNIS . So here is the problem i am having ...I can not generate the list of rasters that are contained within the imageservice. it seems like the problem is in the section where it is supposed to create a stack of images. I included that section of code below but you can get all the code from the website. The rest of the functionality seems to be working. there is a link for the mapservice with the vector data there is a link to the imageservice with the raster data. there are check boxes for each layer in the mapservice. the images (0) is the problem there are four rasters in there. the package list even works and shows all the information for each layer in both the mapservice and the imageservice. thanks jamie p.s. the coding is pretty messy and it was not me. // Create the image stack and click handlers for the image menu $.getJSON(window.mapInfo.imageUrl + "?f=pjson&callback=?", function (response) { if (!response.error) { var imageParams = new esri.layers.ImageServiceParameters(); imageParams.noData = 0; window.imageStack = new esri.layers.ArcGISImageServiceLayer( mapInfo.imageUrl, { id: 'imageStack', imageServiceParameters: imageParams, opacity: 0.75 } ); window.imageLayer = true; dojo.connect(imageStack, 'onLoad', function (images) { var i, imageTitleLink, imageChecks; imageTitleLink = $('<a />') .attr('href', '#') .text("Images (" + Object.keys(imageData).length + ")") .click(function () { $('#image-checks').slideToggle('fast'); }); $('#image-checks-title').prepend($('<p />').append(imageTitleLink)); imageChecks = $('<ul />').appendTo('#image-checks'); $.each(imageData, function () { checkbox = $('<label />').text(this.layername).addClass('drop-down-font'); checkbox.prepend($('<input />') .attr('type', 'checkbox') .attr('name', 'checkbox-' + this.layername) .attr('id', 'checkbox-' + this.layername) .click({'layername': this.layername}, function (event) { var visibleImage, mosaicRule; if (embeddedMap.layerIds.indexOf('imageStack') !== -1) { visibleImage = imageStack.mosaicRule.where.split('=')[1].split('\'')[1]; } mosaicRule = new esri.layers.MosaicRule({ "method": esri.layers.MosaicRule.METHOD_LOCKRASTER, "ascending": true, "operation": esri.layers.MosaicRule.OPERATION_FIRST, "where": "Name='" + event.data.layername + "'" }); imageStack.setMosaicRule(mosaicRule); $(event.target).parents().eq(2).find(':checked').prop('checked', false); $(event.target).prop('checked', true); if (embeddedMap.layerIds.indexOf('imageStack') === -1) { embeddedMap.addLayer(imageStack); window.imageLayer = true; } else if (visibleImage === event.data.layername) { embeddedMap.removeLayer( embeddedMap.getLayer('imageStack') ); $(event.target).parent().children().prop('checked', false); window.imageLayer = false; } $('#active-layers').show(); $.each(window.imageData, function () { $('#image' + this.layername).addClass('hidden'); }); $('#image' + event.data.layername).removeClass('hidden'); $('#image' + event.data.layername).trigger('click'); if (!window.imageLayer && layerStack.visibleLayers && layerStack.visibleLayers.length === 1 && (layerStack.layerInfos[layerStack.visibleLayers[0]].name === 'LTER site boundary')) { $('#active-layers').hide(); } }) ); imageChecks.append($('<li />').append(checkbox)); }); }); } else { $('#image-checks-title').html('<a href="#">Images (0)</a>'); } });
... View more
09-22-2016
03:13 PM
|
0
|
0
|
944
|
POST
|
I am very interested in the availability of a crowd sourced storymap. I have created a website where users can upload a photo that then populates a storymap but it is very simple and will likely break under high use. The availability of a crowd sourced template could be the solution for this scientific project. I should add this project is currently being funded my multiple government agencies (NASA, National Science Foundation, and Forest Service) to document the impacts of climate change on traditional land use by Native Alaskans. I would also like to know if this is a project that anyone from the ESRI storymap team would be interested in showcasing.
... View more
02-01-2016
05:05 PM
|
1
|
1
|
903
|
POST
|
again thanks for the help but after a bit of testing the centerandzoom is not zooming in to the selected feature but the center of the map extent. thoughts? the projection of the map service is the same as the basemap. j
... View more
11-20-2013
03:52 PM
|
0
|
0
|
449
|
POST
|
I have found lots of info how to use a find or query tasks and then zoom to the new extent of these selected features, but i can not seem to get it to work. can someone please take a look and let me know what i have done wrong. here is my code and a link to fiddle http://jsfiddle.net/7vUwE/ thanks <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--The viewport meta tag is used to improve the presentation and behavior of the samples on iOS devices--> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/> <title>Find Task</title> <link rel="stylesheet" href="http://js.arcgis.com/3.7/js/esri/css/esri.css"> <style> html, body { height: 100%; width: 100%; margin: 0; padding: 0; } #map { margin: 0; padding: 0; width: 100%; height: 100%; } </style> <script src="http://js.arcgis.com/3.7/"></script> <script> dojo.require("esri.map"); dojo.require("esri.tasks.find"); dojo.require("dijit.layout.BorderContainer"); dojo.require("dijit.layout.ContentPane"); var findTask, findParams, map; function init() { map = new esri.Map("map",{ basemap:"topo", center: [-147.0, 64.8], zoom: 6 }); // draw all sites to the map var sites_layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://ltergis.iab.uaf.edu/arcgis/rest/services/database_test/mapserver"); map.addLayer(sites_layer); //create find task with url to map service findTask = new esri.tasks.FindTask("http://ltergis.iab.uaf.edu/arcgis/rest/services/database_test/mapserver"); //create find parameters findParams = new esri.tasks.FindParameters(); findParams.returnGeometry = true; findParams.layerIds = [0]; findParams.searchFields = ["site_id"]; var sr = new esri.SpatialReference({wkid:102100}); findParams.outSpatialReference = sr } //set the search text to find parameters function execute(searchText) { findParams.searchText = searchText; findTask.execute(findParams, showResults); } //symbology for graphics function showResults(results) { var markerSymbol = new esri.symbol.SimpleMarkerSymbol(esri.symbol.SimpleMarkerSymbol.STYLE_SQUARE, 10, new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255, 0, 0]), 1), new dojo.Color([0, 255, 0, 0.25])); //find results return an array of findResult. map.graphics.clear(); var dataForGrid = []; //Build an array of attribute information and add each found graphic to the map dojo.forEach(results, function(result) { var graphic = result.feature; switch (graphic.geometry.type) { case "point": graphic.setSymbol(markerSymbol); break; } //add graphics to map map.graphics.add(graphic); //zoom to selected graphics (not working) }); //zoom to selected graphics (not working) var Extent = esri.graphicsExtent(graphic); map.setExtent(Extent); } dojo.addOnLoad(init); </script> </head> <body> <div dojotype="dijit.layout.BorderContainer" style="width:100%;height:100%;margin:0" design="headline" gutters="true "> <div class="details" dojotype="dijit.layout.BorderContainer" region="top" style="height:30px;"> Find sites: <input type="text" id="searchText" value="fsl" /> <input type="button" value="Find" onclick="execute(dojo.byId('searchText').value);"/> </div> <div id="map" dojotype="dijit.layout.ContentPane" region="center" style="border:1px solid #000;"></div> </div> </body> </html>
... View more
11-08-2013
04:11 PM
|
0
|
4
|
607
|
POST
|
Tyrone, I have been trying to figure out how to change from the default box that you wanted to a something else like the marker you have described. are willing to share your method? thanks j
... View more
11-04-2013
10:19 AM
|
0
|
0
|
359
|
POST
|
<Msg time="2013-05-08T09:01:21,855" type="SEVERE" code="6540" source="Admin" process="7396" thread="13" methodName="" machine="KOTSINA.APPS.AD.ALASKA.EDU" user="" elapsed="">Failed to update the configuration store. Server machine 'KOTSINA' is not reachable. All machines in the site must be reachable for this operation to complete.</Msg> no under scores but dots
... View more
05-08-2013
09:27 AM
|
0
|
0
|
499
|
POST
|
anyone seen this before? <Msg time="2013-05-04T00:25:46,243" type="SEVERE" code="6692" source="Admin" process="7396" thread="13" methodName="" machine="myserver" user="" elapsed="">Failed to edit server directory 'arcgissystem'. Failed to clear REST cache on one or more server machines. Please check the log for more details.</Msg> long story but the config-store and directories folder where copied before the site was deleted as outlined in Backing up and restoring your ArcGIS Server site (http://resources.arcgis.com/en/help/main/10.1/index.html#//015400000619000000). now I am not able to join a site i can only create a new one. i then copy all of the original files to the new config-store and directories folders. the services all show up but will not start. if someone could point me to a document and give an explanation on the best way to recreate the services from the original folders. thanks jamie
... View more
05-04-2013
12:58 AM
|
0
|
2
|
958
|
POST
|
so i fixed it first i found this page http://blogs.esri.com/esri/supportcenter/2012/08/09/how-to-get-an-authorization-file-or-keycodes-file-for-the-new-create-enterprise-geodatabase-tool-at-10-1/ but i was not getting the update arcgis license box then i found this http://support.esri.com/en/knowledgebase/techarticles/detail/40597 i had to create a new connection with admin privileges. problem solved
... View more
02-09-2013
03:17 PM
|
0
|
0
|
319
|
POST
|
So after updating my license file i now get this error when trying to access my database. Failed to connect to database. No arcgis server license file found. contact your admin. i have tried creating a geodatabase using all of my connection info and i get an Error. Error connecting to database as geodatabase admin. I can connect to the database outside of arcgis. arcgis server 10.1.1 windows server 2012 IIS 8 postgresql 9.1 everything was working prior to updating of license file any thoughts
... View more
02-07-2013
05:30 PM
|
0
|
2
|
3463
|
POST
|
very helpful thanks for posting http://ltergis.iab.uaf.edu/nsn.html
... View more
05-18-2012
02:51 PM
|
0
|
0
|
509
|
POST
|
so after weeks of doing and redoing and making what i thought was a mess of things. I seem to have fixed it my problem by deinstalling oracle client. thanks for the help v jamie
... View more
05-26-2011
02:50 PM
|
0
|
0
|
516
|
POST
|
so i see when i go to the start>programs>oracle ora11g_home1>application development>sqlplus and enter "sys/password@gisdata as sysdba" i can log in and everything seems to work just fine but if i open a command prompt and type "sqlplus sys/password@gisdata as sysdba" it does not work i get either a ora-12560 or an ora-12154 and i am not able to log in. thanks jamie
... View more
05-26-2011
10:36 AM
|
0
|
0
|
516
|
POST
|
Thanks for taking the time to help out I have setup similar configurations several times but this one has me stumped + What is your ORACLE_HOME? C:\app\jhollingsworth\product\11.1.0\db_1 + What is your ORACLE_SID? gisdata + What does listener.ora contain? # listener.ora Network Configuration File: C:\app\jhollingsworth\product\11.1.0\db_1\network\admin\listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = anvik)(PORT = 1521)) ) ) + What does tnsnames.ora contain? # tnsnames.ora Network Configuration File: C:\app\jhollingsworth\product\11.1.0\db_1\network\admin\tnsnames.ora # Generated by Oracle configuration tools. GISDATA = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = anvik)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = gisdata) ) ) + What is your SDEHOME? C:\Program Files\ArcGIS\ArcSDE\ora11gexe + What is in your PATH? C:\app\jhollingsworth\product\11.1.0\client_1\bin;C:\app\jhollingsworth\product\11.1.0\db_1\bin;C:\WINDOWS\System32;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\WINDOWS\system32\WindowsPowerShell\v1.0;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\app\jhollingsworth\product\11.1.0\db_1\OPatch;C:\Program Files\ArcGIS\ArcSDE\ora11gexe\bin + Are you using the post-install GUI? If so, what values have you plugged in? yes and have not been able to get past entering the sys password -error contains an incorrect path. + Have you tried using the manual post-install proceess? no + Have you tried executing 'sdesetup -o prerequisite_check'? connection to sde failed(0) Extended error: ORA 12560: TNS:protocol adapter error error: underlying BDBMS error (-51). Error checking geodatabase setup prerequisities. so then i set ORACLE_SID=gisdata then i get bad login user(-9) + What is in your dbinit.sde and services.sde files? dbinit is empty /* $Id: services.sde,v 1.2 1999/01/22 01:01:35 donna Exp $ */ # # ESRI SDE Remote Protocol # Note: uncomment the line below to use ESRI's default port # #esri_sde 5151/tcp # + What is in your sde_setup.log? no setup log can not get past step one of post install It generally takes me five minutes after Oracle install completes to have ArcSDE running. My process does have some quirks: i agree it is very simple most of the time but this time not even sure where to start other than over. + I *never* install software in a directory with spaces or special characters (e.g., D:\Esri) will try but has not been a problem in the past + I copy the install directory to an alternate directory, uniquely named for each instance (e.g., C:\Esri\sdeora10sp1_mysid) and manually set the SDEHOME, ORACLE_HOME, PATH and ORACLE_SID appropriately + I manually create the SDE tablespace and SDE user, edit the services table with Notepad, and use the command-line 'sdesetup' and 'sdeservice' utilities to configure ArcSDE in a command window. have always used the GUI thanks jamie
... View more
05-26-2011
09:14 AM
|
0
|
0
|
516
|
Title | Kudos | Posted |
---|---|---|
1 | 02-01-2016 05:05 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|