|
POST
|
What happened to the ArcSDE? Is it now included in the ArcGIS Server 10.1? I???m a bit confused concerning the ESRI products: It the ArcSDE now included in the ArcGIS Server 10.1? What about the ArcGIS Engine? Is it separate software? How about Felx/ silverlight? Are they ESRI products? how about the ArcFM? Thank you best Jamal
... View more
10-24-2012
03:16 AM
|
0
|
3
|
1953
|
|
POST
|
Jamal, Your request will definitely be considered for some future version. It turns out there are some ideas already floating around for zooming to pixels, although not quite like you (from a table selection). Thanks for the feedback. Best, Eric Thanks Eric. Yes, please consider it. Best Jamal
... View more
10-19-2012
09:21 AM
|
0
|
0
|
5644
|
|
POST
|
Hi Jamal, Zoom To Selected is short for Zoom to Selected Features. Using your screenshot in the original post, what would you have us do if you selected value = 2? There are 25551 pixels. Where do you want us to zoom? The rows in a raster attribute table are not like rows of discrete features in a feature class, nor is there a shape field containing geometry for easy query. It's not like there is a property within a raster dataset that stores the minimum bounding geometry for each value in the raster that could be used as a zoom extent. The case where the count is 1 is the only time you have a discrete record in a raster attribute table. I would argue its quite uncommon from all the data I've seen over the years. Zooming to selected pixels would have to make sense for all cases to even be considered. There are multiple ways to 'find' this pixel. 1. As stated earlier, convert to features. 2. Create a new raster with just that one pixel. There are several ways to do this one. Raster calculator, conditional statements, or if you want to make it easy just use Extract by Attribute from spatial analyst. Best, Eric Many thanks for the contribution Erci. still, I don�??t see any problem to have the �??zoom to�?� working for cells! It is the same as we do it for vector when we select more than one feature and apply the �??zoom to�?�! zooming to many cells or many features should be the same! Best Jamal [ATTACH=CONFIG]18446[/ATTACH]
... View more
10-15-2012
01:31 PM
|
0
|
0
|
5644
|
|
POST
|
Hi Jamal, Did you ever got the answer for this? I am just wondering the same. I am doing something that i wanted to find that pixel, but couldn't figure it out. Risa Hi Risa, Unfortunately, I didn�??t find any solution for this problem. Sounds that we need workaround for this issue! As always! Best Jamal
... View more
10-12-2012
12:49 PM
|
0
|
0
|
5644
|
|
POST
|
if i understood all the posts correctly, i recently tried something similar. i went with a raster/numpy-array approach. it works, but not nearly as fast as linda´s approach (hoping for her code/approach to be posted here as well)...i just slightly modified my stuff and timed a random 250x250 cell raster @ ~20s.
import numpy as np
import arcpy
def chkNeighbors(arr, x, y):
try:
left = arr[(x-1, y)] if x-1 >= 0 else 0
right = arr[(x+1, y)] if x+1 <= (np.shape(arr)[0]-1) else 0
top = arr[(x, y-1)] if y-1 >= 0 else 0
bottom = arr[(x, y+1)] if y+1 <= (np.shape(arr)[1]-1) else 0
hVal = 3
if all([left > hVal, right > hVal, top > hVal, bottom > hVal]) \
and left == right == top == bottom:
return top
else:
return arr[x,y]
except IndexError:
print "error@", x,y
def doanalysis():
arr = arcpy.RasterToNumPyArray(r"C:\Default.gdb\Reclass_test500")
print np.shape(arr)
itemindex = zip(*np.where(arr))
i=0
for i in range(0,len(arr.flat)):
arr[itemindex] = chkNeighbors(arr, *itemindex)
ras = arcpy.NumPyArrayToRaster(arr)
ras.save(r"C:\Default.gdb\testraster")
Hi all, I would be very highly appreciated if you help me with writing up a code for the following statements: 1. IF the cell is water, THEN no growth is allowed at this cell. 2. IF the cell is road, THEN no growth is allowed at this cell. 3. IF cell is residential OR commercial, THEN keep this cell the same without any change. 4. IF the cell is either forest OR pasture OR row crops AND there are 4 commercial cells in the neighborhood, THEN change the cell to commercial. 5. IF the center cell is either forest OR pasture OR row crops AND there are 4 residential in the neighborhood, THEN change the cell to residential. Many thanks for the help, best Jamal
... View more
08-05-2012
12:57 PM
|
0
|
0
|
1452
|
|
POST
|
Tools for the geocomputations in the ArcGIS, I???m wondering if there are tools in the ArcGIS to apply dynamic models, i.e, the discipline of the Artificial Intelligence (AI) which include: Artificial Neural Networks (ANN), Cellular Automata (CA), Agent-based Modeling (ABM), and Genetic Algorithms (GA) More specifically, I need to compare the result of the Multicriteria Evaluation (MCE) method with the Cellular Automata (CA) to see to which range they match. The MCE map can be simply derived, for example, from the overlay of the slope, roads and current urban areas depending on the following criteria: 1. The less the slope the more urban expansion 2. The nearest to the road network the more the urban expansion 3. The nearest to the current urban the more the urban expansion But how can we obtain the map resulted from applying the CA with the rules below: 1. IF the cell is water, THEN no growth is allowed at this pixel. 2. IF the cell is road, THEN no growth is allowed at this pixel. 3. IF cell is residential OR commercial, THEN keep this cell the same without any change. 4. IF the cell is either forest OR pasture OR row crops AND there are 4 commercial cells in the neighborhood, THEN change the cell to commercial. 5. IF the center cell is either forest OR pasture OR row crops AND there are 4 residential in the neighborhood, THEN change the cell to residential. How such CA model can be developed and processed in the ArcGIS? Thank you for the help, Best Jamal
... View more
08-05-2012
12:44 PM
|
1
|
0
|
3226
|
|
POST
|
Take a look at this 9.3 topic: An overview of advanced modeling through simulations Hi guys, I�??m wondering if there is a way to build a model (based on raster format) to perform the tasks below considering a number of iteration: - Live cells stay alive if 2 or 3 of its neighbors are alive, otherwise it dies - Dead cells will come to life if it has 3 live neighbors [ATTACH=CONFIG]16684[/ATTACH] The raster data is attached, Thank you for the help, Best Jamal
... View more
08-05-2012
08:28 AM
|
0
|
0
|
1836
|
|
POST
|
Hi Jamal, I think you have legitimate points with these two examples although we've deviated quite a bit from anything to do with the deprecation of the 3d toolbar tools. I discussed this thread with the User Advocacy Group and highlighted a number of your concerns/examples. They will be sure to discuss with the respective teams involved. My guess at what happened is the Explode UI command was in the software, then at some later date there was a need to automate the functionality, and another team created the GP tool and named it something different than the UI command. Just my hunch. Nonetheless, I see how it can create confusion. The Planarize Lines command does actually have some GP tools that do the same. For example, Feature to Line can be used to split the lines at intersections. Depending on whether or not you preserve attributes you will retain the overlapping line segments (preserving keeps overlap). There is also a simple model that could be built that would incorporate Intersect (output type points), Split Line at Point, and Delete Identical (using Shape field). Feature to Line works on more than just line input which is probably why it's not called Planarize Lines event though it can do the same thing. At the very least, searching on the word Planarize should return better results. I will submit a NIM to the team so that additional tags are added to the Feature to Line tool for search purposes. Thanks for your feedback. Best, Eric Hi Eric, this just to provide more examples regarding the inconsistency in the ArcGIS. When the ArcGIS will be free of these problems? 1. Having different names for the same command! Example, �??import�?� [ATTACH=CONFIG]15844[/ATTACH] 2. Missing some commands on the toolbox! And then how to get the benefit of the model builder? Example: �??new network dataset�?� [ATTACH=CONFIG]15845[/ATTACH] 3. Commands that doesn�??t respect the mask Examples�?�: multiple ring buffer, create thiessian polygon [ATTACH=CONFIG]15846[/ATTACH], [ATTACH=CONFIG]15847[/ATTACH] 4. Commands that doesn�??t respect the mask unless an internal setting are applied Examples: create tin, topo to raster, 5. The ArcGIS doesn�??t keep showing the name of the extent layer! Each time we go to the extent we got confused about which layer is set to the extent since the arcgis gives �??as specified below�?� instead of showing the name of the layer!!!! cont. for screenshots (as the system doesn't allow attaching more than 5 images!) Best Jamal
... View more
07-08-2012
08:15 AM
|
0
|
0
|
12593
|
|
POST
|
???Zoom to selected??? from the attribute table of the raster I???m wondering why the command ???Zoom to selected??? is not active in the attribute table of the raster. How could we zoom to the selected cells? [ATTACH=CONFIG]15743[/ATTACH] Thank you for the help, Best Jamal
... View more
07-03-2012
01:26 PM
|
0
|
9
|
8551
|
|
POST
|
(Again) reclassification problem! I�??m not sure why the �??reclassify�?� tool doesn�??t see all values of the input cells of a particular raster! The screenshots below show how the Arcmap has a problem in �??seeing�?� the cell that has the maximum value! What might be the explanation for this? Why do we need manual work to adjust the precision? Why this is not automatically done by the Arcmap? Do we still have this problem even in ArcGIS 10.1? [ATTACH=CONFIG]15737[/ATTACH], [ATTACH=CONFIG]15738[/ATTACH], [ATTACH=CONFIG]15739[/ATTACH] Thank you for the help, Best Jamal
... View more
07-03-2012
12:53 PM
|
0
|
0
|
1069
|
|
POST
|
No argument there. But sometimes the coder has a different understanding of the references they are using than do other readers. Thus, as documentation of the software, the developer can do very well by describing how they interpreted the equations and implemented in them in the software. This closes the loop from equation to software back to equation. Furthermore, by not forcing software users to reference the literature (which often is academic papers not freely available), this makes explicit documentation available to all users, not just the privileged ones with good library access. A recent (nice) example of the value of explicit documentation compared to a mere reference appears at on the StackExchange GIS Q&A site, where a user of open source GIS software found a problem not by testing the software, but by seeing something strange in the documentation (which, because this is OSS, includes the code itself, which is not an option with ArcGIS). The code was based on good references but mis-interpreted them (and made a few additional mistakes along the way...). I, for one, have appreciated the accessibility of the Python source code in some of the ArcToolboxes, because it goes a long way to showing that these tools are doing what I expect and are doing it correctly. Otherwise, when working on important projects (and all projects for clients are important!), I have to test the software extensively, because the documentation tends to be non-technical and vague. This is exactly what I needed to know. Including the equations used in the computation is core issue in my opinion. This lets know where we are exactly and based on what the results were computed. Indicating the reference without full details on what exactly have been implemented (particularly where there are definite equations) doesn�??t help the user to be confident about the entire process. Best Jamal
... View more
06-15-2012
12:44 PM
|
0
|
0
|
5614
|
|
POST
|
Jamal It is often better to cite a reference rather than copy from it. This will give you more insight into the inner workings and assumptions around these equations. Which is what we have done for IDW and Kernel Density. Steve Many thanks Steve. best Jamal
... View more
06-15-2012
11:34 AM
|
0
|
0
|
5614
|
|
POST
|
Jamal A search would have led you to a thread Dan participated in 7 years ago, viz., http://forums.esri.com/Thread.asp?c=93&f=995&t=176542 What are the problems that you are seeing? Steve Many thanks Steve for the answer. This is quite helpful. Just I was trying to calculate some values manually applying the equation I�??ve provided in my previous post and got confused about some results. I wanted to make sure about the math used in the ArcGIS to calculate the IDW. I�??m wondering why ESRI doesn�??t include on the help the math they use in such calculations. Another issue that I�??m confronting for the time being is the equation used to calculate the kernel density. How could I obtain the formula used in the such computations? Best Jamal
... View more
06-15-2012
10:07 AM
|
0
|
0
|
5614
|
|
POST
|
ESRI generally doesn't post the equations that they use, but may give reference to cited papers and/or books. You can be assured that the IDW equation implemented is not of their own making but has a long history of implementation. thanks for the contribution. I tested the result of the IDW and got confused about some resulted values. just i wanted to know if the equation used the same as the one i posted. best Jamal
... View more
06-12-2012
12:17 PM
|
0
|
0
|
5614
|
|
POST
|
Which equation is used for the IDW interpolation? I???m wondering if the equation below is the one used in the ArcGIS for the interpolation by IDW. I couldn???t find it in the help, Thank you for the help, Best Jamal [ATTACH=CONFIG]15143[/ATTACH]
... View more
06-12-2012
11:34 AM
|
0
|
16
|
17323
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-30-2022 10:43 PM | |
| 2 | 05-05-2025 10:33 AM | |
| 1 | 05-08-2025 09:49 PM | |
| 1 | 05-06-2025 11:10 PM | |
| 1 | 02-20-2021 01:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|