(JS) Find Page of Object

While preparing a presentation I'm going to be giving in a couple of months, I took a good hard look at my findPage(theObj) function and I think that this is as good as it gets:
function findPage(theObj) {
  if (theObj.hasOwnProperty("baseline")) {
    theObj = theObj.parentTextFrames[0];
while (theObj != null && theObj.constructor != Page) {
    var whatIsIt = theObj.constructor;
    switch (whatIsIt) {
      case null : return null;
      case Character : theObj = theObj.parentTextFrames[0]; break;
      case Cell : theObj = theObj.insertionPoints[0].parentTextFrames[0]; break;
      case Application : return null;
    if (theObj == null) return null;
    theObj = theObj.parent;
  return theObj
} // end findPage
The previous versions posted in various threads here reflected various degrees of needless caution about what might happen, for example if the object were anchored to text in a cell in an overset table. The above returns null in that case with no need for try/catch.
Notice the use of objects rather than their names. Works! This is similar to the instanceof construction but it's easier to test the negative.
If anyone can knock a hole in the above script, I'd be very interested in hearing about it.
Dave

[email protected] wrote:
> Thanks Harbs, interesting points.
>
> 1. I've resisted the use of while(theObj) because it just feels unnatural from a readability point of view. It might be worth setting up a timing test to compare the speed of it with while(theObj != null).
>
>
I find (theObj) more readable, but that's probably because I have a
funny way of thinking, and don't like reading anything extra... ;)
I remember the first time I saw Kris use "0" instead of false and "1"
instead of true, it looked so odd to me, but I've gotten so used to the
short-hand way of writing everything that the long-hand way looks clumsy!
My point here was that "theObj.constructor != Page" was not necessary.
> Your idea of moving the catch for Page into the switch is interesting. That would actually make it impossible to drop out the bottom of the while loop.
>
>
Exactly. Here's (approximately) what I meant: (It should work in CS3 and
later -- in CS2 and earlier, storyOffset was a number and not a
character) Also, Notes can have a lot of nesting, and this will not
catch that...
function FindWhere(theObj,where) {
var err;
if(where==undefined){where=Page}
if (theObj.hasOwnProperty("baseline")) {
try{theObj = theObj.parentTextFrames[0];}
catch(err){}
while (theObj != undefined) {
var whatIsIt = theObj.constructor;
switch (whatIsIt) {
case where : return theObj;
case Note:
case Footnote: theObj = theObj.storyOffset;break;
case Character : theObj = theObj.parentTextFrames[0]; break;
case Cell : theObj =
theObj.insertionPoints[0].parentTextFrames[0]; break;
case Application : return null;
if (theObj == undefined) return null;
theObj = theObj.parent;
return null;
> 2. A test for null catches undefined values. I've always used that test, so I'm going to stay with it. Again, the form if(!theObj) strikes me as something I'd have to pause and think about for a moment each time I read it, so I tend not to use that construction.
>
>
Yes, I know "==null" works. My point was that if you want the
readability factor, "==undefined" is more correct -- the text frame is
undefined and not null. To illustrate this point theObj === undefined
will return true, while theObj===null returns false.
> 3 & 4. Aha, I never thought about footnote references and notes. They hardly ever come up in my scripts so I hadn't had the need to think about them.
>
> 5. "infinitely"?
>
>
Okay. "Infinitely" might be a bit of an exaggeration, but I do use
"FindWhere" on a lot of different levels. For example, it's very useful
for finding if an object is on a MasterSpread.
> At one point, my version of this function did indeed return the last text frame of a story if the object were in overset text, but I ended up realizing that this was rarely useful and indeed misleading. But it is an option that is occasionally needed.
>
>
I find it very useful indeed. I have a separate function to verify
oversets if necessary.
> Thanks for the feedback.
>
> Dave
>
Harbs
http://www.in-tools.com

Similar Messages

  • Oracle Access Manager Configuration : Cannot find the Person Object Class

    Hi,
    I am trying to install OAM , I am getting the following error when i am configuring the Identity server for the first time.
    1) I have installed OID. I am using one OID for both config and user data.
    2) I have installed Identity server and have modified the OID schema automically during installation.
    3) I have installed web pass.
    I have gone to the url: http://trn-ps-oid.oracle.com:7777/identity/oblix
    Here i gone to Identity System Console to configure Identity server.
    Following are the config data i have given
    Configuration DN : dc=mydomain,dc=com
    Search Base : dc=mydomain,dc=com
    Host : mypc.mydomain.com
    Port Number : 389
    Root DN : cn=orcladmin
    Root Password : *******
    Directory Server Security Mode : Open
    Is the Configuration data stored in this directory also : Yes
    Person Object Class : inetorgperson
    Auto configure objectclass : yes
    Group Object Class : groupOfUniqueNames
    Auto configure objectclass : yes
    After this I have clicked on the restart server button.
    It comes back to the page asking to enter Person Object class details.
    I Get the Error : Cannot find the Person Object Class.
    I have checked the object class in OID it is there, I have verified the connection details are also correct.
    Any Ideas what might be wrong.
    Earlier during setup i had to modify the OID schema, how do i check if this has been done.
    Any Ideas

    <?xml version="1.0" encoding="utf-8"?>
    <ValNameList
    xmlns="http://www.oblix.com"
    ListName="setup.xml">
    <NameValPair
    ParamName="mainOIS"
    Value="true"></NameValPair>
    <NameValPair
    ParamName="currentStep"
    Value="LDAP_CONFIG_CHANGES"></NameValPair>
    <NameValPair
    ParamName="status"
    Value="incomplete"></NameValPair>
    <NameValPair
    ParamName="whichDB"
    Value="OID"></NameValPair>
    <NameValPair
    ParamName="dataDirCopied"
    Value="TRUE"></NameValPair>
    <NameValPair
    ParamName="machineNo"
    Value="localhost"></NameValPair>
    <NameValPair
    ParamName="portNo"
    Value="389"></NameValPair>
    <NameValPair
    ParamName="rootDN"
    Value="cn=orcladmin,cn=Users,dc=mydomain,dc=com"></NameValPair>
    <NameValPair
    ParamName="ldapRootPasswd"
    Value="**************"></NameValPair>
    <NameValPair
    ParamName="securityMode"
    Value="Open"></NameValPair>
    <NameValPair
    ParamName="oblixUserDataSame"
    Value="Yes"></NameValPair>
    <NameValPair
    ParamName="searchBase"
    Value="dc=mydomain,dc=com"></NameValPair>
    <NameValPair
    ParamName="configDN"
    Value="dc=mydomain,dc=com"></NameValPair>
    <NameValPair
    ParamName="obClassPerson"
    Value="inetorgperson"></NameValPair>
    <NameValPair
    ParamName="defaultConfigForPersonOC"
    Value="true"></NameValPair>
    <NameValPair
    ParamName="obClassGroup"
    Value="groupOfUniqueNames"></NameValPair>
    <NameValPair
    ParamName="defaultConfigForGroupOC"
    Value="true"></NameValPair>
    <NameValPair
    ParamName="obOldClassPerson"
    Value="inetorgperson"></NameValPair>
    <NameValPair
    ParamName="obOldClassGroup"
    Value="groupOfUniqueNames"></NameValPair>
    </ValNameList>

  • Unwanted query execution before adding Find page restrictions

    Hello,
    When the JHS (10.1.2.1.27) application I made is started, the whole table content is queried without restrictions BEFORE the Find page has loaded.
    Because it's a fair amount of data, I get out of memory messages.
    I have used 2 specific settings that are related to this:
    1) Property "Use Table Range?" has been turned off
    2) Query Bind Parameters are used
    Looking in the log files I noticed the following:
    13:24:00 DEBUG (JhsActionServlet) -Request URI: /PppHseSisQuery/FindPppVLastBhy.do
    13:24:00 DEBUG (JhsActionServlet) -Request Character Encoding: ISO-8859-1
    13:24:04 DEBUG (JhsDataAction) -Executing action /FindPppVLastBhy
    13:24:04 DEBUG (JhsDataAction) -Created searchBean map and stored on session
    13:24:04 DEBUG (JhsDataAction) -Created new searchBean for PppVLastBhyUIModel and added to quick search bean map
    13:24:04 DEBUG (JhsDataAction) -Stored searchBean for PppVLastBhyUIModel on request
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 0 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 1 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 2 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 3 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 4 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 5 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: value of bind param 6 set to null
    13:24:04 DEBUG (JhsDataAction) -ViewObject PppVLastBhyView: executing query, bind parameter values have changed
    It seems that the bind parameters get initialized in some kind of way at startup.
    This is detected as a change in value apparently, after which the query execution is triggered.
    So far so good. The problem is that my main query restriction is not related to any of the query bind parameters.
    Because the Find page has not been loaded yet, this mandatory restriction has not been added to the searchBean yet and will therefore not be added to the view object's where clause.
    The result is that all table records will be queried.
    My question: Is there any way to prevent the query to be executed before the Find page has loaded?

    Have you tried setting the group checkbox "Auto Query?" to unchecked? This should prevent the query from executing before the find page is loaded.
    Steven Davelaar,
    JHeadstart Team.

  • Finding a View Object...

    Hi All,
    How to find a view Object in Controller Class...
    Please let me know...

    Hi,
    View object can be accessed through the page's Application module method.
    E.g.
    OAApplicationModule am1 = oapagecontext.getApplicationModule(oawebbean);
    OAViewObject vo2 = (OAViewObject)am1.findViewObject("YOUR_VIEW_OBJECT_NAME");
    Hope this helps.
    Cheers,
    AD

  • Exporting single extension Definition or single page customization object

    Hi,
    How to export and import single extension Definition or single page customization object.
    If we select dataset then it will export all the objects, and I couldn't find option in Single SRM object.
    Regards,
    Prabhat

    Hi Prabhat,
    Unfortunately, oma export doesnu2019t allow export of single extension. Either you would have to do it as a dataset which will export all extension definitions, or use csv. Iu2019ve always used csv to manage extensions.
    For page customization, create a custom oml query by duplicating the standard page customization oml query and add your filter conditions in the WHERE clause of the SQL. Then use the Object List option and select the custom oml query. The other option would be use csv import. Iu2019ve always preferred csv for page customizations.
    Hope this helps.
    Regards,
    Vikram

  • System: unable to find the specified object.

    I am trying to install tomtom 5 for mobile on my 9300i. Installation is fine but when I try to launch the application it gives the following error.
    system: unable to find the specified object.
    I am not able to find any work around this. Any idea please share.
    thanks in advance

    Hi
    I have managed to get TOMTOM mobile 5 working on my Nokia 9300i.
    I think its just that the TOMTOM software was writen before the 9300i was released so it does not know whether the 9300i is series 60/80 or 90.
    So change the file extension names of the file system/apps/ttmobile/ttmobile.app to ttmobile.appx
    If your doing this in the phones file manager you may not be able to see the system directory so press the menu key when viewing the memory card directories in the memory card in file manager, then change the view seetings under the tool pull down menu.
    Then once changing the S60 file extension name go into the system/apps/ttmobile80/ttmobile.appx to ttmobile.app
    This will mean that this file shortcut will now appear on your desktop for Series 80 and not the series 60 version.
    You will need to do the same for the Contacts program.
    Change system/apps/TTnavcontacts/ttnavcontacts.app to ttnavcontacts.appx
    Change system/apps/TTnav80/ttnav80.appx to ttnav80.app
    Hope this helps this is the first time I have replied to a discussion page so don't expect any rapid response if you ask me a question..

  • I can't find the image object menu item when trying to add an image placeholder in dreamweaver cs6

    I am new to dreamweaver, and am walking through some tutorials.  I can't seem to find the image object menu item to place a image placeholder on my page.  Any suggestions?  Do I have a setting that is currently hiding its visibility?  Thanks  (I am currently working with dreamweaver cs6)

    They removed it in the new Cloud version of DW CS6.
    http://blogs.adobe.com/dreamweaver/2012/10/dreamweaver-creative-cloud-update-12-1-faqs.htm l

  • Find element by object styles  and copy it

    Hello, I would like to create a script.
    Find element by object styles :
    Outside of document, I create on block with the object style "reference". This will be unique.
    After selected, I want to put it on CLIPBOARD or just do a copy.
    If selected by object styles isn't possible, how i can make a id on my element?
    Can you help me?
    Thancks a lot!

    Thank a lot!
    So, I have a find/change with a grep code.
    I copy an element, and I launch the search. My requete says "when you find this, paste".
    I use a javascript which do all my find/change like this :
    var myTextFrame = app.selection[0];
    var myStory = myTextFrame.parentStory;
    app.loadFindChangeQuery ('PuceSimple_enPuceCouleur_Courant', SearchModes.grepSearch);
    myStory.changeGrep();
    This work very well, so If I select my element, I copy, I select my texframe, I run the script all is OK.
    But I would like that script do this :
    I select my texframe and run my script : it copy element (it find by label or object style) and run the find/change grep.
    I put it some shots :
    1 : you see that my element is selected, it has a object style name, a label name. I think that it will be outside the page. I copy it.
    2. I run the find/change
    3 it's work !
    Do you understant what I want to do in scripting ?

  • How to find a annotation object using plugin API?

    How to find a annotation object using plugin API?

    You would use PDPage methods to find out how many on a page, and to
    get them in turn.
    Aandi Inston

  • MapBuilder Error:Can not find a GeoRaster object with specified rdt and rid

    Hello,
    I can't GeoRaster data in the preview of the MapBuilder and MapViewer. The GeoRasterViewer shows the Raster images without problems.
    MapBuilders error message:
    19.11.2008 13:07:11 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    SCHWERWIEGEND: GeoRaster load Exception:
    oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
         at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
         at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    19.11.2008 13:07:11 oracle.sdovis.LoadThemeData run
    SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
    Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    19.11.2008 13:07:11 oracle.sdovis.MapMaker buildDataMBR
    WARNUNG: null MBR resulted from buildDataMBR.
    The errror message of MapViewer is nearly the same with some more informations about the spatial query and the coordintes of the query window. If I run that spatial query in the sqldeveloper it returns a result!
    I did following stebs:
    - saved a tiff-Image in a GeoRaster table with pyramid an tiled images.
    - checked the sdo_geom_metadata --> they are correct
    - checked the sdo_georaster object for the rdt table name and rasterid --> they are correct
    - checked the rdt table --> objects with that rid are saved
    - checked the mdsys.sdo_geor_sysdata table --> entry is correct
    - validate the geraster with the sdo_geor.validategeoraster function --> object is valid
    - updated the spatial extend of the image and try again the preview functio--> the same error
    The databse server is a virtual Linux server with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit.
    The web server is a Window 2003 R2 Server with a weblogic server and mapviewer patch 5 (Ver1033p5_B081010).
    For a test I did the same (the same table script, the same raster data, the same import method) on a developer pc (WinXP Pro SP2) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 (32bit) the same mapbuilder version but with the MapViewer QuickStartKid and it works fine!!!
    Has anyone an idea?
    Greeting,
    Cord
    Edited by: Corti on Nov 19, 2008 2:14 PM

    Hi Joao,
    Thanks so far.
    I'm previewing a GeoRaster theme. I created it with the MapBuilder GeoRaster wizard. The theme difinition is (out of the export file):
    RAS_DGK|
    null|
    RAS_DGK|
    GEORASTER|
    <?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="georaster">
    </styling_rules>|
    (GeoRaster table name is "RAS_DGK", theme name is also "RAS_DGK")
    I get following log information:
    preview without a coordinate or scale:
    MapBuilder Error (as pop up): MAPVIEWER 01005: no spatial data to render
    log file:
    20.11.2008 10:17:27 oracle.sdovis.LoadThemeData run
    FEINER: LoadThemeData running thread: Thread-43
    20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: Original query window: -Infinity,-Infinity,NaN,NaN
    20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: [Query] select grt.GEORASTER, grt.GEORASTER.metadata.getClobVal() from RAS_DGK grt
    20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: Fetch size: 100
    20.11.2008 10:17:27 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    SCHWERWIEGEND: GeoRaster load Exception:
    oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
         at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
         at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    20.11.2008 10:17:27 oracle.sdovis.LoadThemeData run
    SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
    Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    20.11.2008 10:17:27 oracle.sdovis.MapMaker buildDataMBR
    WARNUNG: null MBR resulted from buildDataMBR.
    preview with a center coordinate of the image and a scale:
    20.11.2008 10:18:43 oracle.sdovis.SRS getOptimalQueryWindow
    AM FEINSTEN: *** isGeodetic=false, unit=METER
    20.11.2008 10:18:43 oracle.sdovis.LoadThemeData run
    FEINER: LoadThemeData running thread: Thread-45
    20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: Original query window: 2550045.7746478873,5608500.0,2551954.2253521127,5609500.0
    20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: [Query] select grt.GEORASTER, grt.GEORASTER.metadata.getClobVal() from RAS_DGK grt WHERE MDSYS.SDO_FILTER(grt.GEORASTER.spatialextent, MDSYS.SDO_GEOMETRY(2003, 31466, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?,?,?,?)), 'querytype=WINDOW') = 'TRUE'
    20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: Fetch size: 100
    20.11.2008 10:18:43 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    SCHWERWIEGEND: GeoRaster load Exception:
    oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
         at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
         at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    20.11.2008 10:18:43 oracle.sdovis.LoadThemeData run
    SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
    Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    20.11.2008 10:18:43 oracle.sdovis.DBMapMaker renderEm
    INFO: **** time spent on loading features: 234ms.
    20.11.2008 10:18:43 oracle.sdovis.RenderingEngine prepareForRendering
    AM FEINSTEN: xfm: 0.284 0.0 0.0 -0.284 -724212.9999999999 1593097.9999999998
    20.11.2008 10:18:43 oracle.sdovis.ImageRenderer renderGeoRasterTheme
    WARNUNG: GeoRaster theme RAS_DGK has no rendered images.
    20.11.2008 10:18:43 oracle.sdovis.VectorRenderer render
    FEINER: time to render theme RAS_DGK with 0 styled features: 0ms
    20.11.2008 10:18:43 oracle.sdovis.DBMapMaker renderEm
    INFO: **** time spent on rendering: 16ms
    If I run the sql statement in the log file, it returns a result.
    select grt.georid, grt.GEORASTER, grt.GEORASTER.metadata.getClobVal()
    from ras_dgk grt
    WHERE MDSYS.SDO_FILTER(grt.GEORASTER.spatialextent,
    MDSYS.SDO_GEOMETRY(2003, 31466, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),
    MDSYS.SDO_ORDINATE_ARRAY(2550045.7746478873,5608500.0,2551954.2253521127,5609500.0)), 'querytype=WINDOW') = 'TRUE';
    GEORID
    2
    GEORASTER
    MDSYS.SDO_GEORASTER(20001,MDSYS.SDO_GEOMETRY(2003,31466,null,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),MDSYS.SDO_ORDINATE_ARRAY(2550000,5608000,2552000,5610000)),RDT_RAS_DGK,522,oracle.xdb.XMLType@194a7ec)
    GEORASTER.metadata.getClobVal()
    <georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>20001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>1</defaultGreen>
    <defaultBlue>1</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>8BIT_U</cellDepth>
    <totalDimensions>2</totalDimensions>
    <dimensionSize type="ROW">
    <size>6299</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>6299</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>4</totalRowBlocks>
    <totalColumnBlocks>4</totalColumnBlocks>
    <rowBlockSize>2048</rowBlockSize>
    <columnBlockSize>2048</columnBlockSize>
    </blocking>
    <interleaving>BSQ</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>6</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <SRID>31466</SRID>
    <modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScale="1" columnScale="1" xScale="1" yScale="1" zScale="1">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>17668678.695368 0 -3.14949718277477</polynomialCoefficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>-8031218.31607409 3.14949718277477 0</polynomialCoefficients>
    </rPolynomial>
    <sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </sPolynomial>
    </polynomialModel>
    </spatialReferenceInfo>
    <layerInfo>
    <layerDimension>BAND</layerDimension>
    <subLayer>
    <layerNumber>1</layerNumber>
    <layerDimensionOrdinate>0</layerDimensionOrdinate>
    <layerID>1</layerID>
    <colorMap>
    <colors>
    <cell value="0" blue="255" red="255" green="255" alpha="255"/>
    <cell value="1" blue="0" red="0" green="0" alpha="255"/>
    </colors>
    </colorMap>
    </subLayer>
    </layerInfo>
    </georasterMetadata>
    I checked also the content of rdt table and it contains entries with that raster id (= 522).
    Finally the log file when I use the preview directly on the GeoRaster table without a theme:
    20.11.2008 10:23:46 oracle.sdovis.LoadThemeData run
    FEINER: LoadThemeData running thread: Thread-55
    20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: Original query window: -Infinity,-Infinity,NaN,NaN
    20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: [Query] select grt.GEORASTER from RAS_DGK grt where grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FEINER: Fetch size: 100
    20.11.2008 10:23:46 oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    SCHWERWIEGEND: GeoRaster load Exception:
    oracle.spatial.georaster.GeoRasterException: Can not find a GeoRaster object with specified rdt and rid.
         at oracle.spatial.georaster.JGeoRaster.validateConn(JGeoRaster.java:608)
         at oracle.sdovis.theme.GeoRasterThemeProducer$JGeoRasterGTP.<init>(GeoRasterThemeProducer.java:2037)
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:694)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    20.11.2008 10:23:46 oracle.sdovis.LoadThemeData run
    SCHWERWIEGEND: Exception fetching data for theme RAS_DGK.
    Message:GeoRaster load Exception: Can not find a GeoRaster object with specified rdt and rid.
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1109)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:75)
    20.11.2008 10:23:46 oracle.sdovis.MapMaker buildDataMBR
    WARNUNG: null MBR resulted from buildDataMBR.
    If you need more information - please ask for it.
    Cord

  • Unable to find requested Data Object

    Hi,
    I import a standar data object in my DOE... It is a simple getlist and getdetail.
    I import all correctly, but when i activate it appear this error:
    "Unable to find requested Data Object"
    What happend?
    Thanks in advance,
    Regards,

    I delete de data object and the bappi, i create the bappi with the wizard, and now work fine the data object...
    Regards,

  • Some files in "DOCUMENTS" icon in dock won't open. Get msg saying You need a newer version of Pages to open this document." Have Pages 4.1 installed.  Same files will open ok from Finder, Pages App. Recently sync'd with ipad2 (Pages) after iOS5 installed.

    Some files in "DOCUMENTS" icon in dock won't open. Get msg saying "You need a newer version of Pages to open this document." Already have Pages 4.1 installed.  Same files will open ok from Finder/Pages App./selected file. Prob not noted until recently after sync'd with ipad2 (Pages) when I installed iOS5. Anyone-- please?!

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Rate/review Pages 5.2 in the App Store.
    Peter

  • How do i find "pages" in my laptop?

    how do I find "pages" in my laptop?

    if you didn't purchase "pages", it is not on your mac.  It does not come free pre installed.  You can buy it from the app store.

  • 404 can't find page Error when logging into Exchange 2013 OWA, after a refresh, login works

    Hi,
    I've upgrade two of my customers to Exchange 2013.
    On of them was coming from 2007, and the other was already running 2010.
    Migration from both of the servers went good.
    However with the customer which upgraded from 2010 to 2013 i'm experiencing strange OWA behavior:
    When I login to OWA on https://owa.contoso.com/owa, and input my credentials and click sign in: I receive this error:
    404
    can't find page :-(
    The page you're looking for couldn't be found on the server.
    X-FEServer: JVBMAIL01
    Date: 11-6-2014 11:54:48
    Fewer details..
    -> Refresh the page
    In the addressbar, the following URL is displayed: https://owa.contoso.com/owa/auth/errorFE.aspx?httpCode=404
    But... when I click: "Refresh the page" of just hit F5, the login proceeds, and my OWA is displayed and working fine.
    This behavior only happens with my customer which was upgraded from 2010 to 2013.
    The customer which i've upgraded from 2007 to 2013 doesn't experience this problem.
    I've matched the IIS settings and redirect/ssl options on both servers. They are the same.
    I've tried other users and i've experienced that on one user, the error message didn't appear.
    When I try to delete the Exchange atributes from the user, (after exporting the mail to a PST file) and re-add the Exchange attributes, the message is gone. This isn't a solotuion however, since i've got 166 users, and about 150 of them, get the error message.
    New users don't get the error.
    Anybody got any clues?

    Hi,
    From your description, I would like to verify the following thing for troubleshooting:
    Please make sure that the authentication is set to Basic Authentication and Forms Authentication is disabled on OWA and ECP virtual directly in IIS. After the above settings, please restart IIS by running IISReset /noforce command.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How to find out which objects are at the end of the datafiles

    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.

    >
    My Scenario is having a tablespace of 65G but the data is 5G and that is at the end of datafile for that we are not able to resize the datafile our though is to find out what are the objects at that end of datafiles and will either alter move <owner.tablename> move or alter index <owner.index> rebuld online.
    For that how to find out which objects are at the end of the datafiles.
    >
    You may want to copy this and add it to your toolkit
    See 'What's at the End of the File?' in this Tom Kyte article from the Sept 2004 Oracle Magazine
    http://www.oracle.com/technetwork/issue-archive/o54asktom-086284.html
    And this AskTom blog shows you how to generate a script containing ALTER statements toresize your datafiles to the smallest possible. You can 'pick and choose' from the ALTER statements to do what you want.
    Then of course, you can use techniques from this article by Oracle ACE, and noted author, Jonathan Lewis
    http://jonathanlewis.wordpress.com/2010/02/06/shrink-tablespace/

Maybe you are looking for

  • Display SMART form as PDF in WD ABAP

    Hi , To display smart form as PDF  , I am following  the SDN article : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785?quicklink=index&overridelayout=true In my component  , I have created the v

  • Possible to stream video podcast from MacBook to Apple TV?

    I am trying to stream podcasts from iTunes on my Mac Book Pro to my (lastgen) Apple TV. I am able to use it as speakers and play audio podcasts, but so far no video. Is there something I'm missing?

  • Vendor approval wrt Product & material

    Dear all, My client has the requirement that material from the vendor has to be approved based on the product for eg: 1) material A is procured from vendor "123" for finished product XYZ . it should be approved 2) Same material A is procured from ven

  • Setting GUI elements not displaying and SwingWorkers....

    I have a prototype JMS application where a JMS message handler class wraps a GUI application class. Updates are made from the wrapper class to the HMI via a public method on the GUI which then sets the numerous GUI elements. The element values are se

  • Bank of America says to Mac Users: Upgrade Your Browser

    Upgrade Your Browser Your current browser does not support our online application. Your browser: Safari 523 Your browser isn't able to take advantage of the latest security standards. For your security, we require you to use a browser that supports 1