Design spatial database

i want to know good trip and tricks to design the oracle spatial database. actually i want a good performance of my database.
so plz guide me.

Folks,
Most CASE tools allow for UDTs to be entered but don't do anything with
them - bit like "pass through" queries in Access!
The only 2 I know of that try and model Spatial data and topological
relationships between tables are Blueprint (free download from
www.geometryit.com) and Perceptory (requires Visio) from ULaval in Canada.
The Blueprint tool is very flexible but does not model the data type directly
(you are effectively limited to one spatial type per table). The product is
no longer under active development (because of the lack of people who
feel they need such a thing). I have asked the owners to make it open source
but they have only moved to a free download of the unsupported product.
However, Blueprint's power is in its scripting language. I have a bunch of scripts that will generate oracle spatial DDL, Trimble Data Dictionaries and other spatial
products from the model that I am willing to share.
S.

Similar Messages

  • Spatial Database Design tool

    Dear Sir,
    I am planning to Design Spatial Database. can any one tell me which tool supports the spatial objects.
    plz give me immediate reply
    Thanks
    Kabeer

    Folks,
    Most CASE tools allow for UDTs to be entered but don't do anything with
    them - bit like "pass through" queries in Access!
    The only 2 I know of that try and model Spatial data and topological
    relationships between tables are Blueprint (free download from
    www.geometryit.com) and Perceptory (requires Visio) from ULaval in Canada.
    The Blueprint tool is very flexible but does not model the data type directly
    (you are effectively limited to one spatial type per table). The product is
    no longer under active development (because of the lack of people who
    feel they need such a thing). I have asked the owners to make it open source
    but they have only moved to a free download of the unsupported product.
    However, Blueprint's power is in its scripting language. I have a bunch of scripts that will generate oracle spatial DDL, Trimble Data Dictionaries and other spatial
    products from the model that I am willing to share.
    S.

  • Spatial database model design guidelines?

    Are there public guidelines on how to design a Spatial Database
    Model?
    i.e.
    - is it better to have one table of geometries (elements) or is
    it better to have many?
    - is it better to store structured data (alphanumeric) in the
    same table with spatial data or is it better to reference them
    with foreign keys?
    - etc
    I guess all I need is some kind of methodology for building a
    spatial model. Is there anything like this available?
    Regards

    Hi Pablo,
    From a database design perspective, spatial data should be
    modeled in the same way other data is modeled. For instance, if
    you have river data that has 1 row in a database for every river,
    then you might add another column in the same table stored with
    the other information about the river that includes the location
    information about the river. The same would be true of other
    information. For instance, if you wanted to store the location
    of all of the customers in your customers table, it is simple
    another column in the customers table.
    << - is it better to have one table of geometries (elements) or
    is it better to have many? >>
    So geometries are just column information like other column
    information that you store in a table. There shouldn't be
    separate tables that hold only geometry information.
    << - is it better to store structured data (alphanumeric) in the
    same table with spatial data or is it better to reference them
    with foreign keys? >>
    Treat spatial data the same way from a design standpoint as other
    data.
    Hope this helps.
    Dan

  • Someone please help me Design the database of bill of materials

    I want to design the database of bill of materials which contain item and amount.
    So the amount of child will depend on amount of parent in term of ratio. For example
    A(1)               A(2)
    |         ---->     |
    B(2)               B(4)
    My problem is when i try to add the parent and child . Let A is the parent of B , If i try to add A to be the child of C
    I want B to come along with A as well. For example
    A                       C
    |     C  --->        |           For this I have to store the relation of all item in  my list to check that this item have a child or not if yes
    B                             A              The child must come along with its parent , What the Er-diagram
    should be for all of my requirement?
                                    |
                                    B

    >I want B to come along with A as well. For example
    You can do that, but that is not automatic. You need to do some programming.
    It is better to use hierarchyid representation of the tree over traditional FK referencing.
    Tree using hierarchyid example:
    http://www.sqlusa.com/bestpractices2008/orgchart/
    BOL: "Model Your Data Hierarchies With SQL Server 2008
    .....The manufacturing system behind automobiles; the organization of a country into states, counties, cities, and postal codes; the description of a home entertainment system—what do these things have in common? The simple answer is that each
    describes a hierarchy.
    SQL Server 2008 supports a new data type, HierarchyID, that helps solve some of the problems in modeling and querying hier­archical information. I will introduce you to this data type by discussing a pattern commonly used in manufacturing
    known as bill of materials (BOM), or bills. Starting with a brief discussion of BOMs, I will illustrate how this kind of data can be modeled. I will also present an implementation of this model in SQL Server 2005. Then I will show you how the HierarchyID data
    type can be used to implement the model in SQL Server 2008.
    Hierarchical Data
    Automobiles are amalgamations of many components, such as engines, drivetrains, electronics, and steering. In the United States, our geographic territories are divided into states and are then sub-divided into jurisdictions called counties.
    Counties are then further subdivided in different ways by different agencies. The United States Census Bureau, for example, composes them from Census Tract Areas. The U.S. Postal Service routes mail delivery by Zone Improvement Plan (ZIP) codes. Geographic
    information systems (GIS) may aggregate census tracts and ZIP codes together to provide users with a familiar spatial reference for an area.
    A recent trip to a local electronics store to evaluate a replacement home entertainment system pointed to a similar sort of hierarchical system—all the combinations of possible components and options left my head spinning! I wondered
    how such systems could be modeled and implemented in a database system.
    The relationship between an automobile and its engine represents a hierarchy: the automobile contains the engine. The relationship is the same for the drivetrain, the electronics, and the steering. The relationship is containment. A
    similar hierarchy can be observed in the relationship between the different groupings of geographic or census data.
    Hierarchies exist everywhere, yet implementing them in the context of a relational database frequently proves to be a challenge. A typical approach is to represent the hierarchy using a parent/child relationship with one or more tables.
    While this approach certainly works in many cases, it has a few shortcomings. Such solutions must carefully consider how the referential integrity will be maintained. And while querying the depth and breadth of such tables was considerably simplified in SQL
    Server 2005 with the introduction of recursive common table expressions, writing queries against these types of tables can still be problematic when joins against many tables are required.
    A Bill of Materials Problem
    A few years ago I was working on a system being developed by a manufacturing company to help their dealers specify the components needed to build center-pivot irrigation systems. The software produced a list of components needed to custom-build
    the desired pivot (the totality of a center-pivot irrigation system is simply referred to as a pivot within the industry). The required components were determined based on geography, soil type, and the intended crops planted in the areas to be covered as well
    as the hydrologic and structural considerations of the device itself.
    Underpinning the solution would be a SQL Server database. The purpose of the database was to store information about the components available to build the pivot. However, when we generated the specification for manufacturing, we needed
    to identify those components as BOMs.
    Some bills represented a collection of physical parts that would be assembled into a system component. For example, every pivot needed a pump to draw water from a well into the system. That pump might be electrically powered, meaning
    it needed a transformer and fuse box, too. Or the pump might be fuel powered, meaning it needed a tank, a fuel pump, and hoses to connect the pump to the tank. In either case, the required parts for the pump would be listed in a pump bill.
    The bill for a complete pivot would include a collection of other bills. For example, a standardized pivot might consist of a tree of bills for the pump, another tree of bills for the spans of pipe used to deliver water, and bills for any other equipment
    needed to build that pivot system."
    LINK: http://msdn.microsoft.com/en-us/magazine/cc794278.aspx
    Kalman Toth Database & OLAP Architect
    SELECT Query Video Tutorial 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Can we load generic binary image in Oracle spatial database

    hi i am new to this topic. so kindly help me out.
    can we store generic binary image in Oracle 10g spatial database?
    generic i mean there is no header information.

    hi everybody,
    thanks in advance. i am in little bit confusion. actually i am new to oracle 10g spatial db concept and image processing. i have to decide whether to store DEM & ORTHO image in Oracle 10g spatial database. or using BLOB to store these images. i have to design physical as well as logical database to store both above mentioned images.
    i don't have much knowledge about DEM & ORTHO image.
    i don't know what to do. even though i have started some of the Oracle 10g spatial concepts. i would like to know can i also use oracle intermedia for storing these images (ORTHO & DEM images).
    looking for help
    thanks
    Ajay

  • Someone please help me Design the database of bill of materials with 1 item can have mutiple parent

    I got this sample from  Uri
    Dimant (MCC, MVP) ,
    The problem is i want 1 item to have multiple parent  but this example don t   let 1  item to have multiple parents. this is not suit for my objective. 
    CREATE TABLE Employees
      empid   int         NOT NULL,
      mgrid   int         NULL,
      empname varchar(25) NOT NULL,
      salary  money       NOT NULL,
      CONSTRAINT PK_Employees PRIMARY KEY(empid),
      CONSTRAINT FK_Employees_mgrid_empid
        FOREIGN KEY(mgrid)
        REFERENCES Employees(empid)
    CREATE INDEX idx_nci_mgrid ON Employees(mgrid)
    SET NOCOUNT ON
    INSERT INTO Employees VALUES(1 , NULL, 'Nancy'   , $10000.00)
    INSERT INTO Employees VALUES(2 , 1   , 'Andrew'  , $5000.00)
    INSERT INTO Employees VALUES(3 , 1   , 'Janet'   , $5000.00)
    INSERT INTO Employees VALUES(4 , 1   , 'Margaret', $5000.00) 
    INSERT INTO Employees VALUES(5 , 2   , 'Steven'  , $2500.00)
    INSERT INTO Employees VALUES(6 , 2   , 'Michael' , $2500.00)
    INSERT INTO Employees VALUES(7 , 3   , 'Robert'  , $2500.00)
    INSERT INTO Employees VALUES(8 , 3   , 'Laura'   , $2500.00)
    INSERT INTO Employees VALUES(9 , 3   , 'Ann'     , $2500.00)
    INSERT INTO Employees VALUES(10, 4   , 'Ina'     , $2500.00)
    INSERT INTO Employees VALUES(11, 7   , 'David'   , $2000.00)
    INSERT INTO Employees VALUES(12, 7   , 'Ron'     , $2000.00)
    INSERT INTO Employees VALUES(13, 7   , 'Dan'     , $2000.00)
    INSERT INTO Employees VALUES(14, 11  , 'James'   , $1500.00)
    WITH EmpCTE(empid, empname, mgrid, lvl)
    AS
      -- Anchor Member (AM)
      SELECT empid, empname, mgrid, 0
      FROM Employees
      WHERE empid = 1
      UNION ALL
      -- Recursive Member (RM)
      SELECT E.empid, E.empname, E.mgrid, M.lvl+1
      FROM Employees AS E
        JOIN EmpCTE AS M
          ON E.mgrid = M.empid
    SELECT * FROM EmpCTE
    My object is
    I want to design the database of bill of materials which contain item and amount.
    So the amount of child will depend on amount of parent in term of ratio. For example
    A(1)               A(2)
    |         ---->     |
    B(2)               B(4)
    My problem is when i try to add the parent and child . Let A is the parent of B , If i try to add A to be the child of C
    I want B to come along with A as well. For example
    A                       C
    |     C  --->        |           For this I have to store the relation of all item in  my list to check that this item have a child or not if yes
    B                            
    A              The child must come along with its parent , What the Er-diagram should be for all of my requirement?
        |
        B
    Base on the example that Uri
    Dimant gave me ,  i have to stroe 1 item wtih multi parents for example if b is a child of a And b  have c as child , When i insert D as a parent of B   , c will automatic come along with B , But this not seem gonna work.
    item   Parent 
     A      NULL
    B         A
    C         B
    B         D
    Am i wrong to go this way  , any idea

    thanks Uri
    Dimant
    I am
    little confuse about how can i write
    hierarchy sql  from this relation  , Thanks
    so far i got 
    WITH EmpCTE(cid, cname, pid, lvl)
    AS
      SELECT      cid , cname ,  children.pid , 0
      FROM            children INNER JOIN
      parents ON children.pid = parents.pid
      where  cid = 1
      UNION ALL
      SELECT      E.cid , E.cname ,  E.pid , M.lvl+1
      FROM       ( select  cid , cname , children.pid FROM  children INNER JOIN
      parents ON children.pid = parents.pid) AS E JOIN EmpCTE AS M
          ON E.pid = M.cid
    SELECT * FROM EmpCTE  

  • Oracle 9i spatial database

    Hi
    I installed Oracle 9i spatial database for Windows XP in C: driver. I wonder if Oracle 9i Spatial could be removed to E: driver. If not, how to delete Oracle 9i database.
    Cheers, Helen

    Identifying where the datafiles are:
    C:\Documents and Settings\pdsigeplab>SET ORACLE_SID=TEST
    C:\Documents and Settings\pdsigeplab>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Jun 4 14:57:16 2004
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn sys as sysdba
    Enter password:
    Connected.
    SQL>
    SQL> desc dba_data_files
    Name                                      Null?    Type
    FILE_NAME                                          VARCHAR2(513)
    FILE_ID                                            NUMBER
    TABLESPACE_NAME                                    VARCHAR2(30)
    BYTES                                              NUMBER
    BLOCKS                                             NUMBER
    STATUS                                             VARCHAR2(9)
    RELATIVE_FNO                                       NUMBER
    AUTOEXTENSIBLE                                     VARCHAR2(3)
    MAXBYTES                                           NUMBER
    MAXBLOCKS                                          NUMBER
    INCREMENT_BY                                       NUMBER
    USER_BYTES                                         NUMBER
    USER_BLOCKS                                        NUMBER
    SQL> select file_name from dba_data_files;
    FILE_NAME
    C:\ORACLE\ORADATA\TEST\SYSTEM01.DBF
    C:\ORACLE\ORADATA\TEST\UNDOTBS01.DBF
    C:\ORACLE\ORADATA\TEST\INDX01.DBF
    C:\ORACLE\ORADATA\TEST\TOOLS01.DBF
    C:\ORACLE\ORADATA\TEST\USERS01.DBF
    C:\ORACLE\ORADATA\TEST\XDB01.DBF
    6 rows selected.
    SQL>Joel Pérez
    http://otn.oracle.com/experts

  • Regarding  working with oracle spatial database connections

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u  help me
    thank u
    kasim
    ([[email protected]|mailto:[email protected]])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • Regarding working  oracle spatial database programing

    sir/madem,
    i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
    i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
    the syntax for connection of oracle spatial database 10g/11g, needed,
    i have less time to finish my project
    i hope u help me
    thank u
    kasim
    ([email protected])

    For database access from Java, you will use JDBC.
    For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
    * [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
    * [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html]

  • New book! Physical Database Design: The Database Professional's Guide

    Morgan Kaufmann publishers have just released a new book on physical database design covering how to design indexes, range and hash partitioning, materialized views, storage layout, RAID, warehouse design and other physical design areas. The book covers Oracle and several other major databases. Lots of diagrams and examples. It's actually a really good book. An excellent book for people who design and administer databases.
    Available on Amazon and most other book sellers.
    Physical Database Design: The Database Professional's Guide to Exploiting Indexes, Views, Storage, and More
    by Sam S. Lightstone, Toby J. Teorey, Tom Nadeau
    Paperback, 448 pages, publication date: MAR-2007
    ISBN-13: 978-0-12-369389-1
    ISBN-10: 0-12-369389-6
    Series: The Morgan Kaufmann Series in Data Management Systems
    Link on Amazon:
    http://www.amazon.com/Physical-Database-Design-professionals-exploiting/dp/0123693896
    Link on the publisher's web site:
    http://www.elsevier.com/wps/find/bookdescription.cws_home/710637/description#description
    Comments on the book can be sent to: [email protected]

    how could we get the report of previous five years sale of the products.
    SELECT trunc(sale_date, 'YYYY'), sum(sale_qty)
    FROM   sales
    WHERE  sale_date >= add_months(sysdate-60)
    GROUP  BY trunc(sale_date, 'YYYY')
    suggest whether dropped Product name from the sale table as I already have a column prodid in it?Yes. Duplicated data is a Bad Thing. This is Rule #1 of the late Dr. Codd's 12 rules. These are the foundationstones of good relation design. Wikipedia has a good introduction to them.
    Cheers, APC

  • What the steps are useful for us while designing the database by Performanc

    Dear Experts
    Plz tell me.
    What the steps are useful for us while designing the database by Performance point of view.
    Like Proper indexing and table assing to specific tbalespace etc

    Oracle manuals would do the best for you. There is no step by step rules for tuning the database , had this be true , then Oracle must've write a programme , application or sql script to achive it . I would advise you to go through oracle performance and tuning guide .
    Hare Krishna
    Alok

  • To Design Distributed Database?

    What Architecture should I follow to Design Distributed Database?
    By using Forms at frount_end How do I design the Schema of client and server Database
    .

    I think you can use Java Trasaction API that is independent of the Resources and will give you more flexibility to handle trasactions
    This link may be helpful
    http://www.onjava.com/pub/a/onjava/2001/05/23/j2ee.html

  • How To Start Spatial Database

    Hi everyone,
    I have been working in Oracle world about 9 months, and now I am supposed to learn Oracle spatial database, and be a team member for spatial dw project. I searched it on google, but I also want to ask you about the starting point.
    Can you help me please.
    Regards,
    Dilek

    Hi,
    1. you need to read books about Oracle Spatial.
    2. Take Oracle Spatial Course (instructor-led).
    3. start hands on work and implementation.
    4. if you have a senior team member who have extensive knowledge in Oracle Spatial ....ask him to be your "mentor".
    5. you need to have PL/SQL skills, if you don't have it then start learning it.
    Hope This General Tips Helps.
    Regards,

  • Mining spatial database.

    Hi,
    I am using ODM 10g with Oracle 10g Database EE. I am using ODM for my thesis. I am wondering is there anyone try to use ODM with Association Rule to mine Spatial database? If yes, could you please share your experience?
    Any piece of information will be appreciated.
    Thank you very much.
    Kind Regards,
    Usman Tjiudri.

    Usman,
    Oracle Spatial and ODM had several case studies
    to mine using spatial estimates/aggregates.
    Specifically, we looked at how spatial estimates
    improve the accuracy of classification using abn, and
    the rmse in svm regression. We had very good results
    using spatial information. We expect spatial
    estimates to be useful when the tgt is likely to
    be correlated in "location", e.g. crimerates,
    real estate values etc. Note that we
    have not tried association rules in this study.
    Would be interesting to know your experience.
    ODM group may have a link to this case study
    somewhere. Otherwise, please post your email address
    and we will be happy to send you more information.
    - Ravi Kothuri.

  • Spatial database integration

    hello
    i want integration spatial database.
    both of databases is desigen by oracle.
    i havent any guide line for integration spatial database .
    please every body have applicable and useful guid line for example book and article introduce to me.
    my work is nonsemantic.

    Hi
    There is an Oracle Incremental Update IKM for spatial support in ODI that takes into account tables with spatial types and supports the incremental update pattern.
    Cheers
    David

Maybe you are looking for

  • How to get the PDF Convert button to show on Internet Explorer 9

    Using Internet Explorer 9 and Adobe Acrobat 9 and the PDF convert button does not show up.  How do I fix this?

  • Weblogic 7.0 javax.ejb.EJBObject

    I am running client side program using weblogic 7.0 and getting an error: Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBObject It should be something missing in my CLASSPATH Please help ! Thanks

  • Foreign language support in Dreamweaver

    How do I type foreign (Polish) characters in Dreamweaver CS6, US edition?

  • I'm using my iMac as a router and having some trouble.

    I have my Aris modem from Comcast plugged into my late 2009 iMac via Ethernet cord. I'm very happy with the increase in speed which jumped from around 14MB/s on average to 30MB/s. I've setup my iMac to share it's internet connection via AirPort. My s

  • Workflow w/ LR2 and PCS4

    I have been using LR2 for sometime and recently purchased CS4. What is the best workflow between LR2 and CS4? I shoot RAW...I have been importing into LR2 and do most of the global adjustments there before I take it to CS4 but I cannot get a RAW file