integrate spatial and non spatial database oracle -
integrate spatial and non spatial database oracle -
hye all, have problem, situation is, have 2 database in difference server, spatial database oracle , non spatial database oracle, illustration below;
spatial database(server 1)= id,code,name,x coordinate, y coordinate non spatial database (server 2)= no_id, code, street
1) how want integrate gis system, when user makes query example, insert code=123, info appear on map have id,name,code,street, x , y coordinate.
2) how wan handle, when user update non spatial database example, come in new code , @ same time spatial database have new record also
thank help, need solution
you bring together these in similar way other database instances, through utilize of database links , views.
if take path recommend creating views pulling info spatial database, because sdo_geometry treated user defined info type there limitations on it's utilize across database links many of oracle locator or filter functions can not invoked on remote instance.
for illustration on spatial db, other database accessible through 'ops' database link, , sdo_geometry column named shape:
select a.id, a.code, a.name, a.x_coordinate, a.y_coordinate, a.shape, b.code, b.street a, b@ops a.id = b.id;
how interrogate view combining street , location info depend on gis application.
oracle spatial
Comments
Post a Comment