Spatial database sample
I am working with geoscience data would like to experiment with SQL Server spatial - I am looking for a sample database with some spatial objects (polygons)
Hello,
Please verify the links :
https://social.technet.microsoft.com/Forums/en-US/16e8ef04-ad7a-4637-8d6d-2a0781fc2ba4/spatiallocation-in-sample-aw-database-to-create-map-report?forum=sqlreportingservices
https://social.technet.microsoft.com/Forums/en-US/11bbc6ff-7922-4b3c-aa84-39949d502853/looking-for-a-comprehensive-sample-db-of-spatial-data?forum=sqlspatial
Regards, Pradyothana DP. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/
Similar Messages
-
Oracle Spatial book sample application
Hi all,
On Monday I received the Oracle Spatial book and I would like to post a topic about it. First of all I would like to congratulate the authors for their huge effort doing this excellent book. I think it will be very useful to the people that works with Spatial.
Next, my question is about the sample application showed in chapter 12 (SampleApplication.jsp). I run correctly mapviewer in my server and I can do the other examples, nevertheless when I want to start this application I recieve this error message about 'jdbc/spatial10g not found' in my web browser:
500 Internal Server Error
javax.naming.NameNotFoundException: jdbc/spatial10g not found
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.rmi.RMIContext.lookup(RMIContext.java:149)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.ApplicationContext.lookup(ApplicationContext.java:248)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.ApplicationContext.lookup(ApplicationContext.java:119)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at spatial2d_book._sample_2d_app._SampleApplication._jspService(_SampleApplication.java:264)
[SRC:/spatial-book/sample-app/SampleApplication.jsp:248]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
I am using Java 2 Runtime Environment version 1.4.2_02 and I think I have correctly configured the shared libraries in the oc4j server (sdoapi.jar, sdonm.jar, ojdbc14.jar, etc.). Anyway, I think I will be missing something but I don't know what.
I would be very grateful if somebody could help me.
Juan M.Hi Juan
Thanks for purchasing our book, and thanks also for the kind words.
I think I know what that problem is.
The application uses the network API. That API needs a database connection for the initial loading of the network. The connection used is provided by OC4J. This is done in the following code lines in the SampleApplication.jsp:
// Get JDBC database connection
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("jdbc/"+dataSource.toLowerCase());
Connection conn = ds.getConnection();
// Load network
net = NetworkManager.readNetwork(conn, networkName);
In other words, for this to work, you need a datasource defined for OC4J, called "jdbc/spatial10g" (since dataSource is defined by default to be "SPATIAL10G".
To define the datasource, refer to chapter 11, page 499, at the bottom of the page. You need to add the following to your data-sources.xml config file ($OC4J_HOME/j2ee/home/config/data-sources.xml):
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="spatial10g"
location="jdbc/spatial10gCore"
xa-location="jdbc/xa/spatial10gXA"
ejb-location="jdbc/spatial10g"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="spatial"
password="spatial"
url="jdbc:oracle:thin:@localhost:1521:orcl101"
inactivity-timeout="30"
/>
(Adapt the url parameter to match your database definition)
Thanks for pointing out this problem. We will update the errata page (http://www.apress.com/book/errataDisplay.html?bID=315&sID=2374) with clearer instructions.
Albert Godfrind -
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 -
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, HelenIdentifying 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] -
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
KabeerFolks,
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. -
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,
DilekHi,
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, -
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. -
Order entry database sample oc_popul.sql file
Hi Everyone,
I just recently install oracle xe 11 and it does not come with order entry database sample. i really want to get familiar with this order entry database as it will be use in the oracle test 1z0-051.
I already google it, and create all the necessary sql file and order entry database, however i still need to populate my order entry database.
I was wondering if anyone can send me this one file oc_popul.sql that will populate my order entry database?
Thanks.Pl post your OS details. Download the Examples zip file -
For Win 32-bit - http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
For Linux 64-bit - http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-linx8664soft-100572.html
Then follow these instructions - http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm#I4367
HTH
Srini -
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 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?
RegardsHi 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 -
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 -
Is any documentation available for OBIEE Spatial analytics sample??
Hi All ,
We are currently working on creating a demo wherein we want to enable users to drill on various hierarchies over world map. We are trying to achieve the same using SampleApp (v305) but have hit some roadblocks.
We could not find a document that explains the relationship between the tables of the Spatial Schema. Is there such documentation available?
We are unable to understand how is spatial data created and how to represent common sales analytics data using spatial data?
Is there any document explaining the steps taken to build the sample application map reports?
Is there a way to alter/customize spatial data based on specific requirements i.e. Interchanging certain cities within States etc?
Any help on the above issue ???It is out now
http://developer.microsoftband.com/ -
Password in database Sample Aplication 11g
How to find password for database sanple aplication 11g. User name is admin or demo. I am instaling database XE 11g, but I am not start sapmle aplication .
I am instaling database XE 11g. On the basis of a complete application : Sample Application. I can not find password for this application. On the login page says : By default, two accounts are created in the Sample Application: demo and admin. The default password for both accounts is the all lowercase name of the workspace in which this application is located.
Maybe you are looking for
-
Report to view- Inventory Balance
Client is asking for a report to view- Inventory Balance - current date data by raw materials, WIP, finish good, semi-finish good. By Internal order,Production order, Service order wise. Can you please help. Spandana
-
Simple question: How to set a different image to each side of a 3D cube?
Hi all, I'm very new in the use of Java 3D and I would like to know how to set, in a 3D cube, for each side a different image. Currently I've the code to set an image as texture of the cube, but it applies the same image to all the sides. However, I
-
Using CRMXIF_ORDER_SAVE to update configurations
Dear All, We are using the function module CRMXIF_ORDER_SAVE from the XIF interface of CRM in order to update configurations in several Order Contracts in CRM. After run we see the configuration correctly in the IPC configuration screen when displa
-
Opening landscape RTF report 11g output programmatically from the Form
Hi Using Forms/Reports 11.1.2.0 on SLES11 If I generate the report output in PDF and the output is landscape, then openning the PDF up using web.show_document (in Adobe Reader) is fine and it shows in a wide format even if sometimes it doesn't show t
-
Hi folks, I installed OS X Server (mountain lion) a year ago, just to give it a try and it was working properly. Since I was not using any services, I decided to stop most of them and since then I haven't been doing much with my server. I remember th