Tag Info

New answers tagged

0

If you would like to calculate GWR in R, you should try GWmodel. If you need to do it in Python, you can also use pygwr. GWmodel contains many geographically-weighted (GW) models including gwr (GW regression), gwpca(GW principal components analysis), gwda(GW Discriminant Analysis), gwr.generalised(Generalised GWR models, including Poisson and Binomial), ...


0

Similar to Rob Skelly's suggestion, I would second using 30m SRTM data. I know Whitebox has a great tool for this that will download the SRTM files and process the DEM in one shot based on your area. From here you can create contour or basins from the DEM.


3

You might try downloading the 30m SRTM for your region and deriving the contours yourself. It's available through EarthExplorer for free. Contours can be generated with the Raster > Extraction > Contour tool in QGIS.


1

One of the easier ways to do this is with a spatial database such as PostGIS. Load your raster into the database using raster2pgsql (which is installed with PostGIS) and then load your rivers with shp2pgsql (also installed with PostGIS). Then, you can run a simple query that samples the elevation model at the end points of all your lines: select ...


1

SetNull is one way to do this, then follow with IsNull to create a binary polygon and then Raster to Polygon (simplify). A simpler workflow would be to use Con (SA): In arcpy: outCon = Con(Raster("elevation") >= 5, 1, 0) arcpy.RasterToPolygon_conversion(outCon, "c:/output/NewLandSea.shp", "SIMPLIFY") The Con tool is available interactively using ...


0

I came across a toolset that I have used for DEM and DTM extractions called the LAS Toolset. I use it in ArcGIS, however I believe that it also can be used independently. The download for the toolset is found at : http://www.cs.unc.edu/~isenburg/lastools/ Through this you can use filters to filter out all of the LAS points that are not ground/water for ...


7

I am posting my answer in case this could prove useful to anyone jumping here in the future. In Raster Calculator I used: SetNull("DEM", "DEM", "Value <= 5") and it did the trick.


0

This is very similar to a question the other day relating to rising water levels. You could likely use the Interpolate Shape tool (http://resources.arcgis.com/en/help/main/10.1/index.html#/Interpolate_Shape/00q90000006m000000/) in some fashion. The simplest way would probably be to reclass the dem ...


2

You don't need to be updating row[1] for every feature, so cursor.updateRow(row) should be under the final else statement. Also, I'd suggest using with statements as closing is better supported: fc = r"C:\Points\Test.gdb\Points_3d" with arcpy.da.UpdateCursor (fc, ["Elevation","Slope"]) as cursor: firstRun = True for row in cursor: if ...


1

There are several ways to accomplish what you want. You've left out some specifics such as what extensions you have available and what license level you're using, as well as how thoroughly you want to sample the raster (ie how fine is your grid). I'll make some assumptions. The simplest, if you want a point for every cell in the DEM, is the Raster to Point ...


0

I'd recommend looking in TileMill to create an mbtiles file, which you can then unpack into a standard tileset. You can style imagery very nicely in TileMill, and then export with your chosen number of zoom levels. That's how I created the elevation basemap layer on this simple map. You could pull imagery into TillMill also, and get the google earth look ...



Top 50 recent answers are included