libsim Versione 7.2.4
|
Classes for handling georeferenced sparse points in geographical corodinates. Continua...
Tipi di dato | |
interface | c_e |
Missing check. Continua... | |
interface | delete |
Detructors for the two classes. Continua... | |
interface | display |
Print object. Continua... | |
interface | export |
Export one or more geo_coordvect objects to a plain text file or to a file in ESRI/Shapefile format. Continua... | |
type | geo_coord |
Derived type defining an isolated georeferenced point on Earth in polar geographical coordinates. Continua... | |
type | geo_coordvect |
Derived type defining a one-dimensional array of georeferenced points with an associated topology (isolated point, arc, polygon, group of points) Continua... | |
interface | getval |
Methods for returning the value of object members. Continua... | |
interface | import |
Import one or more geo_coordvect objects from a plain text file or for a file in ESRI/Shapefile format. Continua... | |
interface | init |
Constructors for the two classes. Continua... | |
interface | inside |
Determine whether a point lies inside a polygon or a rectangle. Continua... | |
interface | operator(/=) |
Logical inequality operator. Continua... | |
interface | operator(==) |
Logical equality operator. Continua... | |
interface | read_unit |
Read a single geo_coord object or an array of geo_coord objects from a Fortran FORMATTED or UNFORMATTED file. Continua... | |
interface | to_char |
Represent geo_coord object in a pretty string. Continua... | |
interface | write_unit |
Write a single geo_coord object or an array of geo_coord objects to a Fortran FORMATTED or UNFORMATTED file. Continua... | |
Funzioni/Subroutine | |
subroutine | geo_coord_init (this, lon, lat, ilon, ilat) |
Costruisce un oggetto geo_coord con i parametri opzionali forniti. | |
subroutine | geo_coord_delete (this) |
Distrugge l'oggetto in maniera pulita, assegnandogli un valore mancante. | |
elemental subroutine | geo_coord_getval (this, lon, lat, ilon, ilat) |
Restituisce il valore di uno o più componenti di un oggetto geo_coord. | |
elemental integer(kind=int_l) function | getilat (this) |
Restituisce la latitudine di uno o più componenti di un oggetto geo_coord. | |
elemental real(kind=fp_geo) function | getlat (this) |
Restituisce la latitudine di uno o più componenti di un oggetto geo_coord. | |
elemental integer(kind=int_l) function | getilon (this) |
Restituisce la longitudine di uno o più componenti di un oggetto geo_coord. | |
elemental real(kind=fp_geo) function | getlon (this) |
Restituisce la longitudine di uno o più componenti di un oggetto geo_coord. | |
elemental logical function | geo_coord_gt (this, that) |
Logical great operator. | |
elemental logical function | geo_coord_ge (this, that) |
Logical great-equal operator. | |
elemental logical function | geo_coord_lt (this, that) |
Logical less operator. | |
elemental logical function | geo_coord_le (this, that) |
Logical less-equal operator. | |
elemental logical function | geo_coord_ure (this, that) |
Logical greater-equal operator. | |
elemental logical function | geo_coord_ur (this, that) |
Logical greater operator. | |
elemental logical function | geo_coord_lle (this, that) |
Logical less-equal operator. | |
elemental logical function | geo_coord_ll (this, that) |
Logical less operator. | |
subroutine | geo_coord_read_unit (this, unit) |
Legge da un'unità di file il contenuto dell'oggetto this. | |
subroutine | geo_coord_vect_read_unit (this, unit) |
Legge da un'unità di file il contenuto dell'oggetto this. | |
subroutine | geo_coord_write_unit (this, unit) |
Scrive su un'unità di file il contenuto dell'oggetto this. | |
subroutine | geo_coord_vect_write_unit (this, unit) |
Scrive su un'unità di file il contenuto dell'oggetto this. | |
real(kind=fp_geo) function | geo_coord_dist (this, that) |
Restituisce la distanza in m tra 2 oggetti geo_coord. | |
logical function | geo_coord_inside_rectang (this, coordmin, coordmax) |
Determina se il punto indicato da this è contenuto in un rettangolo. | |
recursive subroutine | geo_coordvect_init (this, lon, lat) |
Costruisce un oggetto geo_coordvect con i parametri opzionali forniti. | |
subroutine | geo_coordvect_delete (this) |
Distrugge l'oggetto in maniera pulita, liberando l'eventuale spazio dinamicamente allocato. | |
subroutine | geo_coordvect_getval (this, lon, lat) |
Restituisce il valore di uno o più componenti di un oggetto geo_coordvect. | |
subroutine | geo_coordvect_importvect (this, shpfilesim, shpfile) |
Importa un vettore di oggetti geo_coordvect da un file in formato testo o in formato shapefile. | |
subroutine | geo_coordvect_exportvect (this, shpfilesim, shpfile, append) |
Esporta un vettore di oggetti geo_coordvect su un file in formato testo o in formato shapefile. | |
logical function | geo_coord_inside (this, poly) |
Determina se il punto indicato da this si trova dentro o fuori dal poligono descritto dall'oggetto poly. | |
Variabili | |
integer, parameter | fp_geo =fp_d |
REAL Kind for geographical coordinates. | |
type(geo_coord), parameter | geo_coord_miss =geo_coord(imiss, imiss) |
Missing value for geo_coord. | |
integer, parameter | geo_coordvect_point = 1 |
Topology for geo_coordvect (from shapelib): isolated point. | |
integer, parameter | geo_coordvect_arc = 3 |
Topology for geo_coordvect (from shapelib): arc (multiple arcs unsupported) | |
integer, parameter | geo_coordvect_polygon = 5 |
Topology for geo_coordvect (from shapelib): polygon (necessarily closed, multiple polygons unsupported) | |
integer, parameter | geo_coordvect_multipoint = 8 |
Topology for geo_coordvect (from shapelib): group of points. | |
Classes for handling georeferenced sparse points in geographical corodinates.
This module defines two classes for managing georeferenced points on the Earth in geographical polar coordinates. It allows importing and exporting blocks of points from/to plain text files and ESRI shapefile's. Both classes have PRIVATE members, so that they cannot be manipulated directly, but only through the proper methods.