Shape retrieval; finding all polygons in a huge grid;dynamic grid

Hi.
1) Is it possible to find (fast) all shapes (eg. polygons) in huge 2D grid? and if yes how can I do it? or do I have to cluster (or sort) my shapes first to make the search fast?
2)Is it possible to define a dynamic Grid
not like
SDO_DIM_ARRAY( -- 20X20 grid
SDO_DIM_ELEMENT('X', 0, 20, 0.005),
SDO_DIM_ELEMENT('Y', 0, 20, 0.005)
but sthing like
SDO_DIM_ARRAY( SDO_DIM_ELEMENT('X', 0, infinit, 0.05), SDO_DIM_ELEMENT('Y', 0, infinit, 0.05)
thx

no i am searching for something I haven't found neither in Oracle Spatial nor in Oracle spatial topology and network... documentation.
Here is what I have:
CREATE TABLE graphs ( id NUMBER PRIMARY KEY, name VARCHAR2(32), shape SDO_GEOMETRY, geom_id NUMBER);
INSERT INTO Graphs VALUES( 1, 'OBJECT 1', SDO_GEOMETRY(
2006, -- Multline string, 2 dimensions (X,Y),
NULL, NULL,
SDO_ELEM_INFO_ARRAY(1,1,8), SDO_ORDINATE_ARRAY(280,275, 208,168, 208,381, 280,275, 459,276, 90,168, 90,381)), 14);
INSERT INTO Graphs VALUES(2, 'OBJECT 2',SDO_GEOMETRY(2006,NULL,NULL,SDO_ELEM_INFO_ARRAY(1,1,6), SDO_ORDINATE_ARRAY(15,17,10,16, 20,38, 28,27, 459,276, 90,168)), 15);
INSERT INTO user_sdo_geom_metadata(TABLE_NAME,COLUMN_NAME,DIMINFO,SRID)VALUES('Graphs','shape',SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', 0, 600, 0.05),SDO_DIM_ELEMENT('Y', 0, 600,0.05)),NULL);
CREATE INDEX Graphs_spatial_idx ON Graphs(shape) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
If I would like to know if another Multiline- object (geometry2) with the coordinates 280,275, 208,168, 208,381 is in "object 1" anywhere in my table I can use something like SDO_COVERS(geometry1, geometry2);
AND NOW here is my problem. Supposed I don 't have the coordinates of geometry2 but an equal Multiline (equal in considering the shape for example like 180,175, 108,68, 108,281). Is there a way to search over all my geometrys in my table if geometry2 COVERS IN ANY WAY (any direction) the geometry in the table. I could code the problem in java but I would like to know if Oracle Spatial or Topology network has functions that support subgraph search.

Similar Messages

  • Find all music files and move to one folder for all of family to access, find all music files and move to one folder for all of family to access

    I seem to have music files in various places on my laptop, on my husbands computer and our main imac.  What we want to do is put all music on imac so when each of us logs on we have the same files availabe in itunes, but we logon seperately so we can have different playlists and checked music. So here is what I want to do:
    Find all music files on each computer seperately and put everything in one folder one each computer, so three folders total to start...
    Move my husbands itunes library and my itunes library from each of our laptops to our main imac, making one huge itunes folder
    I want to store our music on an external hard drive, which I have, so I have a full library for backup purposes.
    I want all future music downloaded on any of our laptops to transfer to the main imac computer, again to keep one main library
    I want all video, apps, books, etc on each laptop to be available in one file on my main imac also so we can all use them
    So mainly I want to organize, organize, organize and put everything in one spot so things don't get all messed up and some items are only accessible to me some times and not my husband or vice versa.  We want to share everything we can so we don't have to pay twice. I have read many instuctions, but nothing seems to be helping me and was hoping someone could...
    Thanks, l

    I am totally running into the same issue as well. On top of that, when syncing to my iPhone, it took some of the tracks from my iphone and recopied them to the iTunes library, as new files, so now I have a ton of duplicates, and tons of tracks that can't find the iTunes folder, so they have the little "!" next to them.
    It would be really nice to have someone answer this question. I didn't think, moving my iTunes library to a bigger external hard drive would have caused all this madness

  • I have recently sent my iPhone 3G away for repair and have received a new one in return. I managed to backup my phone before it was sent away, however now I am trying to sync the information again but I'm unable to find all of my purchased music on iTunes

    I need help trying to locate where I can find all of my purchased music from my account with the iTunes, to enable me to sync it back on to my new iPhone 3G... Any suggestions please??

    I am having this problem.  At first with the new iPhone 5, and then with the iPad 2.  I am not sure why this is happening. 
    My gut feeling is this is an iO6 issue and here's why -
    The problem mainly occurs with apps.  I have about 150 apps, and when I plugged in the phone, iTunes went to sync all of them.  The process would hang up after about 20 - 30 apps were loaded onto the phone. I could tell where about the process hung up because the apps on the phone showed up as "waiting".
    Then on the iPad 2 I plugged in to sync and saw there was a huge "Other" component in my storage.  It required me to restore the iPad 2 from backup.  With this restore the same issues occurred - putting the apps back on the iPad would hang up.  The videos on the iPad also got stuck - maybe after about 10 hours of videos transfered iTunes crashed.
    My solution has been to soft reset the device, restart Windows, and continue the process until it's complete.  This is remarkably inefficient and time-intensive but everything works with patience.
    I have been wondering if others have had these same problems. 

  • "The SPListItem being updated was not retrieved with all taxonomy fields." Exception while updating a taxaonomy field

    Hi All,
    I'm getting this exception "The SPListItem being updated was not retrieved with all taxonomy fields." when i try to programatically update a taxonomy field of a list item. Can any1 pls tell me why this exception occurs ???

    Recently hit this myself, as well.  Turns out it's a central admin setting that throttles the lookup return count, and Taxonomy fields are just lookups under the hood.
    Go into Central Administration, Manage Web Applications, select your web application, and then in the ribbon choose the dropdown under General Settings select Resource Throttling.  Find the setting for "List View Lookup Threshold" and raise
    it from the default 8 (can go up to 1000, but 20 is likely fine depending how many lookup fields you're pulling back in your SPListItem).

  • Find all groups in LDAP

    A user is member of a certain group. This group is member of multiple other groups and so on. Does anyone know how I can retrieve all those groups with java ?
    Do I have to loop through all the groups, get the DN and find all other groups that have that DN as a member, again loop through all these groups, ....., or are there better solutions ?
    Any help is very appreciated
    Koen Boutsen

    In general, you will have to find all groups which have the user as a direct member and then check out all groups who have these groups as members, etc.
    Some of the LDAPs have 'virtual' attributes which keep track of this forward mapping of group membership (which infrequently changes) and which can be simply fetched as if it were a normal attribute. For example, "nsRole" in iPlanet and 'memberOf' in Active Directory
    Hope that helps,
    Ken Gartner
    Quadrasis, Inc (We Unify Security, www -dot-- quadrasis dot com)

  • CS4 Dreamweaver Question: "Find all" has stopped working.

    Dreamweaver will no longer perform a search using the "Find All" option. Nor will it place results in the Search panel.
    Can you help in answering the question of how to make it work again?
    Dreamweaver will . . .
    Find Next within the current document.
    Find Next within a specified folder.  And, with repeated mouse clicks will find each instance within the defined set of pages.
    It will NOT . . .
    Find All within the current document.
    Find All within the defined set of pages (e.g. folder, site, etc.)
    The Search Panel at the bottom of the page will appear when the Find All search starts, but nothing populates in it.
    Your help in answering this question is most appreciated.

    It worked a couple of times, but no longer. Any other thoughts?
    If you have experienced it several times and using latest updates for CS4 this means there must be more going on.
    Do you check and repair your disk permissions for OSX on a regular base and do you have also latest updates for OSX (software update) running regularly?
    There are two other options, purge cache for folder (or delete the entire cache file to the trash and start again caching). In the Bridge prefs is a setting to also purge global cache. (Per CS4 it seems save to use this setting, earlier version could bring you in trouble as Tai Lao often has stated)
    You will find the cache file in the user library caches folder and it can grow to huge proportions.
    In the same library in the preferences is also a  Bridge plist file that can be deleted.
    Both Cache and plist file will refresh itself with a default empty file as after first install once you restarted Bridge.

  • Find All Occurrences always fails within loop

    Dear forumers,
    There's this strange problem that requires a fix.
    Finding all occurences of '#' works fine here:-
    REPORT  zz_test.
    DATA: lv_text TYPE string,
          ls_result TYPE match_result,
          et_release type table of yytc_release,
          lt_result  TYPE match_result_tab.
    lv_text = '"RFC-1234#Create ""Payroll"" under NL directory"'.
      FIND ALL OCCURRENCES OF REGEX '#'
                IN lv_text
                RESULTS lt_result IGNORING CASE IN CHARACTER MODE.
      IF sy-subrc = 0.   " SY-SUBRC is always 0
        READ TABLE lt_result INTO ls_result INDEX 1.
        WRITE :'Offset: ' .
        WRITE: ls_result-offset .
        WRITE: lv_text+00(ls_result-offset).
      ENDIF.
    But it always fails here, within a loop at an internal table:-
    SELECT * .... INTO TABLE it_jira ...
    LOOP AT it_jira ASSIGNING <jira>.
      <release>-summary = <jira>-summary.
      IF <release>-type CS 'Subtask'.
        " <release>-summary is of data type CHAR255
        PERFORM get_subtask USING <release>-summary.  
      ENDIF.
    ENDLOOP.
    FORM get_subtask  USING    pv_summary TYPE yytc_release-summary.
      DATA:
        lv_string  TYPE char255,
        lv_final   TYPE char255,
        lv_summary TYPE string,
        lv_strlen  TYPE i,
        lt_result  TYPE match_result_tab.
      lv_string = pv_summary.     " LV_STRING = '"RFC-1234#Create ""Payroll"" under NL directory"''
      CONDENSE lv_string.
      lv_strlen = STRLEN( lv_string ).
      lv_strlen = lv_strlen - 1.
      IF lv_string+0(1) = '"' AND lv_string+lv_strlen(1) = '"'.
        lv_strlen = lv_strlen - 1.
        WRITE lv_string+1(lv_strlen) TO lv_final+1(254).
      ENDIF.
      lv_summary = lv_final.
    "  FIND ALL OCCURRENCES OF '#'
    "      IN lv_summary
    "    RESULTS lt_result IGNORING CASE.   * SY-SUBRC is always 4 here too
      FIND ALL OCCURRENCES OF REGEX '#'
          IN lv_summary
        RESULTS lt_result IGNORING CASE IN CHARACTER MODE.
      IF sy-subrc = 0.    " SY-SUBRC is always 4 here - why?!  :(
      ENDIF.
      CLEAR: lv_string,
             lt_result.
    ENDFORM.                    " GET_SUBTASK
    Only when the string LV_SUMMARY is edited from within the debugger (add space to the string prefix, etc), the SY-SUBRC will be 0 and there'll be data found in LT_RESULT.
    How can I resolve this issue? Please do help. Thanks.

    I think the subtle difference is that in your first example the character is actually '#' whereas in the second example it is actually another (unprintable)value such-as line-feed and only APPEARS to be '#'.
    You must find out what the value in question is(will it always be the same value?) and then replace that instead of '#'.

  • How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them.

    How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them before updating.

    Thanks. This seems to have worked easily.

  • When looking at my "About This Mac" it says that I have 60gb of space left on my hard drive, but when I go into finder to find all of these files there is not 300gb worth in anything I search, even searching, "All files on the Mac". Help!?

    When looking at my "About This Mac" it says that I have 60gb of space left on my hard drive, but when I go into finder to find all of these files there is not 300gb worth in anything I search, even searching, "All files on the Mac". Help!?
    It says I have over 150 gigs of video on my hard drive. But I have gone through and deleted almost all of what shows up, still it says there is roughly the same amount on the hard drive. Where are these files? I want to delete them so I can have my hard drive clear.
    Thanks for your help guys!

    Quote from the article.
    Time Machine in OS X Lion includes a new feature called "local snapshots" that keeps copies of files you create, modify or delete on your internal disk. Local snapshots compliment regular Time Machine backups (that are stored on your external disk or Time Capsule) giving you a "safety net" for times when you might be away from your external backup disk or Time Capsule and accidentally delete a file.
    So what makes a notebook any different then a desktop, other then with a desktop you might have your tm backup drive connected all the time.
    The object here is to not indiscriminately delete files you need or want to keep. I personally have never deleted a file I wanted to keep.
    In essence a backup is for catastrophic failure of your system. So it can be restored once that failure has been fixed. Not because you go in willy nilly and start deleting files.

  • My Top Rated songs, when I synch my iP4S - comes up with an error message saying it can't find all the songs. When I check, library has songs listed but with a "!" bubble next to them. When I click on them they play. What am I doing wrong?

    When synching, itcomes up with an error message saying it can't find all the songs. When I check, library has songs listed but with a "!" bubble next to them. When I click on them they play. What am I doing wrong? This happens every time so I click them and it sorts them (boring with 200 odd). How can I prevent this?

    Once you successfully add you iTunes library to iTunes Match, you go to Settings>iTunes & App Store on your iOS device and turn on iTunes Match.  Your iTunes Match library will then appear on your iOS device.

  • How to find all open POs and there SUM

    How to find all open POs and there SUM
    Please help.
    Thanks,
    vihar9

    Have you tried looking at the tables, standard reports, or the PO display transaction?  Have you asked your functional analyst or development team lead? This is not a forum to post a requirement and get your job done for you...

  • How can I find all exclamation marks in my iTunes without clicking on each song?  Is there a way to delete all instead of one at a time?

    How can I find all exclamation marks in my iTunes without clicking on each song?  Can they be deleted all at once instead of one song at a time?

    Lost & Found
    Create a playlist called Found, select everything in Music and drag it into the Found playlist (it may take some time to count the tracks that are to be dropped). Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist.
    Optional: It depends a bit on why things aren't where iTunes expects to find them but if they are in sensible Artist & Album folders in some common location then my FindTracks script should be able to reconnect them to iTunes. FindTracks uses some fuzzy matching routines and searches for multiple potential locations. For more details see this thread. Once you have repaired the tracks that can be found you can drag the contents of the Lost playlist into Found which will update things.
    Or, you can simply delete all the tracks in the Lost playlist with Ctrl-A to select them and then Shift-Delete to delete.
    tt2

  • How can i find all included pictures which are not in a album? (only in the Library)

    How can i find all included pictures which are not in a album? (only in the Library)

    Hi there,
    I'm afraid I don't quite understand your question. All images are in your Library and only those you specifically select from that Library would be in an Album. What platform are you using? Revel Mac, Elements, web browser, etc?
    Here is a link with some helpful information:
    FAQ: File Basics: How do I Upload, Download, Share, and Delete files in Revel?
    Thank you,
    Glenyse

  • What query should I use to find all versions of Office 2013 64-bit installed on client computers?

    What query should I use to find all versions of Office 2013 64-bit installed on client computers? Could someone create a custom query? I need all of the client computers names and which ones have any Office 64-bit components. Thank you so much! I really
    appreciate it!

    Hi,
    You could edit the following query to meet your requirement.
    SELECT     dbo.v_R_System.Name0, dbo.v_GS_OPERATING_SYSTEM.Caption0 AS [Operating System],
                          dbo.v_GS_OPERATING_SYSTEM.CSDVersion0 AS [OS Service Pack], arp.DisplayName0,
                          CASE WHEN arp.version0 LIKE '11.0.6361.0' THEN 'SP1' WHEN arp.version0 LIKE '11.0.7969.0' THEN 'SP2' WHEN arp.version0 LIKE '11.0.8173.0'
    THEN 'SP3' WHEN
                           arp.version0 LIKE '12.0.6215.1000' THEN 'SP1' WHEN arp.version0 LIKE '12.0.6425.1000' THEN 'SP2' WHEN arp.version0 LIKE '14.0.6029.1000'
    THEN 'SP1' ELSE '' END
                           AS 'Service Pack', arp.Version0
    FROM         dbo.v_Add_Remove_Programs AS arp INNER JOIN
                          dbo.v_R_System ON arp.ResourceID = dbo.v_R_System.ResourceID INNER JOIN
                          dbo.v_RA_System_SMSInstalledSites AS ASSG ON dbo.v_R_System.ResourceID = ASSG.ResourceID INNER JOIN
                          dbo.v_GS_OPERATING_SYSTEM ON dbo.v_R_System.ResourceID = dbo.v_GS_OPERATING_SYSTEM.ResourceID
    WHERE     (arp.DisplayName0 LIKE '%Microsoft Office%edition%' OR
                          arp.DisplayName0 LIKE '%Microsoft Office Standard 2007%' OR
                          arp.DisplayName0 LIKE '%Microsoft Office Enterprise 2007%' OR
                          arp.DisplayName0 LIKE '%Microsoft Office Professional%2007%' OR
                          arp.DisplayName0 LIKE '%Microsoft Office Standard 2010%' OR
                          arp.DisplayName0 LIKE '%Microsoft Office Enterprise 2010%' OR
                          arp.DisplayName0 LIKE '%Microsoft Office Professional%2010%' OR
                          arp.DisplayName0 LIKE 'Microsoft Office 2000%' OR
                          arp.DisplayName0 LIKE 'Microsoft Office XP%') AND (arp.DisplayName0 NOT LIKE '%update%') AND
                          (arp.DisplayName0 NOT LIKE '%Microsoft Office XP Web Components') AND (dbo.v_R_System.Operating_System_Name_and0 NOT LIKE '%server%')
    AND
                          (arp.InstallDate0 NOT LIKE 'NULL')
    ORDER BY dbo.v_R_System.Name0, arp.DisplayName0, arp.Version0
    Full details:http://social.technet.microsoft.com/Forums/systemcenter/en-US/7baeb348-fb63-4115-8d76-2c884d18f708/sql-query-to-check-ms-office-service-pack-level?forum=configmgrreporting
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Is there a way to find all highlights made in the macbook ibooks library in the case that you cant remember the book in which the highlight was made?

    Is there a way to find all highlights made in the MacBook iBooks library in the case that you cant remember the book in which the highlight was made?

    Some things that might help:
    1. Only the most recently used apps actually occupy memory (used to be the most recent 4, but may have changed in the latest iPhones). After 4 (or so), IOS writes them out of active memory, as it does for even the latest 4 if there's no activity for a long time. So the business of closing all the open apps, apart from the most recent ones doesn't make a difference. Tis article has a good explanation:
    http://www.speirs.org/blog/2012/1/2/misconceptions-about-ios-multitasking.html
    2. There are settings about background app activity that might help:
    - Settings, General, Background App Refresh controls which apps can update their data in the background
    - Settings, Notifications controls which apps can tell you things, which they have to wake up to do.
    - Settings, Privacy, Location Services controls which apps monitor your location - another activity that uses resources
    Hope some of that helps

Maybe you are looking for