Tag Info

Hot answers tagged

1

I've used filled elevation model (with streams removed) to replicate your coefficients: Keeping in mind that water usually runs downhill :), it is reasonable to expect that all the values in output should be less or equal to the value at start point. I've checked results using difference [Filled]-[ScriptOutput] and found that script (see below) failed ...


1

Try this: # Import arcpy module import arcpy # Check out any necessary licenses arcpy.CheckOutExtension("spatial") # Local variables: c1 = "F:\\img1.tif" c2 = "F:\\img2.tif" c3 = "F:\\img3.tif" output = "F:\\output.tif" # Process: Raster Calculator arcpy.gp.RasterCalculator_sa("(\"%c1%\"+\"%c2%\"+\"%c3%\")/3", output)


1

Have a look at this documentation of CRS http://docs.geotools.org/latest/userguide/library/referencing/crs.html#well-known-text It is possible to set the CRS from WKT. The documentation says: CoordinateReferenceSystem can also be defined by a text format ((called “Well Known Text” or WKT). This is a standard provided by the OGC and shows up in ...


1

I admire your gusto for thinking about converting your XYs to lat/longs yourself, but most libraries exist for a reason. :-) If you are undeterred, then I strongly encourage you to download the excellent OGP Guidance Note 7-2 "Coordinate Conversions and Transformations" as it contains the definitions to mapping terms, and Transverse Mercator (the projection ...



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