473,473 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

getting started with spatial extender

Hi. I am just getting started with DB2's spatial extender and could
really use some help. Pointers to good docs or examples are welcome.
I am using DB2 version 8 on Sun. I have a database of genomic data
and believe the spatial extender will help in querying. I have to do
intersections, subtractions, proximity, etc of ranges in the
chromosomes. The database and even some tables include data on all
chromosomes of several species. I am not even sure what coordinate
system to use. From my reading (if I understand it correctly) the
multiline data type sounds good, if I can assign species/chromosome to
individual lines. If I sound confused it is because I am ;) Any
pointers to get me started would be greatly appreciated.

Thanks,
Belinda
Nov 12 '05 #1
2 3106
bm****@penn.com (Belinda) wrote in message news:<87**************************@posting.google. com>...
Hi. I am just getting started with DB2's spatial extender and could
really use some help. Pointers to good docs or examples are welcome.
I am using DB2 version 8 on Sun. I have a database of genomic data
and believe the spatial extender will help in querying. I have to do
intersections, subtractions, proximity, etc of ranges in the
chromosomes. The database and even some tables include data on all
chromosomes of several species. I am not even sure what coordinate
system to use. From my reading (if I understand it correctly) the
multiline data type sounds good, if I can assign species/chromosome to
individual lines. If I sound confused it is because I am ;)
pointers to get me started would be greatly appreciated.

Thanks,
Belinda


I have made some progress of sorts. I still have no idea whether I
made the right choice but have set up the human genome as
MuliLineString type and have the y axis be the chromosome and the x
axis be the nucleotides. I have created a test table and registered
the columns. I can enter data using insert statements but this isn't
practical for real data. The loader returns SQL3529N The "LOAD"
operation encountered the unsupported data type
"Structured Data Type" in column "10" so that obviously doesn't work.
From my reading what I need is a GeoCoder. There are references to
writing your own but no links to docs on how to do it, only how to
register after it is written.

For reference the most detailed docs I have found so far:
http://www-306.ibm.com/software/data/spatial/db2sb.pdf

Belinda
Nov 12 '05 #2
Belinda <bm****@penn.com> wrote:
bm****@penn.com (Belinda) wrote in message
news:<87**************************@posting.google. com>...
Hi. I am just getting started with DB2's spatial extender and could
really use some help. Pointers to good docs or examples are welcome.
I am using DB2 version 8 on Sun. I have a database of genomic data
and believe the spatial extender will help in querying. I have to do
intersections, subtractions, proximity, etc of ranges in the
chromosomes. The database and even some tables include data on all
chromosomes of several species. I am not even sure what coordinate
system to use. From my reading (if I understand it correctly) the
multiline data type sounds good, if I can assign species/chromosome to
individual lines. If I sound confused it is because I am ;)
pointers to get me started would be greatly appreciated.
I have made some progress of sorts. I still have no idea whether I
made the right choice but have set up the human genome as
MuliLineString type and have the y axis be the chromosome and the x
axis be the nucleotides.
First, I believe the Spatial Extender (SE) could indeed be used for your
purposes. However, I am not aware of a real world scenario where folks
have done so.

As for the exact data type I would recommend, I need to get a better
understanding if your scenario. For example, if you want to store a
chromosome (with its embedded nucleotides) as a single value, then
ST_LineString might be a good choice. It might also be that you consider a
part of a chromosome as a single value. Storing all chromosomes together
in a ST_MultiLineString doesn't seem to be an ideal approach to me, but as
I said - I don't know all the details to make that call.
Maybe we should take this discussion offline?
I have created a test table and registered
the columns. I can enter data using insert statements but this isn't
practical for real data. The loader returns SQL3529N The "LOAD"
operation encountered the unsupported data type
"Structured Data Type" in column "10" so that obviously doesn't work.
From my reading what I need is a GeoCoder. There are references to
writing your own but no links to docs on how to do it, only how to
register after it is written.
DB2's LOAD command does not yet support the loading of spatial data. What
we would need to know is the format in which your data is available, e.g.
somehow you have to represent the spatial information (your chromosome
information). Once we know that, we can see if:
(a) the spatial extender's import routines could be used, or
(b) we have to write a small tool that will import/load the data from your
format
For reference the most detailed docs I have found so far:
http://www-306.ibm.com/software/data/spatial/db2sb.pdf
This document is the Spatial Extender User's Guide and Reference and is the
most complete document that describes the various functions and features of
the extender. There are also some papers available at different places,
which cover more specialized requirements (like more examples for geocoding
or replication of spatial data) - I don't think you need those, at least
not at this time.

You might also want to read the news group at
news://news.software.ibm.com/ibm.sof...b2.udb.spatial It is dedicated
to discuss problems and questions regarding the DB2 Spatial Extender.

Belinda


--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michele Locati | last post by:
Hello NG! I'm going to use MySQL to manage spatial data in a website made with PHP. In its manual I've seen that MySQL can manage georeferenced elements (points, lines and so on). But this...
0
by: Kiyoung Yang | last post by:
Hi, I'm using Oracle 9i with the spatial option. It seems that the spatial function, e.g., SDO_NN, does not consider the 3rd element in a point. I tried the following script to create a table,...
0
by: Gijsbert Noordam | last post by:
------_=_NextPart_001_01C349DA.E4B7E120 Content-Type: text/plain; charset="iso-8859-1" Hi, As a newcomer to this mailing list -- and to the MySQL database environment -- my main field of...
16
by: Stanley Sinclair | last post by:
Bear with me. I am being very calm; took a Valium. I have waited two weeks to write this, because every time I wrote it before the message was, at best, nasty. I need to use the services of...
0
by: cleo | last post by:
I've been exploring the implementation of the Extender Provider but I'm not having much luck with the documentation on the ProviderProperty Statement and the Object Types support by the Get/Set...
2
by: peter.prib | last post by:
Hi, I am having trouble getting DB2 to select an index I have created for a spatial location. Table definition create table gps_paf_address ( gnaf_address gnaf_address not null...
11
by: Brad | last post by:
To DB2 Personal Developer Edition GIS users: How do I acquire a spatial extender license key for the DB2 PDE? I expected to be able to use it right out of the box. Brad
4
by: satish mullapudi | last post by:
Hi Gurus, I am using DB2 UDB 8.2.I want to load/insert images into DB2 database.So I found out we need to enable DB2 Image extender .How to enable that extender? Please tell the complete process...
1
by: vasilip | last post by:
I'm testing out db2 for a project I'm starting that requires proper xml support and I can't seem to get both xml and spatial data to work well in the same table. Once having created a table...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.