Sharing of GIS data encoded in .DGN (Design) files
Achintya Pal Regional Computer Centre, Calcutta. Oil & Natural Gas Corporation P-32, Transport Depot Road, Calcutta 700088 ongc1@giascl01.vsnl.net.in
Keywords: GIS, Data format, Intergraph Standard File Format (ISFF), Map projections
Abstract: A methodology and a software package have been developed to decode spatial data on GIS. Intergraph Standard File Format (ISFF) is one among many formats in which GIS data is encoded. The present work has succeeded in extracting data stored in .DGN (Design) files in ISFF. A user working on any non-GIS system may utilize the decoded data or install the portable software to decipher any set of GIS data recorded in the above format. The software may well be extended to include other format specifications. The work is also capable of converting the original data to any other projection parameters from the parent ones (say, from Polyconic to Lambert Conical or Transverse Mercator). This further widens the scope of utilizing the data since a user working in any geodetic system may easily superpose this data accurately over any other existing data. Introduction KDM Institute of Petroleum Exploration, Dehradun of ONGC Ltd. has established a comprehensive database of location, geological features and other relevant vintage data of the whole of North Eastern and some other parts of India based on field data supplemented by remote sensing satellite data1. It has the database in GIS environment where all the scanned and digitized data are stored in .DGN files in GIS's own internal Intergraph Standard File Format (ISFF). The .DGN files contain the positional data in rectangular grid coordinates (easting and northing in a certain map projection system referred to certain central latitude and central longitude) generated during the data population process. To obtain the geographical coordinates i.e., latitude and longitude of the data points, the grid coordinates need to be given a reverse transformation in that projection system. The present work has achieved in deciphering all the encoded data contained in the .DGN files, as a result of which the positional map grid coordinates are extracted in standard ASCII code and hence can be readily shared over a network and utilized by any user. Methodology The current work consists of the following essential steps: Extraction of meaningful data from any encoded binary file requires specifications as to different codes and the location of bits and bytes of data. The deciphering clues were downloaded from the INTERNET since no other source of documentation could be found. This knowledge of the structure of the .DGN files will be of immense use to all concerned. The Intergraph Standard File Format (of which the Design (.DGN) file is a subset) specifications are briefly described below. Design files are sequential, variable-length files with variable-length records for the Design file header, file set-up information, graphic elements and non-graphic data. Graphic elements are grouped into the following main divisions and different types (1) Primitive elements :
(2) Complex elements: A set of elements that logically forms a single entity. Complex elements are stored in the design file as a header followed by the component elements.
All elements begin with the standard element header and display header. The parameters that are common to one or more elements are
The format specifications for some of the primitive elements are as follows:
Point coordinates Point coordinates are specified as two or three long (32 bit) for 2D and 3D design files respectively.
Rotation angle (2D) and quaternion (3D)
Line String (Type 4), Shape (Type 6), Curve (Type 11)
Text Elements (Type 17)
Methodology (contd.)
For universal use of this valuable data, the grid coordinates need to be converted to absolute geographical coordinates that is, latitude and longitude. This has also been achieved in a separate software module. Once that is done, the data can be drawn on a map referred to any spheroid, projection system and reference latitude and longitude. In particular, the geographical coordinates have been converted into rectangular grid coordinates in Lambert Conical projection with reference latitude and longitude as 26o N and 90o E. Conclusion & Remarks A methodology and a software package have been developed by which any positional data stored within the Geographical Information System can be deciphered and be independently put to use by any user. One of the greatest advantages of this method is that positional data from any independent source (say, well location, seismic survey lines etc.) can be directly superposed on the data derived by this method. This is because both data may be brought to the same reference plane of absolute latitude and longitude referred to a particular spheroid. This eliminates the use of "rubber sheeting" methods usually employed in GIS to fit external data with the existing spatial data. The software, currently available in Fortran 77, may easily be ported to any machine supporting the language. It is proposed to make the software platform independent so that it may be run on any computer capable of connecting to the Internet. Acknowledgement The author is indebted to Dr.A.K.Balyan, GM(Expln) and Mr.T.K.Dutta, Chief Geologist of ONGC,Calcutta for their support and encouragement to take up this work. Sincere thanks are due to Mr.James Peters, DGM (Geology), Mr.D.S.Mitra and Mr.F.Dotiwala of KDM Institute of Petroleum Exploration for providing the data of Tripura in .DGN files. Reference
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|