Manipulating ST_ANNOTATION_TEXT

I've been experimenting with ST_ANNOTATION_TEXT and would like to build a small package to facilitate further work. I've used the example in the Spatial Developers Guide to create ST_ANNOTATION_TEXT rows and I've implemented a JAXB package to create the text attributes. I'm able to visualize text now with various fonts, sizes, weights, decorations, etc. But the ST_ANNOTATION_TEXT is an awkward structure with the useful attributes buried inside a VARRAY under four Types and I've not yet figured out how to read or update the individual ST_ANNOTATION_TEXT components.
I'm hoping someone can provide me with an example UPDATE statement that would let me update the label, geometries, and text attributes of an ST_ANNOTATION_TEXT element. And, what I'll eventually need to get to is Java code to create, select, and update ST_ANNOTATION_TEXT attributes. I'm primarily working with JPA but I'll start first with JDBC and move on to supporting it in JPA later.
Thanks in advance for any assistance you might be able to offer.
Mark
P.S. if anyone wants a copy of the JAXB ogcAnnotation package just ask and I'll email it to you. msm
Edited by: mmillman on Feb 1, 2012 9:33 AM

Yes, I found the classes in sdoviz (but only after I'd written my half baked versions). I was able to successfully create a JPA Converter and have that plus a JUnit test package that runs through both JDBC and JPA CRUD tasks. So if anyone wants these just send me an email and I'll happily send them back to you.
But, having done that and explored the functionality of ST_ANNOTATION_TEXT I'm almost certain that we won't use it unless we run across a client with a legacy implementation of it. The structure is awkward and complex and I half-suspect that it is only there to satisfy OGC compliance requirements. No blame to Oracle though, it is clearly the OGC standard, but like much OGC standards I struggle to believe that the designers ever actually had to deliver a functioning system. Before I get flamed, I express that opinion having been programming and creating spatial database and GIS systems for 34 years now and I'm a very 'practical' programmer. ST_ANNOTATION_TEXT just doesn't seem to be the model I'd want to use to implement a powerful annotation subsystem with.
Thanks for you help though and if anyone wants the Eclipselink JPA Converter for ST_ANNOTATION_TEXT I'm happy to email them the source code.
Mark
Edited by: mmillman on Feb 17, 2012 12:42 PM

Similar Messages

  • I would like to know why my bill was manipulated to cause an overage fee.

    Halfway through my previous billing cycle, I reduced my data plan from 3GB shared between me and my girlfriend to 2GB shared, so they pro-rated the next bill, showing it to be around $30 cheaper than it would otherwise be. Fast forward to today, I go to check my bill and see that I've incurred a $15 usage fee. However, when I go look at the Usage breakdown, I see the following:
    It clearly shows that the billing cycle started on May 20th, and that I made the change to go down to 2GB on the 30th. They decided to set my usage allowance for that period to 1.06400GB even though I'd already used 1.37900GB, leaving a .31800GB overage. Now, of course it shows that from May 31st through June 19th, I was allowed 1.29000GB and used 1.21100GB, clearly showing that even if it were split properly, I'd still be over.....except for the fact that I have text alerts set to notify me when I'm at 50%, 75%, and 90% usage so I can decide when to stop and avoid an overage fee.
    They seemingly, intentionally, manipulated the numbers in such a way as to get $15 more out of me that they otherwise wouldn't get because they knew I'd stop using data before an overage occurred.
    I am fully aware that $15 isn't a big deal. However, the fact that they apparently manipulated the numbers in such a way as to force an overage fee upon me is just plain wrong and it makes me very angry. The best part about this is that when you add up the 1.06400GB allowance of the first portion and the 1.29000GB of the second portion, that only totals 2.354GB, not the 3GB that the plan originally was. I had chosen to have the changes apply at the beginning of the next billing cycle, so there is no reason for me to have been shorted the 0.646GB of data, much less to have incurred an overage fee.
    Is this sort of thing common? Is it a glitch in the system, or was someone manually making these changes with malicious intent? More importantly, can or will they do anything to fix this?Verizon Wireless Customer Support

    See, the problem is you're both ignoring two facts.
    #1 - of the two options when changing the plan, I chose to have the changes not apply until the beginning of the next billing cycle. There never should have been the possibility of an overage as there should have been no prorating when I chose to have no changes until next billing cycle. The plan I was on was a 3GB plan, I had only used a total of 2.59GB. Again, that's aside from the fact that there shouldn't have been a prorating to begin with as I chose to have the new plan not apply until the next billing cycle.
    #2 - The total allowance between the two pieces of prorated data allowances is only 2.354GB, not the 3GB of the plan I was currently on. Yet again, I don't know how many more times I have to say this for it to be understood, I chose to have the changes not apply until the next billing cycle. This means that the plan should have never been split to begin with, let alone shorted 0.646GB of usage allowance.
    I'm sorry if I'm being short with you, but this is a clear-cut case of an error in the process and I do not appreciate being told I am mistaken when you haven't even bothered to pay attention to all the details and check the math for yourself.

  • User is getting Error while opening a Discoverer report::Model Manipulation

    Hi,
    I am stuck with a peculaiar error as reported:
    While opening a Discoverer Report its giving Error:
    Model manipulation via state object.Server writes and pass through reads can only be made on objects attached to the model
    instance of
    oracle.disco.model.corbaserver.ScheduleRunWorkbookInfoImpl made state from:removed from
    oracle.disco.model.corbaserver.schedule.ScheduleRunWorkbookInfoImpl
    Kindly any help will be benefitial for me.
    Thanks and Regards

    Pl post details of OS, database and Discoverer versions. Pl detail the steps to replicate this error. This MOS Doc may be helpful
    734850.1- Error "Failed to Find Workbook ParameterValue.." When Trying to Edit Scheduled Discoverer Workbooks
    HTH
    Srini

  • Image Processing Cells Manipulation

    Hi Guys,
    I am working on cells manipulation. Due to the nature of image processing which scans from a top-down-left to right approach, i am unable to fix a index number on the specific cell which I required this information in order to manipulate the cells as my command. The image processing will be running throughout the programme. As attached is the picture of the Imaq count objects i am using. 
    On a side note, just want to ask a biology-related experiment if anyone encounter the same issue before, why is a cell easily stuck onto the surface as this action prevents the cells from being trapped once it get stuck on the surface of the cover slip. 
    Thank you in advance,
    Scott
    Attachments:
    Image Processing.png ‏227 KB

    Hello,
    yes I understand your problem. But it seems to me that the scan direction has no effect on this... What if the scan direction was from bottom-up, left-to right and the cell flows in from the left bottom corner? You would have the same problem...
    Or do new cells flow into FOV of the camera only from top-left corner? Could you count the number of objects and linearly increment the indexes of your cells? For example, the first cell that comes into the FOV of the camera has index 0, and when the next cell is introduced, the first cell will have an incremented index that equals 1. And so on...
    But if the new cells come into the FOV of the camera randomly from left, right, bottom, top, etc... it would be more difficult. What you could do is calculate some parameters (check particle measurements in NI Vision Concepts)  for the cell you want to manipulate (at the time when you are sure this is the correct cell) and then compare these parameters with the cells on every subsequent frame. You can build a feature vector of these parameters and use classification tools. When you classify the cell, then you would have no problems manipulating it.
    If your cell changes shape dynamically, then I do not see a way to do this.
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

  • Need Date manipulation in BI Publisher report template

    Hi All,
    I need date manipulation in BI Publisher report template for e.g sysdate+4 this means i need 4 days after todays sysdate.
    That menas if today date(sysdate) is 09/01/2008 then i need (sysdate+4) i.e 13/01/2008.
    Please help me.
    Thanks
    Edited by: user562690 on Jan 9, 2009 3:21 PM

    Hi M14,
    I have doubt on similar type.I have AgreementStartDate as
    <AgreementStartDate>12/03/2008 07:24:10</AgreementStartDate> in XML format.
    I am not able to apply same formula for thsi date format in similar manipulation.
    Please help me.
    TIA
    skr

  • How to find out which plugin is missing ( embed width="100%" height="100%" messagecallback="parent.frames.MANIPULATIONS.AppendMessage" spinfps="15" spiny="30")?

    How to find out which plugin is missing fro mthe website: http://web.it.nctu.edu.tw/~twli/interactive/scr_tutf.htm?
    After looking at one similar question found in mozilla support and answered by jscher2000 (https://support.mozilla.org/en-US/questions/957655), I have found out I have to look for either &lt;object or &lt;embed. What I found is : &lt;embed width="100%" height="100%" messagecallback="parent.frames.MANIPULATIONS.AppendMessage" spinfps="15" spiny="30"
    What do I have to do now?

    This big1.mol (and possibly big2.mol) file is loaded in the embed plugin object that is opened in a iframe, so you can right-click the plugin area to check the embed code.
    *http://web.it.nctu.edu.tw/%7Etwli/interactive/big1.mol
    *http://web.it.nctu.edu.tw/%7Etwli/interactive/big2.mol

  • How do I know that a PDF files was manipulated?

    Is it possible to find out if a PDF files was manipulated? Such as if was added o deletede and so on?
    Thanks.
    Miguel

    Identifying fraudulent "phishing" email
    Report it to Apple: report phishing.mailtoloc

  • String Manipulation in BI Publisher Report Paramater

    Hi,
    My Problem is that I am not able to do string manipulation on BI Publisher report Prameters.
    Actually I want to Show Deptno-Dname in Menu(LOV).and when I select Certain combination like '10-Accounting',and while passing the parameter:Dept I wanted to Cut the department no(10) using string manipulation functions provided by oracle in Data Model(Query) in where clause like (where deptno=to_number(substr(:Dept,1,2)).
    This query is working fine in other application like TOAD,But not giving results in BI Publisher Report.
    It's also not giving any error while saving or running the report.
    Please suggest any solution.

    even I tried the following query in data model..
    select DISTINCT EMP.EMPNO as EMPNO,
    EMP.ENAME as ENAME,
    EMP.JOB as JOB,
    DEPT.LOC as LOC
    from SCOTT.DEPT DEPT,
    SCOTT.EMP EMP
    where emp.DEPTNO=DEPT.deptno
    and DEPT.deptno=nvl(to_number(substr(:department,1,2)),DEPT.deptno)
    But the Parameter which I want to pass say Department('10-Accounting'),
    Still it is showing employees from all departments.

  • Manipulating  XML file using flex 2.0

    Hi,
    how to add contents in to xml file using flex 2.0, ie i
    actually wants to write data in to a xml file, so that data to be
    appended at the end of the file.
    Kumar

    You can't! Well, at least Flex cannot do this. All Flex can
    do is send this data -- any data -- to the server and it's up to
    you how you want to append this data to a file on the server.
    You see, flex can't write to local files. If you looking for
    client side file manipulation, take a look at Flex's desktop
    brother call AIR!
    ATTA

  • Best Practice for Package Implementation of Data Manipulation

    Hi,
    Would like to ask which is better implementation for data manipulation (insert, update, delete) stored procedure for a single table.
    To create a single procedure with input parameter for the action such as 1 for insert, 2 for update and so on
    or
    to create separate procedures for each like procedure pInsData for insert, pUpdData for update...

    Hi,
    Whenever you create a procedure it resides as a seperate object in database.
    In my opinion its better to create a single procedure which takes care of all DML concern to a table, rather than creating different procedures for each DML.
    If your number of DML are more and interrelated then its better to create a package and put all related DML procedures in the package concern to one transaction or table. This is because whenever you will call a package entire package will be placed in the memory for a particular session. So if you create different procedures for DML then you need to call the procedures each time you want it to be executed.
    Twinkle

  • Just subscribed to Acrobat for $19.99/year to be able to use expanded pdf manipulation features. From left hand window I signed in successfully. However when I try to use a feature like export to Word doc I am sent to Web page to subscribe for more money.

    Just subscribed to Acrobat for $19.99/year to be able to use expanded pdf manipulation features. From left hand window I signed in successfully. However when I try to use a feature like export to Word doc I am sent to Web page to subscribe for more money.  I thought I had already paid for access to these features by subscribing for the $19.99? What features did this $19.99 allow me if NOT to edit or export PDF files?

    Please check the name of what you subscribed to. You say "Acrobat" but that isn't $19.99/year. Unfortunately Adobe have products which do the same thing and need to be used in different ways.

  • Manipulating matrix with XML

    Hi!
    I am implementing a form that looks and works like Frocasting in MRP. So, there are sometimes a lot of columns in matrix (more than 1000). I have to generate such matrix, put data there, read data. It will be like a self - made document in B1. The problem is that generating the columns, updating them an reading data is vee-e-ery slow when i use SDK objects. But the MRP Forcasting functionality in B1 works very fast. I suppose that B1 uses XML matrix manipulating. The question is - do someone have the info or maybe tools that will help me? Because generating XML strings "by hand" is very complex. And I'm a newbie in XML Do someone please can help me with the info?
    Regards,
    David

    Thank you Gianluigi!
    I was able to add Matrix & Columns via XML, but I cannot delete columns
    Could you please review my thread [here|Remove columns from Matrix using XML;.
    Respect,
    David

  • Video and audio manipulation

    I was reading the documentation for the media and all other related classes, and while there is functionality for video and audio playback, there doesn't seem to be any exposed lower level functionality in order to do things such as simple video and audio manipulation. I was wondering if there is any known way to achieve this? Also, is there any plan to incorporate something of this nature into JavaFx? Thanks in advance.

    Only things I can see in jira for this are:
    1. http://javafx-jira.kenai.com/browse/RT-19742 "Support simple video filters, like deinterlace, in MediaPlayer" (currently unscheduled)
    2. On http://javafx-jira.kenai.com/browse/RT-19582, Brian mentions "we already have separate issues on file for ... and 2) playing from a byte stream.", but I can't find a reference to the jira to play from a byte stream (I guess it's not public).
    If you can create a pretty specific and concise feature request, preferably backed with a use-case example, you can file it for consideration at http://javafx-jira.kenai.com

  • Iphone dialing. A basic phone allows number manipulation to add a prefix on a stored number in contacts, is there a way to do that?

    Iphone dialing. A basic phone allows number manipulation to add a prefix on a stored number in contacts, is there a way to do that?
    This is specially useful while traveling and you need to use numbers stored in a domestic style. Adding the possibility to have a prompt or cursor in the number dialing screen would be very helpful

    Further to my question Ill add an example:
    I'm in the US and need to call to Mexico City, the way to do,it is +52 55 12345678. This number is stored (and has been stored for years in yahoo contacts) as 12345678, the way you dial it locally; so now in order to call I need to add +5255 as a prefix to my stored contact.
    This is extremely easy in other simple phones and smartphones like Blackberry by copying, pasting and editing the final number you need but it seems impossible on iPhone. It requires a great deal of manual copying.
    I travel a lot and would be very thankful for a solution

  • Stapler - A python utility for manipulating PDF docs based on pypdf

    Link to github:
    http://github.com/hellerbarde/stapler/tree/master
    * Dependencies *
    Stapler depends only on the packages python and python-pypdf, both of
    which can be found in the archlinux repositories.
    * History *
    Stapler is a pure python replacement for PDFtk, a tool for manipulating PDF
    documents from the command line. PDFtk was written in Java, and natively
    compiled with gcj. And it has been discontinued a few years ago and bitrot is
    setting in (i.e. it does not compile anymore in archlinux).
    Since I used it quite a lot, I decided to look for an alternative and found
    pypdf, a PDF library written in pure Python. I couldn't find a tool which
    actually uses the library, so I started writing my own.
    At some point I plan on providing a GUI, but the command line version will
    always exist.
    * License *
    A simplified BSD Style license describes the terms under which Stapler is
    distributed. A copy of the BSD Style License used is found in the file "LICENSE"
    * Usage *
    I am too lazy at the moment to learn how to create a proper man page so this has
    to suffice.
    There are 4 modes in Stapler:
    - cat:
      Works like the normal unix utility "cat", meaning it con_cat_enates files. 
      The syntax is delightfully simple:
        Syntax
        stapler cat input1 [input2, input3, ...] output
        Example:
        stapler cat a.pdf b.pdf c.pdf output.pdf
        # this would append "b.pdf" and "c.pdf" to "a.pdf" and write the whole 
        # thing to "output.pdf"
      you can specify as many input files as you want, it always cats all but the
      last file specified and writes the whole thing into the last file specified
    - split:
      Splits the specified pdf files into their single pages and writes each page
      into it's own pdf file with this naming scheme:
        ${origname}p${zeropaddedpagenr}.pdf
      Syntax:
        stapler split input1 [input2 input3 ...]
      Example for a file foobar.pdf with 20 pages:
        $ stapler split foobar.pdf
        $ ls
          foobarp01.pdf foobarp02.pdf ... foobarp19.pdf foobarp20.pdf
      Multiple files can be specified, they will be processed as if you called
      single instances of stapler.
    - select/delete (called with sel and del respectively)
      These are the most sophisticated modes. With select you can cherrypick pages
      out of pdfs and concatenate them into a new pdf file.
      Syntax:
        stapler sel input1 page_or_range [page_or_range ...] [input2 p_o_r ...]
      Example:
        stapler sel a.pdf 1 4-8 20-40 b.pdf 1-5 output.pdf
        # this generates a pdf called output.pdf with the following pages:
        # 1, 4-8, 20-40 from a.pdf, 1-5 from b.pdf in this order
      What you _cannot_ do yet is not to specifying any ranges. I will probably merge
      select and cat at some point in the future so that you can specify pages and
      ranges, and if you don't, it just uses the whole file.
      The delete command works almost exactly the same as select, but inverse.
      It cherrypicks the pages and ranges which you _didn't_ specify out of the
      pdfs.
    contact me if you have questions about usage or anything, really
    2009, Philip Stark (heller <dot> barde <at> gmail <dot> com)
    Last edited by Heller_Barde (2009-08-05 21:02:54)

    firecat53 wrote:
    Are you planning on adding eventually the full functionality of pdftk -- rotate, watermark, encrypt, etc?  I occasionally use pdftk, and I'd like to see a replacement since it's apparently having troubles keeping up to date. Great work!
    Scott
    if you help me with ideas for the command syntax, sure why not. pypdf supports these things. can you make a complete list of things pdftk does that would be important to port over? and how the command line syntax for these features work. I'll then get working
    EDIT: I just had a look at the pdftk man page (didn't think of that when i wrote the above...) there are some things that will not be possible with the current version of pypdf (and frankly i doubt there is going to be a new release):
    update_info (because there is no way to write document properties with pypdf, you can read them just fine though)
    fill_form  (similar reason. it's just not supported)
    the rest will be fine. I'll rename split to burst and then I'll mimic the cat function. the others should be no problem either.
    although... i didn't find anything on rotate in the pdftk manual. how should i implement a rotate function? Rotate complete documents or single pages?
    cheers
    Phil
    Last edited by Heller_Barde (2009-08-06 07:08:42)

Maybe you are looking for

  • About quicktime plug in "tab" freezes in IE7?

    http://www.apple.com/trailers/independent/risebloodhunter/trailer/ Can someone tell me if when clicking on the about quicktime plug in tab it freezes in IE7? On my computer it always freezes in IE7. This happends on Windowes Vista with Quicktime 7.1.

  • Can't install Microsoft Office 2011 due to isync

    I cannot install office 2011 because there appear to be no way to quit the application isync. I tried all the usual methods but a pop up window continues to tell me that I must quit isync in order to complete the installation. The same thing happens

  • Missing fonts after upgrade

    I've noticed that a key group of fonts I use on a regular basis are not being listed in my programs, however they are being listed in Font book as being installed.  This has only been since I upgraded to Lion.  The two fonts I am specifically looking

  • Repadmin privileges

    hi, can i register user repadmin as receiver and as proxy_snapadmin? i want to use advanced replication with 1 master site and 1 materialized view site(updatable mviews) for learning purpose thanks

  • How do I turn psd files into multiple size pngs?

    I have over 2,000 different size psd files, both portrait and landscape, that need to be formatted in 3 main ways. I am looking for some automator or photoshop actions way to do this to save hours and hours and hours of work. The first step is that e