|
POST
|
Hi, are you going to attend the dojo workshops organized by sitepen in March 2015? http://www.sitepen.com/workshops/ Have you attended their workshops before? Did you like it? Filip.
... View more
02-19-2015
12:55 PM
|
0
|
3
|
4695
|
|
POST
|
Oh yeah, I didn't see the UpdateFeatures rest end point pointed out by Xander Bakker. That makes much more sense. Although I cannot see if that is directly accessible through the ArcGIS JS API. You should be able to post a standard request to that end point though, which might be easier than using the applyEdits method anyway.
... View more
02-17-2015
03:09 PM
|
0
|
0
|
2072
|
|
POST
|
Hi, the REST API operation to do this is ApplyEdits on a Feature Layer resource. See ArcGIS REST API Apply Edits. If you want to update a feature using ArcGIS JS API, the applyEdits method of a Feature Layer object should do the trick if you supply the feature you want to update in the updates parameter (note that it is an array): FeatureLayer | API Reference | ArcGIS API for JavaScript Hope this helps, Filip.
... View more
02-17-2015
03:06 PM
|
0
|
0
|
2072
|
|
POST
|
We have exactly the same issue, a script from a custom toolbox can be executed only once and then it results in an "AttributeError: 'NoneType' object has no attribute 'iterable'" when trying to subset a variable like: lt = MyData.variables['lat'][:] ArcGIS 10.1 SP1 on Win 7 with netCDF4 1.0.4 installed along with the ArcGIS Multidimensional Toolbox. Any help would be much appreciated! Filip.
... View more
02-17-2015
12:22 AM
|
0
|
0
|
2442
|
|
POST
|
Hi, what you describe seems to be standard behaviour in ArcGIS. Labels from all vectors layers with enabled labels will draw on top of any other layers. I don't think there is a way to change that. F.
... View more
02-16-2015
04:24 PM
|
1
|
1
|
5213
|
|
POST
|
Hello Vince Angelo and all, I have a very similar question but I am interested in differences between ArcGIS for Server on Linux vs Windows regardless of the database. Is there a help topic dedicated to this? I have a vague memory of reading somewhere in the docs that some geoprocessing tools (from the core toolboxes and official esri extensions) do not run on linux or that arcpy has some limitations on linux compared to windows, but I cannot find it now. It is geoprocessing and arcpy I am most concerned about. I'd be happy to read any opinions, and experiences people have had, especially from people who administered ArcGIS for Server (>=10.1) on both platforms. Best regards, Filip.
... View more
02-12-2015
04:13 PM
|
0
|
0
|
906
|
|
POST
|
Thanks for the correction, Xander Bakker, I see, of course including the zeros would increase N therefore the mean would be lower since mean = sum(x_i)/N. The "DATA" option it is then. I also have doubts whether CellStatistics can handle 1000 rasters and would be curious to know what worked in the end for Nicolas Beerli . Regards, Filip.
... View more
02-08-2015
03:28 PM
|
0
|
0
|
2770
|
|
POST
|
Hi Nicolas, I think with Spatial Analyst it is possible to do the whole calculation in raster data model using the Cell Statistics tool Peter mentioned. You can use the Lookup tool to recode values of your input rasters and create separate sets of rasters for each parameter like Body Length, etc. Here is a sketch of how I would try to do it (not tested and may not apply to your folder structure). Note that most Spatial Analyst operations produce NoData cell whenever any input cell is NoData. You may want to replace NoData with zero for your calculation or explore the effects of ignore_nodata parameter of the Cell Statistics tool. import arcpy
import os
arcpy.CheckOutExtension("Spatial")
in_raster_folder = r'c:\path\to\folder\with\all\rasters'
column = "Body Length"
out_folder = r'c:\path\to\folder\to\store\body_length'
# get list of all input rasters
arcpy.env.workdpsace = in_raster_folder
in_rasters = arcpy.ListRasters()
recoded_rasters = []
for ras in in_rasters:
# Recode the raster so that VALUE stores the desired variable
lookedup = arcpy.sa.Lookup(ras, column)
# replace NoData with Zero
recoded = arcpy.sa.Con(arcpy.sa.IsNull(lookedup), 0.0, lookedup)
# save the recoded raster to disk
recoded_path = os.path.join(out_folder, os.path.basename(ras))
recoded.save(recoded_path)
# remember all the recoded rasters so you can average them later
recoded_rasters.append(recoded_path)
# calculate mean of all the recoded rasters
means = arcpy.sa.CellStatistics(recoded_rasters, "MEAN", "NO_DATA")
means.save(r'c:\path\to\save\mean\body_length')
arcpy.CheckInExtension("Spatial")
... View more
02-08-2015
12:49 PM
|
1
|
9
|
2770
|
|
POST
|
Hi Randal, do you think the approach you outlined above (CA signed certificate for IIS and self signed certificate for ArcGIS while connecting web adaptor to ArcGIS on 6443) would work for applications hosted on other servers too? I think it should work but if you have tried this before maybe you can confirm. Many thanks, Filip.
... View more
02-05-2015
11:52 AM
|
0
|
1
|
2559
|
|
POST
|
Hi, I would appreciate if somebody could clarify how many SSL certificates I need in the following setup. Windows server with IIS7+ with ArcGIS for Server 10.2.2 and WebAdaptor configured. Do I understand correctly that the certificate used for IIS has nothing to do with the certificate for ArcGIS Server? Therefore, I need one CA-signed certificate for ArcGIS Server and if I am going to host some secure web application on the same machine I need another CA-signed certificate for IIS right? The ArcGIS Server services should be available to client applications hosted on other servers too and therefore both my certificates need to be CA-signed. WebAdaptor does not need any certificate. Is that correct? Filip.
... View more
01-30-2015
01:59 AM
|
1
|
5
|
7876
|
|
POST
|
The link Xander Bakker provided above is the solution, I just want to note that truly square (special case of rectangular) buffers with sides of equal length can be created using arcpy.analysis.Buffer and then arcpy.management.FeatureEnvelopeToPolygon That is if the squares can be aligned with your coordinate system and wouldn't need to rotating. Also arcpy.management.MinimumBoundingGeometry can be useful for these kinds of tasks.
... View more
01-25-2015
01:50 PM
|
1
|
0
|
1026
|
|
POST
|
Hi, try this: arcpy.Dissolve_management(fc, outfcs, dissolveFields, [["TIME","MAX"]], "SINGLE_PART","DISSOLVE_LINES") The curly brackets in the documentation mean that the parameter is optional. [[field, {statistic_type}],...] means that you can supply a list lists and of strings (although that's not obvious). The first item of the list is the field name as string, the second item is and optional string specifying the statistic. Hope this will work. Filip.
... View more
01-15-2015
02:09 PM
|
0
|
1
|
1958
|
|
POST
|
The results in my last post were with version 3.12. Filip.
... View more
01-14-2015
02:17 PM
|
0
|
0
|
5940
|
|
POST
|
The way I understand it is that you: 1) create a map 2) create a time slider widget 3) say that the time slider should control the map and vice versa 'map.setTimeSlider(timeSlider);' That way, whenever the map requests data from the server(s), it adds the time extent parameters to the requests. Time enabled services understand these parameters and return only the data that are within the time extent. In other words, the time is passed "behind the scene" thanks to the ArcGIS JS API libraries and you don't need to worry about it. If you need finer control, you can use the map.timeExtent property and map.setTimeExtent method. Hope this helps. Filip.
... View more
01-14-2015
12:01 PM
|
1
|
0
|
529
|
|
POST
|
Thank you Kelly, I've made some progress thanks to your code but the results are still not satisfactory because then it searches for streets instead of towns. Adding property categories: ["City"] seems to help in some way, but then for example while searching for Manchester as "Man", the suggestions were: Manchester, England, United Kingdom Isle of Man, Isle of Man 10 de Mayo, Avenida Manuel Ojinaga, Cuauhtémoc, Chihuahua 10 Pastéis, Avenida Cosme Ferreira, Manaus, Norte Ideally I would like to get results like Manchester, England, United Kingdom Manchester Rd, Audenshaw, England, United Kingdom Manchester Road, Manchester, England, United Kingdom Manchester Road, ... In fact the best scenario would if the geocoder searched within the specified extent, cities first, then villages, then streets. I'll try to figure out more from the js api help but if anyone has done this successfully before I'd be glad for any advice. Many thanks, Filip.
... View more
01-14-2015
11:43 AM
|
0
|
2
|
5940
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-05-2014 04:40 AM | |
| 1 | 02-08-2015 12:49 PM | |
| 1 | 07-20-2014 12:41 PM | |
| 1 | 03-23-2017 01:48 PM | |
| 1 | 08-18-2014 04:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|