GDAL/OGR User Docs GDAL Utilities

Total Page:16

File Type:pdf, Size:1020Kb

GDAL/OGR User Docs GDAL Utilities GDAL/OGR user docs GDAL Utilities.............................................................................................................................................................1 Creating New Files.........................................................................................................................................1 General Command Line Switches..................................................................................................................2 gdalinfo.........................................................................................................................................................................3 SYNOPSIS......................................................................................................................................................3 DESCRIPTION..............................................................................................................................................3 EXAMPLE......................................................................................................................................................4 gdal_translate..............................................................................................................................................................5 SYNOPSIS......................................................................................................................................................5 DESCRIPTION..............................................................................................................................................5 EXAMPLE......................................................................................................................................................6 gdaladdo.......................................................................................................................................................................7 SYNOPSIS......................................................................................................................................................7 DESCRIPTION..............................................................................................................................................7 External overviews in GeoTIFF format..........................................................................................................8 EXAMPLE......................................................................................................................................................8 gdalwarp......................................................................................................................................................................9 SYNOPSIS......................................................................................................................................................9 DESCRIPTION..............................................................................................................................................9 EXAMPLE....................................................................................................................................................11 gdaltindex...................................................................................................................................................................12 SYNOPSIS....................................................................................................................................................12 DESCRIPTION............................................................................................................................................12 EXAMPLE....................................................................................................................................................12 gdalbuildvrt...............................................................................................................................................................13 SYNOPSIS....................................................................................................................................................13 DESCRIPTION............................................................................................................................................13 EXAMPLE....................................................................................................................................................14 gdal_contour..............................................................................................................................................................15 SYNOPSIS....................................................................................................................................................15 DESCRIPTION............................................................................................................................................15 EXAMPLE....................................................................................................................................................15 gdaldem......................................................................................................................................................................16 SYNOPSIS....................................................................................................................................................16 Modes............................................................................................................................................................17 AUTHORS....................................................................................................................................................20 See also.........................................................................................................................................................20 rgb2pct.py..................................................................................................................................................................21 SYNOPSIS....................................................................................................................................................21 DESCRIPTION............................................................................................................................................21 EXAMPLE....................................................................................................................................................21 pct2rgb.py..................................................................................................................................................................22 SYNOPSIS....................................................................................................................................................22 DESCRIPTION............................................................................................................................................22 i GDAL/OGR user docs gdal_merge.py...........................................................................................................................................................23 SYNOPSIS....................................................................................................................................................23 DESCRIPTION............................................................................................................................................23 EXAMPLE....................................................................................................................................................24 gdal2tiles.py...............................................................................................................................................................25 SYNOPSIS....................................................................................................................................................25 DESCRIPTION............................................................................................................................................25 gdal_rasterize............................................................................................................................................................26 SYNOPSIS....................................................................................................................................................26 DESCRIPTION............................................................................................................................................26 EXAMPLE....................................................................................................................................................27 gdaltransform............................................................................................................................................................28 SYNOPSIS....................................................................................................................................................28 DESCRIPTION............................................................................................................................................28 Reprojection Example...................................................................................................................................29 Image RPC Example.....................................................................................................................................29
Recommended publications
  • Package 'Rgdal'
    Package ‘rgdal’ September 16, 2021 Title Bindings for the 'Geospatial' Data Abstraction Library Version 1.5-27 Date 2021-09-16 Depends R (>= 3.5.0), methods, sp (>= 1.1-0) Imports grDevices, graphics, stats, utils LinkingTo sp Suggests knitr, DBI, RSQLite, maptools, mapview, rmarkdown, curl, rgeos NeedsCompilation yes Description Provides bindings to the 'Geospatial' Data Abstraction Li- brary ('GDAL') (>= 1.11.4) and access to projection/transformation opera- tions from the 'PROJ' library. Please note that 'rgdal' will be retired by the end of 2023, plan tran- sition to sf/stars/'terra' functions using 'GDAL' and 'PROJ' at your earliest conve- nience. Use is made of classes defined in the 'sp' package. Raster and vector map data can be im- ported into R, and raster and vector 'sp' objects exported. The 'GDAL' and 'PROJ' libraries are ex- ternal to the package, and, when installing the package from source, must be correctly in- stalled first; it is important that 'GDAL' < 3 be matched with 'PROJ' < 6. From 'rgdal' 1.5-8, in- stalled with to 'GDAL' >=3, 'PROJ' >=6 and 'sp' >= 1.4, coordinate reference sys- tems use 'WKT2_2019' strings, not 'PROJ' strings. 'Windows' and 'macOS' binaries (includ- ing 'GDAL', 'PROJ' and their dependencies) are provided on 'CRAN'. License GPL (>= 2) URL http://rgdal.r-forge.r-project.org, https://gdal.org, https://proj.org, https://r-forge.r-project.org/projects/rgdal/ SystemRequirements PROJ (>= 4.8.0, https://proj.org/download.html) and GDAL (>= 1.11.4, https://gdal.org/download.html), with versions either (A) PROJ < 6 and GDAL < 3 or (B) PROJ >= 6 and GDAL >= 3.
    [Show full text]
  • Quick Guide to Free Geoinformatics for Disaster Management
    Disaster Risk Reduction Research Group - Centre for Applied Geoscience School of Earth and Environmental Sciences University of Portsmouth, UK. Quick Guide to Free Geoinformatics for Disaster Management Mathias Leidig & Richard Teeuw April 2016 (version 2.3) Copyright statement: This work is published under the creative commons license 3 (CC BY-NC-SA 3.0). The license grants you to share, copy, distribute, transmit and adapt this document for non-commercial purposes under share alike conditions (http://creativecommons.org/licenses/by-nc-sa/3.0/). Please refer to this document and its authors when modifying. Disaster Risk Reduction Research Group - Centre for Applied Geoscience School of Earth and Environmental Sciences University of Portsmouth, UK. Contents Introduction ................................................................................................ 3 1. Free datasets ....................................................................................... 4 Table 1: Geospatial data sources ............................................................ 4 2. Free Software ................................................................................... 13 Table 2.1. Free GIS software .............................................................. 15 Table 2.2. Free image processing software ......................................... 17 Table 2.3. Free data viewer ................................................................. 20 Table 2.4. GoogleEarth related tools ................................................... 20 Mini
    [Show full text]
  • Comparison of Open Source Virtual Globes
    FOSS4G 2010 Comparison of Open Source Virtual Globes Mathias Walker Pirmin Kalberer Sourcepole AG, Bad Ragaz www.sourcepole.ch FOSS4G Barcelona 7.-9.9.10 Comparison of Open Source Virtual Globes About Sourcepole > GIS-Knoppix: first GIS live-CD > QGIS > Core developer > QGIS Mapserver > OGR / GDAL > Interlis driver > schema support for PostGIS driver > Ruby on Rails > MapLayers plugin > Mapfish server plugin FOSS4G Barcelona 7.-9.9.10 Comparison of Open Source Virtual Globes Overview > Multi-platform Open Source Virtual Globes > Installation > out-of-the-box application > Adding user data > Features > Demo movie > Comparison > User data > Technology > Desired Virtual Globe features FOSS4G Barcelona 7.-9.9.10 Comparison of Open Source Virtual Globes Open Source Virtual Globes > NASA World Wind Java SDK > ossimPlanet > gvSIG 3D > osgEarth > Norkart Virtual Globe > Earth3D > Marble > comparison to Google Earth FOSS4G Barcelona 7.-9.9.10 Comparison of Open Source Virtual Globes Test user data > Test data of Austrian skiing region Lech > projection: WGS84 (EPSG:4326) > OpenStreetMap WMS > winter orthophoto > GeoTiff, 20cm resolution, 4.5GB > KML Tile Cache > ski lifts, ski slopes, cable cars and POIs > KML > Shapefile > elevation (ASTER) > GeoTiff, ~30m resolution, 445MB FOSS4G Barcelona 7.-9.9.10 Comparison of Open Source Virtual Globes NASA World Wind Java SDK > created by NASA's Learning Technologies project > now developed by NASA staff and open source community developers FOSS4G Barcelona 7.-9.9.10 Comparison of Open Source Virtual Globes
    [Show full text]
  • Mrsid Software
    Mrsid software LizardTech offers a software package called GeoExpress to read and write MrSID files. They also provide a free web browser plug-in Developed by​: ​LizardTech. This driver supports reading of MrSID image files using LizardTech's decoding software development kit (DSDK). This DSDK is not free software, you should. This plug-in (formerly the MrSID Browser Plug-in) is free for individual use and enables Note MrSID Generation 4 files are natively supported in ArcGIS Desktop and Bring the best geospatial software in the industry into the classroom. GeoViewer Pro. Quickly and easily view MrSid imagery and just about everything else. Bring the best geospatial software in the industry into the classroom.​GIS Tools · ​GeoViewer · ​GeoExpress · ​About. GHz processor; 4 GB RAM; MB of disk space for installation and additional space for images. Software Requirements GeoViewer requires the following. Both Windows and Mac users can use the command-line tool MrSID GeoDecode to decode MrSID images to TIFF and GeoTIFF .tif), JPEG. Compress massive geospatial images and LiDAR data into high-quality MrSID files. Bring the best geospatial software in the industry into the classroom. The software comes enabled to view MrSID files. For more details, search for the keyword "MrSID" in ArcGIS Help. Other questions may be answered at Esri's. Or visit LizardTech to download the software. Download Note: MrSID images average - kb in size. Download times approximate 2 minutes over a 56Kb. Full name, MrSID Image Format (Multi-resolution Seamless Image LizardTech licensed Generation I of its patented MrSID software from Los. To download and view MrSID files offline you need a special viewer.
    [Show full text]
  • Pyqgis Developer Cookbook Release 2.18
    PyQGIS developer cookbook Release 2.18 QGIS Project April 08, 2019 Contents 1 Introduction 1 1.1 Run Python code when QGIS starts.................................1 1.2 Python Console............................................2 1.3 Python Plugins............................................3 1.4 Python Applications.........................................3 2 Loading Projects 7 3 Loading Layers 9 3.1 Vector Layers.............................................9 3.2 Raster Layers............................................. 11 3.3 Map Layer Registry......................................... 11 4 Using Raster Layers 13 4.1 Layer Details............................................. 13 4.2 Renderer............................................... 13 4.3 Refreshing Layers.......................................... 15 4.4 Query Values............................................. 15 5 Using Vector Layers 17 5.1 Retrieving information about attributes............................... 17 5.2 Selecting features........................................... 18 5.3 Iterating over Vector Layer...................................... 18 5.4 Modifying Vector Layers....................................... 20 5.5 Modifying Vector Layers with an Editing Buffer.......................... 22 5.6 Using Spatial Index......................................... 23 5.7 Writing Vector Layers........................................ 23 5.8 Memory Provider........................................... 24 5.9 Appearance (Symbology) of Vector Layers............................. 26 5.10 Further
    [Show full text]
  • US Topo Map Users Guide
    US Topo Map Users Guide April 2018. Based on Adobe Reader XI version 11.0.20 (Minor updates and corrections, November 2017.) April 2018 Updates Based on Adobe Reader DC version 2018.009.20050 In 2017, US Topo production systems were redesigned. This system change has few impacts on the design and appearance of US Topo maps, but does affect the geospatial characteristics. The previous version of this Users Guide is frozen in its current form, and applies to US Topo maps created The previous version of this Users Guide, which before approximately June 2017 and to all HTMC applies to US Topo maps created before June maps. The document you are now reading applies 2017 and to all HTMC maps, is linked from to US Topo maps created after June 2017, and https://nationalmap.gov/ustopo will be maintained into the future. US Topo maps are the current generation of USGS topographic maps. The first of these maps were published in 2009. They are modeled on the legacy 7.5-minute series of the mid-20th century, but unlike traditional topographic maps they are mass produced from GIS databases, and are published as PDF documents instead of as paper maps. US Topo maps include base data from The National Map and other sources, including roads, hydrography, contours, boundaries, woodland cover, structures, geographic names, an aerial photo image, Federal land boundaries, and shaded relief. For more information see the project web page at https://nationalmap.gov/ustopo. The Historical Topographic Map Collection (HTMC) includes all editions and all scales of USGS standard topographic quadrangle maps originally published as paper maps in the period 1884-2006.
    [Show full text]
  • The Flightgear Manual
    The FlightGear Manual Michael Basler, Martin Spott, Stuart Buchanan, Jon Berndt, Bernhard Buckel, Cameron Moore, Curt Olson, Dave Perry, Michael Selig, Darrell Walisser, and others The FlightGear Manual February 22, 2010 For FlightGear version 2.0.0 2 Contents 0.1 Condensed Reading.........................6 0.2 Instructions For the Truly Impatient................6 0.3 Further Reading...........................6 I Installation9 1 Want to have a free flight? Take FlightGear! 11 1.1 Yet Another Flight Simulator?................... 11 1.2 System Requirements........................ 14 1.3 Choosing A Version......................... 15 1.4 Flight Dynamics Models...................... 16 1.5 About This Guide.......................... 16 2 Preflight: Installing FlightGear 19 2.1 Installing scenery.......................... 19 2.1.1 MS Windows Vista/7.................... 20 2.1.2 Mac OS X......................... 20 2.1.3 FG_SCENERY....................... 20 2.1.4 Fetch Scenery as you fly.................. 21 2.1.5 Creating your own Scenery................. 22 2.2 Installing aircraft.......................... 22 2.3 Installing documentation...................... 22 II Flying with FlightGear 25 3 Takeoff: How to start the program 27 3.1 Environment Variables....................... 27 3.1.1 FG_ROOT......................... 27 3.1.2 FG_SCENERY....................... 27 3.1.3 Environment Variables on Windows and Mac OS X.... 27 3.2 Launching the simulator under Unix/Linux............ 28 3.3 Launching the simulator under Windows.............. 29 3.3.1 Launching from the command line............. 30 3 4 CONTENTS 3.4 Launching the simulator under Mac OS X............. 30 3.4.1 Selecting an aircraft and an airport............. 31 3.4.2 Enabling on-the-fly scenery downloading......... 31 3.4.3 Enabling Navigation Map (Atlas)............
    [Show full text]
  • Image Compression INFORMATION SHEET June 2013
    Image Compression INFORMATION SHEET June 2013 What is compression? thumbnails for indexing, since it would save storage space. If it is necessary to see detail in the imagery, too much In computer terms, compression means to make file sizes compression should be avoided. smaller by reorganizing the data in the file. Data that is duplicated or has no value is saved in a shorter format or Can imagery become better with compression? eliminated, greatly reducing the file size. If by “better”, ones means that a smaller file size can be more Probably the most common compression format is a zip file. user friendly, then yes. However, imagery cannot be made Files within the zip file return to their original state when “higher quality” or “higher resolution” through compression. unzipped and viewed. What is the downside of compression? What is imagery compression? Compressed image files can lose data, even though it may not Compressing imagery is different than zipping files. Imagery be apparent to the user. Sometimes this is an undesirable side compression changes the organization and content of the data effect, especially if compression is done incorrectly on high within a file. The data is not necessarily restored to its quality raster data. The resulting imagery may not be original condition upon opening. Image compression compatible with some software or analysis modules, or may be reorganizes the data and may degrade it to achieve the of degraded quality, obscuring features that were clearly desired compression level. Depending on the compression identifiable on the uncompressed data. ratio, the sacrifice of data may or may not be noticeable.
    [Show full text]
  • AGD Landscape & Environment 6 (2) 2012. 76-92. COMPARISON of the MOST POPULAR OPEN-SOURCE GIS SOFTWARE in the FIELD of LANDS
    AGD Landscape & Environment 6 (2) 2012. 76-92. COMPARISON OF THE MOST POPULAR OPEN-SOURCE GIS SOFTWARE IN THE FIELD OF LANDSCAPE ECOLOGY SZEMÁN ISTVÁN1 1University of Debrecen, Department of Landscape Protection and Environmental Geography, Debrecen, 4032, Egyetem tér 1. E-mail: [email protected] Received 2 March 2012; accepted in revised form 21 December 2012 Abstract GIS (Geographic Information System) software is a very useful tool in modern landscape ecology research. With its help data can be obtained which can - after processing - help to understand and demonstrate the processes taking place in the landscape. Since direct environmental measurements and sampling from a large area are, in many cases, difficult or even impossible, modelling with GIS tools is very important in the workflow of landscape research and landscape analysis. In this article we review the best known open source GIS systems and geographic information tools with possibilities for landscape ecology application. Furthermore we will introduce all the basic concepts that are associated with these open source software programmes. We provide a comparative analysis of the most widely used open source GIS applications, where, through a specific example, we will examine how these tools are used to produce basic landscape metric indicators. We will examine those functions of the programmes that are necessary to produce a complete thematic map, and finally we will emphasize various other important functions of the software to give adequate information for those users who choose open source code GIS tools, for financial reasons or otherwise, to complete a landscape ecology analysis. Our opinion is that this type of comparison is much more informative than those done by proprietary software, because these latter are all based on a basic data library, and therefore yield similar results (proj4, gdal/ogr, jts/geos, etc.) to their ‘paid’ competitors.
    [Show full text]
  • Niva – New Iacs Vision in Action
    NIVA – NEW IACS VISION IN ACTION WP3 - Harmonisation and Interoperability D3.4 Recommendations for IACS data flows Deliverable Lead: OPEKEPE Deliverable due date: 30/11/2020 This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 842009. D3.4 Recommendations for IACS data flows Disclaimer This document is issued within the frame and for the purpose of the NIVA project. This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 842009. The opinions expressed and arguments employed herein do not necessarily reflect the official views of the European Commission. This document and its content are the property of the NIVA Consortium. All rights relevant to this document are determined by the applicable laws. Access to this document does not grant any right or license on the document or its contents. This document or its contents are not to be used or treated in any manner inconsistent with the rights or interests of the NIVA Consortium or the Partners detriment and are not to be disclosed externally without prior written consent from the NIVA Partners. Each NIVA Partner may use this document in conformity with the NIVA Consortium Grant Agreement provisions. niva4cap.eu Copyright © NIVA Project Consortium 2 of 113 D3.4 Recommendations for IACS data flows Table of Contents Table of Contents ...................................................................................................................................
    [Show full text]
  • Python Scripting for Spatial Data Processing
    Python Scripting for Spatial Data Processing. Pete Bunting and Daniel Clewley Teaching notes on the MSc's in Remote Sensing and GIS. May 4, 2013 Aberystwyth University Institute of Geography and Earth Sciences. Copyright c Pete Bunting and Daniel Clewley 2013. This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons. org/licenses/by-sa/3.0/. i Acknowledgements The authors would like to acknowledge to the supports of others but specifically (and in no particular order) Prof. Richard Lucas, Sam Gillingham (developer of RIOS and the image viewer) and Neil Flood (developer of RIOS) for their support and time. ii Authors Peter Bunting Dr Pete Bunting joined the Institute of Geography and Earth Sciences (IGES), Aberystwyth University, in September 2004 for his Ph.D. where upon completion in the summer of 2007 he received a lectureship in remote sensing and GIS. Prior to joining the department, Peter received a BEng(Hons) in software engineering from the department of Computer Science at Aberystwyth University. Pete also spent a year working for Landcare Research in New Zealand before rejoining IGES in 2012 as a senior lecturer in remote sensing. Contact Details EMail: [email protected] Senior Lecturer in Remote Sensing Institute of Geography and Earth Sciences Aberystwyth University Aberystwyth Ceredigion SY23 3DB United Kingdom iii iv Daniel Clewley Dr Dan Clewley joined IGES in 2006 undertaking an MSc in Remote Sensing and GIS, following his MSc Dan undertook a Ph.D. entitled Retrieval of Forest Biomass and Structure from Radar Data using Backscatter Modelling and Inversion under the supervision of Prof.
    [Show full text]
  • Need to Clip an Image?
    Hands On Need to Clip an Image? ArcGIS supplies several methods of clipping image data. In addition to using the Clip tool in the Raster toolbox in ArcToolbox, there are Use the Get Data other ways to quickly output a clipped raster. For ArcPad wizard Here are two simple interactive methods—using in the ArcPad the ArcPad toolbar that comes with ArcMap and toolbar in ArcMap exporting an image with the spatial extent of the to export an image current view that has the information available to clipped to the georeference it. current view or a specified spatial ArcPad Extraction Option extent. Use the ArcPad toolbar in ArcMap to extract an image. Clicking on the Get Data For ArcPad button in the toolbar will invoke a wizard for extracting data from the current map document and placing it in a checkout folder. This wizard writes vector features to new shapefiles and compresses raster images and saves them in MrSID format. The Get Data For ArcPad wizard contains several panels for defining properties related to the data being extracted. The layers 4. In the Export Map dialog box, choose a place The TIFF file format can also store in the map that will be extracted are specified to save the exported file and type a File name for georeferencing information internally. These files in the first pane. For this use of the extraction the export file. are called GeoTIFFs. ArcGIS can write GeoTIFF utility, check only the image layer to be clipped. 5. From the Save as Type drop-down box, tags for images exported from the Data View.
    [Show full text]