meteorological and environmental data in data base postgresql (postgis / wkt raster) and querying by...

Post on 22-Dec-2015

229 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Meteorological and Environmental Data in Data base PostgreSQL (PostGIS / WKT Raster)

and querying by web.

Meteorologist INMET, PHD student in Geoprocessing and environmental analysis.

Instituto Nacional de Meteorologia - Eixo Monumental Via S1 - Brasília – Brasil.

Email: kleber.ataide@inmet.gov.br

Kleber R. da Paixão Ataíde

Objective

• Organize environmental and meteorological data in a database with support for spatial extensions as vectors and images

• Automating the estimation of evapotranspiration using remote sensing and GIS

The SEBAL algorithm

• Is able to determine the components of surface energy balance using satellite imagery, wind data from meteorological station, size and crop coefficient (Kc), and other surface relief.

λET = Rn - G - H

Rn

Soil heat flux

Sensible Heatflux λET

As we saw last week

Tar

U10

0

Zref Zah

Rg

Tar

U10

0

Zref Zah

t0c

Tar

U10

0

Zref Zah

r0

Satellite Data Images

Processamento

RnGH

Evapotranspiration

The SEBAL algorithm

Fast access• The client wants to know directly how much

the culture looses water, without having all the trouble of doing the calculation.

However

Fast access• For an operational

institute that receives data and satellite images, it`s interesting use a database that supports multiple types of data and large storage capacity;

• Evapotranspiration is generated on demand by the client via internet.

PostgreSQL

• PostgreSQL is the system database open source world's most advanced, with a global community of thousands of users and developers, businesses and organizations.

PostgreSQL• The PostgreSQL project has more than 20

years of engineering, starting at the University of California, Berkeley, and an unparalleled development speed today.

PostgreSQL• The feature set of PostgreSQL not only equals

that of database systems owners more advanced, but exceeds them in advanced features, extensibility, security and stability.

POSTGIS

• PostGIS: It is a geospatial extension for postgresql;

• PostGIS Guide : http://www.webgis.com.br/postgis/

what is a spatial data?

• The data that have location informationand vector or raster form.

• Location of roads, rivers, lakes, LinesElectric Transmission, Forests, Parks,States, Cities. Also imagesrecorded by sensors.

Vector files

• These entities are represented

• as polygons.• as lines ;• as points and• Raster (satellite image)

Vector files

• These entities are represented

• as polygons.• as lines ;• as points and• Raster (satellite image)

Vector files

• These entities are represented

• as polygons.• as lines ;• as points and• Raster (satellite image)

Raster data Satellite image• 16 bits• geottif• jpg

What kind of geometric objects can I store?

Figura 1 – Um buffer circular(a)vetorial que intersecta com dois tipos de vegetação vetoriais (tipo 1 e tipo 2) com resultado em vetor.

Operations:

BUFFER(the_geo,distance);GEOMUNION(A.the_geom,B.the_geom);INTERSECTION(A.the_geom,B.the_geom);DIFFERENCE(A.the_geom,B.the_geom);CONVEXHULL(A.the_geom); DISTANCE (geometry a, geometry b); between 2 points. LENGTH(geometry); Length of the linePERIMETER(g geometry); Perimeter of an poligon.AREA(geometry); de um poligon.

What kind of geometric objects can I store?

Operations:

BUFFER(the_geo,distance);GEOMUNION(A.the_geom,B.the_geom);INTERSECTION(A.the_geom,B.the_geom);DIFFERENCE(A.the_geom,B.the_geom);CONVEXHULL(A.the_geom); DISTANCE (geometry a, geometry b); between 2 points. LENGTH(geometry); Length of the linePERIMETER(g geometry); Perimeter of an poligon.AREA(geometry); de um poligon.

What kind of geometric objects can I store?

Operations:

BUFFER(the_geo,distance);GEOMUNION(A.the_geom,B.the_geom);INTERSECTION(A.the_geom,B.the_geom);DIFFERENCE(A.the_geom,B.the_geom);CONVEXHULL(A.the_geom); DISTANCE (geometry a, geometry b); between 2 points. LENGTH(geometry); Length of the linePERIMETER(g geometry); Perimeter of an poligon.AREA(geometry); de um poligon.

What kind of geometric objects can I store?

Operations:

BUFFER(the_geo,distance);GEOMUNION(A.the_geom,B.the_geom);INTERSECTION(A.the_geom,B.the_geom);DIFFERENCE(A.the_geom,B.the_geom);CONVEXHULL(A.the_geom); DISTANCE (geometry a, geometry b); between 2 points. LENGTH(geometry); Length of the linePERIMETER(g geometry); Perimeter of an poligon.AREA(geometry); de um poligon.

CONTAINS

CROSSEXAMPLES OF KINDS OF RELATIONS

DISJOINT

TOUCHES

EXAMPLEWhat are the states that border the state of Minas Gerais?

SQL - Strucutred Query Language

Original data stored in

postgresql

Query the pixel value of the database via web

Example

26.3 ˚C

Query the pixel value of the database via web

Materials & Methods

The access is via Internet. Using Google maps interface with some features and tools to facilitate access and interaction with the system to obtain the final result (final product) –

in other words the evapotranspiration.

Materials & Methods

The access is via Internet. Using Google maps interface with some features and tools to facilitate access and interaction with the system to obtain the final result (final product) –

in other words the evapotranspiration.

Materials & Methods

The access is via Internet. Using Google maps interface with some features and tools to facilitate access and interaction with the system to obtain the final result (final product) –

in other words the evapotranspiration.

Materials & Methods

The access is via Internet. Using Google maps interface with some features and tools to facilitate access and interaction with the system to obtain the final result (final product) –

in other words the evapotranspiration.

Materials & Methods

Materials & Methods

29

weather station

Evapotranspiration cycle for fine weather conditions

As an example, a farmer who has registered his farm in the National Supply Company (Conab).

He must fill some fields as planting dates, crop planted, the farm area with geographic location, etc.

(here in Brazil is starting the registration of agricultural areas with the use of GPS for production control)

References• REFERÊNCIA BIBLIOGRÁFICA• KOZIEVITCH, N. P. Dados meteorológicos: um estudo de viabilidade utilizando

um SGBD em plataforma de baixo custo, dissertação de mestrado, Curitiba-PR, 2005, p.70.

• OBE, REGINA. O.; HSU, LEO. S. PostGIS in Action: MEAP Edition Manning Early. Manning Publications Co. Acces Program. p. 425, ISBN: 9781935182269, May. 2009. Disponível em: <www.manning.com>. Acessado em: 10/01/2010.

• POSTGIS MANUAL. Disponível em <http://postgis.refractions.net/docs/postgis.pdf>.Acesso em: 10/10/2009.

• THE MAPSERVER TEAM. MapServer: MapServer documentation, Release 5.6.1, 2010, p. 714.

• Ataide, K.R.P, Bezerra, W.A. - Dados Meteorológicos e Ambientais em PostgreSQL (PostGIS / WKT Raster) e consulta via WEB, XVI Congresso Brasileiro de Meteorologia, 2010, Belém-PA.

• Thank you• Obrigado• Gracias

• 谢谢 (xiè xiè)

• (Shkrā) شكرا

• Спасибо (Spasibo)

• Dhanyavaadaalu • Eyalama

top related