Tag Info

New answers tagged

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.


0

You could set up a Web Processing Service (WPS) with Zoo-project.org and GRASS GIS. For pointers, see http://grasswiki.osgeo.org/wiki/Interpolation - "Reinterpolation of 'sparse' (scattered points or lines) maps" and also http://grasswiki.osgeo.org/wiki/WPS. QGIS offers a WPS client which you can then run to use your WPS interpolation service.


0

A FOSS solution is available. GRASS has a repair geometry tool. Dirk is correct though if you have Arc then repair geometry. v.clean is the GRASS approach.


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

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 ...


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 ...


0

This is an even easier way to do this... and it outputs into a GDB. http://www.umesc.usgs.gov/management/dss/split_by_attribute_tool.html download the tool from USGS, took me 3 minutes to do what i had been trying for 1 hour.


0

I figured out,the below should work : IGeoProcessor2 pGeoProcessor = new GeoProcessorClass(); IVariantArray parameters = new VarArrayClass(); parameters.Add(@"Database Connections\" +MySDE.SDE + "\" + DB_MBM_InputTable); parameters.Add(@"Database Connections\" +MySDE.SDE + "\" + DB_MBM_OutputTable); parameters.Add("CIRCLE"); parameters.Add("NONE"); ...


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 ...


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


0

Using the Join Field (Data Management) tool will join your tables. From there you can export your newly joined table and have a new table containing the fields you need. Or, you can use 'Field Calculator' and populate a newly created field, or an existing field, with the attributes from the joined table that you need. Also, make sure the newly created field ...


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 ...


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 ...


0

for full control on extending lines, another possibility (besides the topology tools) is to create the line segments that fill the gaps and merge them with your lines based on some common attributes (using dissolve). So: 1) create the end points of the lines (feature vertices to point) 2) get the closest point (spatial join) 3) create the line segment (XY ...


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 ...


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).


0

Some threading is being incorporated in the QGIS core functionality (rendering for example as described in SaultDons answer) but many functions or algorithms may or may not have threading incorporated depending on their developement. For those pyQGIS plugin authors (perhaps including OP) wishing to include threading in their plugin/script some help is ...


0

These are a few tools I use to cleanup lines, integrate - make vertices match between near features planarize - split overlapping lines at intersections extend/snap - snap lines trim line - delete dangles meeting a certain length dissolve - remove duplicate overlapping lines


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



Top 50 recent answers are included