Tag Info

Hot answers tagged

5

In your case (jpg rasters and exact same extent for all rasters) the Warp From File tool is just fine. If you haven't saved a link file yet you should do this first: Georeference one raster in ArcMap, click the View Link Table button and save the links to a text file using the Save button: Then there are different options: Batch: You can use the Warp ...


3

In the looong list of types there is GPValueTable which has an example here: def getParameterInfo(self): param0 = arcpy.Parameter( displayName='Input Features', name='in_features', datatype='GPValueTable', parameterType='Required', direction='Input') param0.columns = [['Feature Layer', 'Features'], ['Long', ...


2

A MultiLineString is a list of lines: from shapely.geometry import MultiLineString, mapping, shape coords = [((0, 0), (1, 1)), ((-1, 0), (1, 0))] lines = MultiLineString(coords) print lines MULTILINESTRING ((0 0, 1 1), (-1 0, 1 0)) for line in lines: print line LINESTRING (0 0, 1 1) LINESTRING (-1 0, 1 0) # convert to GeoJSON format: print ...


2

See this prior answer. Each version of ArcGIS uses a specific version and architecture of Python and is hard-linked against it. Forcing an ArcObjects application to use an incompatible Python version will likely lead to a crash.


1

Theres a bunch of things I'd suggest changing. I'm not being picky, I'm listing them all because if you get past the problem you're having, you don't want to get stuck in another section of code. 1) Why are you loading your input into a featureset? I can't think of why this is necessary. Just pass whatever value you're getting directly into buffer. Input = ...


1

Those are actually two different things. Geoprocessing tools don't honor the split policies of feature classes or tables as noted on most of help pages for the tools - this one for example (look for the yellow triangle exclamation point). Those are the policies set using domains, and where that third option of Default comes in. As far as I know, this ...


1

Use the arcpy.Describe method on the featureset parameter and get the file property. import arcpy notRequiredFeatureSet = arcpy.GetParameter(0) arcpy.AddMessage('AOI is: ' + arcpy.Describe(notRequiredFeatureSet).file) if a Feature set was added: Executing: Script "C:\Program Files\ArcGIS\Desktop10.2\ArcGlobeData\continent.shp" Start Time: Wed ...


1

So, many thanks to all who commented on this. I will go ahead and answer this based on the discussion from those comments and my personal experience. As mentioned by @blah238 and @Branco, there is a JSON property on a featureSet that can be checked, however, when running the script from within ArcMap and using a featureClass as input, checking for that ...


1

I've come across DataMatch by Data Ladder, which is an excellent fuzzy matching and address standardization/address parsing tool used across business and would work really well for this situation. They offer a complimentary trial for new users. In fact, an independent verified evaluation was done of the software comparing it to major software tools by IBM ...


1

Since the version 2.x, PyQGIS has an has an interpolate function similar to that of Shapely : for distance in xrange(0,lenght_line,20): point = line.interpolate(distance) look at How to create points in a specified distance along the line in QGIS?



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