The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ReplaceRiver


Unit:SDL_geodb
Class:TGeoDB
Declaration:procedure ReplaceRiver (DBEntry: longint; Name: TgdbName; Polygon: TgdbPolygon; Date: TDateTime; StateFlag: longint; LatLow, LatHigh, LongLow, LongHigh, Altitude: single; ClassNumber: byte; UserTag: longint);

The method ReplaceRiver replaces the database entry DbEntry by river data. The parameter Name contains the name of the river. The river is specified by the open array Polygon. The parameter Date holds the date and time associated with the river. The parameter StateFlag reflects the state of the database entry. The parameters LatLow ... LongHigh specify the geographical area the river covers. The parameter Altitude defines the (average) altitude of the river data. ClassNumber contains the number of the class the new database entry should belong to, and the UserTag parameter may hold a user-defined number. UserTag is not used by the database system, it can be used to store additional information.


Last Update: 2012-Oct-20