![]() ![]() ![]() "ows_onlineresource" " "ows_enable_request" "*" "ows_abstract" "NASA WorldWind WMS Service" IMAGEURL "/ms_tmp/" # Base URL for IMAGEPATH. IMAGEPATH "/opt/mapserver/tmp/" # Path for temp files writable by www-data IMAGECOLOR 255 255 255 # Background color for transparencyĬONFIG "MS_ERRORFILE" "./tmp/ms_error.txt"ĭEBUG 0 # 0-5: 0=Off, 1-5=level of detail written to ms_error.txt SHAPEPATH "./data" # Path to folder holding the tile index shapefiles NAME "" # Short name prepended to map, legend and scalebar filenames Install the Apache web server package (apache2):Īdd your contact information as appropriate. The ubiquitous Apache web server is used to serve elevations via a MapServer CGI integration. Gdaladdo -r cubic -config COMPRESS_OVERVIEW LZW -config PREDICTOR_OVERVIEW 2 -config INTERLEAVE_OVERVIEW PIXEL $gtif_file 2 4 8 16 32 64 128 256 & fi done echo All Done ! Step 2: Setup Apache Gdal_translate -of GTiff -co TILED=YES -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -co COMPRESS=LZW -co PREDICTOR=2 $input_file $gtif_file # build the overviews in a background job if Then echo Skipping $gtif_file continue fi echo Converting $input_file to $gtif_file Output_path= '/mnt/d/Data/WorldWind/prod/elevation/srtm/optimized ' Input_path= '/mnt/m/data/elevation/NASA_SRTM30_900m_Tiled/gtif ' # Convert SRTM DEMs to GTIF files with LZW PREDICTOR 2 compression ![]() Uses GDAL to serve the elevations as application/bil16 files:įirst, update the package management indexes: Install the GDAL tools used to prepare your data for MapServer. WebWorldWind clients obtain the elevation data via three distinct GetMap requests, one for each layer for example: GET WorldWindJava clients obtain the elevation data via a compound GetMap request with multiple layers, for example: GET USGS NED 10m (USGS-NED): Used by WorldWindJava and WebWorldWind clients for US high-resolution terrain.ASTER v2 30m (aster_v2): Used by WebWorldWind clients for global med-resolution terrain.NASA SRTM (NASA_SRTM30_900m_Tiled): Used by WorldWindJava clients for global low-resolution terrain.GEBCO (GEBCO): Used by WebWorldWind clients for global low-resolution terrain.The NASA WorldWind elevation server provides four different elevation data sets (layers) for the WorldWind clients: bil format obtained from a map server via OGC WMS requests. WorldWind clients consume elevation data in a. Setting up the Apache web server, MapServer and the Apache caching. The guide contains a brief overview of how the WorldWind clients make requests, followed by instructions for This WMS server serves as a model for a production MapServer instance to be deployed on This guide shows how to create a WMS server on a local VM using Apache, MapServer and elevation data setsĬurated by NASA. How to setup a NASA WorldWind elevation server Introduction ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |