Navigation
Learn About
Developing With
Ingres Talk
Information
Toolbox
Views
GeoCodePointers
From Ingres Community Wiki
Jump to: navigation, search
Contents |
[edit]
Changes to existing Ingres code.
- common/adf/adg/adgdttab.roc: Data type definitions for new types in Ingres. There are a lot of other files that need to be touched to fully support a new type, but this is the heart. Here is where DB_GEOM_TYPE was defined.
- common/adf/adg/adgoptab.roc: Operation definitions. All operations on are defined here. The name of the operator and the type of function Ingres expects it to be (e.g. comparison, function with 1 arg, function with 2 args etc) are defined here.
- common/adf/adg/fi_defn.txt: Function instance definitions. This is where the actual data operation function is defined. The input and output argument types, etc.
- common/adf/hdr/adffiids.h: The function instance identifiers are defined here. The number here and in fi_defn must match.
- common/adf/hdr/aduint.h: This is the tie in between the adgoptab.roc and fi_defn.txt files. The function name is declared as the Ingres expect function type in here.
- common/hdr/hdr/adfops.h: This defines all operators. Any new operators are added here.
- common/hdr/hdr/iicommon.h: This defines the new data type number.
[edit]
New code added to support spatial
- common/adf/hdr/aduspatial.h: spatial definitions.
- common/adf/adu/adupoint.c: various low level functions for point type, and more.
- wkt-wkb: WKT/WKB translation library (can be used standalone).
[edit]
Change tracking information
- Timeline : Timeline of commits on the geospatial branch (You need to be logged in to Trac for this I think).
[edit]
Example code changes
This diff provides a simple example of adding new functions/operators into Ingres. Questions can be directed to Charles(dot)Thibert(at)Ingres(dot)com
Retrieved from "http://community.ingres.com/wiki/GeoCodePointers"

