|
POST
|
I wrote a small script that on first test runs seems to accomplish what I need. I will run a few more tests and post the script. -Steven
... View more
07-18-2016
02:53 PM
|
0
|
0
|
1180
|
|
POST
|
Does anyone know of a script that will iterate rasters and grab its associated shapefile (same name as raster) and clip using the two inputs? Basically I have: Raster1, Shapefile1 Raster2, Shapefile2 Raster3, Shapefile3 ...... Raster250, Shapefile250 I've seen some basic clip scripts that use ListRasters to iterate through rasters. Batch Clip in ModelBuilder of ArcGIS for Desktop? - Geographic Information Systems Stack Exchange I figured this most likely can't be done in Model Builder or can it? Thanks, Steven
... View more
07-18-2016
08:49 AM
|
0
|
4
|
2417
|
|
POST
|
You can find how to manage ArcGIS Pro licenses here: Manage ArcGIS Pro licenses—ArcGIS Pro | ArcGIS for Desktop -Steven
... View more
04-26-2016
11:35 AM
|
0
|
0
|
2147
|
|
POST
|
I don't think that's the issue. You can load services without a web adaptor. Your URL to your dynamic map service is wrong. Dynamic map services must end with /MapServer EX: http://gis.newtonnc.gov:6080/rest/services/bestaurants/MapServer
... View more
04-26-2016
11:17 AM
|
0
|
1
|
1680
|
|
POST
|
Got to love Google..I found the exact exercise. It's telling you to copy the html file (or your entire web page folder) you made to the c:\inetpub\wwwroot folder. This isn't really necessary for development. You can launch the html page from any folder. Once you put it in the wwwroot folder you could access it from anywhere via a url.
... View more
04-26-2016
11:08 AM
|
0
|
0
|
1680
|
|
POST
|
You don't need the web adaptor. When you have :6080 in your url, you are basically going directly to arcgis server and skipping a web adaptor if one was present. Are there any features in your bestaurants layer? I'm still not sure what the exercise means when it says to copy the c:\inetpub\wwwroot. Could you upload a photo of the exercise or type out the exercise? -Steven
... View more
04-26-2016
11:00 AM
|
0
|
1
|
1680
|
|
POST
|
I don't have the local esri.css, init.js, and dynamic map service so I replaced the URLS with some from Esri's developer site and it works. I suspect that the file path to your esri css, init js or dynamic map service layer isn't correct. You aren't specifying a basemap on your new esri.Map request so all you would see is the dynamic map service layer. Your dynamic service url says 'arcgismachine ' You may need to replace that with your computer name or is that your computer name? <html>
<head>
<title>Bestaurants Web Application</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.16/esri/css/esri.css">
<script src="https://js.arcgis.com/3.16/"></script>
<script>
dojo.require("esri.map");
function startup()
{
//alert("map is about to load");
//create the map object and load it into the 'mymap' div element
var map = new esri.Map("mymap");
//load the layer into an object
var lyr = new esri.layers.ArcGISDynamicMapServiceLayer
(
"https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/MapServer"
);
//add the layer to map
map.addLayer(lyr);
}
dojo.addOnLoad(startup);
</script>
</head>
<body>
<table border =1 width = '1000px' height = '700px' align =center>
<tr>
<td colspan =2 width='100%' height ='10%'>
<!-- The toolbar where we will place tools -->
The toolbar that contains useful tools to interact with the map and search for restaurants <b> (100% width and 10% height) </b>
</td>
</tr>
<tr>
<td width='20%' height ='40%'>
<!-- The legend of the map goes here -->
The legend items go here <br> <b>(20% width and 40% height) </b>
</td>
<td width='80%' height ='85%' rowspan =2 valign = top>
<div id='mymap' class='arcgismap' >
</div>
</td>
</tr>
<tr>
<td width='20%' height ='40%'>
<!-- The search results will go here -->
The search results goes here, we will display the search for the users in this box <br> <b>(20% width and 40% height)</b>
</td>
</tr>
<tr>
<td colspan =2 width='100%' height ='5%'>
<!-- The status bar for displaying messages goes here -->
The status bar goes here <b> (100% width and 5% height)</b>
</td>
</tr>
</table>
</body>
</html>
... View more
04-26-2016
10:52 AM
|
0
|
3
|
1680
|
|
POST
|
I think we are missing some of the information from the question. The wwwroot folder is created when you install IIS. You would never need to copy it. The wwwroot folder is where the web adaptor is installed and also where you store web applications. Do you mean you need to copy your application to the wwwroot folder? -Steven
... View more
04-26-2016
09:33 AM
|
0
|
4
|
1679
|
|
POST
|
To add to what Rebecca stated, There was an architecture change from version 10.0 to 10.1 so you can't directly upgrade. You will have to do a fresh install. I would highly recommend installing SQL Server Native Client before installing ArcGIS Server 10.2. I had an issue once where ArcGIS Server didn't recognize SQL Server because I installed SQL Server after ArcGIS Server. I think Microsoft may be doing away with the SQL Server Native Client in newer releases. I believe they are pushing people to use ODBC connections. From 10.1 and on, you can do direct upgrades instead of doing fresh installs every time. -Steven
... View more
04-26-2016
06:44 AM
|
1
|
0
|
1687
|
|
POST
|
For those who try something similar. Use Dan's tool and save yourself the headache . -Steven
... View more
03-24-2016
04:40 PM
|
0
|
0
|
1624
|
|
POST
|
Thanks for the link. I looked at 10.3 and this NIM was addressed. NIM098729 In ArcGIS for Desktop 10.2.1, when running a model with the Iterate Feature tool, an incorrect number of outputs are generated only when running the model as a tool. I assume this when it was fixed. I didn't see it in the 10.4 docs. Anyways, its fixed in 10.4. -Steven
... View more
03-24-2016
04:38 PM
|
0
|
0
|
633
|
|
POST
|
So this is definitely an issue with 10.2.2. I just ran the iterator with select on version 10.4 and it works perfectly. -Steven
... View more
03-24-2016
04:26 PM
|
0
|
2
|
633
|
|
POST
|
I was using the value in the selection expression such as Stream = '%value%'. Using apostrophes was the only way to get it to work because my values were strings. I assume it is trying to select where the stream name actual equals %value% instead of the actual field value. I tried simply assigning the value field back into the expression but it would error out. I tried building it a couple different ways using make feature layer and select layer by attributes but none of them would output the geometry. -Steven
... View more
03-24-2016
01:04 PM
|
0
|
0
|
633
|
|
POST
|
I give up... I'm just going to you your tool. Thanks again, -Steven
... View more
03-24-2016
12:27 PM
|
0
|
1
|
1624
|
|
POST
|
I had to add a Create Feature Class tool after the select. I don't understand why select has an output option if it's not going to work. But this brings another issue. My shapfiles are being created with the correct name but they aren't be loaded in with the data that was supposed to be selected using the Select Tool. -Steven
... View more
03-24-2016
11:52 AM
|
0
|
3
|
1624
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-18-2015 12:38 PM | |
| 1 | 08-28-2015 09:13 AM | |
| 1 | 02-25-2016 03:51 PM | |
| 1 | 09-12-2014 08:32 AM | |
| 1 | 05-21-2015 10:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
09-03-2021
11:21 AM
|