test.sql 156 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381
  1. -- Generated by BladeSmith 3.60.TC2 DO NOT MODIFY. --
  2. execute procedure ifx_allow_newline('t');
  3. begin work;
  4. ------------------------------------------------------------------------
  5. -- SE_setup_tables
  6. --
  7. -- This procedure creates the spatial_references and geometry_columns
  8. -- tables if they do not already exist.
  9. --
  10. -- This procedure replaces the 8.1x version of SE_setup_tables, which
  11. -- copied entries from the sde database's spatial_references and
  12. -- geometry_columns tables (if they exist) into the current database's
  13. -- tables. This was to allow migration from SDE3.0.2.2 to ArcSde8.1.
  14. -- Direct migration is no longer supported, you must first register
  15. -- spatial datablade version 8.1x.
  16. ------------------------------------------------------------------------
  17. CREATE PROCEDURE SE_setup_tables()
  18. DEFINE tab_exists INT;
  19. LET tab_exists = 0;
  20. SELECT count(*) INTO tab_exists FROM informix.systables
  21. WHERE tabname='sde.spatial_references';
  22. IF (tab_exists = 0) THEN
  23. -- Metadata tables do not exist; fresh install
  24. CREATE TABLE sde.spatial_references
  25. (
  26. srid integer NOT NULL,
  27. description varchar(64),
  28. auth_name varchar(255),
  29. auth_srid int,
  30. falsex float NOT NULL,
  31. falsey float NOT NULL,
  32. xyunits float NOT NULL,
  33. falsez float NOT NULL,
  34. zunits float NOT NULL,
  35. falsem float NOT NULL,
  36. munits float NOT NULL,
  37. srtext char(2048) NOT NULL,
  38. PRIMARY KEY (srid)
  39. CONSTRAINT sde.sp_ref_pk
  40. );
  41. CREATE TABLE sde.geometry_columns
  42. (
  43. f_table_catalog varchar(32) NOT NULL,
  44. f_table_schema varchar(32) NOT NULL,
  45. f_table_name varchar(128) NOT NULL,
  46. f_geometry_column varchar(128) NOT NULL,
  47. storage_type integer,
  48. geometry_type integer NOT NULL,
  49. coord_dimension integer,
  50. srid integer NOT NULL,
  51. PRIMARY KEY (f_table_catalog, f_table_schema,
  52. f_table_name, f_geometry_column)
  53. CONSTRAINT sde.geocol_pk,
  54. FOREIGN KEY(srid) REFERENCES sde.spatial_references(srid)
  55. CONSTRAINT sde.geocol_fk
  56. );
  57. CREATE VIEW sde.spatial_ref_sys AS
  58. SELECT srid, auth_name, auth_srid, srtext FROM sde.spatial_references;
  59. END IF
  60. END PROCEDURE; -- SE_setup_tables
  61. EXECUTE PROCEDURE SE_setup_tables();
  62. DROP PROCEDURE SE_setup_tables();
  63. ------------------------------------------------------------------------
  64. -- SE_add_srids
  65. --
  66. -- The procedure inserts several entries into the spatial references
  67. -- table if they do not already exist. These entries are intended
  68. -- for use by the sample shapefile data that is supplied along with
  69. -- the datablade. They represent four very common datums and each
  70. -- has a false origin and scale factors suitable for worldwide
  71. -- unprojected (lat/lon) data.
  72. ------------------------------------------------------------------------
  73. CREATE PROCEDURE SE_add_srids();
  74. DEFINE ZeroInUse INT;
  75. DEFINE LastSrid INT;
  76. DEFINE FoundUnk INT;
  77. DEFINE FoundWGS84 INT;
  78. DEFINE FoundNAD27 INT;
  79. DEFINE FoundNAD83 INT;
  80. DEFINE FoundOldHI INT;
  81. LET ZeroInUse = 0;
  82. LET LastSrid = 0;
  83. LET FoundUnk = 0;
  84. LET FoundWGS84 = 0;
  85. LET FoundNAD27 = 0;
  86. LET FoundNAD83 = 0;
  87. LET FoundOldHI = 0;
  88. SELECT count(*) INTO ZeroInUse FROM sde.spatial_references WHERE srid = 0;
  89. -- Correct srtext field for unknown spatial reference systems
  90. UPDATE sde.spatial_references
  91. SET srtext = 'UNKNOWN' WHERE srtext = 'WORLD';
  92. -- Check if each of the SRIDs we are about to insert already exists.
  93. SELECT count(*) INTO FoundUnk FROM sde.spatial_references
  94. WHERE falsex = -180 AND falsey = -90 AND xyunits = 5965232
  95. AND srtext = 'UNKNOWN';
  96. SELECT count(*) INTO FoundWGS84 FROM sde.spatial_references
  97. WHERE falsex = -180 AND falsey = -90 AND xyunits = 5965232
  98. AND srtext = 'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]';
  99. SELECT count(*) INTO FoundNAD27 FROM sde.spatial_references
  100. WHERE falsex = -180 AND falsey = -90 AND xyunits = 5965232
  101. AND srtext = 'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]';
  102. SELECT count(*) INTO FoundNAD83 FROM sde.spatial_references
  103. WHERE falsex = -180 AND falsey = -90 AND xyunits = 5965232
  104. AND srtext = 'GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]';
  105. SELECT count(*) INTO FoundOldHI FROM sde.spatial_references
  106. WHERE falsex = -180 AND falsey = -90 AND xyunits = 5965232
  107. AND srtext = 'GEOGCS["GCS_Old_Hawaiian",DATUM["D_Old_Hawaiian",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]';
  108. IF (ZeroInUse = 0) THEN
  109. -- srid 0 is not in use, so use it for generic worldwide data
  110. INSERT INTO sde.spatial_references
  111. (srid, description, auth_name, auth_srid, falsex, falsey,
  112. xyunits, falsez, zunits, falsem, munits, srtext)
  113. VALUES (0, 'Unspecified datum for use with unprojected lat/lon coords',
  114. NULL, NULL, -180, -90,
  115. 5965232, -50000, 1000, -1000, 1000, 'UNKNOWN');
  116. LET FoundUnk = 1;
  117. END IF
  118. SELECT max(srid) INTO LastSrid FROM sde.spatial_references;
  119. IF (FoundUnk = 0) THEN
  120. LET LastSrid = LastSrid + 1;
  121. INSERT INTO sde.spatial_references
  122. (srid, description, auth_name, auth_srid, falsex, falsey,
  123. xyunits, falsez, zunits, falsem, munits, srtext)
  124. VALUES (LastSrid,
  125. 'Unspecified datum for use with unprojected lat/lon coords',
  126. NULL, NULL, -180, -90,
  127. 5965232, -50000, 1000, -1000, 1000, 'UNKNOWN');
  128. END IF
  129. IF (FoundOldHI = 0) THEN
  130. LET LastSrid = LastSrid + 1;
  131. INSERT INTO sde.spatial_references
  132. (srid, description, auth_name, auth_srid, falsex, falsey,
  133. xyunits, falsez, zunits, falsem, munits, srtext)
  134. VALUES (LastSrid,
  135. 'Old Hawaiian datum for use with unprojected lat/lon coords',
  136. 'EPSG', 4135, -180, -90, 5965232, -50000, 1000, -1000, 1000,
  137. 'GEOGCS["GCS_Old_Hawaiian",DATUM["D_Old_Hawaiian",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]');
  138. END IF
  139. IF (FoundNAD27 = 0) THEN
  140. LET LastSrid = LastSrid + 1;
  141. INSERT INTO sde.spatial_references
  142. (srid, description, auth_name, auth_srid, falsex, falsey,
  143. xyunits, falsez, zunits, falsem, munits, srtext)
  144. VALUES (LastSrid,
  145. 'NAD 1927 datum for use with unprojected lat/lon coords',
  146. 'EPSG', 4267, -180, -90, 5965232, -50000, 1000, -1000, 1000,
  147. 'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]');
  148. END IF
  149. IF (FoundNAD83 = 0) THEN
  150. LET LastSrid = LastSrid + 1;
  151. INSERT INTO sde.spatial_references
  152. (srid, description, auth_name, auth_srid, falsex, falsey,
  153. xyunits, falsez, zunits, falsem, munits, srtext)
  154. VALUES (LastSrid,
  155. 'NAD 1983 datum for use with unprojected lat/lon coords',
  156. 'EPSG', 4269, -180, -90, 5965232, -50000, 1000, -1000, 1000,
  157. 'GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]');
  158. END IF
  159. IF (FoundWGS84 = 0) THEN
  160. LET LastSrid = LastSrid + 1;
  161. INSERT INTO sde.spatial_references
  162. (srid, description, auth_name, auth_srid, falsex, falsey,
  163. xyunits, falsez, zunits, falsem, munits, srtext)
  164. VALUES (LastSrid,
  165. 'WGS 84 datum for use with unprojected lat/lon coords',
  166. 'EPSG', 4326, -180, -90, 5965232, -50000, 1000, -1000, 1000,
  167. 'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]]');
  168. END IF
  169. END PROCEDURE;
  170. EXECUTE PROCEDURE SE_add_srids();
  171. DROP PROCEDURE SE_add_srids();
  172. create function SE_TestSbspace(varchar(255)) returns lvarchar
  173. with (not variant)
  174. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_TestSbspace)'
  175. language c;
  176. grant execute on function SE_TestSbspace(varchar(255)) to public;
  177. -- Verify that a default sbspace has been created.
  178. -- The Spatial DataBlade needs this to store metadata.
  179. select SE_TestSbspace("SBSPACENAME") from informix.systables where tabname='systables';
  180. -- Verify that a system sbspace has been created. This is needed
  181. -- if you run update statistics medium or high on a Spatial column.
  182. select SE_TestSbspace("SYSSBSPACENAME") from informix.systables where tabname='systables';
  183. create procedure SE_SpRefBeforeTrig()
  184. with (not variant)
  185. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_SpRefBeforeTrig)'
  186. language c;
  187. create procedure SE_SpRefAfterTrig()
  188. with (not variant)
  189. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_SpRefAfterTrig)'
  190. language c;
  191. grant execute on procedure SE_SpRefBeforeTrig() to public;
  192. grant execute on procedure SE_SpRefAfterTrig() to public;
  193. create trigger SE_SpRefInsTrig
  194. insert on sde.spatial_references
  195. before (execute procedure SE_SpRefBeforeTrig())
  196. after (execute procedure SE_SpRefAfterTrig());
  197. create trigger SE_SpRefUpdTrig
  198. update on sde.spatial_references
  199. before (execute procedure SE_SpRefBeforeTrig())
  200. after (execute procedure SE_SpRefAfterTrig());
  201. create trigger SE_SpRefDelTrig
  202. delete on sde.spatial_references
  203. before (execute procedure SE_SpRefBeforeTrig())
  204. after (execute procedure SE_SpRefAfterTrig());
  205. create opaque type SE_Metadata
  206. (internallength = variable, alignment = 8);
  207. create function SE_MetadataIn (lvarchar) returns SE_Metadata
  208. with (not variant)
  209. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataFromText)'
  210. language c;
  211. create function SE_MetadataOut (SE_Metadata) returns lvarchar
  212. with (not variant)
  213. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataToText)'
  214. language c;
  215. create function SE_MetadataSend (SE_Metadata) returns sendrecv
  216. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataToText)'
  217. language c;
  218. create function SE_MetadataRecv (sendrecv) returns SE_Metadata
  219. with (not variant)
  220. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataFromText)'
  221. language c;
  222. create function SE_MetadataImpT (impexp) returns SE_Metadata
  223. with (not variant)
  224. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataFromText)'
  225. language c;
  226. create function SE_MetadataExpT (SE_Metadata) returns impexp
  227. with (not variant)
  228. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataToText)'
  229. language c;
  230. create function SE_MetadataImpB (impexpbin) returns SE_Metadata
  231. with (not variant)
  232. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataFromText)'
  233. language c;
  234. create function SE_MetadataExpB (SE_Metadata) returns impexpbin
  235. with (not variant)
  236. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataToText)'
  237. language c;
  238. create procedure Destroy(SE_Metadata)
  239. with (not variant)
  240. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataDestroy)'
  241. language c;
  242. create function LOhandles(SE_Metadata) returns lolist
  243. with (not variant)
  244. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataLOhandles)'
  245. language c;
  246. create function SE_MetadataDump(int) returns lvarchar
  247. with (not variant)
  248. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataDump)'
  249. language c;
  250. grant usage on type SE_Metadata to public;
  251. grant execute on function SE_MetadataIn (lvarchar) to public;
  252. grant execute on function SE_MetadataOut (SE_Metadata) to public;
  253. grant execute on function SE_MetadataSend (SE_Metadata) to public;
  254. grant execute on function SE_MetadataRecv (sendrecv) to public;
  255. grant execute on function SE_MetadataImpT (impexp) to public;
  256. grant execute on function SE_MetadataExpT (SE_Metadata) to public;
  257. grant execute on function SE_MetadataImpB (impexpbin) to public;
  258. grant execute on function SE_MetadataExpB (SE_Metadata) to public;
  259. grant execute on procedure Destroy(SE_Metadata) to public;
  260. grant execute on function LOhandles(SE_Metadata) to public;
  261. grant execute on function SE_MetadataDump(int) to public;
  262. create cast (SE_Metadata as lvarchar with SE_MetadataOut);
  263. create cast (SE_Metadata as sendrecv with SE_MetadataSend);
  264. create cast (SE_Metadata as impexp with SE_MetadataExpT);
  265. create cast (SE_Metadata as impexpbin with SE_MetadataExpB);
  266. create implicit cast (lvarchar as SE_Metadata with SE_MetadataIn);
  267. create implicit cast (sendrecv as SE_Metadata with SE_MetadataRecv);
  268. create implicit cast (impexp as SE_Metadata with SE_MetadataImpT);
  269. create implicit cast (impexpbin as SE_Metadata with SE_MetadataImpB);
  270. create table SE_MetadataTable
  271. (
  272. smd SE_Metadata
  273. );
  274. revoke all on SE_MetadataTable from public;
  275. create opaque type ST_Geometry
  276. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  277. create opaque type ST_Curve
  278. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  279. create opaque type ST_MultiCurve
  280. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  281. create opaque type ST_Surface
  282. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  283. create opaque type ST_MultiSurface
  284. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  285. create opaque type ST_Point
  286. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  287. create opaque type ST_MultiPoint
  288. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  289. create opaque type ST_LineString
  290. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  291. create opaque type ST_MultiLineString
  292. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  293. create opaque type ST_Polygon
  294. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  295. create opaque type ST_MultiPolygon
  296. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  297. create opaque type ST_GeomCollection
  298. (internallength = variable, cannothash, maxlen = 2048, alignment = 8);
  299. grant usage on type ST_Geometry to public;
  300. grant usage on type ST_Curve to public;
  301. grant usage on type ST_MultiCurve to public;
  302. grant usage on type ST_Surface to public;
  303. grant usage on type ST_MultiSurface to public;
  304. grant usage on type ST_Point to public;
  305. grant usage on type ST_MultiPoint to public;
  306. grant usage on type ST_LineString to public;
  307. grant usage on type ST_MultiLineString to public;
  308. grant usage on type ST_Polygon to public;
  309. grant usage on type ST_MultiPolygon to public;
  310. grant usage on type ST_GeomCollection to public;
  311. create function DeepCopy(ST_Geometry) returns ST_Geometry
  312. with (not variant)
  313. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  314. language c;
  315. create function DeepCopy(ST_Curve) returns ST_Curve
  316. with (not variant)
  317. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  318. language c;
  319. create function DeepCopy(ST_MultiCurve) returns ST_MultiCurve
  320. with (not variant)
  321. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  322. language c;
  323. create function DeepCopy(ST_Surface) returns ST_Surface
  324. with (not variant)
  325. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  326. language c;
  327. create function DeepCopy(ST_MultiSurface) returns ST_MultiSurface
  328. with (not variant)
  329. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  330. language c;
  331. create function DeepCopy(ST_Point) returns ST_Point
  332. with (not variant)
  333. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  334. language c;
  335. create function DeepCopy(ST_MultiPoint) returns ST_MultiPoint
  336. with (not variant)
  337. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  338. language c;
  339. create function DeepCopy(ST_LineString) returns ST_LineString
  340. with (not variant)
  341. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  342. language c;
  343. create function DeepCopy(ST_MultiLineString) returns ST_MultiLineString
  344. with (not variant)
  345. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  346. language c;
  347. create function DeepCopy(ST_Polygon) returns ST_Polygon
  348. with (not variant)
  349. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  350. language c;
  351. create function DeepCopy(ST_MultiPolygon) returns ST_MultiPolygon
  352. with (not variant)
  353. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  354. language c;
  355. create function DeepCopy(ST_GeomCollection) returns ST_GeomCollection
  356. with (not variant)
  357. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDeepCopy)'
  358. language c;
  359. grant execute on function DeepCopy (ST_Geometry) to public;
  360. grant execute on function DeepCopy (ST_Curve) to public;
  361. grant execute on function DeepCopy (ST_MultiCurve) to public;
  362. grant execute on function DeepCopy (ST_Surface) to public;
  363. grant execute on function DeepCopy (ST_MultiSurface) to public;
  364. grant execute on function DeepCopy (ST_Point) to public;
  365. grant execute on function DeepCopy (ST_MultiPoint) to public;
  366. grant execute on function DeepCopy (ST_LineString) to public;
  367. grant execute on function DeepCopy (ST_MultiLineString) to public;
  368. grant execute on function DeepCopy (ST_Polygon) to public;
  369. grant execute on function DeepCopy (ST_MultiPolygon) to public;
  370. grant execute on function DeepCopy (ST_GeomCollection) to public;
  371. create function Assign(SE_Metadata) returns SE_Metadata
  372. with (not variant)
  373. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataAssign)'
  374. language c;
  375. create function SE_MetadataPrep() returns SE_Metadata
  376. with (not variant)
  377. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MetadataPrep)'
  378. language c;
  379. grant execute on function Assign(SE_Metadata) to public;
  380. grant execute on function SE_MetadataPrep() to public;
  381. create function SE_MetadataInit() returns varchar(255)
  382. begin
  383. on exception in (-206) end exception with resume
  384. drop table SE_MetadataTable;
  385. end
  386. create table SE_MetadataTable (smd SE_Metadata);
  387. insert into SE_MetadataTable values (SE_MetadataPrep());
  388. revoke all on SE_MetadataTable from public;
  389. return 'OK';
  390. end function;
  391. execute function SE_MetadataInit();
  392. create function ST_GeomIn(lvarchar) returns ST_Geometry
  393. with (not variant)
  394. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomIn)'
  395. language c;
  396. create function ST_GeomOut(ST_Geometry) returns lvarchar
  397. with (not variant)
  398. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  399. language c;
  400. create function ST_GeomSend(ST_Geometry) returns sendrecv
  401. with (not variant)
  402. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  403. language c;
  404. create function ST_GeomRecv(sendrecv) returns ST_Geometry
  405. with (not variant)
  406. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomRecv)'
  407. language c;
  408. create function ST_GeomImpT(impexp) returns ST_Geometry
  409. with (not variant)
  410. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomIn)'
  411. language c;
  412. create function ST_GeomExpT(ST_Geometry) returns impexp
  413. with (not variant)
  414. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  415. language c;
  416. create function ST_GeomImpB(impexpbin) returns ST_Geometry
  417. with (not variant)
  418. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomRecv)'
  419. language c;
  420. create function ST_GeomExpB(ST_Geometry) returns impexpbin
  421. with (not variant)
  422. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  423. language c;
  424. create function Assign(ST_Geometry) returns ST_Geometry
  425. with (not variant)
  426. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  427. language c;
  428. create procedure Destroy(ST_Geometry)
  429. with (not variant)
  430. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  431. language c;
  432. create function LOhandles(ST_Geometry) returns lolist
  433. with (not variant)
  434. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  435. language c;
  436. create function SE_GeomFromSde(lvarchar,lvarchar,integer) returns ST_Geometry
  437. with (not variant, handlesnulls)
  438. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_GeomFromSde)'
  439. language c;
  440. create function SE_GeomFromShape(lvarchar,integer) returns ST_Geometry
  441. with (not variant)
  442. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_GeomFromShape)'
  443. language c;
  444. create function ST_GeomFromText(lvarchar,int) returns ST_Geometry
  445. with (not variant)
  446. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomFromText)'
  447. language c;
  448. create function ST_GeomFromWKB(lvarchar,integer) returns ST_Geometry
  449. with (not variant)
  450. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomFromWKB)'
  451. language c;
  452. create function SE_ShapeToSQL(lvarchar) returns ST_Geometry
  453. with (not variant)
  454. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ShapeToSQL)'
  455. language c;
  456. create function ST_WKTToSQL(lvarchar) returns ST_Geometry
  457. with (not variant)
  458. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_WKTToSQL)'
  459. language c;
  460. create function ST_WKBToSQL(lvarchar) returns ST_Geometry
  461. with (not variant)
  462. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_WKBToSQL)'
  463. language c;
  464. grant execute on function ST_GeomIn (lvarchar) to public;
  465. grant execute on function ST_GeomOut (ST_Geometry) to public;
  466. grant execute on function ST_GeomSend (ST_Geometry) to public;
  467. grant execute on function ST_GeomRecv (sendrecv) to public;
  468. grant execute on function ST_GeomImpT (impexp) to public;
  469. grant execute on function ST_GeomExpT (ST_Geometry) to public;
  470. grant execute on function ST_GeomImpB (impexpbin) to public;
  471. grant execute on function ST_GeomExpB (ST_Geometry) to public;
  472. grant execute on function Assign (ST_Geometry) to public;
  473. grant execute on procedure Destroy (ST_Geometry) to public;
  474. grant execute on function LOhandles (ST_Geometry) to public;
  475. grant execute on function SE_GeomFromSde (lvarchar,lvarchar,integer) to public;
  476. grant execute on function SE_GeomFromShape (lvarchar,integer) to public;
  477. grant execute on function ST_GeomFromText (lvarchar,integer) to public;
  478. grant execute on function ST_GeomFromWKB (lvarchar,integer) to public;
  479. grant execute on function SE_ShapeToSQL(lvarchar) to public;
  480. grant execute on function ST_WKTToSQL(lvarchar) to public;
  481. grant execute on function ST_WKBToSQL(lvarchar) to public;
  482. create implicit cast (lvarchar as ST_Geometry with ST_GeomIn);
  483. create explicit cast (ST_Geometry as lvarchar with ST_GeomOut);
  484. create explicit cast (ST_Geometry as sendrecv with ST_GeomSend);
  485. create implicit cast (sendrecv as ST_Geometry with ST_GeomRecv);
  486. create implicit cast (impexp as ST_Geometry with ST_GeomImpT);
  487. create explicit cast (ST_Geometry as impexp with ST_GeomExpT);
  488. create implicit cast (impexpbin as ST_Geometry with ST_GeomImpB);
  489. create explicit cast (ST_Geometry as impexpbin with ST_GeomExpB);
  490. create function ST_PointIn(lvarchar) returns ST_Point
  491. with (not variant)
  492. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointIn)'
  493. language c;
  494. create function ST_PointOut(ST_Point) returns lvarchar
  495. with (not variant)
  496. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  497. language c;
  498. create function ST_PointSend(ST_Point) returns sendrecv
  499. with (not variant)
  500. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  501. language c;
  502. create function ST_PointRecv(sendrecv) returns ST_Point
  503. with (not variant)
  504. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointRecv)'
  505. language c;
  506. create function ST_PointImpT(impexp) returns ST_Point
  507. with (not variant)
  508. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointIn)'
  509. language c;
  510. create function ST_PointExpT(ST_Point) returns impexp
  511. with (not variant)
  512. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  513. language c;
  514. create function ST_PointImpB(impexpbin) returns ST_Point
  515. with (not variant)
  516. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointRecv)'
  517. language c;
  518. create function ST_PointExpB(ST_Point) returns impexpbin
  519. with (not variant)
  520. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  521. language c;
  522. create function Assign(ST_Point) returns ST_Point
  523. with (not variant)
  524. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  525. language c;
  526. create procedure Destroy(ST_Point)
  527. with (not variant)
  528. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  529. language c;
  530. create function LOhandles(ST_Point) returns lolist
  531. with (not variant)
  532. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  533. language c;
  534. create function ST_Point(float,float,integer) returns ST_Point
  535. with (not variant)
  536. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointFromValues)'
  537. language c;
  538. create function SE_PointFromSde(lvarchar,lvarchar,integer) returns ST_Point
  539. with (not variant, handlesnulls)
  540. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_PointFromSde)'
  541. language c;
  542. create function SE_PointFromShape(lvarchar,integer) returns ST_Point
  543. with (not variant)
  544. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_PointFromShape)'
  545. language c;
  546. create function ST_PointFromText(lvarchar,integer) returns ST_Point
  547. with (not variant)
  548. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointFromText)'
  549. language c;
  550. create function ST_PointFromWKB(lvarchar,integer) returns ST_Point
  551. with (not variant)
  552. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointFromWKB)'
  553. language c;
  554. create function SE_M(ST_Point) returns float
  555. with (not variant, percall_cost=100)
  556. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_M)'
  557. language c;
  558. create function ST_X(ST_Point) returns float
  559. with (not variant, percall_cost=100)
  560. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_X)'
  561. language c;
  562. create function ST_Y(ST_Point) returns float
  563. with (not variant, percall_cost=100)
  564. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Y)'
  565. language c;
  566. create function SE_Z(ST_Point) returns float
  567. with (not variant, percall_cost=100)
  568. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Z)'
  569. language c;
  570. grant execute on function ST_PointIn (lvarchar) to public;
  571. grant execute on function ST_PointOut (ST_Point) to public;
  572. grant execute on function ST_PointSend (ST_Point) to public;
  573. grant execute on function ST_PointRecv (sendrecv) to public;
  574. grant execute on function ST_PointImpT (impexp) to public;
  575. grant execute on function ST_PointExpT (ST_Point) to public;
  576. grant execute on function ST_PointImpB (impexpbin) to public;
  577. grant execute on function ST_PointExpB (ST_Point) to public;
  578. grant execute on function Assign (ST_Point) to public;
  579. grant execute on procedure Destroy (ST_Point) to public;
  580. grant execute on function LOhandles (ST_Point) to public;
  581. grant execute on function ST_Point(float,float,integer) to public;
  582. grant execute on function SE_PointFromSde (lvarchar,lvarchar,integer) to public;
  583. grant execute on function SE_PointFromShape (lvarchar,integer) to public;
  584. grant execute on function ST_PointFromText (lvarchar,integer) to public;
  585. grant execute on function ST_PointFromWKB (lvarchar,integer) to public;
  586. grant execute on function SE_M (ST_Point) to public;
  587. grant execute on function ST_X (ST_Point) to public;
  588. grant execute on function ST_Y (ST_Point) to public;
  589. grant execute on function SE_Z (ST_Point) to public;
  590. create implicit cast (lvarchar as ST_Point with ST_PointIn);
  591. create explicit cast (ST_Point as lvarchar with ST_PointOut);
  592. create explicit cast (ST_Point as sendrecv with ST_PointSend);
  593. create implicit cast (sendrecv as ST_Point with ST_PointRecv);
  594. create implicit cast (impexp as ST_Point with ST_PointImpT);
  595. create explicit cast (ST_Point as impexp with ST_PointExpT);
  596. create implicit cast (impexpbin as ST_Point with ST_PointImpB);
  597. create explicit cast (ST_Point as impexpbin with ST_PointExpB);
  598. create function ST_PolyIn(lvarchar) returns ST_Polygon
  599. with (not variant)
  600. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyIn)'
  601. language c;
  602. create function ST_PolyOut(ST_Polygon) returns lvarchar
  603. with (not variant)
  604. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  605. language c;
  606. create function ST_PolySend(ST_Polygon) returns sendrecv
  607. with (not variant)
  608. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  609. language c;
  610. create function ST_PolyRecv(sendrecv) returns ST_Polygon
  611. with (not variant)
  612. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyRecv)'
  613. language c;
  614. create function ST_PolyImpT(impexp) returns ST_Polygon
  615. with (not variant)
  616. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyIn)'
  617. language c;
  618. create function ST_PolyExpT(ST_Polygon) returns impexp
  619. with (not variant)
  620. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  621. language c;
  622. create function ST_PolyImpB(impexpbin) returns ST_Polygon
  623. with (not variant)
  624. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyRecv)'
  625. language c;
  626. create function ST_PolyExpB(ST_Polygon) returns impexpbin
  627. with (not variant)
  628. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  629. language c;
  630. create function Assign(ST_Polygon) returns ST_Polygon
  631. with (not variant)
  632. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  633. language c;
  634. create procedure Destroy(ST_Polygon)
  635. with (not variant)
  636. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  637. language c;
  638. create function LOhandles(ST_Polygon) returns lolist
  639. with (not variant)
  640. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  641. language c;
  642. create function SE_PolyFromSde(lvarchar,lvarchar,integer) returns ST_Polygon
  643. with (not variant, handlesnulls)
  644. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_PolyFromSde)'
  645. language c;
  646. create function SE_PolyFromShape(lvarchar,integer) returns ST_Polygon
  647. with (not variant)
  648. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_PolyFromShape)'
  649. language c;
  650. create function ST_PolyFromText(lvarchar,integer) returns ST_Polygon
  651. with (not variant)
  652. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyFromText)'
  653. language c;
  654. create function ST_PolyFromWKB(lvarchar,integer) returns ST_Polygon
  655. with (not variant)
  656. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyFromWKB)'
  657. language c;
  658. create function ST_Polygon(ST_LineString) returns ST_Polygon
  659. with (not variant)
  660. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PolyFromLineString)'
  661. language c;
  662. create function ST_ExteriorRing(ST_Polygon) returns ST_LineString
  663. with (not variant)
  664. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_ExteriorRing)'
  665. language c;
  666. create function ST_InteriorRingN(ST_Polygon,integer) returns ST_LineString
  667. with (not variant)
  668. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_InteriorRingN)'
  669. language c;
  670. create function ST_NumInteriorRing(ST_Polygon) returns integer
  671. with (not variant)
  672. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_NumInteriorRing)'
  673. language c;
  674. grant execute on function ST_PolyIn (lvarchar) to public;
  675. grant execute on function ST_PolyOut (ST_Polygon) to public;
  676. grant execute on function ST_PolySend (ST_Polygon) to public;
  677. grant execute on function ST_PolyRecv (sendrecv) to public;
  678. grant execute on function ST_PolyImpT (impexp) to public;
  679. grant execute on function ST_PolyExpT (ST_Polygon) to public;
  680. grant execute on function ST_PolyImpB (impexpbin) to public;
  681. grant execute on function ST_PolyExpB (ST_Polygon) to public;
  682. grant execute on function Assign (ST_Polygon) to public;
  683. grant execute on procedure Destroy (ST_Polygon) to public;
  684. grant execute on function LOhandles (ST_Polygon) to public;
  685. grant execute on function SE_PolyFromSde (lvarchar,lvarchar,integer) to public;
  686. grant execute on function SE_PolyFromShape (lvarchar,integer) to public;
  687. grant execute on function ST_PolyFromText (lvarchar,integer) to public;
  688. grant execute on function ST_PolyFromWKB (lvarchar,integer) to public;
  689. grant execute on function ST_Polygon(ST_LineString) to public;
  690. grant execute on function ST_ExteriorRing (ST_Polygon) to public;
  691. grant execute on function ST_InteriorRingN (ST_Polygon,integer) to public;
  692. grant execute on function ST_NumInteriorRing (ST_Polygon) to public;
  693. create implicit cast (lvarchar as ST_Polygon with ST_PolyIn);
  694. create explicit cast (ST_Polygon as lvarchar with ST_PolyOut);
  695. create explicit cast (ST_Polygon as sendrecv with ST_PolySend);
  696. create implicit cast (sendrecv as ST_Polygon with ST_PolyRecv);
  697. create implicit cast (impexp as ST_Polygon with ST_PolyImpT);
  698. create explicit cast (ST_Polygon as impexp with ST_PolyExpT);
  699. create implicit cast (impexpbin as ST_Polygon with ST_PolyImpB);
  700. create explicit cast (ST_Polygon as impexpbin with ST_PolyExpB);
  701. create function ST_LineIn(lvarchar) returns ST_LineString
  702. with (not variant)
  703. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LineIn)'
  704. language c;
  705. create function ST_LineOut(ST_LineString) returns lvarchar
  706. with (not variant)
  707. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  708. language c;
  709. create function ST_LineSend(ST_LineString) returns sendrecv
  710. with (not variant)
  711. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  712. language c;
  713. create function ST_LineRecv(sendrecv) returns ST_LineString
  714. with (not variant)
  715. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LineRecv)'
  716. language c;
  717. create function ST_LineImpT(impexp) returns ST_LineString
  718. with (not variant)
  719. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LineIn)'
  720. language c;
  721. create function ST_LineExpT(ST_LineString) returns impexp
  722. with (not variant)
  723. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  724. language c;
  725. create function ST_LineImpB(impexpbin) returns ST_LineString
  726. with (not variant)
  727. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LineRecv)'
  728. language c;
  729. create function ST_LineExpB(ST_LineString) returns impexpbin
  730. with (not variant)
  731. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  732. language c;
  733. create function Assign(ST_LineString) returns ST_LineString
  734. with (not variant)
  735. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  736. language c;
  737. create procedure Destroy(ST_LineString)
  738. with (not variant)
  739. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  740. language c;
  741. create function LOhandles(ST_LineString) returns lolist
  742. with (not variant)
  743. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  744. language c;
  745. create function SE_LineFromSde(lvarchar,lvarchar,integer) returns ST_LineString
  746. with (not variant, handlesnulls)
  747. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_LineFromSde)'
  748. language c;
  749. create function SE_LineFromShape(lvarchar,integer) returns ST_LineString
  750. with (not variant)
  751. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_LineFromShape)'
  752. language c;
  753. create function ST_LineFromText(lvarchar,integer) returns ST_LineString
  754. with (not variant)
  755. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LineFromText)'
  756. language c;
  757. create function ST_LineFromWKB(lvarchar,integer) returns ST_LineString
  758. with (not variant)
  759. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LineFromWKB)'
  760. language c;
  761. create function ST_Length(ST_Curve) returns float
  762. with (not variant)
  763. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LengthCurve)'
  764. language c;
  765. create function ST_PointN(ST_LineString,integer) returns ST_Point
  766. with (not variant, percall_cost=50)
  767. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointN)'
  768. language c;
  769. create function SE_Midpoint(ST_LineString) returns ST_Point
  770. with (not variant, percall_cost=50)
  771. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Midpoint)'
  772. language c;
  773. grant execute on function ST_LineIn (lvarchar) to public;
  774. grant execute on function ST_LineOut (ST_LineString) to public;
  775. grant execute on function ST_LineSend (ST_LineString) to public;
  776. grant execute on function ST_LineRecv (sendrecv) to public;
  777. grant execute on function ST_LineImpT (impexp) to public;
  778. grant execute on function ST_LineExpT (ST_LineString) to public;
  779. grant execute on function ST_LineImpB (impexpbin) to public;
  780. grant execute on function ST_LineExpB (ST_LineString) to public;
  781. grant execute on function Assign (ST_LineString) to public;
  782. grant execute on procedure Destroy (ST_LineString) to public;
  783. grant execute on function LOhandles (ST_LineString) to public;
  784. grant execute on function SE_LineFromSde (lvarchar,lvarchar,integer) to public;
  785. grant execute on function SE_LineFromShape (lvarchar,integer) to public;
  786. grant execute on function ST_LineFromText (lvarchar,integer) to public;
  787. grant execute on function ST_LineFromWKB (lvarchar,integer) to public;
  788. grant execute on function ST_Length (ST_Curve) to public;
  789. grant execute on function ST_PointN (ST_LineString,integer) to public;
  790. grant execute on function SE_Midpoint (ST_LineString) to public;
  791. create implicit cast (lvarchar as ST_LineString with ST_LineIn);
  792. create explicit cast (ST_LineString as lvarchar with ST_LineOut);
  793. create explicit cast (ST_LineString as sendrecv with ST_LineSend);
  794. create implicit cast (sendrecv as ST_LineString with ST_LineRecv);
  795. create implicit cast (impexp as ST_LineString with ST_LineImpT);
  796. create explicit cast (ST_LineString as impexp with ST_LineExpT);
  797. create implicit cast (impexpbin as ST_LineString with ST_LineImpB);
  798. create explicit cast (ST_LineString as impexpbin with ST_LineExpB);
  799. create function ST_MLineIn(lvarchar) returns ST_MultiLineString
  800. with (not variant)
  801. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MLineIn)'
  802. language c;
  803. create function ST_MLineOut(ST_MultiLineString) returns lvarchar
  804. with (not variant)
  805. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  806. language c;
  807. create function ST_MLineSend(ST_MultiLineString) returns sendrecv
  808. with (not variant)
  809. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  810. language c;
  811. create function ST_MLineRecv(sendrecv) returns ST_MultiLineString
  812. with (not variant)
  813. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MLineRecv)'
  814. language c;
  815. create function ST_MLineImpT(impexp) returns ST_MultiLineString
  816. with (not variant)
  817. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MLineIn)'
  818. language c;
  819. create function ST_MLineExpT(ST_MultiLineString) returns impexp
  820. with (not variant)
  821. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  822. language c;
  823. create function ST_MLineImpB(impexpbin) returns ST_MultiLineString
  824. with (not variant)
  825. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MLineRecv)'
  826. language c;
  827. create function ST_MLineExpB(ST_MultiLineString) returns impexpbin
  828. with (not variant)
  829. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  830. language c;
  831. create function Assign(ST_MultiLineString) returns ST_MultiLineString
  832. with (not variant)
  833. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  834. language c;
  835. create procedure Destroy(ST_MultiLineString)
  836. with (not variant)
  837. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  838. language c;
  839. create function LOhandles(ST_MultiLineString) returns lolist
  840. with (not variant)
  841. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  842. language c;
  843. create function SE_MLineFromSde(lvarchar,lvarchar,integer) returns ST_MultiLineString
  844. with (not variant, handlesnulls)
  845. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MLineFromSde)'
  846. language c;
  847. create function SE_MLineFromShape(lvarchar,integer) returns ST_MultiLineString
  848. with (not variant)
  849. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MLineFromShape)'
  850. language c;
  851. create function ST_MLineFromText(lvarchar,integer) returns ST_MultiLineString
  852. with (not variant)
  853. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MLineFromText)'
  854. language c;
  855. create function ST_MLineFromWKB(lvarchar,integer) returns ST_MultiLineString
  856. with (not variant)
  857. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MLineFromWKB)'
  858. language c;
  859. create function ST_Length(ST_MultiCurve) returns float
  860. with (not variant)
  861. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_LengthMultiCurve)'
  862. language c;
  863. grant execute on function ST_MLineIn (lvarchar) to public;
  864. grant execute on function ST_MLineOut (ST_MultiLineString) to public;
  865. grant execute on function ST_MLineSend (ST_MultiLineString) to public;
  866. grant execute on function ST_MLineRecv (sendrecv) to public;
  867. grant execute on function ST_MLineImpT (impexp) to public;
  868. grant execute on function ST_MLineExpT (ST_MultiLineString) to public;
  869. grant execute on function ST_MLineImpB (impexpbin) to public;
  870. grant execute on function ST_MLineExpB (ST_MultiLineString) to public;
  871. grant execute on function Assign (ST_MultiLineString) to public;
  872. grant execute on procedure Destroy (ST_MultiLineString) to public;
  873. grant execute on function LOhandles (ST_MultiLineString) to public;
  874. grant execute on function SE_MLineFromSde (lvarchar,lvarchar,integer) to public;
  875. grant execute on function SE_MLineFromShape (lvarchar,integer) to public;
  876. grant execute on function ST_MLineFromText (lvarchar,integer) to public;
  877. grant execute on function ST_MLineFromWKB (lvarchar,integer) to public;
  878. grant execute on function ST_Length (ST_MultiCurve) to public;
  879. create implicit cast (lvarchar as ST_MultiLineString with ST_MLineIn);
  880. create explicit cast (ST_MultiLineString as lvarchar with ST_MLineOut);
  881. create explicit cast (ST_MultiLineString as sendrecv with ST_MLineSend);
  882. create implicit cast (sendrecv as ST_MultiLineString with ST_MLineRecv);
  883. create implicit cast (impexp as ST_MultiLineString with ST_MLineImpT);
  884. create explicit cast (ST_MultiLineString as impexp with ST_MLineExpT);
  885. create implicit cast (impexpbin as ST_MultiLineString with ST_MLineImpB);
  886. create explicit cast (ST_MultiLineString as impexpbin with ST_MLineExpB);
  887. create function ST_MPointIn(lvarchar) returns ST_MultiPoint
  888. with (not variant)
  889. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPointIn)'
  890. language c;
  891. create function ST_MPointOut(ST_MultiPoint) returns lvarchar
  892. with (not variant)
  893. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  894. language c;
  895. create function ST_MPointSend(ST_MultiPoint) returns sendrecv
  896. with (not variant)
  897. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  898. language c;
  899. create function ST_MPointRecv(sendrecv) returns ST_MultiPoint
  900. with (not variant)
  901. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPointRecv)'
  902. language c;
  903. create function ST_MPointImpT(impexp) returns ST_MultiPoint
  904. with (not variant)
  905. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPointIn)'
  906. language c;
  907. create function ST_MPointExpT(ST_MultiPoint) returns impexp
  908. with (not variant)
  909. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  910. language c;
  911. create function ST_MPointImpB(impexpbin) returns ST_MultiPoint
  912. with (not variant)
  913. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPointRecv)'
  914. language c;
  915. create function ST_MPointExpB(ST_MultiPoint) returns impexpbin
  916. with (not variant)
  917. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  918. language c;
  919. create function Assign(ST_MultiPoint) returns ST_MultiPoint
  920. with (not variant)
  921. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  922. language c;
  923. create procedure Destroy(ST_MultiPoint)
  924. with (not variant)
  925. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  926. language c;
  927. create function LOhandles(ST_MultiPoint) returns lolist
  928. with (not variant)
  929. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  930. language c;
  931. create function SE_MPointFromSde(lvarchar,lvarchar,integer) returns ST_MultiPoint
  932. with (not variant, handlesnulls)
  933. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MPointFromSde)'
  934. language c;
  935. create function SE_MPointFromShape(lvarchar,integer) returns ST_MultiPoint
  936. with (not variant)
  937. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MPointFromShape)'
  938. language c;
  939. create function ST_MPointFromText(lvarchar,integer) returns ST_MultiPoint
  940. with (not variant)
  941. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPointFromText)'
  942. language c;
  943. create function ST_MPointFromWKB(lvarchar,integer) returns ST_MultiPoint
  944. with (not variant)
  945. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPointFromWKB)'
  946. language c;
  947. grant execute on function ST_MPointIn (lvarchar) to public;
  948. grant execute on function ST_MPointOut (ST_MultiPoint) to public;
  949. grant execute on function ST_MPointSend (ST_MultiPoint) to public;
  950. grant execute on function ST_MPointRecv (sendrecv) to public;
  951. grant execute on function ST_MPointImpT (impexp) to public;
  952. grant execute on function ST_MPointExpT (ST_MultiPoint) to public;
  953. grant execute on function ST_MPointImpB (impexpbin) to public;
  954. grant execute on function ST_MPointExpB (ST_MultiPoint) to public;
  955. grant execute on function Assign (ST_MultiPoint) to public;
  956. grant execute on procedure Destroy (ST_MultiPoint) to public;
  957. grant execute on function LOhandles (ST_MultiPoint) to public;
  958. grant execute on function SE_MPointFromSde (lvarchar,lvarchar,integer) to public;
  959. grant execute on function SE_MPointFromShape (lvarchar,integer) to public;
  960. grant execute on function ST_MPointFromText (lvarchar,integer) to public;
  961. grant execute on function ST_MPointFromWKB (lvarchar,integer) to public;
  962. create implicit cast (lvarchar as ST_MultiPoint with ST_MPointIn);
  963. create explicit cast (ST_MultiPoint as lvarchar with ST_MPointOut);
  964. create explicit cast (ST_MultiPoint as sendrecv with ST_MPointSend);
  965. create implicit cast (sendrecv as ST_MultiPoint with ST_MPointRecv);
  966. create implicit cast (impexp as ST_MultiPoint with ST_MPointImpT);
  967. create explicit cast (ST_MultiPoint as impexp with ST_MPointExpT);
  968. create implicit cast (impexpbin as ST_MultiPoint with ST_MPointImpB);
  969. create explicit cast (ST_MultiPoint as impexpbin with ST_MPointExpB);
  970. create function ST_MPolyIn(lvarchar) returns ST_MultiPolygon
  971. with (not variant)
  972. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPolyIn)'
  973. language c;
  974. create function ST_MPolyOut(ST_MultiPolygon) returns lvarchar
  975. with (not variant)
  976. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  977. language c;
  978. create function ST_MPolySend(ST_MultiPolygon) returns sendrecv
  979. with (not variant)
  980. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  981. language c;
  982. create function ST_MPolyRecv(sendrecv) returns ST_MultiPolygon
  983. with (not variant)
  984. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPolyRecv)'
  985. language c;
  986. create function ST_MPolyImpT(impexp) returns ST_MultiPolygon
  987. with (not variant)
  988. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPolyIn)'
  989. language c;
  990. create function ST_MPolyExpT(ST_MultiPolygon) returns impexp
  991. with (not variant)
  992. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  993. language c;
  994. create function ST_MPolyImpB(impexpbin) returns ST_MultiPolygon
  995. with (not variant)
  996. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPolyRecv)'
  997. language c;
  998. create function ST_MPolyExpB(ST_MultiPolygon) returns impexpbin
  999. with (not variant)
  1000. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1001. language c;
  1002. create function Assign(ST_MultiPolygon) returns ST_MultiPolygon
  1003. with (not variant)
  1004. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  1005. language c;
  1006. create procedure Destroy(ST_MultiPolygon)
  1007. with (not variant)
  1008. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  1009. language c;
  1010. create function LOhandles(ST_MultiPolygon) returns lolist
  1011. with (not variant)
  1012. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  1013. language c;
  1014. create function SE_MPolyFromSde(lvarchar,lvarchar,integer) returns ST_MultiPolygon
  1015. with (not variant, handlesnulls)
  1016. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MPolyFromSde)'
  1017. language c;
  1018. create function SE_MPolyFromShape(lvarchar,integer) returns ST_MultiPolygon
  1019. with (not variant)
  1020. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_MPolyFromShape)'
  1021. language c;
  1022. create function ST_MPolyFromText(lvarchar,integer) returns ST_MultiPolygon
  1023. with (not variant)
  1024. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPolyFromText)'
  1025. language c;
  1026. create function ST_MPolyFromWKB(lvarchar,integer) returns ST_MultiPolygon
  1027. with (not variant)
  1028. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MPolyFromWKB)'
  1029. language c;
  1030. grant execute on function ST_MPolyIn (lvarchar) to public;
  1031. grant execute on function ST_MPolyOut (ST_MultiPolygon) to public;
  1032. grant execute on function ST_MPolySend (ST_MultiPolygon) to public;
  1033. grant execute on function ST_MPolyRecv (sendrecv) to public;
  1034. grant execute on function ST_MPolyImpT (impexp) to public;
  1035. grant execute on function ST_MPolyExpT (ST_MultiPolygon) to public;
  1036. grant execute on function ST_MPolyImpB (impexpbin) to public;
  1037. grant execute on function ST_MPolyExpB (ST_MultiPolygon) to public;
  1038. grant execute on function Assign (ST_MultiPolygon) to public;
  1039. grant execute on procedure Destroy (ST_MultiPolygon) to public;
  1040. grant execute on function LOhandles (ST_MultiPolygon) to public;
  1041. grant execute on function SE_MPolyFromSde (lvarchar,lvarchar,integer) to public;
  1042. grant execute on function SE_MPolyFromShape (lvarchar,integer) to public;
  1043. grant execute on function ST_MPolyFromText (lvarchar,integer) to public;
  1044. grant execute on function ST_MPolyFromWKB (lvarchar,integer) to public;
  1045. create implicit cast (lvarchar as ST_MultiPolygon with ST_MPolyIn);
  1046. create explicit cast (ST_MultiPolygon as lvarchar with ST_MPolyOut);
  1047. create explicit cast (ST_MultiPolygon as sendrecv with ST_MPolySend);
  1048. create implicit cast (sendrecv as ST_MultiPolygon with ST_MPolyRecv);
  1049. create implicit cast (impexp as ST_MultiPolygon with ST_MPolyImpT);
  1050. create explicit cast (ST_MultiPolygon as impexp with ST_MPolyExpT);
  1051. create implicit cast (impexpbin as ST_MultiPolygon with ST_MPolyImpB);
  1052. create explicit cast (ST_MultiPolygon as impexpbin with ST_MPolyExpB);
  1053. create function ST_SurfaceIn(lvarchar) returns ST_Surface
  1054. with (not variant)
  1055. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SurfaceIn)'
  1056. language c;
  1057. create function ST_SurfaceOut(ST_Surface) returns lvarchar
  1058. with (not variant)
  1059. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1060. language c;
  1061. create function ST_SurfaceSend(ST_Surface) returns sendrecv
  1062. with (not variant)
  1063. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1064. language c;
  1065. create function ST_SurfaceRecv(sendrecv) returns ST_Surface
  1066. with (not variant)
  1067. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SurfaceRecv)'
  1068. language c;
  1069. create function ST_SurfaceImpT(impexp) returns ST_Surface
  1070. with (not variant)
  1071. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SurfaceIn)'
  1072. language c;
  1073. create function ST_SurfaceExpT(ST_Surface) returns impexp
  1074. with (not variant)
  1075. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1076. language c;
  1077. create function ST_SurfaceImpB(impexpbin) returns ST_Surface
  1078. with (not variant)
  1079. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SurfaceRecv)'
  1080. language c;
  1081. create function ST_SurfaceExpB(ST_Surface) returns impexpbin
  1082. with (not variant)
  1083. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1084. language c;
  1085. create function Assign(ST_Surface) returns ST_Surface
  1086. with (not variant)
  1087. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  1088. language c;
  1089. create procedure Destroy(ST_Surface)
  1090. with (not variant)
  1091. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  1092. language c;
  1093. create function LOhandles(ST_Surface) returns lolist
  1094. with (not variant)
  1095. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  1096. language c;
  1097. create function ST_Area(ST_Surface) returns float
  1098. with (not variant)
  1099. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_AreaSurface)'
  1100. language c;
  1101. create function ST_Centroid(ST_Surface) returns ST_Point
  1102. with (not variant)
  1103. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CentroidSurface)'
  1104. language c;
  1105. create function ST_Perimeter(ST_Surface) returns float
  1106. with (not variant)
  1107. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PerimeterSurface)'
  1108. language c;
  1109. create function ST_PointOnSurface(ST_Surface) returns ST_Point
  1110. with (not variant)
  1111. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointOnSurface)'
  1112. language c;
  1113. grant execute on function ST_SurfaceIn (lvarchar) to public;
  1114. grant execute on function ST_SurfaceOut (ST_Surface) to public;
  1115. grant execute on function ST_SurfaceSend (ST_Surface) to public;
  1116. grant execute on function ST_SurfaceRecv (sendrecv) to public;
  1117. grant execute on function ST_SurfaceImpT (impexp) to public;
  1118. grant execute on function ST_SurfaceExpT (ST_Surface) to public;
  1119. grant execute on function ST_SurfaceImpB (impexpbin) to public;
  1120. grant execute on function ST_SurfaceExpB (ST_Surface) to public;
  1121. grant execute on function Assign (ST_Surface) to public;
  1122. grant execute on procedure Destroy (ST_Surface) to public;
  1123. grant execute on function LOhandles (ST_Surface) to public;
  1124. grant execute on function ST_Area (ST_Surface) to public;
  1125. grant execute on function ST_Centroid (ST_Surface) to public;
  1126. grant execute on function ST_Perimeter (ST_Surface) to public;
  1127. grant execute on function ST_PointOnSurface (ST_Surface) to public;
  1128. create implicit cast (lvarchar as ST_Surface with ST_SurfaceIn);
  1129. create explicit cast (ST_Surface as lvarchar with ST_SurfaceOut);
  1130. create explicit cast (ST_Surface as sendrecv with ST_SurfaceSend);
  1131. create implicit cast (sendrecv as ST_Surface with ST_SurfaceRecv);
  1132. create implicit cast (impexp as ST_Surface with ST_SurfaceImpT);
  1133. create explicit cast (ST_Surface as impexp with ST_SurfaceExpT);
  1134. create implicit cast (impexpbin as ST_Surface with ST_SurfaceImpB);
  1135. create explicit cast (ST_Surface as impexpbin with ST_SurfaceExpB);
  1136. create function ST_MSurfaceIn(lvarchar) returns ST_MultiSurface
  1137. with (not variant)
  1138. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MSurfaceIn)'
  1139. language c;
  1140. create function ST_MSurfaceOut(ST_MultiSurface) returns lvarchar
  1141. with (not variant)
  1142. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1143. language c;
  1144. create function ST_MSurfaceSend(ST_MultiSurface) returns sendrecv
  1145. with (not variant)
  1146. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1147. language c;
  1148. create function ST_MSurfaceRecv(sendrecv) returns ST_MultiSurface
  1149. with (not variant)
  1150. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MSurfaceRecv)'
  1151. language c;
  1152. create function ST_MSurfaceImpT(impexp) returns ST_MultiSurface
  1153. with (not variant)
  1154. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MSurfaceIn)'
  1155. language c;
  1156. create function ST_MSurfaceExpT(ST_MultiSurface) returns impexp
  1157. with (not variant)
  1158. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1159. language c;
  1160. create function ST_MSurfaceImpB(impexpbin) returns ST_MultiSurface
  1161. with (not variant)
  1162. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MSurfaceRecv)'
  1163. language c;
  1164. create function ST_MSurfaceExpB(ST_MultiSurface) returns impexpbin
  1165. with (not variant)
  1166. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1167. language c;
  1168. create function Assign(ST_MultiSurface) returns ST_MultiSurface
  1169. with (not variant)
  1170. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  1171. language c;
  1172. create procedure Destroy(ST_MultiSurface)
  1173. with (not variant)
  1174. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  1175. language c;
  1176. create function LOhandles(ST_MultiSurface) returns lolist
  1177. with (not variant)
  1178. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  1179. language c;
  1180. create function ST_Area(ST_MultiSurface) returns float
  1181. with (not variant)
  1182. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_AreaMultiSurface)'
  1183. language c;
  1184. create function ST_Centroid(ST_MultiSurface) returns ST_Point
  1185. with (not variant)
  1186. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CentroidMultiSurface)'
  1187. language c;
  1188. create function ST_Perimeter(ST_MultiSurface) returns float
  1189. with (not variant)
  1190. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PerimeterMultiSurface)'
  1191. language c;
  1192. create function ST_PointOnSurface(ST_MultiSurface) returns ST_Point
  1193. with (not variant)
  1194. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_PointOnMultiSurface)'
  1195. language c;
  1196. grant execute on function ST_MSurfaceIn (lvarchar) to public;
  1197. grant execute on function ST_MSurfaceOut (ST_MultiSurface) to public;
  1198. grant execute on function ST_MSurfaceSend (ST_MultiSurface) to public;
  1199. grant execute on function ST_MSurfaceRecv (sendrecv) to public;
  1200. grant execute on function ST_MSurfaceImpT (impexp) to public;
  1201. grant execute on function ST_MSurfaceExpT (ST_MultiSurface) to public;
  1202. grant execute on function ST_MSurfaceImpB (impexpbin) to public;
  1203. grant execute on function ST_MSurfaceExpB (ST_MultiSurface) to public;
  1204. grant execute on function Assign (ST_MultiSurface) to public;
  1205. grant execute on procedure Destroy (ST_MultiSurface) to public;
  1206. grant execute on function LOhandles (ST_MultiSurface) to public;
  1207. grant execute on function ST_Area (ST_MultiSurface) to public;
  1208. grant execute on function ST_Centroid (ST_MultiSurface) to public;
  1209. grant execute on function ST_Perimeter (ST_MultiSurface) to public;
  1210. grant execute on function ST_PointOnSurface (ST_MultiSurface) to public;
  1211. create implicit cast (lvarchar as ST_MultiSurface with ST_MSurfaceIn);
  1212. create explicit cast (ST_MultiSurface as lvarchar with ST_MSurfaceOut);
  1213. create explicit cast (ST_MultiSurface as sendrecv with ST_MSurfaceSend);
  1214. create implicit cast (sendrecv as ST_MultiSurface with ST_MSurfaceRecv);
  1215. create implicit cast (impexp as ST_MultiSurface with ST_MSurfaceImpT);
  1216. create explicit cast (ST_MultiSurface as impexp with ST_MSurfaceExpT);
  1217. create implicit cast (impexpbin as ST_MultiSurface with ST_MSurfaceImpB);
  1218. create explicit cast (ST_MultiSurface as impexpbin with ST_MSurfaceExpB);
  1219. create function ST_CurveIn(lvarchar) returns ST_Curve
  1220. with (not variant)
  1221. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CurveIn)'
  1222. language c;
  1223. create function ST_CurveOut(ST_Curve) returns lvarchar
  1224. with (not variant)
  1225. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1226. language c;
  1227. create function ST_CurveSend(ST_Curve) returns sendrecv
  1228. with (not variant)
  1229. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1230. language c;
  1231. create function ST_CurveRecv(sendrecv) returns ST_Curve
  1232. with (not variant)
  1233. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CurveRecv)'
  1234. language c;
  1235. create function ST_CurveImpT(impexp) returns ST_Curve
  1236. with (not variant)
  1237. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CurveIn)'
  1238. language c;
  1239. create function ST_CurveExpT(ST_Curve) returns impexp
  1240. with (not variant)
  1241. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1242. language c;
  1243. create function ST_CurveImpB(impexpbin) returns ST_Curve
  1244. with (not variant)
  1245. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CurveRecv)'
  1246. language c;
  1247. create function ST_CurveExpB(ST_Curve) returns impexpbin
  1248. with (not variant)
  1249. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1250. language c;
  1251. create function Assign(ST_Curve) returns ST_Curve
  1252. with (not variant)
  1253. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  1254. language c;
  1255. create procedure Destroy(ST_Curve)
  1256. with (not variant)
  1257. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  1258. language c;
  1259. create function LOhandles(ST_Curve) returns lolist
  1260. with (not variant)
  1261. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  1262. language c;
  1263. create function ST_EndPoint(ST_Curve) returns ST_Point
  1264. with (not variant, percall_cost=100)
  1265. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_EndPoint)'
  1266. language c;
  1267. create function ST_IsClosed(ST_Curve) returns boolean
  1268. with (not variant)
  1269. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IsClosedCurve)'
  1270. language c;
  1271. create function ST_IsRing(ST_Curve) returns boolean
  1272. with (not variant, percall_cost=200)
  1273. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IsRing)'
  1274. language c;
  1275. create function ST_StartPoint(ST_Curve) returns ST_Point
  1276. with (not variant, percall_cost=50)
  1277. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_StartPoint)'
  1278. language c;
  1279. grant execute on function ST_CurveIn (lvarchar) to public;
  1280. grant execute on function ST_CurveOut (ST_Curve) to public;
  1281. grant execute on function ST_CurveSend (ST_Curve) to public;
  1282. grant execute on function ST_CurveRecv (sendrecv) to public;
  1283. grant execute on function ST_CurveImpT (impexp) to public;
  1284. grant execute on function ST_CurveExpT (ST_Curve) to public;
  1285. grant execute on function ST_CurveImpB (impexpbin) to public;
  1286. grant execute on function ST_CurveExpB (ST_Curve) to public;
  1287. grant execute on function Assign (ST_Curve) to public;
  1288. grant execute on procedure Destroy (ST_Curve) to public;
  1289. grant execute on function LOhandles (ST_Curve) to public;
  1290. grant execute on function ST_EndPoint (ST_Curve) to public;
  1291. grant execute on function ST_IsClosed (ST_Curve) to public;
  1292. grant execute on function ST_IsRing (ST_Curve) to public;
  1293. grant execute on function ST_StartPoint (ST_Curve) to public;
  1294. create implicit cast (lvarchar as ST_Curve with ST_CurveIn);
  1295. create explicit cast (ST_Curve as lvarchar with ST_CurveOut);
  1296. create explicit cast (ST_Curve as sendrecv with ST_CurveSend);
  1297. create implicit cast (sendrecv as ST_Curve with ST_CurveRecv);
  1298. create implicit cast (impexp as ST_Curve with ST_CurveImpT);
  1299. create explicit cast (ST_Curve as impexp with ST_CurveExpT);
  1300. create implicit cast (impexpbin as ST_Curve with ST_CurveImpB);
  1301. create explicit cast (ST_Curve as impexpbin with ST_CurveExpB);
  1302. create function ST_MCurveIn(lvarchar) returns ST_MultiCurve
  1303. with (not variant)
  1304. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MCurveIn)'
  1305. language c;
  1306. create function ST_MCurveOut(ST_MultiCurve) returns lvarchar
  1307. with (not variant)
  1308. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1309. language c;
  1310. create function ST_MCurveSend(ST_MultiCurve) returns sendrecv
  1311. with (not variant)
  1312. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1313. language c;
  1314. create function ST_MCurveRecv(sendrecv) returns ST_MultiCurve
  1315. with (not variant)
  1316. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MCurveRecv)'
  1317. language c;
  1318. create function ST_MCurveImpT(impexp) returns ST_MultiCurve
  1319. with (not variant)
  1320. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MCurveIn)'
  1321. language c;
  1322. create function ST_MCurveExpT(ST_MultiCurve) returns impexp
  1323. with (not variant)
  1324. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1325. language c;
  1326. create function ST_MCurveImpB(impexpbin) returns ST_MultiCurve
  1327. with (not variant)
  1328. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_MCurveRecv)'
  1329. language c;
  1330. create function ST_MCurveExpB(ST_MultiCurve) returns impexpbin
  1331. with (not variant)
  1332. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1333. language c;
  1334. create function Assign(ST_MultiCurve) returns ST_MultiCurve
  1335. with (not variant)
  1336. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  1337. language c;
  1338. create procedure Destroy(ST_MultiCurve)
  1339. with (not variant)
  1340. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  1341. language c;
  1342. create function LOhandles(ST_MultiCurve) returns lolist
  1343. with (not variant)
  1344. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  1345. language c;
  1346. create function ST_IsClosed(ST_MultiCurve) returns boolean
  1347. with (not variant)
  1348. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IsClosedMultiCurve)'
  1349. language c;
  1350. grant execute on function ST_MCurveIn (lvarchar) to public;
  1351. grant execute on function ST_MCurveOut (ST_MultiCurve) to public;
  1352. grant execute on function ST_MCurveSend (ST_MultiCurve) to public;
  1353. grant execute on function ST_MCurveRecv (sendrecv) to public;
  1354. grant execute on function ST_MCurveImpT (impexp) to public;
  1355. grant execute on function ST_MCurveExpT (ST_MultiCurve) to public;
  1356. grant execute on function ST_MCurveImpB (impexpbin) to public;
  1357. grant execute on function ST_MCurveExpB (ST_MultiCurve) to public;
  1358. grant execute on function Assign (ST_MultiCurve) to public;
  1359. grant execute on procedure Destroy (ST_MultiCurve) to public;
  1360. grant execute on function LOhandles (ST_MultiCurve) to public;
  1361. grant execute on function ST_IsClosed (ST_MultiCurve) to public;
  1362. create implicit cast (lvarchar as ST_MultiCurve with ST_MCurveIn);
  1363. create explicit cast (ST_MultiCurve as lvarchar with ST_MCurveOut);
  1364. create explicit cast (ST_MultiCurve as sendrecv with ST_MCurveSend);
  1365. create implicit cast (sendrecv as ST_MultiCurve with ST_MCurveRecv);
  1366. create implicit cast (impexp as ST_MultiCurve with ST_MCurveImpT);
  1367. create explicit cast (ST_MultiCurve as impexp with ST_MCurveExpT);
  1368. create implicit cast (impexpbin as ST_MultiCurve with ST_MCurveImpB);
  1369. create explicit cast (ST_MultiCurve as impexpbin with ST_MCurveExpB);
  1370. create function ST_GeomCollIn(lvarchar) returns ST_GeomCollection
  1371. with (not variant)
  1372. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomCollIn)'
  1373. language c;
  1374. create function ST_GeomCollOut(ST_GeomCollection) returns lvarchar
  1375. with (not variant)
  1376. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1377. language c;
  1378. create function ST_GeomCollSend(ST_GeomCollection) returns sendrecv
  1379. with (not variant)
  1380. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1381. language c;
  1382. create function ST_GeomCollRecv(sendrecv) returns ST_GeomCollection
  1383. with (not variant)
  1384. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomCollRecv)'
  1385. language c;
  1386. create function ST_GeomCollImpT(impexp) returns ST_GeomCollection
  1387. with (not variant)
  1388. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomCollIn)'
  1389. language c;
  1390. create function ST_GeomCollExpT(ST_GeomCollection) returns impexp
  1391. with (not variant)
  1392. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryOut)'
  1393. language c;
  1394. create function ST_GeomCollImpB(impexpbin) returns ST_GeomCollection
  1395. with (not variant)
  1396. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeomCollRecv)'
  1397. language c;
  1398. create function ST_GeomCollExpB(ST_GeomCollection) returns impexpbin
  1399. with (not variant)
  1400. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometrySend)'
  1401. language c;
  1402. create function Assign(ST_GeomCollection) returns ST_GeomCollection
  1403. with (not variant)
  1404. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryAssign)'
  1405. language c;
  1406. create procedure Destroy(ST_GeomCollection)
  1407. with (not variant)
  1408. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryDestroy)'
  1409. language c;
  1410. create function LOhandles(ST_GeomCollection) returns lolist
  1411. with (not variant)
  1412. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryLOhandles)'
  1413. language c;
  1414. create function ST_NumGeometries(ST_GeomCollection) returns integer
  1415. with (not variant)
  1416. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_NumGeometries)'
  1417. language c;
  1418. create function ST_GeometryN(ST_GeomCollection,integer) returns ST_Geometry
  1419. with (not variant)
  1420. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeometryN)'
  1421. language c;
  1422. grant execute on function ST_GeomCollIn (lvarchar) to public;
  1423. grant execute on function ST_GeomCollOut (ST_GeomCollection) to public;
  1424. grant execute on function ST_GeomCollSend (ST_GeomCollection) to public;
  1425. grant execute on function ST_GeomCollRecv (sendrecv) to public;
  1426. grant execute on function ST_GeomCollImpT (impexp) to public;
  1427. grant execute on function ST_GeomCollExpT (ST_GeomCollection) to public;
  1428. grant execute on function ST_GeomCollImpB (impexpbin) to public;
  1429. grant execute on function ST_GeomCollExpB (ST_GeomCollection) to public;
  1430. grant execute on function Assign (ST_GeomCollection) to public;
  1431. grant execute on procedure Destroy (ST_GeomCollection) to public;
  1432. grant execute on function LOhandles (ST_GeomCollection) to public;
  1433. grant execute on function ST_NumGeometries (ST_GeomCollection) to public;
  1434. grant execute on function ST_GeometryN (ST_GeomCollection,integer) to public;
  1435. create implicit cast (lvarchar as ST_GeomCollection with ST_GeomCollIn);
  1436. create explicit cast (ST_GeomCollection as lvarchar with ST_GeomCollOut);
  1437. create explicit cast (ST_GeomCollection as sendrecv with ST_GeomCollSend);
  1438. create implicit cast (sendrecv as ST_GeomCollection with ST_GeomCollRecv);
  1439. create implicit cast (impexp as ST_GeomCollection with ST_GeomCollImpT);
  1440. create explicit cast (ST_GeomCollection as impexp with ST_GeomCollExpT);
  1441. create implicit cast (impexpbin as ST_GeomCollection with ST_GeomCollImpB);
  1442. create explicit cast (ST_GeomCollection as impexpbin with ST_GeomCollExpB);
  1443. create function Compare(ST_Geometry,ST_Geometry) returns int
  1444. with (not variant)
  1445. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryCompare)'
  1446. language c;
  1447. create function NotEqual(ST_Geometry,ST_Geometry) returns boolean
  1448. with (not variant)
  1449. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryNotEqual)'
  1450. language c;
  1451. create function SE_Anno_Text(ST_Geometry) returns lvarchar
  1452. with (not variant)
  1453. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Anno_Text)'
  1454. language c;
  1455. create function SE_Area(ST_Geometry) returns float
  1456. with (not variant)
  1457. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Area)'
  1458. language c;
  1459. create function ST_AsBinary(ST_Geometry) returns ST_Geometry
  1460. with (not variant)
  1461. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsBinaryIDS)'
  1462. language c;
  1463. create function ST_AsText(ST_Geometry) returns ST_Geometry
  1464. with (not variant)
  1465. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsTextIDS)'
  1466. language c;
  1467. create function SE_AsShape(ST_Geometry) returns ST_Geometry
  1468. with (not variant)
  1469. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsShapeIDS)'
  1470. language c;
  1471. create function SE_AsSde(ST_Geometry) returns ST_Geometry
  1472. with (not variant)
  1473. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsSdeIDS)'
  1474. language c;
  1475. create function ST_Boundary(ST_Geometry) returns ST_Geometry
  1476. with (not variant)
  1477. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Boundary)'
  1478. language c;
  1479. create function ST_Buffer(ST_Geometry,float) returns ST_Geometry
  1480. with (not variant, percall_cost=8000)
  1481. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Buffer)'
  1482. language c;
  1483. create function ST_ConvexHull(ST_Geometry) returns ST_Geometry
  1484. with (not variant, percall_cost=1000)
  1485. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_ConvexHull)'
  1486. language c;
  1487. create function ST_CoordDim(ST_Geometry) returns int
  1488. with (not variant, percall_cost=10)
  1489. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CoordDim)'
  1490. language c;
  1491. create function ST_Difference(ST_Geometry,ST_Geometry) returns ST_Geometry
  1492. with (not variant, percall_cost=8000)
  1493. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Difference)'
  1494. language c;
  1495. create function ST_Dimension(ST_Geometry) returns int
  1496. with (not variant, percall_cost=10)
  1497. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Dimension)'
  1498. language c;
  1499. create function ST_Disjoint(ST_Geometry,ST_Geometry) returns boolean
  1500. with (not variant, percall_cost=1000)
  1501. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Disjoint)'
  1502. language c;
  1503. create function ST_Distance(ST_Geometry,ST_Geometry) returns float
  1504. with (not variant, percall_cost=300)
  1505. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Distance)'
  1506. language c;
  1507. create function ST_Envelope(ST_Geometry) returns ST_Geometry
  1508. with (not variant, percall_cost=50)
  1509. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Envelope)'
  1510. language c;
  1511. create function SE_Generalize(ST_Geometry,float) returns ST_Geometry
  1512. with (not variant)
  1513. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Generalize)'
  1514. language c;
  1515. create function ST_GeometryType(ST_Geometry) returns lvarchar
  1516. with (not variant)
  1517. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_GeometryType)'
  1518. language c;
  1519. create function ST_Intersection(ST_Geometry,ST_Geometry) returns ST_Geometry
  1520. with (not variant, percall_cost=8000)
  1521. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Intersection)'
  1522. language c;
  1523. create function SE_Is3D(ST_Geometry) returns boolean
  1524. with (not variant, percall_cost=10)
  1525. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Is3D)'
  1526. language c;
  1527. create function ST_IsEmpty(ST_Geometry) returns boolean
  1528. with (not variant, percall_cost=10)
  1529. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IsEmpty)'
  1530. language c;
  1531. create function SE_IsMeasured(ST_Geometry) returns boolean
  1532. with (not variant, percall_cost=10)
  1533. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_IsMeasured)'
  1534. language c;
  1535. create function ST_IsSimple(ST_Geometry) returns boolean
  1536. with (not variant, percall_cost=10)
  1537. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IsSimple)'
  1538. language c;
  1539. create function ST_IsValid(ST_Geometry) returns boolean
  1540. with (not variant, percall_cost=10)
  1541. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IsValid)'
  1542. language c;
  1543. create function SE_Length(ST_Geometry) returns float
  1544. with (not variant)
  1545. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Length)'
  1546. language c;
  1547. create function SE_LocateAlong(ST_Geometry,float) returns ST_Geometry
  1548. with (not variant, percall_cost=5000)
  1549. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_LocateAlong)'
  1550. language c;
  1551. create function SE_LocateBetween(ST_Geometry,float,float) returns ST_Geometry
  1552. with (not variant, percall_cost=500)
  1553. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_LocateBetween)'
  1554. language c;
  1555. create function SE_Mmax(ST_Geometry) returns float
  1556. with (not variant)
  1557. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Mmax)'
  1558. language c;
  1559. create function SE_Mmin(ST_Geometry) returns float
  1560. with (not variant)
  1561. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Mmin)'
  1562. language c;
  1563. create function ST_NumPoints(ST_Geometry) returns int
  1564. with (not variant, percall_cost=10)
  1565. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_NumPoints)'
  1566. language c;
  1567. create function ST_Relate(ST_Geometry,ST_Geometry,lvarchar) returns boolean
  1568. with (not variant)
  1569. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Relate)'
  1570. language c;
  1571. create function SE_SdeEntity(ST_Geometry) returns int
  1572. with (not variant)
  1573. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_SdeEntity)'
  1574. language c;
  1575. create function SE_SpatialKey(ST_Geometry) returns int8
  1576. with (not variant)
  1577. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_SpatialKey)'
  1578. language c;
  1579. create function ST_SRID(ST_Geometry) returns int
  1580. with (not variant, percall_cost=10)
  1581. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SRID)'
  1582. language c;
  1583. create function ST_SymDifference(ST_Geometry,ST_Geometry) returns ST_Geometry
  1584. with (not variant)
  1585. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SymDifference)'
  1586. language c;
  1587. create function ST_Union(ST_Geometry,ST_Geometry) returns ST_Geometry
  1588. with (not variant)
  1589. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Union)'
  1590. language c;
  1591. create function ST_Transform(ST_Geometry,int) returns ST_Geometry
  1592. with (not variant)
  1593. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Transform)'
  1594. language c;
  1595. create function SE_Xmax(ST_Geometry) returns float
  1596. with (not variant)
  1597. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Xmax)'
  1598. language c;
  1599. create function SE_Xmin(ST_Geometry) returns float
  1600. with (not variant)
  1601. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Xmin)'
  1602. language c;
  1603. create function SE_Ymax(ST_Geometry) returns float
  1604. with (not variant)
  1605. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Ymax)'
  1606. language c;
  1607. create function SE_Ymin(ST_Geometry) returns float
  1608. with (not variant)
  1609. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Ymin)'
  1610. language c;
  1611. create function SE_Zmax(ST_Geometry) returns float
  1612. with (not variant)
  1613. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Zmax)'
  1614. language c;
  1615. create function SE_Zmin(ST_Geometry) returns float
  1616. with (not variant)
  1617. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Zmin)'
  1618. language c;
  1619. grant execute on function Compare (ST_Geometry,ST_Geometry) to public;
  1620. grant execute on function NotEqual (ST_Geometry,ST_Geometry) to public;
  1621. grant execute on function SE_Anno_Text (ST_Geometry) to public;
  1622. grant execute on function SE_Area (ST_Geometry) to public;
  1623. grant execute on function ST_AsBinary (ST_Geometry) to public;
  1624. grant execute on function SE_AsShape (ST_Geometry) to public;
  1625. grant execute on function SE_AsSde (ST_Geometry) to public;
  1626. grant execute on function ST_AsText (ST_Geometry) to public;
  1627. grant execute on function ST_Boundary (ST_Geometry) to public;
  1628. grant execute on function ST_Buffer (ST_Geometry,float) to public;
  1629. grant execute on function ST_ConvexHull (ST_Geometry) to public;
  1630. grant execute on function ST_CoordDim (ST_Geometry) to public;
  1631. grant execute on function ST_Difference (ST_Geometry,ST_Geometry) to public;
  1632. grant execute on function ST_Dimension (ST_Geometry) to public;
  1633. grant execute on function ST_Disjoint (ST_Geometry,ST_Geometry) to public;
  1634. grant execute on function ST_Distance (ST_Geometry,ST_Geometry) to public;
  1635. grant execute on function ST_Envelope (ST_Geometry) to public;
  1636. grant execute on function SE_Generalize(ST_Geometry,float) to public;
  1637. grant execute on function ST_GeometryType (ST_Geometry) to public;
  1638. grant execute on function ST_Intersection (ST_Geometry,ST_Geometry) to public;
  1639. grant execute on function SE_Is3D (ST_Geometry) to public;
  1640. grant execute on function ST_IsEmpty (ST_Geometry) to public;
  1641. grant execute on function SE_IsMeasured (ST_Geometry) to public;
  1642. grant execute on function ST_IsSimple (ST_Geometry) to public;
  1643. grant execute on function ST_IsValid (ST_Geometry) to public;
  1644. grant execute on function SE_Length (ST_Geometry) to public;
  1645. grant execute on function SE_LocateAlong (ST_Geometry,float) to public;
  1646. grant execute on function SE_LocateBetween (ST_Geometry,float,float) to public;
  1647. grant execute on function SE_Mmax (ST_Geometry) to public;
  1648. grant execute on function SE_Mmin (ST_Geometry) to public;
  1649. grant execute on function ST_NumPoints (ST_Geometry) to public;
  1650. grant execute on function ST_Relate (ST_Geometry,ST_Geometry,lvarchar) to public;
  1651. grant execute on function SE_SdeEntity (ST_Geometry) to public;
  1652. grant execute on function SE_SpatialKey(ST_Geometry) to public;
  1653. grant execute on function ST_SRID (ST_Geometry) to public;
  1654. grant execute on function ST_SymDifference (ST_Geometry,ST_Geometry) to public;
  1655. grant execute on function ST_Union (ST_Geometry,ST_Geometry) to public;
  1656. grant execute on function ST_Transform (ST_Geometry,int) to public;
  1657. grant execute on function SE_Xmax (ST_Geometry) to public;
  1658. grant execute on function SE_Xmin (ST_Geometry) to public;
  1659. grant execute on function SE_Ymax (ST_Geometry) to public;
  1660. grant execute on function SE_Ymin (ST_Geometry) to public;
  1661. grant execute on function SE_Zmax (ST_Geometry) to public;
  1662. grant execute on function SE_Zmin (ST_Geometry) to public;
  1663. create implicit cast (ST_Curve as ST_Geometry);
  1664. create explicit cast (ST_Curve as ST_LineString);
  1665. create explicit cast (ST_Geometry as ST_Curve);
  1666. create explicit cast (ST_Geometry as ST_GeomCollection);
  1667. create explicit cast (ST_Geometry as ST_LineString);
  1668. create explicit cast (ST_Geometry as ST_MultiCurve);
  1669. create explicit cast (ST_Geometry as ST_MultiLineString);
  1670. create explicit cast (ST_Geometry as ST_MultiPoint);
  1671. create explicit cast (ST_Geometry as ST_MultiPolygon);
  1672. create explicit cast (ST_Geometry as ST_MultiSurface);
  1673. create explicit cast (ST_Geometry as ST_Point);
  1674. create explicit cast (ST_Geometry as ST_Polygon);
  1675. create explicit cast (ST_Geometry as ST_Surface);
  1676. create implicit cast (ST_GeomCollection as ST_Geometry);
  1677. create explicit cast (ST_GeomCollection as ST_MultiCurve);
  1678. create explicit cast (ST_GeomCollection as ST_MultiLineString);
  1679. create explicit cast (ST_GeomCollection as ST_MultiPoint);
  1680. create explicit cast (ST_GeomCollection as ST_MultiPolygon);
  1681. create explicit cast (ST_GeomCollection as ST_MultiSurface);
  1682. create implicit cast (ST_LineString as ST_Curve);
  1683. create implicit cast (ST_LineString as ST_Geometry);
  1684. create implicit cast (ST_MultiCurve as ST_Geometry);
  1685. create implicit cast (ST_MultiCurve as ST_GeomCollection);
  1686. create explicit cast (ST_MultiCurve as ST_MultiLineString);
  1687. create implicit cast (ST_MultiLineString as ST_Geometry);
  1688. create implicit cast (ST_MultiLineString as ST_GeomCollection);
  1689. create implicit cast (ST_MultiLineString as ST_MultiCurve);
  1690. create implicit cast (ST_MultiPoint as ST_Geometry);
  1691. create implicit cast (ST_MultiPoint as ST_GeomCollection);
  1692. create implicit cast (ST_MultiPolygon as ST_Geometry);
  1693. create implicit cast (ST_MultiPolygon as ST_GeomCollection);
  1694. create implicit cast (ST_MultiPolygon as ST_MultiSurface);
  1695. create implicit cast (ST_MultiSurface as ST_Geometry);
  1696. create implicit cast (ST_MultiSurface as ST_GeomCollection);
  1697. create explicit cast (ST_MultiSurface as ST_MultiPolygon);
  1698. create implicit cast (ST_Point as ST_Geometry);
  1699. create implicit cast (ST_Polygon as ST_Geometry);
  1700. create implicit cast (ST_Polygon as ST_Surface);
  1701. create implicit cast (ST_Surface as ST_Geometry);
  1702. create explicit cast (ST_Surface as ST_Polygon);
  1703. create function ST_Overlaps(ST_Geometry,ST_Geometry) returns boolean
  1704. with (not variant)
  1705. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Overlaps)'
  1706. language c;
  1707. create function ST_Equals(ST_Geometry,ST_Geometry) returns boolean
  1708. with (not variant)
  1709. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Equals)'
  1710. language c;
  1711. create function ST_Contains(ST_Geometry,ST_Geometry) returns boolean
  1712. with (not variant, commutator = ST_Within)
  1713. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Contains)'
  1714. language c;
  1715. create function ST_Within(ST_Geometry,ST_Geometry) returns boolean
  1716. with (not variant, commutator = ST_Contains)
  1717. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Within)'
  1718. language c;
  1719. create function SE_EnvelopesIntersect(ST_Geometry,ST_Geometry) returns boolean
  1720. with (not variant)
  1721. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_EnvelopesIntersect)'
  1722. language c;
  1723. create function ST_Touches(ST_Geometry,ST_Geometry) returns boolean
  1724. with (not variant, percall_cost=5000)
  1725. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Touches)'
  1726. language c;
  1727. create function ST_Crosses(ST_Geometry,ST_Geometry) returns boolean
  1728. with (not variant, percall_cost=1000)
  1729. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Crosses)'
  1730. language c;
  1731. create function ST_Intersects(ST_Geometry,ST_Geometry) returns boolean
  1732. with (not variant)
  1733. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_Intersects)'
  1734. language c;
  1735. create function ST_OrderingEquals(ST_Geometry,ST_Geometry) returns boolean
  1736. with (not variant)
  1737. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_OrderingEquals)'
  1738. language c;
  1739. create function SE_Nearest(ST_Geometry,ST_Geometry) returns boolean
  1740. with (not variant)
  1741. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_NearestStratFunc)'
  1742. language c;
  1743. create function SE_Nearest(ST_Geometry,ST_Geometry,int) returns float
  1744. with (not variant)
  1745. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Nearest)'
  1746. language c;
  1747. create function SE_NearestBBox(ST_Geometry,ST_Geometry) returns boolean
  1748. with (not variant)
  1749. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_NearestStratFunc)'
  1750. language c;
  1751. create function SE_NearestBbox(ST_Geometry,ST_Geometry,int) returns float
  1752. with (not variant)
  1753. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_NearestBBox)'
  1754. language c;
  1755. create function Equal(ST_Geometry,ST_Geometry) returns boolean
  1756. with (not variant)
  1757. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryEqual)'
  1758. language c;
  1759. create function rtUnion(ST_Geometry,ST_Geometry,ST_Geometry) returns integer
  1760. with (not variant)
  1761. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1762. language c;
  1763. create function rtUnion(ST_Curve,ST_Curve,ST_Curve) returns integer
  1764. with (not variant)
  1765. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1766. language c;
  1767. create function rtUnion(ST_GeomCollection,ST_GeomCollection,ST_GeomCollection) returns integer
  1768. with (not variant)
  1769. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1770. language c;
  1771. create function rtUnion(ST_LineString,ST_LineString,ST_LineString) returns integer
  1772. with (not variant)
  1773. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1774. language c;
  1775. create function rtUnion(ST_MultiCurve,ST_MultiCurve,ST_MultiCurve) returns integer
  1776. with (not variant)
  1777. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1778. language c;
  1779. create function rtUnion(ST_MultiLineString,ST_MultiLineString,ST_MultiLineString) returns integer
  1780. with (not variant)
  1781. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1782. language c;
  1783. create function rtUnion(ST_MultiPoint,ST_MultiPoint,ST_MultiPoint) returns integer
  1784. with (not variant)
  1785. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1786. language c;
  1787. create function rtUnion(ST_MultiPolygon,ST_MultiPolygon,ST_MultiPolygon) returns integer
  1788. with (not variant)
  1789. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1790. language c;
  1791. create function rtUnion(ST_MultiSurface,ST_MultiSurface,ST_MultiSurface) returns integer
  1792. with (not variant)
  1793. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1794. language c;
  1795. create function rtUnion(ST_Point,ST_Point,ST_Point) returns integer
  1796. with (not variant)
  1797. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1798. language c;
  1799. create function rtUnion(ST_Polygon,ST_Polygon,ST_Polygon) returns integer
  1800. with (not variant)
  1801. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1802. language c;
  1803. create function rtUnion(ST_Surface,ST_Surface,ST_Surface) returns integer
  1804. with (not variant)
  1805. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeUnion)'
  1806. language c;
  1807. create function rtSize(ST_Geometry,float) returns integer
  1808. with (not variant)
  1809. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeSize)'
  1810. language c;
  1811. create function rtInter(ST_Geometry,ST_Geometry,ST_Geometry) returns integer
  1812. with (not variant)
  1813. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeInter)'
  1814. language c;
  1815. create function rtSFCbits(ST_Geometry,pointer) returns integer
  1816. with (not variant)
  1817. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeSFCbits)'
  1818. language c;
  1819. create function rtObjLength(ST_Geometry,pointer) returns integer
  1820. with (not variant)
  1821. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeObjLength)'
  1822. language c;
  1823. create function rtSFCvalue(ST_Geometry,integer,pointer) returns integer
  1824. with (not variant)
  1825. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeSFCvalue)'
  1826. language c;
  1827. create function rtSetUnion(ST_Geometry,integer,pointer) returns integer
  1828. with (not variant)
  1829. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeSetUnion)'
  1830. language c;
  1831. create function rtreeInfo(ST_Geometry,pointer,pointer,pointer) returns integer
  1832. with (not variant)
  1833. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(RtreeInfo)'
  1834. language c;
  1835. grant execute on function ST_Overlaps(ST_Geometry,ST_Geometry) to public;
  1836. grant execute on function ST_Equals(ST_Geometry,ST_Geometry) to public;
  1837. grant execute on function ST_Contains(ST_Geometry,ST_Geometry) to public;
  1838. grant execute on function ST_Within(ST_Geometry,ST_Geometry) to public;
  1839. grant execute on function SE_EnvelopesIntersect(ST_Geometry,ST_Geometry) to public;
  1840. grant execute on function ST_Intersects(ST_Geometry,ST_Geometry) to public;
  1841. grant execute on function ST_Touches(ST_Geometry,ST_Geometry) to public;
  1842. grant execute on function ST_Crosses(ST_Geometry,ST_Geometry) to public;
  1843. grant execute on function ST_OrderingEquals (ST_Geometry,ST_Geometry) to public;
  1844. grant execute on function SE_Nearest(ST_Geometry,ST_Geometry) to public;
  1845. grant execute on function SE_Nearest(ST_Geometry,ST_Geometry,int) to public;
  1846. grant execute on function SE_NearestBBox(ST_Geometry,ST_Geometry) to public;
  1847. grant execute on function SE_NearestBBox(ST_Geometry,ST_Geometry,int) to public;
  1848. grant execute on function Equal(ST_Geometry,ST_Geometry) to public;
  1849. grant execute on function rtUnion(ST_Geometry,ST_Geometry,ST_Geometry) to public;
  1850. grant execute on function rtUnion(ST_Curve,ST_Curve,ST_Curve) to public;
  1851. grant execute on function rtUnion(ST_GeomCollection,ST_GeomCollection,ST_GeomCollection) to public;
  1852. grant execute on function rtUnion(ST_LineString,ST_LineString,ST_LineString) to public;
  1853. grant execute on function rtUnion(ST_MultiCurve,ST_MultiCurve,ST_MultiCurve) to public;
  1854. grant execute on function rtUnion(ST_MultiLineString,ST_MultiLineString,ST_MultiLineString) to public;
  1855. grant execute on function rtUnion(ST_MultiPoint,ST_MultiPoint,ST_MultiPoint) to public;
  1856. grant execute on function rtUnion(ST_MultiPolygon,ST_MultiPolygon,ST_MultiPolygon) to public;
  1857. grant execute on function rtUnion(ST_MultiSurface,ST_MultiSurface,ST_MultiSurface) to public;
  1858. grant execute on function rtUnion(ST_Point,ST_Point,ST_Point) to public;
  1859. grant execute on function rtUnion(ST_Polygon,ST_Polygon,ST_Polygon) to public;
  1860. grant execute on function rtUnion(ST_Surface,ST_Surface,ST_Surface) to public;
  1861. grant execute on function rtSize(ST_Geometry,float) to public;
  1862. grant execute on function rtInter(ST_Geometry,ST_Geometry,ST_Geometry) to public;
  1863. grant execute on function rtSFCbits(ST_Geometry,pointer) to public;
  1864. grant execute on function rtObjLength(ST_Geometry,pointer) to public;
  1865. grant execute on function rtSFCvalue(ST_Geometry,integer,pointer) to public;
  1866. grant execute on function rtSetUnion(ST_Geometry,integer,pointer) to public;
  1867. grant execute on function rtreeInfo(ST_Geometry,pointer,pointer,pointer) to public;
  1868. create opclass ST_Geometry_ops for rtree
  1869. strategies(ST_Overlaps,Equal,ST_Contains,ST_Within,SE_EnvelopesIntersect,ST_Intersects,ST_Touches,ST_Crosses,ST_OrderingEquals,SE_Nearest,SE_NearestBBox,ST_Equals)
  1870. support(rtUnion,rtSize,rtInter,rtSFCbits,rtObjLength,rtSFCvalue,rtSetUnion);
  1871. create function SE_Release() returns lvarchar
  1872. with (not variant)
  1873. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Release)'
  1874. language c;
  1875. create function SE_InitSRID(integer) returns boolean
  1876. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_InitSRID)'
  1877. language c;
  1878. create function SE_Trace(lvarchar,integer) returns lvarchar
  1879. with (not variant, handlesnulls)
  1880. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Trace)'
  1881. language c;
  1882. create function SE_Refcount(ST_Geometry) returns integer
  1883. with (not variant)
  1884. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Refcount)'
  1885. language c;
  1886. create function SE_Sbspace(ST_Geometry) returns lvarchar
  1887. with (not variant)
  1888. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Sbspace)'
  1889. language c;
  1890. create function SE_CreateSrid(float,float,float,float,varchar(64)) returns integer
  1891. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_CreateSrid)'
  1892. language c;
  1893. create function SE_CreateSrtext(int) returns lvarchar
  1894. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_CreateSrtext)'
  1895. language c;
  1896. create function SE_UdtMigrate(pointer) returns pointer
  1897. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_UdtMigrate)'
  1898. language c;
  1899. create function SE_InRowSize(ST_Geometry) returns integer
  1900. with (not variant)
  1901. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_InRowSize)'
  1902. language c;
  1903. create function SE_OutOfRowSize(ST_Geometry) returns integer
  1904. with (not variant)
  1905. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_OutOfRowSize)'
  1906. language c;
  1907. create function SE_TotalSize(ST_Geometry) returns integer
  1908. with (not variant)
  1909. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_TotalSize)'
  1910. language c;
  1911. grant execute on function SE_Release() to public;
  1912. grant execute on function SE_Trace(lvarchar,integer) to public;
  1913. grant execute on function SE_InitSRID(integer) to public;
  1914. grant execute on function SE_Refcount(ST_Geometry) to public;
  1915. grant execute on function SE_Sbspace(ST_Geometry) to public;
  1916. grant execute on function SE_CreateSrid(float,float,float,float,varchar(64)) to public;
  1917. grant execute on function SE_CreateSrtext(int) to public;
  1918. grant execute on function SE_InRowSize(ST_Geometry) to public;
  1919. grant execute on function SE_OutOfRowSize(ST_Geometry) to public;
  1920. grant execute on function SE_TotalSize(ST_Geometry) to public;
  1921. delete from informix.systraceclasses where name = 'SE_Trace';
  1922. insert into informix.systraceclasses(name) values ('SE_Trace');
  1923. create function SE_Instr (lvarchar,char) returns int
  1924. with (not variant)
  1925. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Instr)'
  1926. language c;
  1927. create function SE_StringCat (lvarchar,lvarchar) returns lvarchar
  1928. with (not variant)
  1929. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StringCat)'
  1930. language c;
  1931. create function SE_ToChar (float) returns lvarchar
  1932. with (not variant)
  1933. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ToChar)'
  1934. language c;
  1935. create function SE_ToNumber (lvarchar) returns float
  1936. with (not variant)
  1937. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ToNumber)'
  1938. language c;
  1939. create function SE_Rtrim (lvarchar,lvarchar) returns lvarchar
  1940. with (not variant)
  1941. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Rtrim)'
  1942. language c;
  1943. create function SE_Ltrim (lvarchar,lvarchar) returns lvarchar
  1944. with (not variant)
  1945. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Ltrim)'
  1946. language c;
  1947. create function SE_Lineage_Delete (lvarchar,int) returns lvarchar
  1948. with (not variant, handlesnulls)
  1949. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Lineage_Delete)'
  1950. language c;
  1951. create function SE_Lineage_Insert (lvarchar,int,char) returns lvarchar
  1952. with (not variant, handlesnulls)
  1953. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Lineage_Insert)'
  1954. language c;
  1955. create function SE_Lineage_Update (lvarchar,int,char) returns lvarchar
  1956. with (not variant, handlesnulls)
  1957. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Lineage_Update)'
  1958. language c;
  1959. create function SE_Lineage_Exists (lvarchar,int) returns boolean
  1960. with (not variant, handlesnulls)
  1961. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Lineage_Exists)'
  1962. language c;
  1963. grant execute on function SE_Instr (lvarchar,char) to public;
  1964. grant execute on function SE_StringCat (lvarchar,lvarchar) to public;
  1965. grant execute on function SE_ToChar (float) to public;
  1966. grant execute on function SE_ToNumber (lvarchar) to public;
  1967. grant execute on function SE_Rtrim (lvarchar,lvarchar) to public;
  1968. grant execute on function SE_Ltrim (lvarchar,lvarchar) to public;
  1969. grant execute on function SE_Lineage_Delete (lvarchar,int) to public;
  1970. grant execute on function SE_Lineage_Insert (lvarchar,int,char) to public;
  1971. grant execute on function SE_Lineage_Update (lvarchar,int,char) to public;
  1972. grant execute on function SE_Lineage_Exists (lvarchar,int) to public;
  1973. create function SE_Dissolve_Init(ST_Geometry) returns pointer
  1974. with (not variant,handlesnulls)
  1975. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Dissolve_Init)'
  1976. language c;
  1977. create function SE_Dissolve_Iter(pointer,St_Geometry) returns pointer
  1978. with (not variant)
  1979. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Dissolve_Iter)'
  1980. language c;
  1981. create function SE_Dissolve_Combine(pointer,pointer) returns pointer
  1982. with (not variant)
  1983. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Dissolve_Combine)'
  1984. language c;
  1985. create function SE_Dissolve_Final(pointer) returns ST_Geometry
  1986. with (not variant)
  1987. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_Dissolve_Final)'
  1988. language c;
  1989. create aggregate SE_Dissolve
  1990. with (init = SE_Dissolve_Init,
  1991. iter = SE_Dissolve_Iter,
  1992. combine = SE_Dissolve_Combine,
  1993. final = SE_Dissolve_Final);
  1994. grant execute on function SE_Dissolve_Init(ST_Geometry) to public;
  1995. grant execute on function SE_Dissolve_Iter(pointer,ST_Geometry) to public;
  1996. grant execute on function SE_Dissolve_Combine(pointer,pointer) to public;
  1997. grant execute on function SE_Dissolve_Final(pointer) to public;
  1998. CREATE PROCEDURE create_se_views()
  1999. DEFINE tab_exists INT;
  2000. SELECT count(*) INTO tab_exists FROM informix.systables
  2001. WHERE tabname='se_views';
  2002. IF (tab_exists = 0) THEN
  2003. CREATE TABLE se_views
  2004. (
  2005. view_name varchar(128) NOT NULL,
  2006. view_col varchar(128) NOT NULL,
  2007. real_tabname varchar(128) NOT NULL,
  2008. real_colname varchar(128) NOT NULL
  2009. );
  2010. END IF
  2011. END PROCEDURE;
  2012. EXECUTE PROCEDURE create_se_views();
  2013. DROP PROCEDURE create_se_views();
  2014. CREATE FUNCTION SE_BoundingBox (tab_name varchar(128),
  2015. col_name varchar(128)) RETURNS ST_Polygon
  2016. DEFINE idx_name varchar(128);
  2017. DEFINE type_name varchar(128);
  2018. DEFINE retval ST_Geometry;
  2019. DEFINE nrows integer;
  2020. DEFINE tab_type char(1);
  2021. DEFINE real_tab varchar(128);
  2022. DEFINE real_col varchar(128);
  2023. LET idx_name = NULL;
  2024. LET type_name = NULL;
  2025. LET retval = NULL;
  2026. LET nrows = 0;
  2027. LET real_tab = NULL;
  2028. LET real_col = NULL;
  2029. SELECT count(*) INTO nrows
  2030. FROM informix.systables st
  2031. WHERE st.tabname = tab_name;
  2032. IF (nrows = 0) THEN
  2033. RAISE EXCEPTION -206, 0, tab_name;
  2034. END IF
  2035. SELECT count(*) INTO nrows
  2036. FROM informix.systables st, informix.syscolumns sc
  2037. WHERE
  2038. st.tabname = tab_name AND
  2039. sc.tabid = st.tabid AND
  2040. sc.colname = col_name;
  2041. IF (nrows = 0) THEN
  2042. RAISE EXCEPTION -217, 0, col_name;
  2043. END IF
  2044. SELECT tabtype INTO tab_type FROM informix.systables
  2045. WHERE tabname = tab_name;
  2046. IF (tab_type = 'V') THEN
  2047. SELECT real_tabname, real_colname INTO real_tab, real_col
  2048. FROM se_views WHERE view_name = tab_name AND view_col = col_name;
  2049. IF (real_tab IS NULL) THEN
  2050. RAISE EXCEPTION -206, 0, tab_name;
  2051. END IF
  2052. IF (real_col IS NULL) THEN
  2053. RAISE EXCEPTION -217, 0, col_name;
  2054. END IF
  2055. ELSE
  2056. LET real_tab = tab_name;
  2057. LET real_col = col_name;
  2058. END IF
  2059. FOREACH
  2060. SELECT si.idxname, sx.name INTO idx_name, type_name
  2061. FROM informix.systables st, informix.syscolumns sc, informix.sysindices si, informix.sysams sa, informix.sysxtdtypes sx
  2062. WHERE
  2063. -- identify table with name <tab_name>
  2064. st.tabname = real_tab AND
  2065. -- identify column with name <col_name> on identified table
  2066. sc.tabid = st.tabid AND
  2067. sc.colname = real_col AND
  2068. -- identify rtree index on identified column
  2069. si.tabid = sc.tabid AND
  2070. si.indexkeys::lvarchar like sc.colno || ' [%]' AND
  2071. sa.am_id = si.amid AND
  2072. sa.am_name = 'rtree' AND
  2073. -- identify extended type of identified column
  2074. sx.extended_id = sc.extended_id
  2075. END FOREACH;
  2076. IF (idx_name IS NULL) THEN
  2077. RAISE EXCEPTION -319;
  2078. END IF
  2079. CALL ST_GeomIn(rtreeRootBB(idx_name, type_name)) RETURNING retval;
  2080. RETURN retval::ST_Polygon;
  2081. END FUNCTION;
  2082. GRANT EXECUTE ON FUNCTION SE_BoundingBox(varchar(128),varchar(128)) to public;
  2083. alter function ST_CurveIn(lvarchar) with (add parallelizable);
  2084. alter function ST_CurveOut(ST_Curve) with (add parallelizable);
  2085. alter function ST_CurveSend(ST_Curve) with (add parallelizable);
  2086. alter function ST_CurveRecv(sendrecv) with (add parallelizable);
  2087. alter function ST_CurveImpT(impexp) with (add parallelizable);
  2088. alter function ST_CurveExpT(ST_Curve) with (add parallelizable);
  2089. alter function ST_CurveImpB(impexpbin) with (add parallelizable);
  2090. alter function ST_CurveExpB(ST_Curve) with (add parallelizable);
  2091. alter function Assign(ST_Curve) with (add parallelizable);
  2092. alter procedure Destroy(ST_Curve) with (add parallelizable);
  2093. alter function LOhandles(ST_Curve) with (add parallelizable);
  2094. alter function ST_EndPoint(ST_Curve) with (add parallelizable);
  2095. alter function ST_IsClosed(ST_Curve) with (add parallelizable);
  2096. alter function ST_IsRing(ST_Curve) with (add parallelizable);
  2097. alter function ST_StartPoint(ST_Curve) with (add parallelizable);
  2098. alter function ST_CurveExpT(ST_Curve) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2099. alter function DeepCopy(ST_Geometry) with (add parallelizable);
  2100. alter function DeepCopy(ST_Curve) with (add parallelizable);
  2101. alter function DeepCopy(ST_MultiCurve) with (add parallelizable);
  2102. alter function DeepCopy(ST_Surface) with (add parallelizable);
  2103. alter function DeepCopy(ST_MultiSurface) with (add parallelizable);
  2104. alter function DeepCopy(ST_Point) with (add parallelizable);
  2105. alter function DeepCopy(ST_MultiPoint) with (add parallelizable);
  2106. alter function DeepCopy(ST_LineString) with (add parallelizable);
  2107. alter function DeepCopy(ST_MultiLineString) with (add parallelizable);
  2108. alter function DeepCopy(ST_Polygon) with (add parallelizable);
  2109. alter function DeepCopy(ST_MultiPolygon) with (add parallelizable);
  2110. alter function DeepCopy(ST_GeomCollection) with (add parallelizable);
  2111. alter function SE_Dissolve_Init(ST_Geometry) with (add parallelizable);
  2112. alter function SE_Dissolve_Iter(pointer,St_Geometry) with (add parallelizable);
  2113. alter function SE_Dissolve_Combine(pointer,pointer) with (add parallelizable);
  2114. alter function SE_Dissolve_Final(pointer) with (add parallelizable);
  2115. alter function ST_GeomCollIn(lvarchar) with (add parallelizable);
  2116. alter function ST_GeomCollOut(ST_GeomCollection) with (add parallelizable);
  2117. alter function ST_GeomCollSend(ST_GeomCollection) with (add parallelizable);
  2118. alter function ST_GeomCollRecv(sendrecv) with (add parallelizable);
  2119. alter function ST_GeomCollImpT(impexp) with (add parallelizable);
  2120. alter function ST_GeomCollExpT(ST_GeomCollection) with (add parallelizable);
  2121. alter function ST_GeomCollImpB(impexpbin) with (add parallelizable);
  2122. alter function ST_GeomCollExpB(ST_GeomCollection) with (add parallelizable);
  2123. alter function Assign(ST_GeomCollection) with (add parallelizable);
  2124. alter procedure Destroy(ST_GeomCollection) with (add parallelizable);
  2125. alter function LOhandles(ST_GeomCollection) with (add parallelizable);
  2126. alter function ST_NumGeometries(ST_GeomCollection) with (add parallelizable);
  2127. alter function ST_GeometryN(ST_GeomCollection,int) with (add parallelizable);
  2128. alter function ST_GeomCollExpT(ST_GeomCollection) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2129. alter function ST_GeomIn(lvarchar) with (add parallelizable);
  2130. alter function ST_GeomOut(ST_Geometry) with (add parallelizable);
  2131. alter function ST_GeomSend(ST_Geometry) with (add parallelizable);
  2132. alter function ST_GeomRecv(sendrecv) with (add parallelizable);
  2133. alter function ST_GeomImpT(impexp) with (add parallelizable);
  2134. alter function ST_GeomExpT(ST_Geometry) with (add parallelizable);
  2135. alter function ST_GeomImpB(impexpbin) with (add parallelizable);
  2136. alter function ST_GeomExpB(ST_Geometry) with (add parallelizable);
  2137. alter function Assign(ST_Geometry) with (add parallelizable);
  2138. alter procedure Destroy(ST_Geometry) with (add parallelizable);
  2139. alter function LOhandles(ST_Geometry) with (add parallelizable);
  2140. alter function SE_GeomFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2141. alter function SE_GeomFromShape(lvarchar,int) with (add parallelizable);
  2142. alter function ST_GeomFromText(lvarchar,int) with (add parallelizable);
  2143. alter function ST_GeomFromWKB(lvarchar,int) with (add parallelizable);
  2144. alter function SE_ShapeToSQL(lvarchar) with (add parallelizable);
  2145. alter function ST_WKTToSQL(lvarchar) with (add parallelizable);
  2146. alter function ST_WKBToSQL(lvarchar) with (add parallelizable);
  2147. alter function ST_GeomExpT(ST_Geometry) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2148. alter function Compare(ST_Geometry,ST_Geometry) with (add parallelizable);
  2149. alter function NotEqual(ST_Geometry,ST_Geometry) with (add parallelizable);
  2150. alter function SE_Anno_Text(ST_Geometry) with (add parallelizable);
  2151. alter function SE_Area(ST_Geometry) with (add parallelizable);
  2152. alter function ST_AsBinary(ST_Geometry) with (add parallelizable);
  2153. alter function ST_AsText(ST_Geometry) with (add parallelizable);
  2154. alter function SE_AsShape(ST_Geometry) with (add parallelizable);
  2155. alter function SE_AsSde(ST_Geometry) with (add parallelizable);
  2156. alter function ST_Boundary(ST_Geometry) with (add parallelizable);
  2157. alter function ST_Buffer(ST_Geometry,float) with (add parallelizable);
  2158. alter function ST_ConvexHull(ST_Geometry) with (add parallelizable);
  2159. alter function ST_CoordDim(ST_Geometry) with (add parallelizable);
  2160. alter function ST_Difference(ST_Geometry,ST_Geometry) with (add parallelizable);
  2161. alter function ST_Dimension(ST_Geometry) with (add parallelizable);
  2162. alter function ST_Disjoint(ST_Geometry,ST_Geometry) with (add parallelizable);
  2163. alter function ST_Distance(ST_Geometry,ST_Geometry) with (add parallelizable);
  2164. alter function ST_Envelope(ST_Geometry) with (add parallelizable);
  2165. alter function SE_Generalize(ST_Geometry,float) with (add parallelizable);
  2166. alter function ST_GeometryType(ST_Geometry) with (add parallelizable);
  2167. alter function ST_Intersection(ST_Geometry,ST_Geometry) with (add parallelizable);
  2168. alter function ST_AsBinary(ST_Geometry) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_AsBinary)');
  2169. alter function ST_AsText(ST_Geometry) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_AsText)');
  2170. alter function SE_AsShape(ST_Geometry) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsShape)');
  2171. alter function SE_AsSde(ST_Geometry) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsSde)');
  2172. alter function SE_Is3D(ST_Geometry) with (add parallelizable);
  2173. alter function ST_IsEmpty(ST_Geometry) with (add parallelizable);
  2174. alter function SE_IsMeasured(ST_Geometry) with (add parallelizable);
  2175. alter function ST_IsSimple(ST_Geometry) with (add parallelizable);
  2176. alter function ST_IsValid(ST_Geometry) with (add parallelizable);
  2177. alter function SE_Length(ST_Geometry) with (add parallelizable);
  2178. alter function SE_LocateAlong(ST_Geometry,float) with (add parallelizable);
  2179. alter function SE_LocateBetween(ST_Geometry,float,float) with (add parallelizable);
  2180. alter function SE_Mmax(ST_Geometry) with (add parallelizable);
  2181. alter function SE_Mmin(ST_Geometry) with (add parallelizable);
  2182. alter function ST_NumPoints(ST_Geometry) with (add parallelizable);
  2183. alter function ST_Relate(ST_Geometry,ST_Geometry,lvarchar) with (add parallelizable);
  2184. alter function SE_SdeEntity(ST_Geometry) with (add parallelizable);
  2185. alter function SE_SpatialKey(ST_Geometry) with (add parallelizable);
  2186. alter function ST_SRID(ST_Geometry) with (add parallelizable);
  2187. alter function ST_SymDifference(ST_Geometry,ST_Geometry) with (add parallelizable);
  2188. alter function ST_Union(ST_Geometry,ST_Geometry) with (add parallelizable);
  2189. alter function ST_Transform(ST_Geometry,int) with (add parallelizable);
  2190. alter function ST_Transform(ST_Geometry,int) with (add stack=90000);
  2191. alter function SE_Xmax(ST_Geometry) with (add parallelizable);
  2192. alter function SE_Xmin(ST_Geometry) with (add parallelizable);
  2193. alter function SE_Ymax(ST_Geometry) with (add parallelizable);
  2194. alter function SE_Ymin(ST_Geometry) with (add parallelizable);
  2195. alter function SE_Zmax(ST_Geometry) with (add parallelizable);
  2196. alter function SE_Zmin(ST_Geometry) with (add parallelizable);
  2197. alter function ST_LineIn(lvarchar) with (add parallelizable);
  2198. alter function ST_LineOut(ST_LineString) with (add parallelizable);
  2199. alter function ST_LineSend(ST_LineString) with (add parallelizable);
  2200. alter function ST_LineRecv(sendrecv) with (add parallelizable);
  2201. alter function ST_LineImpT(impexp) with (add parallelizable);
  2202. alter function ST_LineExpT(ST_LineString) with (add parallelizable);
  2203. alter function ST_LineImpB(impexpbin) with (add parallelizable);
  2204. alter function ST_LineExpB(ST_LineString) with (add parallelizable);
  2205. alter function Assign(ST_LineString) with (add parallelizable);
  2206. alter procedure Destroy(ST_LineString) with (add parallelizable);
  2207. alter function LOhandles(ST_LineString) with (add parallelizable);
  2208. alter function SE_LineFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2209. alter function SE_LineFromShape(lvarchar,int) with (add parallelizable);
  2210. alter function ST_LineFromText(lvarchar,int) with (add parallelizable);
  2211. alter function ST_LineFromWKB(lvarchar,int) with (add parallelizable);
  2212. alter function ST_Length(ST_Curve) with (add parallelizable);
  2213. alter function ST_PointN(ST_LineString,int) with (add parallelizable);
  2214. alter function SE_Midpoint(ST_LineString) with (add parallelizable);
  2215. alter function ST_LineExpT(ST_LineString) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2216. alter function ST_MCurveIn(lvarchar) with (add parallelizable);
  2217. alter function ST_MCurveOut(ST_MultiCurve) with (add parallelizable);
  2218. alter function ST_MCurveSend(ST_MultiCurve) with (add parallelizable);
  2219. alter function ST_MCurveRecv(sendrecv) with (add parallelizable);
  2220. alter function ST_MCurveImpT(impexp) with (add parallelizable);
  2221. alter function ST_MCurveExpT(ST_MultiCurve) with (add parallelizable);
  2222. alter function ST_MCurveImpB(impexpbin) with (add parallelizable);
  2223. alter function ST_MCurveExpB(ST_MultiCurve) with (add parallelizable);
  2224. alter function Assign(ST_MultiCurve) with (add parallelizable);
  2225. alter procedure Destroy(ST_MultiCurve) with (add parallelizable);
  2226. alter function LOhandles(ST_MultiCurve) with (add parallelizable);
  2227. alter function ST_IsClosed(ST_MultiCurve) with (add parallelizable);
  2228. alter function ST_MCurveExpT(ST_MultiCurve) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2229. alter function ST_MLineIn(lvarchar) with (add parallelizable);
  2230. alter function ST_MLineOut(ST_MultiLineString) with (add parallelizable);
  2231. alter function ST_MLineSend(ST_MultiLineString) with (add parallelizable);
  2232. alter function ST_MLineRecv(sendrecv) with (add parallelizable);
  2233. alter function ST_MLineImpT(impexp) with (add parallelizable);
  2234. alter function ST_MLineExpT(ST_MultiLineString) with (add parallelizable);
  2235. alter function ST_MLineImpB(impexpbin) with (add parallelizable);
  2236. alter function ST_MLineExpB(ST_MultiLineString) with (add parallelizable);
  2237. alter function Assign(ST_MultiLineString) with (add parallelizable);
  2238. alter procedure Destroy(ST_MultiLineString) with (add parallelizable);
  2239. alter function LOhandles(ST_MultiLineString) with (add parallelizable);
  2240. alter function SE_MLineFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2241. alter function SE_MLineFromShape(lvarchar,int) with (add parallelizable);
  2242. alter function ST_MLineFromText(lvarchar,int) with (add parallelizable);
  2243. alter function ST_MLineFromWKB(lvarchar,int) with (add parallelizable);
  2244. alter function ST_Length(ST_MultiCurve) with (add parallelizable);
  2245. alter function ST_MLineExpT(ST_MultiLineString) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2246. alter function ST_MPointIn(lvarchar) with (add parallelizable);
  2247. alter function ST_MPointOut(ST_MultiPoint) with (add parallelizable);
  2248. alter function ST_MPointSend(ST_MultiPoint) with (add parallelizable);
  2249. alter function ST_MPointRecv(sendrecv) with (add parallelizable);
  2250. alter function ST_MPointImpT(impexp) with (add parallelizable);
  2251. alter function ST_MPointExpT(ST_MultiPoint) with (add parallelizable);
  2252. alter function ST_MPointImpB(impexpbin) with (add parallelizable);
  2253. alter function ST_MPointExpB(ST_MultiPoint) with (add parallelizable);
  2254. alter function Assign(ST_MultiPoint) with (add parallelizable);
  2255. alter procedure Destroy(ST_MultiPoint) with (add parallelizable);
  2256. alter function LOhandles(ST_MultiPoint) with (add parallelizable);
  2257. alter function SE_MPointFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2258. alter function SE_MPointFromShape(lvarchar,integer) with (add parallelizable);
  2259. alter function ST_MPointFromText(lvarchar,integer) with (add parallelizable);
  2260. alter function ST_MPointFromWKB(lvarchar,integer) with (add parallelizable);
  2261. alter function ST_MPointExpT(ST_MultiPoint) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2262. alter function ST_MPolyIn(lvarchar) with (add parallelizable);
  2263. alter function ST_MPolyOut(ST_MultiPolygon) with (add parallelizable);
  2264. alter function ST_MPolySend(ST_MultiPolygon) with (add parallelizable);
  2265. alter function ST_MPolyRecv(sendrecv) with (add parallelizable);
  2266. alter function ST_MPolyImpT(impexp) with (add parallelizable);
  2267. alter function ST_MPolyExpT(ST_MultiPolygon) with (add parallelizable);
  2268. alter function ST_MPolyImpB(impexpbin) with (add parallelizable);
  2269. alter function ST_MPolyExpB(ST_MultiPolygon) with (add parallelizable);
  2270. alter function Assign(ST_MultiPolygon) with (add parallelizable);
  2271. alter procedure Destroy(ST_MultiPolygon) with (add parallelizable);
  2272. alter function LOhandles(ST_MultiPolygon) with (add parallelizable);
  2273. alter function SE_MPolyFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2274. alter function SE_MPolyFromShape(lvarchar,int) with (add parallelizable);
  2275. alter function ST_MPolyFromText(lvarchar,int) with (add parallelizable);
  2276. alter function ST_MPolyFromWKB(lvarchar,int) with (add parallelizable);
  2277. alter function ST_MPolyExpT(ST_MultiPolygon) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2278. alter function ST_MSurfaceIn(lvarchar) with (add parallelizable);
  2279. alter function ST_MSurfaceOut(ST_MultiSurface) with (add parallelizable);
  2280. alter function ST_MSurfaceSend(ST_MultiSurface) with (add parallelizable);
  2281. alter function ST_MSurfaceRecv(sendrecv) with (add parallelizable);
  2282. alter function ST_MSurfaceImpT(impexp) with (add parallelizable);
  2283. alter function ST_MSurfaceExpT(ST_MultiSurface) with (add parallelizable);
  2284. alter function ST_MSurfaceImpB(impexpbin) with (add parallelizable);
  2285. alter function ST_MSurfaceExpB(ST_MultiSurface) with (add parallelizable);
  2286. alter function Assign(ST_MultiSurface) with (add parallelizable);
  2287. alter procedure Destroy(ST_MultiSurface) with (add parallelizable);
  2288. alter function LOhandles(ST_MultiSurface) with (add parallelizable);
  2289. alter function ST_Area(ST_MultiSurface) with (add parallelizable);
  2290. alter function ST_Centroid(ST_MultiSurface) with (add parallelizable);
  2291. alter function ST_Perimeter(ST_MultiSurface) with (add parallelizable);
  2292. alter function ST_PointOnSurface(ST_MultiSurface) with (add parallelizable);
  2293. alter function ST_MSurfaceExpT(ST_MultiSurface) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2294. alter function ST_Overlaps(ST_Geometry,ST_Geometry) with (add parallelizable);
  2295. alter function ST_Equals(ST_Geometry,ST_Geometry) with (add parallelizable);
  2296. alter function ST_Contains(ST_Geometry,ST_Geometry) with (add parallelizable);
  2297. alter function ST_Within(ST_Geometry,ST_Geometry) with (add parallelizable);
  2298. alter function SE_EnvelopesIntersect(ST_Geometry,ST_Geometry) with (add parallelizable);
  2299. alter function ST_Touches(ST_Geometry,ST_Geometry) with (add parallelizable);
  2300. alter function ST_Crosses(ST_Geometry,ST_Geometry) with (add parallelizable);
  2301. alter function ST_Intersects(ST_Geometry,ST_Geometry) with (add parallelizable);
  2302. alter function ST_OrderingEquals(ST_Geometry,ST_Geometry) with (add parallelizable);
  2303. alter function SE_Nearest(ST_Geometry,ST_Geometry) with (add parallelizable);
  2304. alter function SE_Nearest(ST_Geometry,ST_Geometry,int) with (add parallelizable);
  2305. alter function SE_NearestBBox(ST_Geometry,ST_Geometry) with (add parallelizable);
  2306. alter function SE_NearestBbox(ST_Geometry,ST_Geometry,int) with (add parallelizable);
  2307. alter function Equal(ST_Geometry,ST_Geometry) with (add parallelizable);
  2308. alter function rtUnion(ST_Geometry,ST_Geometry,ST_Geometry) with (add parallelizable);
  2309. alter function rtUnion(ST_Curve,ST_Curve,ST_Curve) with (add parallelizable);
  2310. alter function rtUnion(ST_GeomCollection,ST_GeomCollection,ST_GeomCollection) with (add parallelizable);
  2311. alter function rtUnion(ST_LineString,ST_LineString,ST_LineString) with (add parallelizable);
  2312. alter function rtUnion(ST_MultiCurve,ST_MultiCurve,ST_MultiCurve) with (add parallelizable);
  2313. alter function rtUnion(ST_MultiLineString,ST_MultiLineString,ST_MultiLineString) with (add parallelizable);
  2314. alter function rtUnion(ST_MultiPoint,ST_MultiPoint,ST_MultiPoint) with (add parallelizable);
  2315. alter function rtUnion(ST_MultiPolygon,ST_MultiPolygon,ST_MultiPolygon) with (add parallelizable);
  2316. alter function rtUnion(ST_MultiSurface,ST_MultiSurface,ST_MultiSurface) with (add parallelizable);
  2317. alter function rtUnion(ST_Point,ST_Point,ST_Point) with (add parallelizable);
  2318. alter function rtUnion(ST_Polygon,ST_Polygon,ST_Polygon) with (add parallelizable);
  2319. alter function rtUnion(ST_Surface,ST_Surface,ST_Surface) with (add parallelizable);
  2320. alter function rtSize(ST_Geometry,float) with (add parallelizable);
  2321. alter function rtInter(ST_Geometry,ST_Geometry,ST_Geometry) with (add parallelizable);
  2322. alter function rtSFCbits(ST_Geometry,pointer) with (add parallelizable);
  2323. alter function rtObjLength(ST_Geometry,pointer) with (add parallelizable);
  2324. alter function rtSFCvalue(ST_Geometry,int,pointer) with (add parallelizable);
  2325. alter function rtSetUnion(ST_Geometry,int,pointer) with (add parallelizable);
  2326. alter function rtreeInfo(ST_Geometry,pointer,pointer,pointer) with (add parallelizable);
  2327. alter function ST_PointIn(lvarchar) with (add parallelizable);
  2328. alter function ST_PointOut(ST_Point) with (add parallelizable);
  2329. alter function ST_PointSend(ST_Point) with (add parallelizable);
  2330. alter function ST_PointRecv(sendrecv) with (add parallelizable);
  2331. alter function ST_PointImpT(impexp) with (add parallelizable);
  2332. alter function ST_PointExpT(ST_Point) with (add parallelizable);
  2333. alter function ST_PointImpB(impexpbin) with (add parallelizable);
  2334. alter function ST_PointExpB(ST_Point) with (add parallelizable);
  2335. alter function Assign(ST_Point) with (add parallelizable);
  2336. alter procedure Destroy(ST_Point) with (add parallelizable);
  2337. alter function LOhandles(ST_Point) with (add parallelizable);
  2338. alter function ST_Point(float,float,integer) with (add parallelizable);
  2339. alter function SE_PointFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2340. alter function SE_PointFromShape(lvarchar,integer) with (add parallelizable);
  2341. alter function ST_PointFromText(lvarchar,integer) with (add parallelizable);
  2342. alter function ST_PointFromWKB(lvarchar,integer) with (add parallelizable);
  2343. alter function SE_M(ST_Point) with (add parallelizable);
  2344. alter function ST_X(ST_Point) with (add parallelizable);
  2345. alter function ST_Y(ST_Point) with (add parallelizable);
  2346. alter function SE_Z(ST_Point) with (add parallelizable);
  2347. alter function ST_PointExpT(ST_Point) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2348. alter function ST_PolyIn(lvarchar) with (add parallelizable);
  2349. alter function ST_PolyOut(ST_Polygon) with (add parallelizable);
  2350. alter function ST_PolySend(ST_Polygon) with (add parallelizable);
  2351. alter function ST_PolyRecv(sendrecv) with (add parallelizable);
  2352. alter function ST_PolyImpT(impexp) with (add parallelizable);
  2353. alter function ST_PolyExpT(ST_Polygon) with (add parallelizable);
  2354. alter function ST_PolyImpB(impexpbin) with (add parallelizable);
  2355. alter function ST_PolyExpB(ST_Polygon) with (add parallelizable);
  2356. alter function Assign(ST_Polygon) with (add parallelizable);
  2357. alter procedure Destroy(ST_Polygon) with (add parallelizable);
  2358. alter function LOhandles(ST_Polygon) with (add parallelizable);
  2359. alter function SE_PolyFromSde(lvarchar,lvarchar,int) with (add parallelizable);
  2360. alter function SE_PolyFromShape(lvarchar,int) with (add parallelizable);
  2361. alter function ST_PolyFromText(lvarchar,int) with (add parallelizable);
  2362. alter function ST_PolyFromWKB(lvarchar,int) with (add parallelizable);
  2363. alter function ST_Polygon(ST_LineString) with (add parallelizable);
  2364. alter function ST_ExteriorRing(ST_Polygon) with (add parallelizable);
  2365. alter function ST_InteriorRingN(ST_Polygon,int) with (add parallelizable);
  2366. alter function ST_NumInteriorRing(ST_Polygon) with (add parallelizable);
  2367. alter function ST_PolyExpT(ST_Polygon) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2368. alter function ST_SurfaceIn(lvarchar) with (add parallelizable);
  2369. alter function ST_SurfaceOut(ST_Surface) with (add parallelizable);
  2370. alter function ST_SurfaceSend(ST_Surface) with (add parallelizable);
  2371. alter function ST_SurfaceRecv(sendrecv) with (add parallelizable);
  2372. alter function ST_SurfaceImpT(impexp) with (add parallelizable);
  2373. alter function ST_SurfaceExpT(ST_Surface) with (add parallelizable);
  2374. alter function ST_SurfaceImpB(impexpbin) with (add parallelizable);
  2375. alter function ST_SurfaceExpB(ST_Surface) with (add parallelizable);
  2376. alter function Assign(ST_Surface) with (add parallelizable);
  2377. alter procedure Destroy(ST_Surface) with (add parallelizable);
  2378. alter function LOhandles(ST_Surface) with (add parallelizable);
  2379. alter function ST_Area(ST_Surface) with (add parallelizable);
  2380. alter function ST_Centroid(ST_Surface) with (add parallelizable);
  2381. alter function ST_Perimeter(ST_Surface) with (add parallelizable);
  2382. alter function ST_PointOnSurface(ST_Surface) with (add parallelizable);
  2383. alter function ST_SurfaceExpT(ST_Surface) with (modify external name='$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryExport)');
  2384. create function SE_AsKML(ST_Geometry) returns lvarchar
  2385. with (not variant, parallelizable)
  2386. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsKML)'
  2387. language c;
  2388. grant execute on function SE_AsKML(ST_Geometry) to public;
  2389. create function SE_AsGML(ST_Geometry) returns ST_Geometry
  2390. with (not variant, parallelizable)
  2391. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_AsGML)'
  2392. language c;
  2393. grant execute on function SE_AsGML(ST_Geometry) to public;
  2394. create function SE_VertexUpdate(ST_Geometry,ST_Point,ST_Point) returns ST_Geometry
  2395. with (not variant, parallelizable)
  2396. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_VertexUpdate)'
  2397. language c;
  2398. create function SE_VertexAppend(ST_LineString,ST_Point) returns ST_LineString
  2399. with (not variant, parallelizable)
  2400. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_VertexAppend)'
  2401. language c;
  2402. create function SE_VertexDelete(ST_Geometry,ST_Point) returns ST_Geometry
  2403. with (not variant, parallelizable)
  2404. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_VertexDelete)'
  2405. language c;
  2406. create function SE_PerpendicularPoint(ST_Linestring,ST_Point) returns ST_MultiPoint
  2407. with (not variant, parallelizable)
  2408. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_PerpendicularPoint)'
  2409. language c;
  2410. create function SE_PerpendicularPoint(ST_MultiLinestring,ST_Point) returns ST_MultiPoint
  2411. with (not variant, parallelizable)
  2412. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_PerpendicularPoint)'
  2413. language c;
  2414. grant execute on function SE_VertexUpdate(ST_Geometry,ST_Point,ST_Point) to public;
  2415. grant execute on function SE_VertexAppend(ST_LineString,ST_Point) to public;
  2416. grant execute on function SE_VertexDelete(ST_Geometry,ST_Point) to public;
  2417. grant execute on function SE_PerpendicularPoint(ST_Linestring,ST_Point) to public;
  2418. grant execute on function SE_PerpendicularPoint(ST_MultiLinestring,ST_Point) to public;
  2419. create function statcollect(ST_Geometry,float,float) returns stat
  2420. with (not variant, handlesnulls)
  2421. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2422. language c;
  2423. create function statcollect(ST_Curve,float,float) returns stat
  2424. with (not variant, handlesnulls)
  2425. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2426. language c;
  2427. create function statcollect(ST_GeomCollection,float,float) returns stat
  2428. with (not variant, handlesnulls)
  2429. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2430. language c;
  2431. create function statcollect(ST_LineString,float,float) returns stat
  2432. with (not variant, handlesnulls)
  2433. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2434. language c;
  2435. create function statcollect(ST_MultiCurve,float,float) returns stat
  2436. with (not variant, handlesnulls)
  2437. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2438. language c;
  2439. create function statcollect(ST_MultiLineString,float,float) returns stat
  2440. with (not variant, handlesnulls)
  2441. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2442. language c;
  2443. create function statcollect(ST_MultiPoint,float,float) returns stat
  2444. with (not variant, handlesnulls)
  2445. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2446. language c;
  2447. create function statcollect(ST_MultiPolygon,float,float) returns stat
  2448. with (not variant, handlesnulls)
  2449. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2450. language c;
  2451. create function statcollect(ST_MultiSurface,float,float) returns stat
  2452. with (not variant, handlesnulls)
  2453. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2454. language c;
  2455. create function statcollect(ST_Point,float,float) returns stat
  2456. with (not variant, handlesnulls)
  2457. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2458. language c;
  2459. create function statcollect(ST_Polygon,float,float) returns stat
  2460. with (not variant, handlesnulls)
  2461. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2462. language c;
  2463. create function statcollect(ST_Surface,float,float) returns stat
  2464. with (not variant, handlesnulls)
  2465. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatCollect)'
  2466. language c;
  2467. create function statprint(ST_Geometry,stat) returns lvarchar
  2468. with (not variant, parallelizable)
  2469. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2470. language c;
  2471. create function statprint(ST_Curve,stat) returns lvarchar
  2472. with (not variant, parallelizable)
  2473. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2474. language c;
  2475. create function statprint(ST_GeomCollection,stat) returns lvarchar
  2476. with (not variant, parallelizable)
  2477. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2478. language c;
  2479. create function statprint(ST_LineString,stat) returns lvarchar
  2480. with (not variant, parallelizable)
  2481. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2482. language c;
  2483. create function statprint(ST_MultiCurve,stat) returns lvarchar
  2484. with (not variant, parallelizable)
  2485. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2486. language c;
  2487. create function statprint(ST_MultiLineString,stat) returns lvarchar
  2488. with (not variant, parallelizable)
  2489. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2490. language c;
  2491. create function statprint(ST_MultiPoint,stat) returns lvarchar
  2492. with (not variant, parallelizable)
  2493. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2494. language c;
  2495. create function statprint(ST_MultiPolygon,stat) returns lvarchar
  2496. with (not variant, parallelizable)
  2497. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2498. language c;
  2499. create function statprint(ST_MultiSurface,stat) returns lvarchar
  2500. with (not variant, parallelizable)
  2501. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2502. language c;
  2503. create function statprint(ST_Point,stat) returns lvarchar
  2504. with (not variant, parallelizable)
  2505. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2506. language c;
  2507. create function statprint(ST_Polygon,stat) returns lvarchar
  2508. with (not variant, parallelizable)
  2509. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2510. language c;
  2511. create function statprint(ST_Surface,stat) returns lvarchar
  2512. with (not variant, parallelizable)
  2513. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_StatPrint)'
  2514. language c;
  2515. create function ST_StatDump(lvarchar,lvarchar,lvarchar) returns lvarchar
  2516. with (not variant)
  2517. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_StatDump)'
  2518. language c;
  2519. grant execute on function statcollect(ST_Geometry,float,float) to public;
  2520. grant execute on function statcollect(ST_Curve,float,float) to public;
  2521. grant execute on function statcollect(ST_GeomCollection,float,float) to public;
  2522. grant execute on function statcollect(ST_LineString,float,float) to public;
  2523. grant execute on function statcollect(ST_MultiCurve,float,float) to public;
  2524. grant execute on function statcollect(ST_MultiLineString,float,float) to public;
  2525. grant execute on function statcollect(ST_MultiPoint,float,float) to public;
  2526. grant execute on function statcollect(ST_MultiPolygon,float,float) to public;
  2527. grant execute on function statcollect(ST_MultiSurface,float,float) to public;
  2528. grant execute on function statcollect(ST_Point,float,float) to public;
  2529. grant execute on function statcollect(ST_Polygon,float,float) to public;
  2530. grant execute on function statcollect(ST_Surface,float,float) to public;
  2531. grant execute on function statprint(ST_Geometry,stat) to public;
  2532. grant execute on function statprint(ST_Curve,stat) to public;
  2533. grant execute on function statprint(ST_GeomCollection,stat) to public;
  2534. grant execute on function statprint(ST_LineString,stat) to public;
  2535. grant execute on function statprint(ST_MultiCurve,stat) to public;
  2536. grant execute on function statprint(ST_MultiLineString,stat) to public;
  2537. grant execute on function statprint(ST_MultiPoint,stat) to public;
  2538. grant execute on function statprint(ST_MultiPolygon,stat) to public;
  2539. grant execute on function statprint(ST_MultiSurface,stat) to public;
  2540. grant execute on function statprint(ST_Point,stat) to public;
  2541. grant execute on function statprint(ST_Polygon,stat) to public;
  2542. grant execute on function statprint(ST_Surface,stat) to public;
  2543. grant execute on function ST_StatDump(lvarchar,lvarchar,lvarchar) to public;
  2544. create function TempAssign(ST_Geometry) returns ST_Geometry
  2545. with (not variant)
  2546. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2547. language c;
  2548. create function TempAssign(ST_Curve) returns ST_Curve
  2549. with (not variant)
  2550. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2551. language c;
  2552. create function TempAssign(ST_MultiCurve) returns ST_MultiCurve
  2553. with (not variant)
  2554. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2555. language c;
  2556. create function TempAssign(ST_Surface) returns ST_Surface
  2557. with (not variant)
  2558. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2559. language c;
  2560. create function TempAssign(ST_MultiSurface) returns ST_MultiSurface
  2561. with (not variant)
  2562. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2563. language c;
  2564. create function TempAssign(ST_Point) returns ST_Point
  2565. with (not variant)
  2566. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2567. language c;
  2568. create function TempAssign(ST_MultiPoint) returns ST_MultiPoint
  2569. with (not variant)
  2570. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2571. language c;
  2572. create function TempAssign(ST_LineString) returns ST_LineString
  2573. with (not variant)
  2574. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2575. language c;
  2576. create function TempAssign(ST_MultiLineString) returns ST_MultiLineString
  2577. with (not variant)
  2578. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2579. language c;
  2580. create function TempAssign(ST_Polygon) returns ST_Polygon
  2581. with (not variant)
  2582. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2583. language c;
  2584. create function TempAssign(ST_MultiPolygon) returns ST_MultiPolygon
  2585. with (not variant)
  2586. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2587. language c;
  2588. create function TempAssign(ST_GeomCollection) returns ST_GeomCollection
  2589. with (not variant)
  2590. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(GeometryTempAssign)'
  2591. language c;
  2592. grant execute on function TempAssign (ST_Geometry) to public;
  2593. grant execute on function TempAssign (ST_Curve) to public;
  2594. grant execute on function TempAssign (ST_MultiCurve) to public;
  2595. grant execute on function TempAssign (ST_Surface) to public;
  2596. grant execute on function TempAssign (ST_MultiSurface) to public;
  2597. grant execute on function TempAssign (ST_Point) to public;
  2598. grant execute on function TempAssign (ST_MultiPoint) to public;
  2599. grant execute on function TempAssign (ST_LineString) to public;
  2600. grant execute on function TempAssign (ST_MultiLineString) to public;
  2601. grant execute on function TempAssign (ST_Polygon) to public;
  2602. grant execute on function TempAssign (ST_MultiPolygon) to public;
  2603. grant execute on function TempAssign (ST_GeomCollection) to public;
  2604. alter function TempAssign(ST_Geometry) with (add parallelizable);
  2605. alter function TempAssign(ST_Curve) with (add parallelizable);
  2606. alter function TempAssign(ST_MultiCurve) with (add parallelizable);
  2607. alter function TempAssign(ST_Surface) with (add parallelizable);
  2608. alter function TempAssign(ST_MultiSurface) with (add parallelizable);
  2609. alter function TempAssign(ST_Point) with (add parallelizable);
  2610. alter function TempAssign(ST_MultiPoint) with (add parallelizable);
  2611. alter function TempAssign(ST_LineString) with (add parallelizable);
  2612. alter function TempAssign(ST_MultiLineString) with (add parallelizable);
  2613. alter function TempAssign(ST_Polygon) with (add parallelizable);
  2614. alter function TempAssign(ST_MultiPolygon) with (add parallelizable);
  2615. alter function TempAssign(ST_GeomCollection) with (add parallelizable);
  2616. create function ST_OverlapsCost(pointer,pointer) returns integer
  2617. with (not variant, parallelizable)
  2618. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_OverlapsCost)'
  2619. language c;
  2620. create function SE_EqualCost(pointer,pointer) returns integer
  2621. with (not variant, parallelizable)
  2622. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_EqualCost)'
  2623. language c;
  2624. create function ST_ContainsCost(pointer,pointer) returns integer
  2625. with (not variant, parallelizable)
  2626. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_ContainsCost)'
  2627. language c;
  2628. create function ST_WithinCost(pointer,pointer) returns integer
  2629. with (not variant, parallelizable)
  2630. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_WithinCost)'
  2631. language c;
  2632. create function SE_EnvelopesIntersectCost(pointer,pointer) returns integer
  2633. with (not variant, parallelizable)
  2634. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_EnvelopesIntersectCost)'
  2635. language c;
  2636. create function ST_IntersectsCost(pointer,pointer) returns integer
  2637. with (not variant, parallelizable)
  2638. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IntersectsCost)'
  2639. language c;
  2640. create function ST_TouchesCost(pointer,pointer) returns integer
  2641. with (not variant, parallelizable)
  2642. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_TouchesCost)'
  2643. language c;
  2644. create function ST_CrossesCost(pointer,pointer) returns integer
  2645. with (not variant, parallelizable)
  2646. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CrossesCost)'
  2647. language c;
  2648. create function ST_EqualsCost(pointer,pointer) returns integer
  2649. with (not variant, parallelizable)
  2650. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_EqualsCost)'
  2651. language c;
  2652. create function ST_DisjointCost(pointer,pointer) returns integer
  2653. with (not variant, parallelizable)
  2654. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_DisjointCost)'
  2655. language c;
  2656. create function ST_CostTest(lvarchar,lvarchar,lvarchar,ST_Geometry) returns integer
  2657. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CostTest)'
  2658. language c;
  2659. grant execute on function ST_OverlapsCost(pointer,pointer) to public;
  2660. grant execute on function SE_EqualCost(pointer,pointer) to public;
  2661. grant execute on function ST_ContainsCost(pointer,pointer) to public;
  2662. grant execute on function ST_WithinCost(pointer,pointer) to public;
  2663. grant execute on function SE_EnvelopesIntersectCost(pointer,pointer) to public;
  2664. grant execute on function ST_IntersectsCost(pointer,pointer) to public;
  2665. grant execute on function ST_TouchesCost(pointer,pointer) to public;
  2666. grant execute on function ST_CrossesCost(pointer,pointer) to public;
  2667. grant execute on function ST_EqualsCost(pointer,pointer) to public;
  2668. grant execute on function ST_DisjointCost(pointer,pointer) to public;
  2669. grant execute on function ST_CostTest(lvarchar,lvarchar,lvarchar,ST_Geometry) to public;
  2670. alter function ST_Overlaps(ST_Geometry,ST_Geometry)
  2671. with (drop percall_cost);
  2672. alter function Equal(ST_Geometry,ST_Geometry)
  2673. with (drop percall_cost);
  2674. alter function ST_Contains(ST_Geometry,ST_Geometry)
  2675. with (drop percall_cost);
  2676. alter function ST_Within(ST_Geometry,ST_Geometry)
  2677. with (drop percall_cost);
  2678. alter function SE_EnvelopesIntersect(ST_Geometry,ST_Geometry)
  2679. with (drop percall_cost);
  2680. alter function ST_Intersects(ST_Geometry,ST_Geometry)
  2681. with (drop percall_cost);
  2682. alter function ST_Touches(ST_Geometry,ST_Geometry)
  2683. with (drop percall_cost);
  2684. alter function ST_Crosses(ST_Geometry,ST_Geometry)
  2685. with (drop percall_cost);
  2686. alter function ST_Equals(ST_Geometry,ST_Geometry)
  2687. with (drop percall_cost);
  2688. alter function ST_Disjoint(ST_Geometry,ST_Geometry)
  2689. with (drop percall_cost);
  2690. alter function ST_Overlaps(ST_Geometry,ST_Geometry)
  2691. with (add costfunc = ST_OverlapsCost);
  2692. alter function Equal(ST_Geometry,ST_Geometry)
  2693. with (add costfunc = SE_EqualCost);
  2694. alter function ST_Contains(ST_Geometry,ST_Geometry)
  2695. with (add costfunc = ST_ContainsCost);
  2696. alter function ST_Within(ST_Geometry,ST_Geometry)
  2697. with (add costfunc = ST_WithinCost);
  2698. alter function SE_EnvelopesIntersect(ST_Geometry,ST_Geometry)
  2699. with (add costfunc = SE_EnvelopesIntersectCost);
  2700. alter function ST_Intersects(ST_Geometry,ST_Geometry)
  2701. with (add costfunc = ST_IntersectsCost);
  2702. alter function ST_Touches(ST_Geometry,ST_Geometry)
  2703. with (add costfunc = ST_TouchesCost);
  2704. alter function ST_Crosses(ST_Geometry,ST_Geometry)
  2705. with (add costfunc = ST_CrossesCost);
  2706. alter function ST_Equals(ST_Geometry,ST_Geometry)
  2707. with (add costfunc = ST_EqualsCost);
  2708. alter function ST_Disjoint(ST_Geometry,ST_Geometry)
  2709. with (add costfunc = ST_DisjointCost);
  2710. create function ST_OverlapsSelectivity(pointer,pointer) returns float
  2711. with (not variant, parallelizable)
  2712. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_OverlapsSelectivity)'
  2713. language c;
  2714. create function SE_EqualSelectivity(pointer,pointer) returns float
  2715. with (not variant, parallelizable)
  2716. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_EqualSelectivity)'
  2717. language c;
  2718. create function ST_ContainsSelectivity(pointer,pointer) returns float
  2719. with (not variant, parallelizable)
  2720. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_ContainsSelectivity)'
  2721. language c;
  2722. create function ST_WithinSelectivity(pointer,pointer) returns float
  2723. with (not variant, parallelizable)
  2724. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_WithinSelectivity)'
  2725. language c;
  2726. create function SE_EnvelopesIntersectSelectivity(pointer,pointer) returns float
  2727. with (not variant, parallelizable)
  2728. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_EnvelopesIntersectSelectivity)'
  2729. language c;
  2730. create function ST_IntersectsSelectivity(pointer,pointer) returns float
  2731. with (not variant, parallelizable)
  2732. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_IntersectsSelectivity)'
  2733. language c;
  2734. create function ST_TouchesSelectivity(pointer,pointer) returns float
  2735. with (not variant, parallelizable)
  2736. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_TouchesSelectivity)'
  2737. language c;
  2738. create function ST_CrossesSelectivity(pointer,pointer) returns float
  2739. with (not variant, parallelizable)
  2740. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_CrossesSelectivity)'
  2741. language c;
  2742. create function ST_EqualsSelectivity(pointer,pointer) returns float
  2743. with (not variant, parallelizable)
  2744. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_EqualsSelectivity)'
  2745. language c;
  2746. create function ST_DisjointSelectivity(pointer,pointer) returns float
  2747. with (not variant, parallelizable)
  2748. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_DisjointSelectivity)'
  2749. language c;
  2750. create function ST_SelectivityTest(lvarchar,lvarchar,lvarchar,ST_Geometry) returns float
  2751. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(ST_SelectivityTest)'
  2752. language c;
  2753. grant execute on function ST_OverlapsSelectivity(pointer,pointer) to public;
  2754. grant execute on function SE_EqualSelectivity(pointer,pointer) to public;
  2755. grant execute on function ST_ContainsSelectivity(pointer,pointer) to public;
  2756. grant execute on function ST_WithinSelectivity(pointer,pointer) to public;
  2757. grant execute on function SE_EnvelopesIntersectSelectivity(pointer,pointer) to public;
  2758. grant execute on function ST_IntersectsSelectivity(pointer,pointer) to public;
  2759. grant execute on function ST_TouchesSelectivity(pointer,pointer) to public;
  2760. grant execute on function ST_CrossesSelectivity(pointer,pointer) to public;
  2761. grant execute on function ST_EqualsSelectivity(pointer,pointer) to public;
  2762. grant execute on function ST_DisjointSelectivity(pointer,pointer) to public;
  2763. grant execute on function ST_SelectivityTest(lvarchar,lvarchar,lvarchar,ST_Geometry) to public;
  2764. alter function ST_Overlaps(ST_Geometry,ST_Geometry)
  2765. with (add selfunc = ST_OverlapsSelectivity);
  2766. alter function Equal(ST_Geometry,ST_Geometry)
  2767. with (add selfunc = SE_EqualSelectivity);
  2768. alter function ST_Contains(ST_Geometry,ST_Geometry)
  2769. with (add selfunc = ST_ContainsSelectivity);
  2770. alter function ST_Within(ST_Geometry,ST_Geometry)
  2771. with (add selfunc = ST_WithinSelectivity);
  2772. alter function SE_EnvelopesIntersect(ST_Geometry,ST_Geometry)
  2773. with (add selfunc = SE_EnvelopesIntersectSelectivity);
  2774. alter function ST_Intersects(ST_Geometry,ST_Geometry)
  2775. with (add selfunc = ST_IntersectsSelectivity);
  2776. alter function ST_Touches(ST_Geometry,ST_Geometry)
  2777. with (add selfunc = ST_TouchesSelectivity);
  2778. alter function ST_Crosses(ST_Geometry,ST_Geometry)
  2779. with (add selfunc = ST_CrossesSelectivity);
  2780. alter function ST_Equals(ST_Geometry,ST_Geometry)
  2781. with (add selfunc = ST_EqualsSelectivity);
  2782. alter function ST_Disjoint(ST_Geometry,ST_Geometry)
  2783. with (add selfunc = ST_DisjointSelectivity);
  2784. create function SE_ParamSet(lvarchar,lvarchar) returns lvarchar
  2785. with (not variant)
  2786. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ParamSet)'
  2787. language c;
  2788. create function SE_ParamSet() returns lvarchar
  2789. with (not variant)
  2790. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ParamSetUsage)'
  2791. language c;
  2792. create function SE_ParamGet(lvarchar) returns lvarchar
  2793. with (not variant)
  2794. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ParamGetOne)'
  2795. language c;
  2796. create function SE_ParamGet() returns lvarchar
  2797. with (not variant)
  2798. external name '$INFORMIXDIR/extend/spatial.8.22.FC2/spatial.bld(SE_ParamGetAll)'
  2799. language c;
  2800. grant execute on function SE_ParamSet(lvarchar,lvarchar) to public;
  2801. grant execute on function SE_ParamSet() to public;
  2802. grant execute on function SE_ParamGet(lvarchar) to public;
  2803. grant execute on function SE_ParamGet() to public;
  2804. insert into informix.syserrors
  2805. (level, seqno, sqlstate, locale, message)
  2806. values
  2807. (
  2808. 0, 1, "USE01", "en_us.8859-1", "Unable to establish a connection in %FUNCTION%."
  2809. );
  2810. insert into informix.syserrors
  2811. (level, seqno, sqlstate, locale, message)
  2812. values
  2813. (
  2814. 0, 1, "USE02", "en_us.8859-1", "Function %FUNCTION% is unable to allocate memory."
  2815. );
  2816. insert into informix.syserrors
  2817. (level, seqno, sqlstate, locale, message)
  2818. values
  2819. (
  2820. 0, 1, "USE03", "en_us.8859-1", "Invalid Geometry in %FUNCTION%."
  2821. );
  2822. insert into informix.syserrors
  2823. (level, seqno, sqlstate, locale, message)
  2824. values
  2825. (
  2826. 0, 1, "USE04", "en_us.8859-1", "Function %FUNCTION% not applicable to type %TYPE%."
  2827. );
  2828. insert into informix.syserrors
  2829. (level, seqno, sqlstate, locale, message)
  2830. values
  2831. (
  2832. 0, 1, "USE05", "en_us.8859-1", "This function is not yet implemented."
  2833. );
  2834. insert into informix.syserrors
  2835. (level, seqno, sqlstate, locale, message)
  2836. values
  2837. (
  2838. 0, 1, "USE06", "en_us.8859-1", "Unknown ESRI shape library error (%ERRCODE%) in %FUNCTION%."
  2839. );
  2840. insert into informix.syserrors
  2841. (level, seqno, sqlstate, locale, message)
  2842. values
  2843. (
  2844. 0, 1, "USE11", "en_us.8859-1", "Invalid SRID %SRID% or NULL in %FUNCTION%."
  2845. );
  2846. insert into informix.syserrors
  2847. (level, seqno, sqlstate, locale, message)
  2848. values
  2849. (
  2850. 0, 1, "USE14", "en_us.8859-1", "Unknown spatial reference identifier %SRID%."
  2851. );
  2852. insert into informix.syserrors
  2853. (level, seqno, sqlstate, locale, message)
  2854. values
  2855. (
  2856. 0, 1, "USE16", "en_us.8859-1", "Unable to get the geometry data pointer from the server in %FUNCTION%."
  2857. );
  2858. insert into informix.syserrors
  2859. (level, seqno, sqlstate, locale, message)
  2860. values
  2861. (
  2862. 0, 1, "USE17", "en_us.8859-1", "Geometry verification failed."
  2863. );
  2864. insert into informix.syserrors
  2865. (level, seqno, sqlstate, locale, message)
  2866. values
  2867. (
  2868. 0, 1, "USE18", "en_us.8859-1", "Buffer operation failed."
  2869. );
  2870. insert into informix.syserrors
  2871. (level, seqno, sqlstate, locale, message)
  2872. values
  2873. (
  2874. 0, 1, "USE19", "en_us.8859-1", "Coordinates out of bounds in %FUNCTION%."
  2875. );
  2876. insert into informix.syserrors
  2877. (level, seqno, sqlstate, locale, message)
  2878. values
  2879. (
  2880. 0, 1, "USE20", "en_us.8859-1", "Invalid parameter in function %FUNCTION%."
  2881. );
  2882. insert into informix.syserrors
  2883. (level, seqno, sqlstate, locale, message)
  2884. values
  2885. (
  2886. 0, 1, "USE21", "en_us.8859-1", "Geometry integrity error in function %FUNCTION%."
  2887. );
  2888. insert into informix.syserrors
  2889. (level, seqno, sqlstate, locale, message)
  2890. values
  2891. (
  2892. 0, 1, "USE22", "en_us.8859-1", "Too many points in feature."
  2893. );
  2894. insert into informix.syserrors
  2895. (level, seqno, sqlstate, locale, message)
  2896. values
  2897. (
  2898. 0, 1, "USE23", "en_us.8859-1", "Spatial reference conflict, %SRID1% vs %SRID2%."
  2899. );
  2900. insert into informix.syserrors
  2901. (level, seqno, sqlstate, locale, message)
  2902. values
  2903. (
  2904. 0, 1, "USE24", "en_us.8859-1", "Incompatible geometries in function %FUNCTION%."
  2905. );
  2906. insert into informix.syserrors
  2907. (level, seqno, sqlstate, locale, message)
  2908. values
  2909. (
  2910. 0, 1, "USE25", "en_us.8859-1", "Subscript %SUBSCRIPT% out of range in function %FUNCTION%."
  2911. );
  2912. insert into informix.syserrors
  2913. (level, seqno, sqlstate, locale, message)
  2914. values
  2915. (
  2916. 0, 1, "USE28", "en_us.8859-1", "Invalid text in function %FUNCTION%."
  2917. );
  2918. insert into informix.syserrors
  2919. (level, seqno, sqlstate, locale, message)
  2920. values
  2921. (
  2922. 0, 1, "USE30", "en_us.8859-1", "Overlapping polygon rings in %FUNCTION%."
  2923. );
  2924. insert into informix.syserrors
  2925. (level, seqno, sqlstate, locale, message)
  2926. values
  2927. (
  2928. 0, 1, "USE31", "en_us.8859-1", "Too few points for geometry type in %FUNCTION%."
  2929. );
  2930. insert into informix.syserrors
  2931. (level, seqno, sqlstate, locale, message)
  2932. values
  2933. (
  2934. 0, 1, "USE32", "en_us.8859-1", "Polygon does not close in %FUNCTION%."
  2935. );
  2936. insert into informix.syserrors
  2937. (level, seqno, sqlstate, locale, message)
  2938. values
  2939. (
  2940. 0, 1, "USE29", "en_us.8859-1", "Unexpected system error in %FUNCTION%."
  2941. );
  2942. insert into informix.syserrors
  2943. (level, seqno, sqlstate, locale, message)
  2944. values
  2945. (
  2946. 0, 1, "USE33", "en_us.8859-1", "Interior ring not enclosed by exterior ring in %FUNCTION%."
  2947. );
  2948. insert into informix.syserrors
  2949. (level, seqno, sqlstate, locale, message)
  2950. values
  2951. (
  2952. 0, 1, "USE34", "en_us.8859-1", "The polygon has no area in %FUNCTION%."
  2953. );
  2954. insert into informix.syserrors
  2955. (level, seqno, sqlstate, locale, message)
  2956. values
  2957. (
  2958. 0, 1, "USE35", "en_us.8859-1", "The polygon ring contains a spike in %FUNCTION%."
  2959. );
  2960. insert into informix.syserrors
  2961. (level, seqno, sqlstate, locale, message)
  2962. values
  2963. (
  2964. 0, 1, "USE36", "en_us.8859-1", "Multipolygon exterior rings overlap in %FUNCTION%."
  2965. );
  2966. insert into informix.syserrors
  2967. (level, seqno, sqlstate, locale, message)
  2968. values
  2969. (
  2970. 0, 1, "USE37", "en_us.8859-1", "The geometry boundary is self-intersecting in %FUNCTION%."
  2971. );
  2972. insert into informix.syserrors
  2973. (level, seqno, sqlstate, locale, message)
  2974. values
  2975. (
  2976. 0, 1, "USE38", "en_us.8859-1", "The geometry has too many parts in %FUNCTION%."
  2977. );
  2978. insert into informix.syserrors
  2979. (level, seqno, sqlstate, locale, message)
  2980. values
  2981. (
  2982. 0, 1, "USE39", "en_us.8859-1", "Mismatched text string parentheses in %FUNCTION%."
  2983. );
  2984. insert into informix.syserrors
  2985. (level, seqno, sqlstate, locale, message)
  2986. values
  2987. (
  2988. 0, 1, "USE40", "en_us.8859-1", "Unknown or unsupported ESRI entity type (%TYPE%) found in %FUNCTION%."
  2989. );
  2990. insert into informix.syserrors
  2991. (level, seqno, sqlstate, locale, message)
  2992. values
  2993. (
  2994. 0, 1, "USE41", "en_us.8859-1", "The projection string for your SRID is invalid in %FUNCTION%."
  2995. );
  2996. insert into informix.syserrors
  2997. (level, seqno, sqlstate, locale, message)
  2998. values
  2999. (
  3000. 0, 1, "USE07", "en_us.8859-1", "Internal SAPI error. %SAPIFUNC% returned %RETVAL%. Failure in %FUNCNAME%.
  3001. "
  3002. );
  3003. insert into informix.syserrors
  3004. (level, seqno, sqlstate, locale, message)
  3005. values
  3006. (
  3007. 0, 1, "USE08", "en_us.8859-1", "Nearest-neighbor queries require an index scan."
  3008. );
  3009. insert into informix.syserrors
  3010. (level, seqno, sqlstate, locale, message)
  3011. values
  3012. (
  3013. 0, 1, "USE09", "en_us.8859-1", "Unknown or unsupported shape file type (%TYPE%) found in %FUNCTION%."
  3014. );
  3015. insert into informix.syserrors
  3016. (level, seqno, sqlstate, locale, message)
  3017. values
  3018. (
  3019. 0, 1, "USE10", "en_us.8859-1", "Unknown or unsupported OpenGIS WKB type (%TYPE%) found in %FUNCTION%."
  3020. );
  3021. insert into informix.syserrors
  3022. (level, seqno, sqlstate, locale, message)
  3023. values
  3024. (
  3025. 0, 1, "USE12", "en_us.8859-1", "Unknown or unsupported geometry type (%TYPE%) found in %FUNCTION%."
  3026. );
  3027. insert into informix.syserrors
  3028. (level, seqno, sqlstate, locale, message)
  3029. values
  3030. (
  3031. 0, 1, "USE26", "en_us.8859-1", "Subtype mismatch: received subtype=%TYPE1%, expected subtype=%TYPE2%."
  3032. );
  3033. insert into informix.syserrors
  3034. (level, seqno, sqlstate, locale, message)
  3035. values
  3036. (
  3037. 0, 1, "USE27", "en_us.8859-1", "Unknown or unsupported geometry data structure version (%VERSION%) found in %FUNCTION%."
  3038. );
  3039. insert into informix.syserrors
  3040. (level, seqno, sqlstate, locale, message)
  3041. values
  3042. (
  3043. 0, 1, "USE42", "en_us.8859-1", "Nearest-neighbor queries are not supported by the current version of the server."
  3044. );
  3045. insert into informix.syserrors
  3046. (level, seqno, sqlstate, locale, message)
  3047. values
  3048. (
  3049. 0, 1, "USE13", "en_us.8859-1", "Spatial DataBlade not installed correctly: the spatial_references table does not exist."
  3050. );
  3051. insert into informix.syserrors
  3052. (level, seqno, sqlstate, locale, message)
  3053. values
  3054. (
  3055. 0, 1, "USE43", "en_us.8859-1", "%PARAM1% value must be less than %PARAM2% value."
  3056. );
  3057. insert into informix.syserrors
  3058. (level, seqno, sqlstate, locale, message)
  3059. values
  3060. (
  3061. 0, 1, "USE44", "en_us.8859-1", "Unknown OGIS WKB byte-order byte encountered in %FUNCTION%."
  3062. );
  3063. insert into informix.syserrors
  3064. (level, seqno, sqlstate, locale, message)
  3065. values
  3066. (
  3067. 0, 1, "USE45", "en_us.8859-1", "OGIS WKB geometry collection type is not supported."
  3068. );
  3069. insert into informix.syserrors
  3070. (level, seqno, sqlstate, locale, message)
  3071. values
  3072. (
  3073. 0, 1, "USE46", "en_us.8859-1", "Incompatible coordinate reference systems in function %FUNCTION%."
  3074. );
  3075. insert into informix.syserrors
  3076. (level, seqno, sqlstate, locale, message)
  3077. values
  3078. (
  3079. 0, 1, "USE15", "en_us.8859-1", "Invalid coordinate reference system object in function %FUNCTION%."
  3080. );
  3081. insert into informix.syserrors
  3082. (level, seqno, sqlstate, locale, message)
  3083. values
  3084. (
  3085. 0, 1, "USE47", "en_us.8859-1", "Cannot create SE_Metadata lohandle file %FILE%. Check directory permissions."
  3086. );
  3087. insert into informix.syserrors
  3088. (level, seqno, sqlstate, locale, message)
  3089. values
  3090. (
  3091. 0, 1, "USE48", "en_us.8859-1", "SE_Metadata lohandle file %FILE% not found, unreadable, or corrupt. Execute function SE_MetadataInit() to reinitialize."
  3092. );
  3093. insert into informix.syserrors
  3094. (level, seqno, sqlstate, locale, message)
  3095. values
  3096. (
  3097. 0, 1, "USE49", "en_us.8859-1", "%NAME% is a read only table."
  3098. );
  3099. insert into informix.syserrors
  3100. (level, seqno, sqlstate, locale, message)
  3101. values
  3102. (
  3103. 0, 1, "USE50", "en_us.8859-1", "Vertex not found in %FUNCTION%."
  3104. );
  3105. insert into informix.syserrors
  3106. (level, seqno, sqlstate, locale, message)
  3107. values
  3108. (
  3109. 0, 1, "USE51", "en_us.8859-1", "SE_Metadata smart blob is corrupt or unreadable. Execute function SE_MetadataInit() to repair."
  3110. );
  3111. insert into informix.syserrors
  3112. (level, seqno, sqlstate, locale, message)
  3113. values
  3114. (
  3115. 0, 1, "USE52", "en_us.8859-1", "SE_Metadata memory cache is locked. Execute function SE_MetadataInit() to reinitialize."
  3116. );
  3117. insert into informix.syserrors
  3118. (level, seqno, sqlstate, locale, message)
  3119. values
  3120. (
  3121. 0, 1, "USE53", "en_us.8859-1", "Spatial datablade assert failure. File = %FILE%, line = %LINE%."
  3122. );
  3123. insert into informix.syserrors
  3124. (level, seqno, sqlstate, locale, message)
  3125. values
  3126. (
  3127. 0, 1, "USE54", "en_us.8859-1", "You must define a %NAME% sbspace before you can register the Spatial DataBlade."
  3128. );
  3129. insert into sysbldiprovided
  3130. (bldi_id, bld_id)
  3131. values
  3132. (
  3133. "Ispatial",
  3134. "spatial.8.22.FC2"
  3135. );
  3136. insert into sysbldirequired
  3137. (bldi_id, bld_id)
  3138. values
  3139. (
  3140. "ifxrltree1",
  3141. "spatial.8.22.FC2"
  3142. );
  3143. commit work;