Ingres Community Forums Login Register Ingres.com  

Ingres Community Wiki

Navigation
Learn About
Developing With
Ingres Talk
Information
Toolbox

GeoCodePointers

From Ingres Community Wiki

Jump to: navigation, search

Contents

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/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.

New code added to support spatial

  • wkt-wkb: WKT/WKB translation library (can be used standalone).

Change tracking information

  • Timeline : Timeline of commits on the geospatial branch (You need to be logged in to Trac for this I think).

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

Personal tools
© 2009 Ingres Corporation. All Rights Reserved