Εμφάνιση αναρτήσεων με ετικέτα Raster data. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα Raster data. Εμφάνιση όλων των αναρτήσεων

Κυριακή 11 Οκτωβρίου 2015

GIS Compression Techniques for Raster Data





GIS Compression Techniques
Raster data is comprised of grid cells. Unlike its vector counterpart that is comprised of vertices and paths.

Accuracy depends on cell size. Cell size must be small enough to capture the required detail. And as resolution increases, the size of the cell decreases. But this comes at a cost for speed of processing and data storage.

Raster storage in its raw state is inefficient because it is normally stores values row-by-row from the top left corner.

Have no fear:

The way to improve raster size efficiency is through GIS compression. And there are several ways to use GIS compression to reduce file size and still maintain quality of data.

Let’s take a look at some examples how rasters are compressed:


Run Length Encoding – Grouping Rows of Data
Run length encoding stores cells on a row-by-row basis. Instead of recording each individual cell’s values, run length encoding groups cell values by row.

Take this line of data:
AAAAAABBBBCCCCCCCCC

It can be rendered as:
6A4B9C

This GIS compression method reduces data volumes because each line is recorded more efficiently. Even though the same information is being held, values that are the same are stored as a string.

In the example above, the first row is blank and is stored as (0,8). This means there are 8 cells and they are all zeros. In the second row, there are 4 consecutive zeros so it gets a value of (0,4). After this, we have three consecutive cells with the value 1 so it gets a value of (1,3). This continues until it reaches the bottom-right cell.


Run Length Encoding (Click to Enlarge)


Block Coding – Grouping Blocks of Data
The block coding raster storage technique assigns areas that are blocks to reduce redundancy.

The block coding raster storage technique subdivides an entire raster image into hierarchical blocks. It’s an extension of the run length encoding technique, but extends it to two dimensions.

In the example above:

Instead of storing 64 grid cells, all it takes is just 7 blocks. Using block coding, it requires one 3×3 block, two 2×2 blocks and four 1×1 cell blocks to encode this raster image.

In this block coding example, the top-left corner is used as a reference for each block.


Block Coding (Click to Enlarge)


Chain Coding – Defining the Exterior Boundary
Chain coding defines the outer boundary using relative positions from a start point. The sequence of the exterior is stored where the endpoint finishes at the start point.

During the encoding, the direction is stored as an integer. However, in this example we use cardinal directions for simplicity. For example, the value 0 is north and 1 is east.

In the example, we start at position (5,2). From here we define the border using cardinal directions and number of movements. We move east 3 positions until we hit the edge. At this location, we move south 4 positions. This process continues until the end point hits the start point.

Note: Only for the purpose of this exercise, we used north, east, south and west as alphabetical values. When encoded, it is a numerical value.


Chain Coding (Click to Enlarge)


Quadtree Encoding – Subdividing Data Into Quarters
Quadtrees are raster data structures based on the successive reduction of homogeneous cells. It recursively subdivides a raster image into quarters. The subdivision process continues until each cell is classed.


Quadtrees (Click to Enlarge)
It reduces raster storage requirements. It also is dependent on the complexity of the feature and the resolution of the smallest grid cell.

In the example, the top-left and bottom-right 8×8 grids do not need to be subdivided further because they are homogenous. The top-right 8×8 grid is subdivided into three 4×4 grid. The remaining 4×4 grid is separated into 4 individual classes.




Quadtrees of Earth

Lossless vs Lossy Compression
For GIS compression, it can be divided into two categories – lossy and lossless. Lossy GIS compression reduces file size by permanently eliminating certain information, especially redundant information (even though the user may not notice it). JPEG is an example of a format using lossy compression.

When should you use lossy compression in GIS?
In GIS, lossy compression data is good for background images because it has faster loading speeds with lower compression ratios. You should not choose lossy compression if you want to perform further analysis on the data.

On the other hand, lossless GIS compression reduces file size but redundant information will be retained after compression. LZ77 is an example of a lossless compression.


Lossy vs Lossless Raster Compression (Click to Enlarge)

When should you use lossless compression in GIS?
Lossless compression is good if there will be new analysis on the data. This is because none of the original values will be changed. It’s good for discrete data or the raster image is already lossy compressed.

Question: Why would anybody choose lossy compression over lossless compression?
Lossy compression algorithms often result in greater reductions of file size. It’s often the case that the human eye cannot distinguish between lossless and lossy compression. Lossy compression offers the best compression ratios with good enough approximations.

JPEG Compression
JPEG stands for Joint Photographic Experts Group, which is the group that created the standard. It has an extension of .JPG and .JPEG and is the most common image format used by digital cameras and on the World Wide Web.

It’s a lossy compression type for digital images. Lossy compression reduces file size but redundant information will be lost (even though the user may not notice it). The user decides how much loss to introduce with a trade-off storage size and quality. The compression quality is a range from 1 to 100. A lower value compresses the raster image, but also reduces the quality more than a higher value.

JPEG 2000 (JP2) is the newest version of JPEG. It slightly improves GIS compression performance over JPEG using two different wavelet transforms. Users can choose low to high levels of compression.


Lossy Compression

LZ77 Compression
LZ77 compression is a lossless compression meaning it maintains raster values during compression. It was introduced by Abraham Lempel and Jacob Ziv in 1977 and is still used today. Combining the first letter from both last names (LZ) and the year it was invented (1977), this is how the acronym (LZ77) was created.

It uses the same commission algorithm as PNG (Portable network graphic). It’s the default raster GIS compression used in ArcGIS because

The theory behind LZ77 compression is that repeat values seen in a raster image are stored according to their position and length. Instead of storing single values for each cell, LZ77 simply stores where the value was found and how long the string of values are.

MrSID vs ECW

JPEG 2000 can achieve a compression ratio of 20:1 which is similar to MrSID and ECW format.

LizardTech’s proprietary MrSID (Multiresolution Seamless Image Database) format is commonly used for orthoimages in need of compression. MrSID images have an extension of SID and are accompanied with a world file with the file extension SDW.

MrSIDs have impressive compression ratios. Color images can be compressed at a ratio of over 20:1. LizardTech’s GeoExpress is the software package capable of reading and writing MrSID format.

ECW (Enhanced Commission Wavelet) is a compressed image format typically for aerial and satellite imagery. This GIS file type is known for its high compression ratios while still maintaining quality contrast in images.

ECW format was developed by ER Mapper, but it’s now owned by Hexagon Geospatial.

GIS Compression Means Reducing Raster Filesize
GIS data is abundant. With satellites acquiring images each day, raster data is the spatial model of choice. There are several GIS compression available.

Deploying efficient raster GIS compression techniques means reducing storage space. This is the primary benefit of compressing your data.

It can save money and time. You can also improve your network performance because you are working with a reduced amount of data.

We’ve provided you with an overview of raster encoding techniques to help you on your journey to saving valuable disk storage. It’s your turn to experiment with GIS compression and the benefits it can serve you or your organization.

Τετάρτη 30 Σεπτεμβρίου 2015

Solar and Other Data in GIS format


Develop your own cartographic representations or perform your own GIS analyses with SolarGIS data.

Purchase data from SolarGIS database for your own GIS jobs. GIS data resolution and format are prepared to meet your needs. The most typical examples are available below. Download a set of SolarGIS sample data and try in your favourite GIS software.

Contact us to purchase data for your region
.
GRIDed Data (Raster)

  • The nature of solar radiation and othe climatic parameters have rather continous character, therefore GRIDed (or Raster) data are the most suitable format to express such behaviour
  • We are capable to deliver data in high resolution (Solar and PV parameters up to 9 arcsec = approx 250 m). Consult our maps in SolarGIS iMaps
  • Typical format: ESRI ASCII GRID, spatial reference EPSG:4326 (also known as GCS_WGS84); Another format on request
Download Sample Data

Provided ZIP files contain ASCII GRID file and PRJ project file:
Annual sum of Global horizontal irradiation (GHI), average 1994-2010, (ZIP, 814 KB)
Annual sum of Direct Normal Irradiation (DNI), average 1994-2010, (ZIP, 932 KB)Parameters of both sample data sets:
  • Grids 800x600 pixels, resolution 00:00:09 = 9 arcsec (approx. 250 m)
  • Geographic coordinate system, World Geodetic System 1984 (GCS_WGS84)
  • region of Central Slovakia, Europe (North:49.5°, South: 48°, West: 19°, East: 21°)

Snapshot of the samples



Point Data (Vector)

  • Point data represent selected characteristic for a particular site
  • In special cases, regular point data can replace GRIDed data (e.g. Clickable maps for Google Earth)
  • Typical format: ESRI Shapefile or KML/KMZ, spatial reference EPSG:4326 (also known as GCS_WGS84); Another format on request

Download Sample Data
Provided ZIP files contain point shapefile with attribute table and predefined examples of color legends for QGIS and ESRI ArcMap software:
Site data (point, vector) with attributes GHI, DNI, TEMP, selected locations in Slovakia, (ZIP, 932 KB)
Regular point data (vector) with attributes GHI, DNI, Elevation, TEMP, region in South-Africa, (ZIP, 459 KB)

Snapshots of the samples



Image Data/Maps

  • High quality cartographic representation of selected climate parameter, supported by terrain shading
  • Can be used as Google Earth overlay map or as an image in your GIS to compose your own map with additional layers
  • Typical format: georeferenced image file (PNG with transparency or GeoTIFF), spatial reference EPSG:4326 (also known as GCS_WGS84); Another format on request
  • Download Sample DataBeside GeoTIFF file the samples also provide KML file to open data in Google Earth application
GHI: Western Cape, South Africa (ZIP file, 3.6 MB)
GHI: Slovakia, Europe (ZIP file, 2.5 MB)


Κυριακή 9 Αυγούστου 2015

SuperSurv 3.3 Brings Whole New Experience to Field Tasks



SuperSurv 3.3 for Android, the mobile survey GIS App developed by Supergeo, is now upgraded and released, with new and improved functions. The new SuperSurv 3.3 not only enables users to flexibly apply raster data in MrSID/JPEG2000 formats as the basemap for a wide array of projects, but also supports online maps and OGC online layers, delivering a more comprehensive and sophisticated GIS experience and improving the reliability of data collection and field survey results.



SuperSurv is a mobile GIS App designed for field data collection on both iOS and Android platforms. Integrating GIS and GPS technologies, SuperSurv provides functions like Mapping, Query, Measurement, etc., and supports online and offline basemaps to fit different survey environments. To collect data, just add point, line or polygon features with attribute data in SuperSurv and you can save the data as SHP or GEO formats locally or even in cloud storage. The friendly user interface and easy-to-use workflow allows even a GIS learner to use SuperSurv,and get professional geographic-spatial data collecting tasks completed.



The latest SuperSurv for Android enhances the performance of MrSID and JPEG2000raster layers in projects; resulting in substantially reduced durations for data accessing and caching, as well as supporting the display of multiple files. Also, combining both OGC standard online maps and the ability of SuperSurv to access WMS services enables users to employ a wide variety of online spatial data conveniently and with greater functionality. In addition, the Supergeo developer team has increased language support in SuperSurv in response to global users’ requirements. As the forerunner of mobile GIS,field survey and data collection applications, SuperSurv keeps on improving efficiency, quality and user experience with each update!



Try the perfect mash-up effect of GIS and Field Survey Apps, download SuperSurv on the App Store or Google Play right away!

App Store:

https://itunes.apple.com/us/app/supersurv/id734191604?mt=8

Google Play:

https://play.google.com/store/apps/details?id=com.supergeo.asd.supersurvlite.SuperSurv



For more SuperSurv information, visit Supergeo website:
http://www.supergeotek.com/ProductPage_SuperSurv.aspx

Or contact us with e-mail:

staff@supergeo.com.tw

<img src=http://imagizer.imageshack.us/a/img661/8671/jwdEaR.png>


About Supergeo



Supergeo Technologies Inc. is a leading global provider of GIS software and solutions. Since the establishment, Supergeo has been dedicated to providing state-of-the-art geospatial technologies and comprehensive services for customers around the world. It is our vision to help users utilize geospatial technologies to create a better world.

Supergeo software and applications have been spread over the world to be the backbone of the world’s mapping and spatial analysis. Supergeo is the professional GIS vendor, providing GIS-related users with complete GIS solutions for desktop, mobile, server, and Internet platforms.



Marketing Contact:

Patty Chen

Supergeo Technologies Inc.

5F, No. 71, Sec. 1, Zhouzi St., Taipei, 114, TAIWAN

TEL:+886-2-2659 1899

Website: http://www.supergeotek.com