Tag Info

New answers tagged

1

The Try/except does work - the problem here is GP Services have defined inputs and outputs. When you publish it and go look at the REST end point of the service, you'll see how these items are defined. Your service expects an output of a certain type. When your service "fails", it doesn't return whats expected of it and you get that error. If you don't want ...


0

Late post but another tool you can use to look for errors is the plugin Topology Checker in QGIS which allows users to define rules for the plugin to scan vector layers with. Such rules include: Must contain layer X Must not have duplicates Must not have gaps Must not overlap Must not have invalid geometries Hope this helps!


1

As per this question I think you (or your IT staff) need to run the autorun.exe application, it will launch the startup window (otherwise known as the Quick Start Guide) of the 10.2 installation for Desktop. From here you can install the 64-bit BGP. I realize that this refers to 10.2 not 10.2.2 but I think it is the same process. Just a side ...


4

You are trying to put a string into the insertRow method, but that method expects a list or tuple. The insertrow method first counts the items in the list or tuple to see if the item count matches the row field count, but since a string item count is most likely 0 it always fails to match up with the field count of the row (i.e., 1). So instead try ...


5

You have to insert a list, you're inserting a single value. for uv in uniqueList: cursor.insertRow(uv) should be for uv in uniqueList: cursor.insertRow([uv])


0

Just ran into this myself using the Extract Data Task. As far as I can tell, this just indicates that the job failed. I'd recommend republishing the service with the Message Level set to 'Info' (see screenshot below). This will print arcpy.AddMessage() statements in your script, and will also help you trace any errors. To see these messages, execute the ...


2

This kind of operation uses a lot of work memory as I recall, so you want to make sure you are not at default settings for this which is pretty low; Try something like SET work_mem=50000; Then run your query You might want to play around with that workmem setting You'll also want to dump that into a table -- not output to screen. I assume you know that ...


0

From you comment I can see that you want to hide part of the raster and not need to clip the raster file. Have a look at the Mask tool created by Egge-Jan Pollé. You can find the tool here on the Community Download site: http://communitydownloads.pbinsight.com/code-exchange/download/mask


1

The 000210 error code is documented with: 000210 : Cannot create output Description The output cannot be created. Potential reasons include data locking, an incorrect path, and limited access rights. Solution Confirm that the data is not locked by another user or application and that you have full rights to the workspace being ...


0

I realize this question is old but maybe someone will benefit from my contribution. I encountered same problem while working on Add-In for ArcMap 10.0. There is documented bug for 10.0 regarding IGPToolCommandHelper2 described here. I found workaround how to open tool's dialog and avoid "Failed to open tool SomeTool (SomeToolbox.tbx)" error. Here is the ...


0

I recently did this too. The directory where the xml log files are typically located for v10.2 are here: C:\Users\yourusername\AppData\Roaming\ESRI\Desktop10.2\ArcToolbox\History You should have write access here, so you may open up a windows explorer, select the xml, and delete. A simple python script could also be written to delete these files called ...


0

When you say you want to cut your raster with a vector layer, I assume you want to clip it? This is not possible in core MapInfo. You will need an extension such as Discover, Engage or Vertical Mapper. Not only can you clip, but you can save as different raster formats. However, there are several free solutions that will do this for you, the most popular ...


0

If you're familiar with Python, here's a script provided in an ESRI Technical Article that automates the process of deleting geoprocessing history. GIS administrators and managers sometimes need to delete geoprocessing history from a feature class' metadata. Instructions provided describe how to do this using a Python script. The following ...


1

MapInfo .TAB files are merely pointers to another data source - be it native .DAT or ECW or GeoTiff or Excel etc. What is the native format the grid is in? If it's a MIG or if you have the original data used to create the grid you can use the clip tool in the thematic map options: You can save out raster images by using the Save Window As option under the ...


-1

"SHAPE@LENGTH" is a geometry token to recover the length property of the geometry object. It is not a "field". And besides, system variables like Area or Length are read only. If you want to have a field which contains the length in kms (as you appear to be doing above), then you need to add a new field, call it, say LengthKm, then update that.


0

My ArcMap was crashing every time I tried to open any geoprocessing tool, or the toolbox itself. Was working fine for a week, until I auto-downloaded some updates last time I shut down the computer. Then all of a sudden I couldn't open the toolbox without crashing the program. After a very frustrating 4 hours, I fixed the problem. Not sure if this is the ...


0

Same Problem, using ArcGIS Desktop 10.2.2. (In case clipping big and irregullar shape) Solution : Try to split into small part then clip it one by one, and yes it will take a lot of time and work, but it works. or Try to clip it using QGIS (I use QGIS Desktop 2.6), I use QGIS and no need to split it one by one. just select area to clip using ...


1

Select a subset of your FIDs, like 20,000 at a time, do the geoprocessing, and then merge the results back together. I believe the geoprocessing tools are getting wound in the spatial tiling algorithm.


1

Have you looked at the Esri GIS Tools for Hadoop? It includes an implementation of ST_Geometry for Hive, in the Spatial Framework for Hadoop. You can start with the samples. There are example calls to the various ST_Geometry UDFs in the scripts under spatial-framework-for-hadoop/hive/test/. (Disclosure: I'm a collaborator.) (Update: added more ...


1

There is a way of running QGIS processing algorithms in standalone PyQGIS scripts. Check answers to Cannot run standalone QGIS script and How to use QGIS explode lines with Python, which provide you with tested examples.


0

Finally figured this out. It was indeed a spatial domain problem. I now set the "extent" geoprocessing environment variable to the envelope of the input feature class on every call. This works! It's strange because this is very old code that has worked for a long time, but it fails in this one case.


0

The way in which joins bring fields forward to the output is quite confusing, but has been solved below. I needed the field maps to have the fully qualified column names and I had to define them after the join occurred. What makes no sense to me still is that the environment setting of defining qualified field names did absolutely nothing and my output table ...


1

yes, this is feasible. yes, here is an example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html rather than esriRequest, you will need to pass the zipped file as one of your inputParameters when calling Geoprocessor.execute()


0

The split tool creates multiple feature classes based on the Input feature class. The split field will be used to determine how many new feature classes will be made, based on how many unique values are in this field. Having the & in your path is not an issue. However, make sure all values in your split field are alphanumberic, do not start with a ...


1

I was able to resolve this by changing the Search Tolerance of the Add Stops tool to a higher number.


1

If I understand your question right, you have the Network Analyst extension, you should be able to snap your origin/destination points to the network automatically. If you look under the Network Analyst Options there are Location Snap Options. There is more information in this help page: ...


1

ArcMap should do this for you automatically (snap off-network points to the nearest spot on the network) when you load locations into your analysis layer using the Network Analyst toolbar. If you need more control over which classes get locations snapped to them, you can do this in the "Layer Properties" window of your network analysis layer. See "Search ...


2

To convert polygons to lines, use the Polygons to Lines Tool. To create random points along the line, use the Create Random Points Tool. To create new buffers, use the Buffer Tool.


0

If you are still looking for answer. This is a very crude effort and there are some places needs to be optimized. From my understanding of your problem I wrote this script. If needed please modify as per your suitability. import arcpy def main(): # path of feature class fc = r'D:\Python\ScratchDatabase\Geodatabase.gdb\County' # list of ...


0

To follow theJones and user5584, PyCharm 4 now stores the setting under "Project Interpreter" rather than "Python Interpreters." With all projects closed, and PyCharm still open, go to "Configure" and then "Settings". "Project Interpreter" is under the "Default Project" menu on the left. Click the settings gear in the upper-right, and then "Add Local." ...


0

The solution to this situation depends on your point feature class. Are there only points at the beginning and end of lines, or are there other points in the feature class as well? If there are only points at the ends of lines, then iterating through your line feature class with an UpdateCursor and performing selections will do the trick. Try something like ...


3

Many thanks, I am interested in the topic for a long time but I only knew a few applications in: Biological morphometric analysis in APPLICATION OF SPATIAL STATISTICS TO LATENT PRINT IDENTIFICATIONS: TOWARDS IMPROVED FORENSIC SCIENCE METHODOLOGIES with ArcGIS or A GEOMETRIC MORPHOMETRIC APPROACH TO FINGERPRINT ANALYSIS, ... Archeology Computational ...


5

Very interesting question! Found a couple more examples and included a brief quote and their citation (quite fun to see how GIS software can be used in completely nongeographical applications): LASER CONFOCAL MICROSCOPY AND GEOGRAPHIC INFORMATION SYSTEMS IN THE STUDY OF DENTAL MORPHOLOGY "...original specimens of Recent teeth can often be optically ...


3

There are other applications in processing microscope images like the one from your example. A well known geospatial image processing software called eCognition was developed originally by Definiens - a company who does a lot of image processing in the medical and life science domain. See this older press release: ...



Top 50 recent answers are included