Tag Info

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


0

Start a new, blank map document. Add your polygon layer to it. Double-click the layer in the ToC and go to the Source tab. That will tell you what coordinate system your polygon layer is in (just as an FYI). Add your table to the map. Drill down in the catalog window toolboxes to find, or type into the search window Make XY Event Layer and run it. Select ...


0

Provided that your data would not allow new inserts, having a computed column in SQL Server would be sufficient. However, since you are dealing with new inserts, I'd go for a trigger. CREATE TRIGGER [XY_calc] ON dbo.Signspoints AFTER INSERT AS UPDATE dbo.SIGNSPOINTS SET x_sql = Shape.STX,y_sql = Shape.STY WHERE x_sql is null or y_sql is null Execute this ...


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


0

The process should be: Project your data. Project the known points. Measure the distances. Your comments indicate that you've decided you were "about 10m out," but why not just measure it properly and have the "right" answer (according to the projection you choose)?


0

The conversion code was supplied by peterv6i in this thread. http://forums.sideimagingsoft.com/index.php?topic=7785.msg48682#msg48682 public static double MMtoEllipsiodDegLatitude(double Lat_m) { if (Math.abs(Lat_m) < 15433199.0D) { if (Lat_m != 0.0D) { return Math.atan(Math.tan(Math.atan(Math.exp(Lat_m / 6378388.0D)) * 2.0D - ...


0

I would not be sure about the accuracy of Google Earth aerial photos if it is down to 2.5 foot offset. It might just be a question of not exactly orthogonal photography. What you might need is just an affine transformation to get your photos aligned with theirs.


0

A river has more than one coordinate, so I wonder if you want a center coordinate, or the whole river geometry. You have the latter already in the shapefile. To export the geometry to coordinate points, you can use the MMQGIS plugin. If you want the center coordinate, create small buffers around the lines, and let QGIS calculate the centroid of those ...


0

Adding your data as delimited text works for me. You have to select a projected CRS for the layer. It might be that additional blanks (or tabs) spoil the import in following data rows. If the error message does not reference a line number, you can use a good text editor like notepad++ to search and replace those.



Top 50 recent answers are included