Has anyone tried to extend Spatial with a 3D primitive?

Has anyone tried to extend Spatial with a 3D primitive that for example can model buildings and tunnels? I am trying to add the polyhedron primitive next to the existing point, line, polygon model. I just want to hear some tips or ideas...

The plan is to make a new GType and new stored functions that recognize this GType.
A polyhedron could be of type 3008,3D and 8=polyhedron(=new). The elem_info
and ordinates contain multiple planes. Self-created stored functions would be
able to recognize this GType, e.g. area3D should give the sum of the areas of all the
faces of the polyhedron and should also work on Gtype=3003 and give the real area
of a 3D polygon instead of the projection.I wouldn't suggest this methodology if you are considering using any spatial indexing or
functions with your data.
There is a mechanism Oracle Spatial has for defining custom datatypes. It should only
be used with custom apps, i.e. it won't be usable in the context of applications that know
about Oracle Spatial data types.
The mechanism allows you to define you own element using an element type of 0, and using
the interpretation to define what you are looking at. You would also include an a supported
element type that approximates your geometry, and that element is the one that is indexed,
and the gtype entered is associated with that geometry. Your private functions could access
the 3d geometry when required. For instance, you want to have a 3d cube. It might look like this:
sdo_gtype=3002
sdo_elem_info=(1,2,1, 7,0,1, 22,0,2 etc.
sdo_ordinates=(0,0,0,2,2,2, 0,0,0,2,0,0,2,2,0,0,2,0,0,0,0, 2,0,0,2,0,2,2,2,2,2,2,0,2,0,0, etc
the 1,2,1 in the elem info array corresponds to a 3d line string that when indexed with a minimum bounding
volume encloses the 3d cube. The 0,0,0 and 2,2,2 in the ordinate array stored as the line string when indexed
include the bounds of the cube. Next in the elem info array are 7,0,1. The 7 means offst 7 in the ordinate array
and in this example is fixed. Next the 0 tells Oracle Spatial to ignore this element. The interpretation of 1 you define,
the number could be anything. Since it is my example, I'll say the 1 means this is the definition of the first face in the
x,y plane (i.e. the front face of the cube which faces me). I've set the ordinate array with the coordinates of that face.
Next in elem info comes 22,0,2 which is starting at offset 22 there is another element that Oracle spatial should ignore
(element type 0), and next comes 2, which might mean this is the second face definition, that I've defined as the right
hand side y,z plane.
etc.
The meaning of the interpretation value is only limited by your imagination.
Note while you can index three dimensions if you want, the only spatial functionality that supports 3d is a spatial
index and a filter query, and some lrs functions. You will not be able to run any operator except for SDO_FILTER if you
have a 3d index, and all spatial functions will only work on 2d.
Do not define your own gtype and expect to use spatial. it will not work.

Similar Messages

  • Has anyone tried DisKWarrior V4.2 with Snow Leopard V10.6.3?  Does it work?

    Has anyone tried DisKWarrior V4.2 with Snow Leopard V10.6.3? Does it work?

    Well, there is an article on MacWorld saying there were a lot of changes and improvements to Disk Utility.... and those have a way of impacting things.
    I got surprised to have trouble after 10.6.3 with SuperDuper on two different systems, that I am still scratching my head over, but had to use Carbon Copy Cloner and RESTORE in Disk Utility for now, would crash (sent report to both) as soon as SD began.
    TechTool Pro 5 is another that sometimes needs to take a couple weeks to see if they need an update and validate against the final shipped build.

  • Has anyone tried 1 terabyte drives with Apple G5 PCI RAID card 1M9699g?

    I am planning on setting up RAID 5 on one of my PPC G5 Xservers with an Apple PCI RAID card and 3 Hitachi 1 terabyte HDs. At $180 a drive and a $300 or so for a card this seems like a good setup. Has anyone tried this or have any suggestions.

    It worked, for about $860 I now have a 1.8 TB xServer

  • Has anyone tried to sync photos with the cable to itunes rather than how it should work via Wifi with iCloud?  The info on the Apple support page says that you should backup to both iTunes & iCloud, but 2x the Genius Bar told me not to.  Help please!

    Has anyone tried syncing their photos to iTunes with the cable in addition to how it should work via wi-fi on iCloud?  On the Apple support info page, it says you should do both types oof backup. The Genius Bar told me 2x not to do both.  What experiences has the community had?  I'm also having syncing issues with photos most recently as well as contact updates.  (I have an iPhone 4S with the iOS7.1)  Thanks much!

    It sounds like you are mixing up several different things (or not using the terminology that Apple uses).
    One thing is backup. You can backup via icloud or via iTunes and there is no reason you cannot do both -- I do and the second link below from Apple gives instructions. Doing a backup will include photos from the Camera Roll in the backup but you will not be able to see the results -- all of the backup data will be stored on iCloud or on your computer in files that are not designed to be accessed by you for any purpose other than restoring to your phone in the event of a problem. More information on backup:
    http://support.apple.com/kb/HT1766
    http://support.apple.com/kb/HT5262
    If you simply want to transfer photos from an iPhone to a computer, the terminology Apple uses for that is "import" and it is done without iTunes. New photos (taken after you change the setting) can be done via PhotoStream which is a cloud based option. The other option is via cable. Instructions for both: http://support.apple.com/kb/ht4083
    Syncing via iTunes (with regard to photos) is used to transfer photos the other direction -- from the computer to the phone. Instructions for that http://support.apple.com/kb/HT4236

  • Has anyone tried to use Labview with VNC

    I am trying to use VNC viewer and Labview to remotely code/control labview application. Lots of right clicks dont show up on the VNC. I guess this happens only for Labview and not for other applications. Has anyone tried to use VNC before? is there a workaround?

    Just confirmed that each of the above items works properly in our setup, using either WinME or Linux as the controller of the Win98 host. In the 'Connection Options' screen of the controlling computer I have only 'Auto-Select' and 'Emulate 3 buttons' checked. 'Current User Properties' on the controlled computer has only 'Accept Socket Connections', 'Do Nothing', 'Remove Desktop Wallpaper', 'Poll Foreground Window' and 'Poll Console Windows Only' checked. Hopefully one of the above will make a difference.
    Matt

  • Has anyone tried the TV@nywhere with SECAM?

    Est-ce que n'importe qui a essayé le TV@nywhere Master avec SECAM?
    I am considering living in France, has anyone had any experience with this card using the SECAM TV standard?
    Est-ce que j'habiter en France, n'importe qui considère a eu une expérience avec cette carte en utilisant la norme de SECAM TV?

    Sorry, no idea.

  • Has anyone tried a modified PAC with Janus Procy

    Hi, i have been tryin to get some privacy and speed with my firefox for android 35.0
    And modified PAC url according to this site: about:reader?url=http%3A%2F%2Fradare.org%2Fcgi-bin%2Fwk%2FTOR&tabId=7 .::. I.e the one for iphone : http://radare.org/tor.pac much faster and hopefully more secure.. anyone tried something similar? It would be nice to be proxied through tor.. but my ip seems the same.

    Hi Tullemeck:
    # Not sure what you mean by Janus proxy! Do you mean Mozilla proxy called Janus i.e. https://addons.mozilla.org/en-US/firefox/addon/janus-proxy-configurator/ and https://addons.mozilla.org/en-US/firefox/addon/janus-proxy-configurator/
    # Or do you mean something http://radare.org/y/
    # In any case it's hard to figure out what you did. Please let us know:
    #* what you did, what you expected, what happened
    #* what version of Android OS, what tablet or phone
    Cheers !
    ...Roland

  • Has anyone tried the "Table Filters" with Numbers 3.0 (Maverick).

    I use the formula If(isblank(A5),"","Data"). the previous version of Numbers treated the "" as a blank cell and the Table Filters did not display that row if I had the "Reorginize" filter set to "Is Not Blank". The Maverick version treats the "" as text. Has anyone found a work-around for this?

    EM,
    I'd suggest that you try changing
    If(isblank(A5),"","Data")
    to
    If(isblank(A5)," ","Data")
    I changed the null string to a space character.
    When you sort, choose text is NOT a space. (Edit: I meant to say Filter, not sort)
    Jerry

  • Has anyone tried the Zagg Smartbuds with Lumia 920...

    I just found that Zagg offers 50% discount in their website. I already have all my stuff covered in shields similar to theirs, but I was thinking of using the discount towards the Zagg smartbuds.
    So I was just wondering if anyone on here has personally used them and if so, what's your opinion on it?

    How long is the sale on for? I can try this evening, but here is what was the deal on the 900. The Zaggs have a single button control, which worked fine on the 900. Play Pause, answer/end, worked fine and I think double click forward, triple back, but don't hold me to that. The issue with third party headphone controls is that the volume stuff generally doesn't work because it is geared to iPhone (proprietary). In the Zaggs case they have a physical volume slider, so you can control the volume down from whatever you have the phone set to. It doesn't control the phone volume, like Nokias own headphones do. Other than that, the Zaggs are good earphones, especially at half off.

  • Has anyone tried using a MBP with TD at two different sites?

    I just got my TD at home and at one at work yesterday.  While I love the display and the docking ability it provides, I have encountered an issue that I haven't resolved, I was wondering if anyone else had noticed this.
    At home, the TD is positioned to the left side of the MBP, so I was able to orient the display preferences accordingly.  At work, I have to position the TD above the MBP.  The starting position for the TD is above the MBP. I am wondering if the MBP can recognize that these two TDs are different devices and position them accordingly.  It appears not.
    Another interesting quirk:  At home, the MBP recognizes the built-in mic and speakers and calls them Thunderbolt audio, I believe.  At work, it calls them USB audio.  I am wondering what other strange differences I'll see.
    2011 17" MBP
    TD
    Snow Leopard (hey, I still run XP under Parallels 6.0 - I like my SW to thoroughly soak before using it)

    Here's an update:  The Thunderbold Display user interface is broken.
    I made sure all the software/firmware was up to date (now they both label the TD audio as USB, interestingly enough - was the shipped firmware with one of the devices newer than that on the web site???).  On days when the Moon is full, the MBP comes out of hibernation with the only display on the computer, on cloudy days, the computer comes out of hibernation with the only display on the TD.  From 10 minutes after the hour until quarter to the hour, both displays come up, but open Finder windows randomly are placed on one display or the other.  On Thursday mornings, the icon locations on the desktop get shuffled like the display resolution was reduced to VGA and then restored.  While both the TD and MBP audio and camera work and I can set either to be active, the system has a definite preference to use the TD for audio and camera (except that Facetime only wants to use the MBP audio).
    Did Apple let Microsoft get their hands on this?

  • Final Cut Pro X and Macbook with 9400M chip. Has anyone tried it?

    I have a late 2009 Macbook with Nvidia GeForce 9400M graphics chip. I've got 4 gig RAM installed. Apple lists this chip as working with Final Cut Pro X. Has anyone tried it on a Macbook? Is the performance adequate or should I wait until I get a more powerful laptop?

    Yep, I've got a Macbook with that chipset and it runs FCPX. It's not blindingly quick but it work.

  • Apple should really come up with a dual sim card. Has anyone tried to use the dusl simcard adaptor?

    I see many ads for the dual sim adaptor, also it is being sold on some flights. Has anyone tried one? Instead of putting better cameras on their iPhones, Apple should really concentrate on making a phone with dual sim cards ( without asking exhorbitant prices) which will make travelling so much easier.

    Tell Apple:
    http://www.apple.com/feedback/iphone.html

  • Has anyone tried M-Audio ProjectMix IO with Logic?

    Has anyone tried M-Audio ProjectMix IO with Logic?
    I know M-Audio's drivers have had issues, but it looks interesting.

    The Fishman Triple Play is simply the best hardware option to date for triggering external MIDI whether hardware sound modules or software instruments.
    Having used many MIDI guitar converters since '89, I can say that the FTP tracking is very accurate and velocity dynamics are reasonably wide from soft to loud.
    The Triple Play app works in Stand Alone mode in OSX 10.7.5 but not in 10.8.3.
    In 10.8.3, you load the Fishman Triple Play plug-into into the I/O of a software instrument track.  Open the app and adjust sensitivity, mono vs poly, transposition down or up an  octave, etc.  Save your set ups as presets which can be scrolled through with the D-Pad control on the converter.
    While the GR-55 is an amazing all-in-one solution in a small, light weight package (in relation to the bulk and weight of several actual guitars, basses, amps, fx, etc), it is a poor choice for triggering external sound sources.  Whereas I can play "bass" lines on the open E and A strings with my now obsolete Roland GI-20 and RMC piezo equipped guitar without any sense of latency, the GR-55 latency was simply intolerable.  Of course one could revert to the old strategy of playing parts an octave higher on the fret board to increase speed and accuracy of tracking. But what about playing "piano" with  fretted triads against the open E or A strings???
    Think I'm full of hot air?  Skim through this: http://www.joness.com/gr300/MIDI_SPEED.htm
    I traded my GR-55 towards a JTV-59. 
    Once set up, you're gonna love the FTP.  As I mostly sequence MIDI in Logic, being wireless is incredibly convenient.
    Message was edited by: CC#11

  • Has anyone tried the new retina display MBP with a projector?

    I bought a new MacbookPro with retina display online the other day (hasn't arrived yet).  I use this primarily for business doing presentations etc.  Has anyone tried connecting a projector using the Thunderbolt VGA adapter?  Just curious if it'll work.
    Thanks

    Similar problem. I used my macbook Pro Retina with my Thunderbolt to VGA adapter all through the fall, and never had any trouble with it. Just before Christmas I got a Thunderbolt display.
    Since that time, whenever I connect the projector, I get a black screen. I can see and move the mouse, but nothing else. Other computers still work with the projector.
    I'm not certain if the Thunderbolt Display has anything to do with this or not, but it's just the timing that it happened.
    Grateful for anyone that can offer help!

  • Has anyone tried Thunderbird with Mavericks?

    Given that Mail is so completely useless at the moment, has anyone tried Thunderbird under Mavericks?

    Hi mmollo22.  I use an external monitor with my iMac - Dell U2412 connected via RGB
    Mail window on Dell - Reply window appears then almost immediately disappears UNLESS
                                            1)  Full screen mode
                                            2)  Pre-existing Reply window exists and is visible
    Mail window on iMac - Reply window appears on Dell regardless of pre-existing windows. Full screen mode reply                                        
    window appears on the iMac. 
    Others are having Gmail difficulties.  I haven't tested mine thoroughly yet, but it seems unaffected, which would also be strange.

Maybe you are looking for