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

Similar Messages

  • Private Virtual Database - Database model design

    I'm planing to design a new database model for a system that will integrate private virtual database. We will use private virtual database to use the same data structure for different users or systems.
    The systems are defined in a table.
    My question is what is the best way to maintain a good level of security but avoid too much overhead.
    1) We designed our model by adding an attribute and a foreign key in all our tables referring to the system that own the row.
    2) We decided later to limit the filter in main entity to avoid adding a filter in all our tables.
    But doing so let the child tables visible then accessed without a join to the main entity.
    Any recommendations/ideas for the best design in this context ?

    What was the objection to creating a filter on every table?
    The work and overhead by generalizing the filter into all tables.
    That would be the normal approach.
    I agree with you. Just need a confirmation it is the best and only true way.
    Another way would be to create view with inner join only in a separate schema or with permissions only in the views but i think it more overhead than defining the attribute in all tables. Its a much simpler approach.
    Thank you

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

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

  • 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

  • Database Models

    Oracles database has been since time memorial been based on the Relational data base model. We even have a way of converting object models into Relational model. Why do we stick to this model only? Other models; especially the Object oriented Database model is gaining popularity and the logical step as almost all computer s/w moves towards the Object oriented approach. Why has there been no move to migrate to such a model?
    what are the advantages/disadvantages of relational model to Object oriented model and some issues related to migrating to such a model?

    There are a number of Object Oriented databases out there, with Gemstone perhaps the best known. Also, Oracle, and other RDBMS vendors are adding more object oriented features all the time.
    However, there are some downsides to OO databases. One of the biggest is that it is often really difficult to query the data directly. All interaction with the database needs some sort of mapping layer to instantiate the objects and get their attributes. It is also difficult, and sometimes impossible, to generate ad hoc queries that try to look at the data in a way that does not match the object model, something that is relatively easy in a well designed relational model.
    Finally, object oriented databases represent a more or less one to one mapping to a currently popular programming paradigm. What happens to the data when the next great programming paradigm (foo perspective) comes along? Will the foo prgrammer be able to easily read the objects in the OO database? Probably not. Will the foo programmer be able to easily read the relational data? Almost certainly.
    John

  • Database modeling and -concepts

    Hello,
    I'm still quite new to Oracle Databases.
    At the moment I'm looking into the topics round "database modeling", "database concepts", e.g. rules to design the tables and relationships and so on.
    Maybe someone can help me where I can find some whitepapers, documentations on Oracle sites which show me the best or basic ways how to define tables and relationships between database objects in an Oracle Database?
    For example, i heard it would be a good way to put all "not null" columns of a table to the beginning when defining it with "CREATE TABLE"-statement.
    Does anyone know where i can find helpful whitepapers or documentations on these topics in the ORacle Technology Network or somewhere else?
    Thanks a lot for your help in advance!
    Rgds

    First of all you need to distinguish between data modelling and implementation. Because many tools only deal with the physical side of database design (tables, columns, indexes) it is quite common for beginners to miss this distinction.
    Data modelling (entities, attributes and relationships) is not a product specific topic and you might be best off looking at generic sites. William Kent wrote a simple introduction to the five Normal Forms. Then check out DataModel.org. Alf Pedersen has some good papers on an assortment of database design issues. If you want a head start on modelling, Barry Willaims has[b]published more sample designs than you could shake a stick at (they are for MSSQL but still quite helpful).
    Cheers, APC

  • Common database modelling practice

    one can easily see in DB developer/programmer job advertisements such requirement as database modelling experience/skills - what does it mean? What tools should I know (thirdparty or Oracle?)? I have heard about UML profile for DB modelling - how far it is accepted in daily practice? Besides - should I know some numerical methods (e.g. - try to compute quantities as expected transaction amount and relevant impact of indices etc. on performance... - how far should I be ready to go - as I can guess - the great math can be emplyed here - however - it seems not to be common in daily practice?)?

    DB Modeling at its core implies knowledge of table design/normalization best practices. Basically, can you take user requirements of a system and turn that into a properly normalized database diagram. Do some research on Database Normalization and creating Entity Relationship diagrams (ERDs)

  • Database Model

    Hi
    How can I create Database Model using BPA ?. Each event function I chosen may be a table and need to create a columns and types for this.
    Much appreciate your advice.
    Srini

    Hello Srini,
    BPA Suite offers many different models to design database models. The most common ones are:
    -     ERM
    -     IE Data Model
    -     Relations Diagram
    -     Table Diagram
    Due to the fact that the BPA Suite is based on ARIS (and that the original intention of ARIS was not to be a database design tool) you have no functionality to generate Oracle database schemas directly out of ARIS.
    We use ARIS (and in the future the BPA Suite) in the following way:
    -     design the business processes (from a pure business perspective – non IT relatetd)
    -     derive the IT processes from the business processes together with the IT related business objects
    -     refine the business objects modelled within the diagram type “Technical Terms” till you have identified IT related objects
    -     specify these IT related objects using an ERM diagram (or if we work in the JAVA world an UML Class Diagram)
    -     export these diagrams for finalization to a CASE tool (like Oracle Designer or some other I’m not going to mention on an Oracle site ;-) )
    I know that there is a problem with life cycle management of these diagrams when you change them in the design tool, but from our experience this is (for the time being) the efficient way to do it
    Dirk

  • Sql server will not start - Database 'model' cannot be opened. It is in the middle of a restore.

    Sql server service will not start after server reboot:
    2009-08-13 14:15:43.94 spid7s      SQL Trace ID 1 was started by login "sa".
    2009-08-13 14:15:43.97 spid7s      Starting up database 'mssqlsystemresource'.
    2009-08-13 14:15:43.97 spid7s      The resource database build version is 10.00.1600. This is an informational message only. No user action is required.
    2009-08-13 14:15:44.30 Server      A self-generated certificate was successfully loaded for encryption.
    2009-08-13 14:15:44.30 spid7s      Server name is 'WIN-37R9WFWAJIB\MSDB1'. This is an informational message only. No user action is required.
    2009-08-13 14:15:44.32 spid10s     Starting up database 'model'.
    2009-08-13 14:15:44.32 Server      Server is listening on [ 'any' <ipv6> 49167].
    2009-08-13 14:15:44.33 Server      Server is listening on [ 'any' <ipv4> 49167].
    2009-08-13 14:15:44.33 Server      Server local connection provider is ready to accept connection on [ \\.\pipe\SQLLocal\MSDB1 ].
    2009-08-13 14:15:44.33 Server      Server named pipe provider is ready to accept connection on [ \\.\pipe\sql\query ].
    2009-08-13 14:15:44.35 spid10s     The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run.
    2009-08-13 14:15:44.38 Server      Server is listening on [ ::1 <ipv6> 49168].
    2009-08-13 14:15:44.38 Server      Server is listening on [ 127.0.0.1 <ipv4> 49168].
    2009-08-13 14:15:44.38 Server      Dedicated admin connection support was established for listening locally on port 49168.
    2009-08-13 14:15:44.39 spid10s     Error: 927, Severity: 14, State: 2.
    2009-08-13 14:15:44.39 spid10s     Database 'model' cannot be opened. It is in the middle of a restore.
    2009-08-13 14:15:44.49 spid10s     Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized.
    2009-08-13 14:15:44.50 spid10s     SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informa
    there is plenty of room on the server, so i dont think its a disk space issue.  i am able to start the service as such:
    C:\Users\Administrator>net start MSSQL$MSDB1 /c /m /T3608
    The SQL Server (MSDB1) service is starting.
    The SQL Server (MSDB1) service was started successfully
    sqlcmd -e
    1> select name, status from sysdatabases;
    2> go
    select name, status from sysdatabases;
    name
                                                     status
    master
                                                           65544
    tempdb
                                                           65544
    model
                                                           65568
    msdb
                                                      1073807368
    SS_DBA_Dashboard
                                                      1073807368
    (5 rows affected)
    model is in RESTORING state and I dont know how to fix it.  I am running simple backups, so I have a somewhat recent backup of model.bak but when I attempt to restore it I get an error:
    1> restore database model
    2> go
    restore database model
    Msg 3112, Level 16, State 1, Server WIN-37R9WFWAJIB\MSDB1, Line 1
    Cannot restore any database other than master when the server is in single user
    mode.
    Msg 3013, Level 16, State 1, Server WIN-37R9WFWAJIB\MSDB1, Line 1
    RESTORE DATABASE is terminating abnormally.
    other forums suggest manually updating the status column but i dont know if my syntax is wrong or it just cant be done in sql server 2008:
    1> begin transaction
    2> update sysdatabases set status=16 where name='model'
    3> ;
    4> go
    begin transaction
    update sysdatabases set status=16 where name='model'
    Msg 4406, Level 16, State 1, Server WIN-37R9WFWAJIB\MSDB1, Line 2
    Update or insert of view or function 'sysdatabases' failed because it contains a
     derived or constant field.
    1>
    yet another forum suggested taking a cleanly shut down model.mdf and model.ldf from another sql server 2008 instance and placing those in the data directory while moving the 'restoring' ones to a backup location.  this didnt work either.  any help is appreciated im new to sql server and this is very frustrating!  thanks in advance!

    I have the same issue on SQL Server 2008R2, after a server reboot, but none of the NET START commands or command line attempts are successful to start the Service.
    NET START command results in "Access Denied" "System Error 5" and the Command line attempts result in
     Server      Error: 17058, Severity: 16, State: 1.
     Server      initerrlog: Could not open error log file ''.
    Any help?
    SQL Error log file:
    2011-03-29 16:50:49.40 Server      (c) Microsoft Corporation.
    2011-03-29 16:50:49.40 Server      All rights reserved.
    2011-03-29 16:50:49.40 Server      Server process ID is 7292.
    2011-03-29 16:50:49.40 Server      System Manufacturer: 'Dell Inc.', System Model: 'PowerEdge T710'.
    2011-03-29 16:50:49.40 Server      Authentication mode is MIXED.
    2011-03-29 16:50:49.40 Server      Logging SQL Server messages in file 'E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
    2011-03-29 16:50:49.40 Server      This instance of SQL Server last reported using a process ID of 7448 at 3/29/2011 4:30:06 PM (local) 3/29/2011 8:30:06 PM (UTC). This is an informational message only; no user action is required.
    2011-03-29 16:50:49.40 Server      Registry startup parameters:
      -d E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf
      -e E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG
      -l E:\MSSQL\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
      -T 4616
    2011-03-29 16:50:49.42 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2011-03-29 16:50:49.42 Server      Detected 24 CPUs. This is an informational message; no user action is required.
    2011-03-29 16:50:49.84 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2011-03-29 16:50:49.84 Server      Lock partitioning is enabled.  This is an informational message only. No user action is required.
    2011-03-29 16:50:49.86 Server      Node configuration: node 0: CPU mask: 0x0000000000fff000:0 Active CPU mask: 0x0000000000fff000:0. This message provides a description of the NUMA configuration for this computer. This is an informational
    message only. No user action is required.
    2011-03-29 16:50:49.86 Server      Node configuration: node 1: CPU mask: 0x0000000000000fff:0 Active CPU mask: 0x0000000000000fff:0. This message provides a description of the NUMA configuration for this computer. This is an informational
    message only. No user action is required.
    2011-03-29 16:50:49.89 spid9s      Starting up database 'master'.
    2011-03-29 16:50:49.95 spid9s      CHECKDB for database 'master' finished without errors on 2011-03-18 08:46:34.257 (local time). This is an informational message only; no user action is required.
    2011-03-29 16:50:49.95 spid9s      FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'MSSQLSERVER'.
    2011-03-29 16:50:49.97 spid9s      SQL Trace ID 1 was started by login "sa".
    2011-03-29 16:50:49.97 spid9s      Starting up database 'mssqlsystemresource'.
    2011-03-29 16:50:49.99 spid9s      The resource database build version is 10.50.1600. This is an informational message only. No user action is required.
    2011-03-29 16:50:50.20 spid13s     Starting up database 'model'.
    2011-03-29 16:50:50.20 spid9s      Server name is 'XXXX'. This is an informational message only. No user action is required.
    2011-03-29 16:50:50.21 Server      The certificate [Cert Hash(sha1) "C41DC20703F049763778AC2842C3C8A3A2C6EED4"] was successfully loaded for encryption.
    2011-03-29 16:50:50.21 Server      Server is listening on [ 'any' <ipv6> 1433].
    2011-03-29 16:50:50.21 Server      Server is listening on [ 'any' <ipv4> 1433].
    2011-03-29 16:50:50.21 Server      Server local connection provider is ready to accept connection on [
    \\.\pipe\SQLLocal\MSSQLSERVER ].
    2011-03-29 16:50:50.21 Server      Server named pipe provider is ready to accept connection on [
    \\.\pipe\sql\query ].
    2011-03-29 16:50:50.21 Server      Server is listening on [ ::1 <ipv6> 1434].
    2011-03-29 16:50:50.21 spid13s     The database 'model' is marked RESTORING and is in a state that does not allow recovery to be run.
    2011-03-29 16:50:50.21 Server      Server is listening on [ 127.0.0.1 <ipv4> 1434].
    2011-03-29 16:50:50.21 spid13s     Error: 927, Severity: 14, State: 2.
    2011-03-29 16:50:50.21 spid13s     Database 'model' cannot be opened. It is in the middle of a restore.
    2011-03-29 16:50:50.21 Server      Dedicated admin connection support was established for listening locally on port 1434.
    2011-03-29 16:50:50.22 spid13s     Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in
    the event log that may indicate why the tempdb files could not be initialized.
    2011-03-29 16:50:50.22 spid13s     SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.

  • Insert XML file into Relational database model without using XMLTYPE tables

    Dear all,
    How can I store a known complex XML file into an existing relational database WITHOUT using xmltypes in the database ?
    I read the article on DBMS_XMLSTORE. DBMS_XMLSTORE indeed partially bridges the gap between XML and RDBMS to a certain extent, namely for simply structured XML (canonical structure) and simple tables.
    However, when the XML structure will become arbitrary and rapidly evolving, surely there must be a way to map XML to a relational model more flexibly.
    We work in a java/Oracle10 environment that receives very large XML documents from an independent data management source. These files comply with an XML schema. That is all we know. Still, all these data must be inserted/updated daily in an existing relational model. Quite an assignment isn't it ?
    The database does and will not contain XMLTYPES, only plain RDBMS tables.
    Are you aware of a framework/product or tool to do what DBMS_XMLSTORE does but with any format of XML file ? If not, I am doomed.
    Constraints : Input via XML files defined by third party
    Storage : relational database model with hundreds of tables and thousands of existing queries that can not be touched. The model must not be altered.
    Target : get this XML into the database on a daily basis via an automated process.
    Cheers.
    Luc.

    Luc,
    your Doomed !
    If you would try something like DBMS_XMLSTORE, you probably would be into serious performance problems in your case, very fast, and it would be very difficult to manage.
    If you would use a little bit of XMLType stuff, you would be able to shred the data into the relational model very fast and controlable. Take it from me, I am one of those old geezers like Mr. Tom Kyte way beyond 40 years (still joking). No seriously. I started out as a classical PL/SQL, Forms Guy that switched after two years to become a "DBA 1.0" and Mr Codd and Mr Date were for years my biggest hero's. I have the utmost respect for Mr. Tom Kyte for all his efforts for bringing the concepts manual into the development world. Just to name some off the names that influenced me. But you will have to work with UNSTRUCTURED data (as Mr Date would call it). 80% of the data out there exists off it. Stuff like XMLTABLE and XML VIEWs bridge the gap between that unstructured world and the relational world. It is very doable to drag and drop an XML file into the XMLDB database into a XMLtype table and or for instance via FTP. From that point on it is in the database. From there you could move into relational tables via XMLTABLE methods or XML Views.
    You could see the described method as a filtering option so XML can be transformed into relational data. If you don't want any XML in your current database, then create an small Oracle database with XML DB installed (if doable 11.1.0.7 regarding the best performance --> all the new fast optimizer stuff etc). Use that database as a staging area that does all the XML shredding for you into relational components and ship the end result via database links and or materialized views or other probably known methodes into your relational database that isn't allowed to have XMLType.
    This way you would keep your realtional Oracle database clean and have the Oracle XML DB staging database do all the filtering and shredding into relational components.
    Throwing the XML DB option out off the window beforehand would be like replacing your Mercedes with a bicycle. With both you will be able to travel the distance from Paris to Rome, but it will take you a hell of lot longer.
    :-)

  • Design Guidelines

    Hi,
    is there a kind of document "Design Guidelines" like e.g. Java Look and Feel Design Guidelines ?
    Michel

    What are you designing? Clothing? Furniture?
    For just about anything, there are usually all kinds of design guidelines. Each one completely different.

  • About database modeling

    hi all,
    I wonder if there is a forum dedicated to database modeling (I don´t mean a forum about sql syntax but a forum that discusses about how to model relationships between entities and all that stuff)
    I know this forum has nothing to do with database modeling, so my intent is not to post any question about db modeling but just to find out if there is a forum dedicated to it anywhere on the web.
    If everybody in this forum is researching about JDBC then some of you may know about such forum over the web.
    Any hints will be welcome!
    tnx!
    Edited by: charllescuba1008 on Mar 15, 2010 1:03 PM

    jschell,
    the url you provided talks about OO modeling and this kind of modeling is related to DB modeling. It is a helpful forum.
    I am also considering visiting mysql and other database vendors websites to find out more specialized forums but only after i have a look at the forum you suggested!
    thanks for your reply!

  • How to save data model design in pdf or any format..?

    how to save data model design in pdf or any format..?
    i ve created design but not able to save it any mage or pdf format

    File -> Print Diagram -> To PDF File

  • How associating an XMLSchema to an XMLType Field with the database model ?

    How can I precise the XMLSchema to an XMLType Field with the database model ?
    I know how to do it in a SQL Syntax :
    CREATE TABLE xwarehouses (
    warehouse_id NUMBER,
    warehouse_spec XMLTYPE)
    XMLTYPE warehouse_spec STORE AS OBJECT RELATIONAL
    XMLSCHEMA "http://www.oracle.com/xwarehouses.xsd"
    ELEMENT "Warehouse";
    , but we have decided to generate the script with the Jdeveloper database modeler tools, and we don't how to precise this with using this tools ?
    Anyone could help me ?

    I'm not sure that it answers your question but under the tools menu there is an option called register schema with XDB.

Maybe you are looking for

  • How do you send an e-mail to all members of a defined group in smart groups?

    I am one of the organisers of an annual guitar meeting and want to send mail to all the regular attendees. I have set up a "Smart Group" and "Distribution List" but can't see how to send the information about our next meeting without entering all the

  • Is it possible to use  one imac to control the screen of another?

    Hi, I'm thinking of buying a new iMac. At present I have an older intel iMac (1.83, 17 inch, 2 Gigs ram, 250 hd) and I work mainly with Logic Pro 8. Logic Pro 8 has a node function which allows you to use the processing power of a second computer to

  • How to convert prescaled to postscaled values with custom scale?

    Hi, Is there any way to convert between prescaled and postscaled values using an arbitrary custom scale (i.e. linear, map, polynomial, or table)?  I'm trying to write a driver which allows users to choose an arbitrary (previously defined) custom scal

  • Performance Appraisal Audit?

    We are on version 4.7 and have been using the Performance Appraisal functionality since go-live in mid 2005. One of our departments has recently noticed that many of the documents that have been created are now missing, as in deleted, gone! It seems

  • Bug report:  double clicking a DataAction

    following the information in the bug, here is what I copied: Message BME-99009: An error has occured in the Java VM. Cause An operation has failed because an error has occurred in the Java VM. The current activity may fail and the system may have bee