Skip to content

Supported data types

Navid Jadidoleslam edited this page Mar 21, 2020 · 3 revisions

HydroVisE support visualization of different data types that are listed in the table below:

Supported
Data Type
Data
Format
Description
Time-series data Single
or Multiple Variables
CSV Comma Separated Value






Spatial data
Vector GeoJSON
Geographical data
based on JavaScript
Object Notation
KML Keyhole Markup
Language
KMZ Zipped KML
Raster GeoTIFF Georeference or
geocoded raster
imagery using Aldus-Adobe's
public domain Tagged-Image File Format

HydroVisE supports CSV files that are the most common data format for time-series data. Currently, HydroVisE supports GeoJSON, KML, and KMZ file formats for Vector spatial data. For Raster data types it only supports GeoTIFF data format. Refer to description of each data type in this page to get more information on each data type.

Comma Separated Value (CSV)

Example CSV file for time-series data.

datetime,flow
2002-01-01 00:00,10
2002-01-01 01:00,11
2002-01-01 02:00,11.5
2002-01-01 03:00,12
2002-01-01 04:00,12.2
.
.
.

Note that the CSV file should have header names (e.g. datetime, flow) for each column. A CSV file could have multiple columns given that the header names are unique. The datetime format for the CSV files is YYYY-MM-DD HH:mm

GeoJSON

GeoJSON is a JavaScript Object Notation (JSON) that contains geographical information. This file type is developed for JavaScript to allow convenient geospatial data processing within JavaScript. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, and MultiPolygon. Geometric objects with additional properties are Feature objects. Sets of features are contained by FeatureCollection objects. GeoJSON files can be easily exported from a GIS software (e.g. QGIS, ArcGIS). Here is an example of a GeoJSON file containing a point:

{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [44.2,-92]
  },
  "properties": {
    "name": "My observation point"
  }
}

Keyhole Markup Language (KML)

KML is a file format used to display geographic data in an Earth browser such as Google Earth. KML uses a tag-based structure with nested elements and attributes and is based on the XML standard. All tags are case-sensitive and must appear exactly as they are listed in the KML Reference. The Reference indicates which tags are optional. Within a given element, tags must appear in the order shown in the Reference. For a more detailed information on KML files refer to Google's KML Tutorial.

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Placemark>
    <name>Simple placemark</name>
    <description>Attached to the ground. Intelligently places itself
       at the height of the underlying terrain.</description>
    <Point>
      <coordinates>-122.0822035425683,37.42228990140251,0</coordinates>
    </Point>
  </Placemark>
</kml>

KMZ

A KMZ file is essentially a Zipped KML that consists of a main KML file and zero or more supporting files that are packaged using a Zip utility into one unit, called an archive. The KMZ file can then be stored and emailed as a single entity (reference).

GeoTIFF

GeoTIFF is a TIFF image that contains Geographically Referenced (i.e. georeferenced) data. The spatial reference embedded in this data type allows users or a software to infer additional information about map projection, coordinate systems, ellipsoids, datums, and everything else necessary to establish the exact spatial reference for the GeoTIFF file.