I recently susccesfully ran a watershed delineation model using both ArcHydro Tools for Arc GIS 10.0 and Model Builder in ArcGIS 10.0 on Windows 7 system (Dell Inspiron N4110 Intel Core TM i3 CPU @ 2.30 GHz 64 Bit.)  However when I try to run the same model on an XP computer (Intel Pentium 4 CPU @ 2.53 GHz 32 Bit) I received several run time errors such as:    Error HRESULT E_FAIL has been returned from a call to a COM component. Fail to execute (Catchment Polygon Processing)" and also other like  Drainage Point.. All the inputs are not current  Adjoint Catchment All the inputs are not current   I try also to build the same model from the scratch in this later system and I received the same type of run time errors.  I'd be pleased to receive any clue to fix this problem.
87771
I am trying to run a function from  in ArcMap 10.1; Sink evaluation. But before it can finish it returns an error message, that, frankly, I don't understand at all.  It goes System.runtime.interopservices.comexception (0x80004005): error hresult e_fail .  Can anyone help me solve this? I have tried all I can think of. Run the function from the toolbox instead of dropdown menus, shorten paths, restart ArcMap, reinstall AHT, open new map documents, restart my computer, wait till next day and see if it automagically have fixed itself...   After searching this forum I found a , although it's got no answers. Now I'm all out of ideas, can anyone please help me?!    I'm using ArcMap 10.1 SP1 basic license and Windows 7.    I think I have narrowed it down a bit, still not clear what's wrong though. Sink evaluation uses a series of functions in Arcmap, of which one is Zonal statistics as table. That's the one it gets stuck on. The input raster somehow does not exist, path unknown. I guess this is some intermediary raster.       After consulting the Arc Hydro team, I got the advice not to use grids stored in a gdb (which I didn't). I have also tried to change target locations, thanks to @G.Oxsen. Unfortunately neither of those solved the issue. According to the Arc Hydro team, GPL0 that I asked about earlier is an in-memory grid, so probably no problem there.   I am currently pursuing that it is related to the installation of SP1. Anyone out there using AHT with SP1 and got Sink evaluation working?    Uninstalling SP1 did not change anything, unfortunately. Still working on this, but with less intensity. Seems like I'll have to find workarounds...    By reducing the number of sinks in need of processing I managed to get Sink evaluation running. Having the files not stored in a gdb seem to help as well, as mentioned earlier, and using integer grids.  Changing the "Maximum number of unique values to render" in ArcMap Options (Customize menu), tab Raster --> Raster dataset is another tip that I got (from the Arc Hydro Team). Restarting ArcMap after running every one or two functions also helps keeping things stable.
111980
i keep getting the script error problem every time i try using polygon to raster tool in ArcGIS 10.1. Please help me how I can solve this?  screenshot embedded
49866
In ArcGIS 10.1 I'm trying to normalize a section of a DEM (digital elevation model) from original values to values ranging from 0 to 100. First I clipped the raster DEM with an irregulary shaped polygon. Now I'm tying to change all the values to a range of 0 to 100 for further analysis.  I'm using the Raster calculator tool with this equation:  ("DEM" - min("DEM")) * 100 / (max("DEM") - min("DEM")) + 0    I keep getting TypeError: 'Raster' object not iterable. This is the log I get:      ERROR 000539: Error running expression: rcexec()      Traceback (most recent call last):       File "&lt;expression&gt;", line 1, in &lt;module&gt;       File "&lt;string&gt;", line 5, in rcexec     TypeError: 'Raster' object is not iterable   I also tried running the command on the unclipped raster, unsuccessfully.
63666
We are getting very slow compile times, which can take upwards of 20+ minutes on dual core   2GHz, 2G Ram machines.  A lot of this is due to the size of our solution which has grown to 70+ projects, as well as VSS which is a bottle neck in itself when you have a lot of files. (swapping out VSS is not an option unfortunately, so I don't want this to descend into a VSS bash)  We are looking at merging projects.  We are also looking at having multiple solutions to achieve greater separation of concerns and quicker compile times for each element of the application. This I can see will become a DLL hell as we try to keep things in synch.  I am interested to know how other teams have dealt with this scaling issue, what do you do when your code base reaches a critical mass that you are wasting half the day watching the status bar deliver compile messages.  UPDATE I neglected to mention this is a C# solution. Thanks for all the C++ suggestions, but it's been a few years since I've had to worry about headers.  EDIT:  Nice suggestions that have helped so far (not saying there aren't other nice suggestions below, just what has helped)   New 3GHz laptop - the power of lost utilization works wonders when whinging to management Disable Anti Virus during compile 'Disconnecting' from VSS (actually the network) during compile - I may get us to remove VS-VSS integration altogether and stick to using the VSS UI   Still not rip-snorting through a compile, but every bit helps.  Orion did mention in a comment that generics may have a play also. From my tests there does appear to be a minimal performance hit, but not high enough to sure - compile times can be inconsistent due to disc activity. Due to time limitations, my tests didn't include as many Generics, or as much code, as would appear in live system, so that may accumulate. I wouldn't avoid using generics where they are supposed to be used, just for compile time performance  WORKAROUND  We are testing the practice of building new areas of the application in new solutions, importing in the latest dlls as required, them integrating them into the larger solution when we are happy with them.  We may also do them same to existing code by creating temporary solutions that just encapsulate the areas we need to work on, and throwing them away after reintegrating the code. We need to weigh up the time it will take to reintegrate this code against the time we gain by not having Rip Van Winkle like experiences with rapid recompiling during development.
109855
(ArcGIS10, SP2, ArcInfo)  This is my model, and it works perfectly, but...    I do have a large amount of data to process. The interim output files (from raster calculator, collect value) would reach the capacity of my hard drive. Therefore, I cut my input shape file into tiles and want to run it on all tiles and just overwrite the interim output files which are create for each feature.   However, as we all know, the model builder does not allow using two iterators in one model.  I used to do this with the batch processing function ().   However, the cell statistics tool does not allow me edit the output location within the batch dialogue box (after right clicking on the model, batch).     The fields are greyed in the table and I cannot add further output locations. Thus, I cannot run the model on several input files.   I guess it is a buck of the combination of cell statistics and collect values. Only the combination of those two tools resulted in this problem.  Potential solution for my problem are:  • Fixing the problem with the output location within the batch dialogue box.  • Substituting the combination of cell statistics and collect values by anything else resulting in the same outcome.  • Using any other possible way to run a feature iterator on several feature classes (something like a nested iterator)  Any suggestions?
22630
Like the ModelBuilder of ArcGIS Desktop to run simultaneous geoprocessing tools, is there any model builder available in QGIS?
53371
We are running an ArcGIS 10.0 geoprocessing script written in Python that (as part of many steps above &amp; below) runs the .    Both the input and output datasets (shapefiles &amp; personal geodatabase, respectively) are on a network drive, in the same projection, and we are not using a search distance (which by default = infinity, I believe).  When we run the near command, sometime it successfully runs to completion and sometimes (usually) it only partially works.  When it partially works (but runs to completion), the results typically have anywhere from 1/4 to 1/2 of the features with a NEAR_DIST value = -1 (and it is always the top portion of the records, as sorted by the OID).  In these cases, it also takes forever to process the top records, sometimes going from full success runs in 20 seconds to partial success runs in 1.5 hours.  Has anyone else experienced this kind of issue?  Any suggestions on WHY the issue is occurring or HOW to fix the issue?
71462
In one project, I am trying to adopt marvellous styles for flow maps created by @underdark. At this moment I have the following output  Shapefile was created with the usage of  Plugin. Lines have different directions, i.e. the starting point of first is the ending point of the second and vice versa. So basically the table includes lines with both directions but without any description of those directions.   However, I faced several issues 1. Varying buffers' sizes Buffers around points shall inherit parameters from a different layer, i.e. they are not the same size. How to make them respond to the size of the circles' radiuses? Is there any kind of scaling factor, so to make my buffers &quot;dynamic&quot;? difference(   difference(     $geometry,     buffer(start_point($geometry), 500)   ),   buffer(end_point($geometry), 500) )  Maybe I to apply layer_property() or dbvaluebyid() or represent_value() if I want to extract the dynamic value from a different layer? I know that the buffer values in the expression above only produce appropriate results for line datasets which use a CRS in meters and will have to be adjusted for other units. 2. Proper allocation of arrows I am using an expression for Arrow type &gt; Plain CASE     WHEN x(start_point($geometry)) - x(end_point($geometry)) &lt; 0 THEN 1     ELSE 2 END  but still, I can not properly allocate orange halves of Arrows on the opposite side of blues. 3. The width of the arrows I want to adjust the line width accordingly to the values of a field &quot;FLUX&quot;. For that reason, I am using an expression for Arrow width. scale_linear(&quot;FLUX&quot;,0,10,0.1,3) * CASE WHEN  &quot;FLUX&quot; &gt; 1000 THEN 1 ELSE 0 END  How shall I handle those issues?  My desired output should look like this, curved lines can be ignored.   References:
1935
Using ArcGIS 10.1 for Desktop, I'm trying to run the Identity function on two large data sets but it fails every time. I don't think it is a lack of hardware as I can run other processes on the same data sets.   I've already updated software, and added the 64 bit geoprocessing add-in, checked and repaired geometry, and done the fix in  (set ARCTMPDIR env variable to a writable local folder).   Executing: Identity DudleyStamp OA2011 "D:\Case Studies\National2\National.gdb\DudleyStampOA11" ALL "1 Meters" NO_RELATIONSHIPS  Start Time: Wed May 08 21:11:43 2013 Reading Features... Processing Tiles... Assembling Tile Features... ERROR 999999: Error executing function. The table was not found. The table was not found. [DudleyStampOA11] The table was not found.   The table was not found. [DudleyStampOA11]   Invalid Topology [Topoengine error.] Failed to execute (Identity). Failed at Wed May 08 21:45:41 2013 (Elapsed Time: 33 minutes 58 seconds)   Based on comments so far I tried copying data to new file geodatabase, and running the tool from ArcCatalog still get exactly the same error.  I have ordered 16GB of the fastest RAM my computer can take (I current have 4GB). I also have a 6 Core AMD Phenom II X6 1090T, SSD, and AMD Radeon HD 6970 Graphics Card. So I'm not sure what more hardware I can add.  I've also tried increasing the size of the page file which was a suggestion I found on Google with no effect.
57882
Will ArcGIS 10 run on the new windows 10 technical preview?  I am setting up an interface on my Mac and there is the free option of downloading the Windows 10 technical preview, some sort of beta version, I'm assuming.   Just wanted to see if 10.1 will run ok on Windows 10 (ignoring the Mac aspect), as this is all I am using my windows interface for?
73941
I have a DEM file of one district, and I have used those following tools in spatial analyst tools in ArcGIS 10.1 to get files related to the original DEM file：   Fill Flow direction Flow accumulation   Besides, I already have the point shapefile that these points are vertices in the river the one belongs to the same district as DEM file, so I use the point shapefile as the pour points in the river.   I use the watershed tool, setting my flow direction file and point shapefile as input files, try to get the subbasin area in this river.  I just got this：   But here's the schematic photo that I want：I want to get every subbasin area and calculate them, assigning them to the attribute of the designated segment   In what way should I use tools in ArcGIS to achieve my goal, thanks for giving me any suggestion!  Although I have a great answer to this question, I got another problem afterwards：
54232
Is it possible to connect a QGIS Desktop 1.8.0 to an ArcGIS Server 10.0 ? and of course publish services on it?.   The configuration would be like this Quantum GIS-> ArcGIS Server 10.0 on Amazon EC2+ POstgreSQL (+PostGIS)-> web app.   Is it possible to create a configuration like this? Do you think I could use it for networking?
72364
Am I correct that if my model has a model-only tool (Calculate Value), and then I run the model as a batched process, it will not run the Calculate Value expression?   I wrote a model to upload, define, project (and clip) XY data from excel files. I had thought to use iterate tables, but it wasn't working. (I assume due to having to choose which worksheet within xlxs). So I thought to do a batch, but this seems to leave that annoying $ that arc appends to table names (and is an invalid character in most tools...)  My guess is that the Calculate value that removes my $ is not being run in the batch. Ideas? Confirmations?
120727
I need to use the Vector ruggedness measure (VRM) tool available from . However, I am using ArcGIS 10.2 for Desktop and these tools are made for 9.0, 9.1 and 9.3 only. I have tried to run this tool regardless and get the error:      Traceback (most recent call last):   File   "C:\Users\jc221340\Documents\project\Processed   data\My_tools\Downloaded\ruggedness.py", line 20, in        gp.AddToolbox("C:/Program Files/ArcGIS/ArcToolbox/Toolboxes/Spatial Analyst Tools.tbx")   RuntimeError: Object: Toolbox C:/Program   Files/ArcGIS/ArcToolbox/Toolboxes/Spatial Analyst Tools.tbx does not   exist      Failed to execute (Ruggedness(VRM)).   How can I use this tool?
122551
I have a list of surveyor points, and I will need to create a DEM model out of it ( in geotiff format if possible for space consideration, if not, then in ASCII grid format).  I need the DEM for watershed and catchment delineation purpose.   Instead of using existing software like ArcGIS, I want to write my code to do it ( in C++ or C#), so that I can later integrate them into my own GIS software. is there anything in GDAL or other open source tools that do this well? Or do I have to write from scratch?
86094
My current employer has given me the opportunity to design my own GIS workstation. The problem is I have no idea what is important when it comes to hardware! I have been given a datasheet from Fujitsu which includes the latest CELSIUS M720 series workstations but the configuration includes about 30 different processors, graphics cards, and hard drives.  I will be working a lot with the ESRI desktop suite (spatial analyst and 3D analyst) and doing a fair amount of raster processing (DEMs, visibility analysis, etc.), but I also use the GDAL library, SAGA-GIS, Quantum GIS and others.  Does ArcGIS 10 actually use multiple cores?  I have the choice from 4 cores with 8 threads up to 8 cores with 8 threads - 16 threads?  Is SSD SATA III better than HDD SATA III?  The Celsius R920 supports up to 512 GB RAM. But what do I need?  It will probably be the last time I get a new workstation for the next 5 years, so I am curious what others have ordered or feel will be necessary for the coming years. Obviously the cloud isn't taking over as quick as they say!
17729
I have a conundrum that I am getting mixed advice on how to go about.  Therefore id like to put it to GIS-SE for some justified answers.  Scenario:     Client has a web mapping application.  Does not want to split into multiple smaller applications.  Although this goes against what the modern day approach is for maps on the web,  (i.e. lots of focussed web-map apps over one main web-map) I strongly believe that for some users, trying to replicate a GIS application on the web is ok (). Client has cached as much of his basemap layers into separate services. Client still requires an additional 600-700 layers in a dynamic map service... The service will be published with all of these layers turned off. It is not anticipated that users will turn on more than 10-40 layers at a time.   I imagine your initial reaction to this is similar to mine (600+?! WTF?!)  However - the requirement is set in stone and why not?  Their prior ArcIMS application had similar functionality, so why can't this newer ArcGIS Server product do the same?  The users potentially need to be able to cross compare and perform analysis on the entire range of layers, even if the layers belong to other departments.  Before you jump to conclusions, the client is a clued up ArcGIS Server admin. They have administered the 600 layers by all of the best practice rules: e.g. scale ranges combined with definition queries; annotation over labelling; generalising complex layers at small scales; publish as MSDs; etc  Problem:  What is the better approach here?     Publish all 600 layers into one dynamic map service   Split the layers into logical groupings (hydrology, planning, ecology, utilities, etc)   If you go with #1, and you have a few complex layers turned on.  If you want to turn on a simple points layer, then ArcGIS Server will still have to render the entire layers being displayed all over again.  If you go with #2, each time your making a request, potentially, the web application could have to make several GET requests for ExportMaps from the individual map services (is this bad, or does it create additional load to ArcGIS Server over #1?)  And then this leads to configuration &amp; tuning to ensure everything is as quick as possible. We can scale the back end of ArcGIS Server to multiple hosts and have some good hardware to sit it on.  If you go with #1, you can throw the maximum # of instances that you AGS can handle.  If you go with #2, I assume you evaluate the performance of the map services (load testing and look at wait times) and address the min/max instances accordingly to ensure there is not one service that is a 'weak link'.  Im currently leaning towards the #2 approach, as my head is still telling me that having 600 layers in one service is madness, but if they are all turned off by default, there really is no issue.  Would love to hear your thoughts.  Let me know if you need more info via the comments, but not looking for answers like 'use a desktop application' or 'educate them to do things differently'    From discussions in comments, I failed to mention another consideration.  The application that the service will be consumed within, has the ability for layer level security (at the application level).  Therefore the group of users (that is fairly large) are assigned to a particular role, and that role will have access to the full 600 layers.  Other roles will be limited.