Tag Info

Hot answers tagged

6

You should convert layer 1 from a feature class into an event table and then use the Overlay Route Events tool with the Union option. That preserves all events and attributes that exist from both event tables into a new event table where every unique closest pair of measure positions creates a new line segment. See this discussion of the Overlay Route ...


5

Right click "Messages" there should be a copy button that "Copies execution messages into the clipboard for pasting into anything that accepts text, such as a text editor." Clicking "view" brings up a window within which you can highlight and copy specific lines as you mentioned.


3

How about using GDAL_Grid? Just pass the arguments over to GDAL and return the raster file or render it in the web browser. It does IDW, Nearest neighbor, and averaging and has a robust set of input parameters.


3

The Online Help for Multipoint (arcpy) provides sample code to do this: import arcpy # A list of features and coordinate pairs feature_info = [[[1, 2], [2, 4], [3, 7]], [[6, 8], [5, 7], [7, 2], [9, 5]]] # A list that will hold each of the Multipoint objects features = [] for feature in feature_info: # Create a Multipoint object based ...


2

Yes, .pyt toolboxes work just as well as .tbx toolboxes. Be aware that parameter mismatches will cause the HRESULT E_FAIL message instead of something meaningful being returned (that's what was throwing me off when a simple toolbox worked, but my .pyt would not).


2

You can try ncWMS (http://www.resc.rdg.ac.uk/trac/ncWMS/). This project aims to publish netCDF data as WMS services. Meteorological data on web mapping is always a challenging task due to size and frequency of data available. Solutions will probably involve a mix of server size ...


2

The "in_memory" location is usually in your temp directory in a temporary file geodatabase. You can test this by running any tool and saving it to an "in_memory" location and then using the data sources tab in ArcMap. This data is indeed deleted after your script is complete or you close ArcMap. I am not sure where layers from MakeFeatureLayer() are ...


1

My quick testing, using ArcGIS 10.2.2 for Desktop on Windows 7 SP1, indicates that Intersect is faster than Spatial Join. This test, run from IDLE: import arcpy,time if not arcpy.Exists(r"C:\temp\test.gdb"): arcpy.CreateFileGDB_management(r"C:\temp","test.gdb") if arcpy.Exists(r"C:\temp\test.gdb\fnPoly100"): ...


1

A geoprocessing package (.gpk) is how you share your geoprocessing workflows. (it is like sharing a model) You can only run it with ArcGIS Desktp or Server (as a geoprocessing service) http://resources.arcgis.com/en/help/main/10.1/index.html#//00570000004p000000 10.2 http://resources.arcgis.com/en/help/main/10.2/index.html#//00570000003t000000


1

I don't recall ever having much joy when trying to use Series variables in ArcGIS Desktop 9.3 so I did not worry when I saw it gone and Iterators introduced at ArcGIS 10.0. I any event, I think the issue you are having may be related to NIM053898 which is currently treated by Esri as a Known Limit. However, I think it should be addressed with priority ...


1

I know you can use an iterator in model builder, but if you prefer to use python here is something I came up with. Add the script to a toolbox with the parameters in order as Input shpfile, fields(multivalue,obtained from input), and workspace. This script will split the shapefile into multiple shapefiles based on the fields you select, and output them into ...


1

Though this is a bit late answer, it might be of help to others. Now you can access a model builder in QGIS from the: Processing menu -> Graphical modeler



Only top voted, non community-wiki answers of a minimum length are eligible