I have a raster converted from shapefile (tool point to raster). Can anybody prompt, how to display coastline?
I can use contours, but are not focused at condition "elevation = 0". Is there any simple way?
Colors
I have a raster converted from shapefile (tool point to raster). Can anybody prompt, how to display coastline?
I can use contours, but are not focused at condition "elevation = 0". Is there any simple way?
Colors
If you specifically want a single elevation (or specific elevations) as lines you can use Contour List (3d analyst, Spatial analyst). Unlike Contour (3d analyst, Spatial analyst) which creates contours at a specific interval the contour list tool produces contour isolines at specific elevation values.. for this example you would supply the value 0 for contour_values:
Note that both of these tools require either of 3d analyst or Spatial analyst extension for ArcGis. If you don't have access to either of these extensions (or ArcGis) you can use GDAL_Contour to extract the coastline by supplying a ridiculously high interval:
gdal_contour -a elev dem.tif contour.shp -i 2147483647.0
2147483647.0 is the maximum value for an INT32 - 32bit integer, substitute a value greater than either the maximum value of the raster or the absolute value of the minimum and only the 0 contour will be produced. A specific value can be obtained using -off value
but the contour will be given elevation of 0.