Error with SDO_MBR when crossing the antimeridian

Hello All,
we're using Oracle Spatial 11.2 and I notice a strange behavior when calculating the MBR of a multipart line which crosses the antimeridian.
//fails if multipart line and crosses the antimeridian
select SDO_UTIL.TO_WKTGEOMETRY(
  SDO_GEOM.SDO_MBR(
    MDSYS.SDO_GEOMETRY('MULTILINESTRING((178 0, 179.99 1), (-179.99 1, -178 2))',8307)
) from dual;
//returns POLYGON ((-179.99 0.0, 179.99 0.0, 179.99 2.0, -179.99 2.0, -179.99 0.0)) which is incorrect
//succeeds if simple line and crosses the antimeridian
select SDO_UTIL.TO_WKTGEOMETRY(
  SDO_GEOM.SDO_MBR(
    MDSYS.SDO_GEOMETRY('LINESTRING(178 0, 179.99 1, -179.99 1, -178 2)',8307)
) from dual;
//returns POLYGON ((178.0 0.0, -178.0 0.0, -178.0 2.0, 178.0 2.0, 178.0 0.0)) which is correct
//succeeds if multipart line and does not cross the antimeridian
select SDO_UTIL.TO_WKTGEOMETRY(
    SDO_GEOM.SDO_MBR(
    MDSYS.SDO_GEOMETRY('MULTILINESTRING((-170 0, -160 1), (-150 1, -140 2))', 8307))
) from dual;
// returns POLYGON ((-170.0 0.0, -140.0 0.0, -140.0 2.0, -170.0 2.0, -170.0 0.0))
Any ideas?
Thanks!
--john

When the geometry crosses the antimeridian, the MBR is not well defined.
In such cases, we make the best possible guess about where the geometry is crossing the meridian line.
In the case of your multi-line, the line does not really cross the meridian line. It has two line segments that are on either
side of the meridian line. So the MBR returned by Spatial is a valid result for this case.
If the line actually crosses the meridian, we know it is supposed to cross the meridian and the expected result is returned.
siva

Similar Messages

  • Error with Informatica when running the data load for BI Apps

    Hi All,
    We are facing a different issue on prod which we haven't got on QA. Below given is session log :
    Target tables:
    W_ORDER_PARTY
    READER_1_1_1> RR_4050 First row returned from database to reader : (Wed Sep 22 10:36:16 2010)
    READER_1_1_1> BLKR_16019 Read [885] rows, read [0] error rows for source table [S_ORDER_BU] instance name [S_ORDER_BU]
    READER_1_1_1> BLKR_16008 Reader run completed.
    LKPDP_1> DBG_21097 Lookup Transformation [LKP_ETL_PROC_WID]: Default sql to create lookup cache: SELECT ETL_PROC_WID,ROW_WID FROM W_PARAM_G ORDER BY ROW_WID,ETL_PROC_WID
    LKPDP_1> TE_7212 Increasing [Index Cache] size for transformation [LKP_ETL_PROC_WID] from [1048576] to [1050000].
    LKPDP_1> TM_6660 Total Buffer Pool size is 609824 bytes and Block size is 65536 bytes.
    LKPDP_1:READER_1_1> DBG_21438 Reader: Source is [SFAPROD1], user [siebel]
    LKPDP_1:READER_1_1> CMN_1021 Database driver event...
    CMN_1021 [DB2 Event Using Array Inserts. connect string = [SFAPROD1]. userid = [siebel]]
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Wed Sep 22 10:36:17 2010)
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> RR_4035 SQL Error [
    *[IBM][CLI Driver][DB2/AIX64] SQL0204N "SIEBEL.W_PARAM_G" is an undefined name. SQLSTATE=42704*
    sqlstate = 42S02
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT ETL_PROC_WID,ROW_WID FROM W_PARAM_G ORDER BY ROW_WID,ETL_PROC_WID
    DB2 Fatal Error].
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [LKP_ETL_PROC_WID], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [EXPTRANS1], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [EXPTRANS1], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> DBG_21511 TE: Fatal Transformation Error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_ORDER_PARTY] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Wed Sep 22 10:36:16 2010
    In the above log W_PARAM_G table is a warehouse table. We have checked Informatica to find out the issue but there is no error in informatica.
    Thanks in advance.
    Deepak.

    Hi Sandeep,
    Yes but if you see the log ,its connecting to OLTP DB(DB2 for Siebel source DB),which it shouldnt
    KPDP_1:READER_1_1> DBG_21438 Reader: Source is [SFAPROD1], user [siebel]
    LKPDP_1:READER_1_1> CMN_1021 Database driver event...
    *CMN_1021 [DB2 Event Using Array Inserts. connect string = [SFAPROD1]. userid = [siebel]]*
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Wed Sep 22 10:36:17 2010)
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> RR_4035 SQL Error [
    *[IBM][CLI Driver][DB2/AIX64] SQL0204N "SIEBEL.W_PARAM_G" is an undefined name. SQLSTATE=42704*
    I Have check the mapplet ,its same no issues in that as well.
    Regards,
    Deepak.

  • Errors were found when compiling the workflow. The workflow files were saved but cannot be run.

    Greetings All,
    I am having issues with a SharePoint Designer workflow.  This is a SharePoint 2013 environment, I'm using SharePoint Designer 2013 and working on a SharePoint 2010 workflow.  I'm developing this as a SharePoint 2010 workflow because I need to do
    impersonation.
    The environment and workflow have been running, in the past week, without issue.  I went to add a couple steps and now I cannot publish the workflow.  While in SharePoint Designer, I receive the error:
    "Errors were found when compiling the workflow.  The workflow files were saved but cannot be run."  When I click the Advanced button on the error dialog, the message is "Unexpected error on server associating the workflow." 
    That is all the error information I have available; nothing is in the log files.
    I have investigated this error and tried the following:
    Cleared the SharePoint Designer cache.
    The WebApp.UserDefinedWorkflowMaximumComplexity was at 7000 so I increased it to 10000.  Restarted the servers (which may not have been necessary) and tried again receiving the same error.  I then increased it to 30000 with the same error result.
    Since this is a large workflow, I tried created a workflow with a single action, write to workflow log, with the same error results.
    I reboot the servers and try again and now I can publish the small test workflow but not the original.  However, neither will run.  When I attempt to manually run the small test workflow on an item, I get an error: "Sorry something went wrong.
    An unexpected error occurs.  I checked the log files for the correlation id and nothing, nothing was logged for the error. ~arg~
    Also, now no workflows can be published in this web app.  Not just the one I was working on but none of them!
    Does anyone have a clue what has happened to the SharePoint 2010 workflow service?  Or some suggestions for me to try?
    Thank you in advance for your help!
    Bob Mixon

    try these links:
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    http://code2care.org/pages/sharepoint-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sharepoint.stackexchange.com/questions/119909/sharepoint-designer-error-errors-were-found-when-compiling-the-workflow
    http://stackoverflow.com/questions/26413125/errors-were-found-when-compiling-the-workflow-in-sharepoint-2013
    Hi Sagar,
    I appreciate it but if you see my original post, this is a SharePoint 2010 workflow that cannot be published; which has now caused all SharePoint 2010 workflows in the same web app to error.
    Your first link is specific to SharePoint 2013 workflows.
    Your second link refers to the UserDefinedWorkflowMaximumComplexity.  If you read my original post, I've already tried this and I've tried to publish a small (single activity) workflow.
    Your third link also refers to large workflows with many approval activities.  My workflow doesn't contain any approval activities.
    And you fourth link refers to 2013 workflows not 2010.
    My issue is with publishing and running a SharePoint 2010 workflow in SharePoint 2013.
    Thank you...

  • Error with adautocfg.sh on the DB during final stage of upgrade

    Hi ;
    I have same issue like:
    Error with adautocfg.sh on the DB during final stage of upgrade
    i folled documents but somehow i cant recreate xml file
    i use this:
    cd <RDBMS ORACLE_HOME/appsutil/bin
    perl adbldxml.pl
    but nothing happen!! it doesnt do nothing!
    i rename my xml file under <RDBMS ORACLE_HOME/appsutil/ but there is no new xml file!!
    Is anyone know why?
    Thanks

    Hi hussein;
    Those note solved my problem, but i have one other problem now.. when i try to create new context file by usng :
    perl adbldxml.pl tier=db appsuser=apps appspasswd=apps jtop=/u01/VIS/visdb/10.2.0/jre/1.4.2
    i have this error:
    FOLLOWING ERROR OCCURED :
    +3 >= 3+
    StackTrace:
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
    at java.util.Vector.setElementAt(Unknown Source)
    at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
    at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
    Upgrade to DB 10g fails with error - cannot generate contextfile
    i found note 369179.1, Note says i need to apply lastest autoconfig patch...
    When i donwload patch 6372396 which is lasest patch number for r11( i sourced r11 env file), and try to apply patch to my system its gives me that:
    AutoPatch error:
    adprdf(): At line 3 in file u6372396.drv:
    This patch is not compatible with your on-site release:
    patch's intended release version and
    on-site          release version
    do not have identical major and minor version numbers (first two components)
    patch's intended release is "11.5.0"
    on-site          release is "12.0.4"
    Processing line   10000.
    Processing line   20000.
    +24658 lines processed.+
    AutoPatch error:
    AutoPatch encountered errors parsing and loading the patch driver file.
    +STRT_TASK: [Prereq checking logic] [] [Sun Jun 28 2009 09:04:57]+
    So i decide to apply autoconfig patch 7237313 for r12, so i source r12 env file and then start path end its ended wihtout error
    After i try to create context file by using this command again:
    perl adbldxml.pl tier=db appsuser=apps appspasswd=apps jtop=/u01/VIS/visdb/10.2.0/jre/1.4.2
    and have still same error :(
    FOLLOWING ERROR OCCURED :
    3 >= 3
    StackTrace:
    java.lang.ArrayIndexOutOfBoundsException: 3 >= 3
    at java.util.Vector.setElementAt(Unknown Source)
    at oracle.apps.ad.context.GenerateContext.setJRETOP(GenerateContext.java:7483)
    at oracle.apps.ad.context.GenerateContext.InstantiateRestForDB(GenerateContext.java:3057)
    at oracle.apps.ad.context.GenerateContext.main(GenerateContext.java:8150)
    so now what i have to do?
    thanks for advice

  • BB 9900 - Activation failed. An error was encountered when sending the activation transmission

    Hi Team, I have a problem configuring email and using internet from my blackberry device. I have purchase this divice and got my Blackberry plan activated from Airtel. I have followed up with service provide and could see that they have activated and has no issue from there side. Let me know why this issue persists. Error 1: while trying to configure emailActivation failed. An error was encountered when sendig the activation transmission Error 2: Whild using internet.Browsing over the mobile network is not included as part of your current sercie plan. To browse the web, you must use Wi-Fi  or contact your service provider to change your service plan.  Regards,Sunil K

    sunilkesavareddy wrote:
    Hi Team, I have a problem configuring email and using internet from my blackberry device. I have purchase this divice and got my Blackberry plan activated from Airtel. I have followed up with service provide and could see that they have activated and has no issue from there side. Let me know why this issue persists. Error 1: while trying to configure emailActivation failed. An error was encountered when sendig the activation transmission Error 2: Whild using internet.Browsing over the mobile network is not included as part of your current sercie plan. To browse the web, you must use Wi-Fi  or contact your service provider to change your service plan.  Regards,Sunil KAre you sure you are connected to a BIS plan (BlackBerry Internet Service) ? Regular data plan will not work, ask Airtel if it's a BIS plan.

  • Errors were found when compiling the workflow

    My company has consolodated many SharePoint sites into one with many subsites to save money. I ported my existing libraries from theold site to the new site (Same version of SP). The workflows did not go with the libraries, as expected. I re-created each
    workflow, and every time have gotten the same error message: "Errors were found when compiling the workflow. The workflow files were saved but cannot run."
    When I click Advanced I see some variation of the following:
    (-1, -1) Compilation failed. Could not find file 'C:\Users\TEMP.*domain*\AppData\Local\Temp\ **and then a different .dll file every time'
    I have not seen any other examples of this online. For some, creating a new task and history list for the workflow allowed it to compile, but not always.

    Hi,
    According to your post, my understanding is that Errors are found when compiling the workflow.
    I recommend that you can check whether the file exists under the path 'C:\Users\TEMP.*domain*\AppData\Local\Temp\”.
    If it exists, you can create a silmple workflow to check whether it works.
    If it does work, you can add executionTimeout property in web.config file to increase the timeout interval(Make a copy of the web.config file before editing anything).
    For more information, please refer to:
    Manjuke's Blog: Fixed: SharePoint Designer Error - Unexpected error on server associating the workflow
    SharePoint Designer 2010 Errors were found when compiling the workflow. The workflow files were saved but cannot be run. Unexpected error on server associating the workflow.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Origin of Means of Transport when Crossing the Border

    Hello all
    When I create a purchase order (ME22n) I got a error that I have to fill this field
    Header => Import=> Handling  =>  Mns of trsp - border   (Field = EIKP-STGBE)
    Origin of Means of Transport when Crossing the Border ?
    Normally I don't have to fill it, but why now?
    And what country I have to add there?
    Best regards Tuomo

    Have you checked the incompletion procedure of the country/area you're importing from? You can do that in transaction VI29.

  • 'Error 8 occurred when starting the data extraction program'

    Hello Experts,
    I am trying to pull master data (Full upload) for a attribute. I am getting an error on BW side i.e. 'The error occurred in Service API .'
    So I checked in Source system and found that the an IDOC processing failure has occurred. The failure shows 'Error 8 occurred when starting the data extraction program'.
    But when I check the extractor through RSA3, it looks fine.
    Can someone inform what might be the reason of the failure for IDOC processing and how can this be avoided in future. Because the same problem kept occurring later as well.
    Thanks
    Regards,
    KP

    Hi,
    Chk the idocs from SM58 of source system are processing fine into ur target system(BI system)...?
    Chk thru Sm58 and give all * and target destination as ur BI system and execute and chk any entries pending there?
    rgds,
    Edited by: Krishna Rao on May 6, 2009 3:22 PM

  • My ipad won't shoot with filters when in the camera app, what do I do?

    My ipad won't shoot with filters when in the camera app, what do I do?

    "Filters in Camera are available on iPhone 4s or later and iPod touch (5th generation 32GB/64GB)."
    https://www.apple.com/ca/ios/features/#camera

  • Errors/warnings occurred when generating the local proxy dll and VI wrappers for web service

    Hello,
    I'm new to web services - trying to import a WSDL that was created by an outside vendor and placed on a company server.  I imported a previous version successfully.  The error I'm getting doesn't make a lot of sense to me, here it is:
    The following errors/warnings occurred when generating the local proxy dll and VI wrappers for this web service.
    Can't generate files.
    Possible reasons are:
    1. The output file(s) might be read-only.
    Remove the read-only attribute and import the Web service again.
    2. A proxy DLL that LabVIEW created under the same file path exists in memory.
    Restart LabVIEW and import the Web service again.
    I don't see any read-only attributes on the output files and I've tried restarting LabVIEW - no luck.  Any help is greatly appreciated.
    Thanks,
    Al Rauch
    Merck & Co., Inc.

    Aaron,
    I was able to successfully import and run the web services from the WSDL file in question in LV2009 on a different computer than the one on which I had the original problem.  Unfortunately I am still having the original problem on the project computer and will need to get it working there . . . still looking for a solution to that.  Apparently LV2009 is perfectly capable of importing and running this WSDL file, but there is something still in the way on the project PC.
    Thanks,
    Al

  • Error 7 occurred when generating the data transfer program

    Hello All ,
    In Master Data Load Process Chain ,  we get error like
    1. System Response
        Caller 09 contains an error message.
    Diagnosis
    Error 7 occurred when generating the data transfer program for the requested InfoSource.
    System Response
    The data transfer is terminated.
    Procedure
    Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.
    Note : We faced this issue for two days now . Just repeating the load make it success .
    If any one faced and fixed this issue . Please let me know .
    Thanks in advance .

    Hi,
    . Initially goto transaction SE38, Run the program RSDS_DATASOURCE_ACTIVATE_ALL. Give your Datasource name, and source system and check the check box for "Only Inactive objects".
    This will actiavate the given datasource.
    2. Replicate the datasource in RSA1.
    3. Try to schedule the infopackage for the datasource which you have activated now.
    4. IF infopackage runs through, Repeat the process for all datasources ie uncheck the check box, which means it will activate all datasources for the source system.
    Also make sure that there will be enough Back Ground Processor available....
    Reduce the parallel process
    Thanks
    BVR

  • I am getting error message A12E5 when installing the free 30 day trial for InDesign why?

    I am getting error message A12E5 when installing the free 30 day trial for inDesign...don't know why?

    don't know why?
    Neitehr do we. You are not offering any relevant technical info like what computer you are actually on or the exact error message.
    Mylenium

  • Error with Layouts when applying package

    Hello
    I created a package with the "Deploy UI without pictures" unit, then sent it to the CRM so it is automatically distributed and executed on the mobile clients.
    The replication with ConnTrans runs fine, but when upgrading we have an error with the Layouts/ folders, for all languages.
    The error is
    Error description : Error opening File
    Error occurred in module ClientUpgrade.Shared.CCompressor
    Return value of command: 6
    I applied the OSS Note 950549 but nothing changes
    Any idea ?
    Thanks and Regards,
    François

    Hi
    this problem occurs when one of the components used by the Client
    upgrade tool is missing.
    Do you use the same machine for upgrading and deploying. Please check
    whether the file sapcar.exe is present in the same folder as
    ClientUpgradeDeployer.exe. You don't need to specify the path to it.
    Please check the location of the ClientUpgradeDeployer.exe.
    Please also test whether the problem is related to write protection and
    empty spaces in the temp folder. Make sure the temp folder doesn't
    contain blank spaces.
    Please also test whether the folder sap\mobile\bin is read only.
    If yes, then please remove the "ReadOnly" attribute
    since the SAPCAR.exe creates a files in this directory
    Regards,
    Gervase

  • SSRS error "Conversion failed when converting the nvarchar value"

    Hi folks!
    After SCCM 2012 R2 upgrade, we have errors with self made reports:
    An error has occurred during report processing. (rsProcessingAborted)
    Cannot read the next data row for the dataset DataSet2. (rsErrorReadingNextDataRow)
    Conversion failed when converting the nvarchar value '*****' to data type int.
    I found several articles to see reporting services log file for possible WMI related errors, but none exists. SQL server is 2008R2, Runned mofcomp, and re-installed reporting services role, but problem remains.
    I traced the dataset2 query:
    SELECT
      v_Collection_Alias.CollectionID ,v_Collection_Alias.Name
    FROM fn_rbac_Collection(@UserSIDs) v_Collection_Alias
    WHERE
     v_Collection_Alias.CollectionType = 2
    Any adwice is appreciated.
    ~Tuomas.

    Hi Tuomas,
    What's the SQL Server version? To verify the the SQL Server version, please see
    http://support.microsoft.com/kb/321185
    SCCM 2012 R2 need SQL Server 2008 R2 SP1 with CU 6 or SQL Server 2008 R2 with SP2 (http://technet.microsoft.com/en-us/library/gg682077.aspx#BKMK_SupConfigSQLSrvReq).
    If the SQL meets requirement, I would suggest you submit a thread to SQL forum to deal with the sql issue.
    Thanks.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Error VLD - 5005 when validating the map

    Using Datawarehouse builder 10.2 i have the following problem.
    This is the scenario:
    I have a dimension with one level and no hierachy and i want to do a mapping between a table and that dimension.
    Table has three atributes:supplier_id;name_sup;adress_sup.
    The dimension(which passes the validation) as four, three of type business to store information from the table atributes and one of the type surrogate(all these atributes belong to the same level).
    When validating the mapping I have this error:
    VLD-5005: no updatable inputs connected for dimension level "DIM_CUSTOMERS.LEVEL1"
    Details: At least one updatable input must be connected for level DIM_CUSTOMERS.LEVEL1, or the generated code will fail. paraent reference key and level natural key inputs are not updatable attributes in the target
    If I change dimension loading type to remove(instead of load) the validation is sucessful but the map doesn't work.
    Could anyone please give me a sugestion.
    João Costa
    Student of informatic engineering (University of Coimbra)

    Hi!
    could you explain that a little more please? (I.e. "make one of your source table attributes non-business"). I thought you could add the 'business' tag to attributes in the dimension, but I cannot see how to do that to the source table that is loading the dimension.
    FYI, I am trying to add an 'all-levels' category-type top level to a dimension hierarchy where the true source data goes
    L1>L3
    L2>L3
    L3to make the result
    L-CATEGORY>L1>L3
    L-CATEGORY>L2>L3
    L-CATEGORY>L3
    This is intended to combine source data from two sources, Products and Services. Products have two unrelated Type levels above them. Services have no Types. I thought I might be abow to create a mapping per source, and use a Constant to insert a Category attribute (business key) of either 'PRODUCT' or 'SERVICE' per mapping. My thinking was to use two seperate loads to the dimension. However, the first one generates the VLD-5005 error. I'd sure appreciate some help with theis fix.
    Do you know a better way of doing this?
    Also, is there a list/manual anywhere of all error messages for Paris?
    Cheers,
    Donna

Maybe you are looking for