Problem to reproject data stored in Oracle through GeoServer

Good morning
I am currently trying to reproject some GIS data into the Antarctic Polar Stereographic projection. (see http://nsidc.org/data/atlas/epsg_3031.html)
This GIS data to be reprojected has been stored into Oracle (Oracle locator) through mapBuilder or Spatial Console with no specified SRS.
By default, in my GeoServer, the data is marked as having the SRS:4326 in order to calculate the geographical extension.
When sending a request to my Geographical server (Geoserver 1.6.3) in order to reproject the data into the Antarctic projection (SRS:3031), i got a white page which means that the projection has not been done correctly.
My URL to generate this map is: ..?service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3031&format=image/gif&width=1000&height=1000&bbox=-12400000,-12400000,12400000,12400000&layers=fifao:fa_areas
I know this URL is corrrect because it works perfectly when the data is stored in a shapefile format or in a table in PostGIS but not when it points to a table in Oracle.
So i would tend to think that the problem is at Oracle level.
Moreover, i tried to specify some SRS when loading a shapefile in Oracle through MapBuilder or Spatial Console and the result is the same or even worst.
In fact the GIS data stored in a table generated by MapBuilder with a 4326 SRS, can only be seen partially.
If anyone could help me understanding why data stored in Oracle can not be reprojected while it works for other GeoDatabase or formats, i would be very grateful?
Could it be related to the media i used to load shapefile? The fact that i have only a locator license?
Many thanks in advance for your help and i hope it is clear enough.
Sylvain

Good morning
I am currently trying to reproject some GIS data into the Antarctic Polar Stereographic projection. (see http://nsidc.org/data/atlas/epsg_3031.html)
This GIS data to be reprojected has been stored into Oracle (Oracle locator) through mapBuilder or Spatial Console with no specified SRS.
By default, in my GeoServer, the data is marked as having the SRS:4326 in order to calculate the geographical extension.
When sending a request to my Geographical server (Geoserver 1.6.3) in order to reproject the data into the Antarctic projection (SRS:3031), i got a white page which means that the projection has not been done correctly.
My URL to generate this map is: ..?service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3031&format=image/gif&width=1000&height=1000&bbox=-12400000,-12400000,12400000,12400000&layers=fifao:fa_areas
I know this URL is corrrect because it works perfectly when the data is stored in a shapefile format or in a table in PostGIS but not when it points to a table in Oracle.
So i would tend to think that the problem is at Oracle level.
Moreover, i tried to specify some SRS when loading a shapefile in Oracle through MapBuilder or Spatial Console and the result is the same or even worst.
In fact the GIS data stored in a table generated by MapBuilder with a 4326 SRS, can only be seen partially.
If anyone could help me understanding why data stored in Oracle can not be reprojected while it works for other GeoDatabase or formats, i would be very grateful?
Could it be related to the media i used to load shapefile? The fact that i have only a locator license?
Many thanks in advance for your help and i hope it is clear enough.
Sylvain

Similar Messages

  • Problem while inserting Date/Time in Oracle Database

    Hai,
    i want to insert the date and time in a date column. here, i am using java.sql.Date and java.sql.Time to assign the date in Prepared Statement.
    PreparedStatement psmt=con.prepareStatement("insert into test(ex_date) values(?)");
    java.util.Calendar c=Calendar.getInstance();
    c.set(2002,2,21,10,10,00);
    java.sql.Date d=new Date(c.getTime().getTime());
    java.sql.Time t=new Time(c.getTime().getTime());
    psmt.clearParameters();
    psmt.setDate(1,d);
    psmt.setDate(1,t);
    psmt.executeUpdate();
    Above program is inserted the Date and time in the database as the following "1900/2/21 10:10 AM"
    but i am giving the year as 2002. it inserted the year as 1900. what is the problem with the code?
    please let me know
    Thanks in advance.
    Regards
    sankarjune14

    Hai Franco,
    i put the wrong code. Here, is the Original Code.
    PreparedStatement psmt=con.prepareStatement("insert into test(ex_date) values(?)");
    java.util.Calendar c=Calendar.getInstance();
    c.set(2002,2,21,10,10,00);
    java.sql.Date d=new Date(c.getTime().getTime());
    java.sql.Time t=new Time(c.getTime().getTime());
    psmt.clearParameters();
    psmt.setDate(1,d);
    psmt.setTime(1,t); // Last time i put psmt.setDate(1,t);
    psmt.executeUpdate();
    and, the getTimeInMillis() method is a protected method in java.util.Calendar class. how can we use it
    please give me some other idea to insert the date and time in oracle database.
    Thanks in advance
    sankarjune14

  • Problem in updating Data for infotype P0009 through BADI

    Hi,
    we are facing a problem while trying to update value of Date field for infotype P0009 through PA30.
    we have tried to update by using BADI hrpad00infty, we are providing value in new_innnn structure of method
    AFTER_INPUT, but the value is not getting updated for that PARNR.
    Can anyone help me regarding the same?

    Hi
    HRPAD00INFTY BADI methods don't allow to modify any values of the current record being processed, but there's a possible wworkaround accessing memory fields using field-symbols:
    method IF_EX_HRPAD00INFTY~AFTER_INPUT.
      FIELD-SYMBOLS: <fs> type p0009.
      assign ('(MP000900)P0009') TO <FS>.
    if sy-subrc eq 0. 
      <FS>-YOURFIELD = YOUR_VALUE.
    endif.
    endmethod.

  • Problem in displaying data in Vendor Ageing through abap

    Hi,
    I had developed a vendor ageing report in which i am facing due to the dates i.e. As on date and select-option date. The As on date is sy-datum and other date is to sepcify from which date range it is displaying the date.
    When i execute the report in it there Open date is sy datum and select option date i am taking 01.04.2007 so that when a user try to take data it can be done and match the data of Tcode FBL1N (only open items data ) of it. if remove the select option date or change the As on date from date remain same of selec option output gets wrong.
    As on date is used basically used for calculating the number of days with the posting date so that no.. of days can be calculated.
    Is there any way of displaying the right data.

    Hi,
    The one field "As On Date" is required to calculate the difference in days.
    The other select option - is normally not required.
    There are two tables which are very important. BSIK and BSAK.
    BSIK stores open items, AS ON TODAY only.
    BSAK stores closed items i.e. which have been cleared.
    (But which were open at some time, in the past)
    So, if on selection screen, if we give some past date, then that record will not be there in BSIK,
    but it will be in BSAK with clearing date greater than or equal to the selection screen date.
    So, we have to write query similar to
          SELECT
          bukrs lifnr umskz budat bldat blart bschl dmbtr augdt belnr buzei
          shkzg rebzg rebzj rebzz gjahr
                            FROM bsik
                            INTO CORRESPONDING FIELDS OF TABLE t_bsik
                            FOR ALL ENTRIES IN t_lfb1
                            WHERE bukrs EQ p_bukrs
                              AND lifnr EQ t_lfb1-lifnr
    *                         AND saknr EQ t_lfb1-akont
                              AND budat LE p_date.
          SELECT bukrs lifnr umskz budat bldat blart
          bschl dmbtr augdt belnr  buzei   shkzg rebzg rebzj rebzz gjahr
                            FROM bsak
                            INTO CORRESPONDING FIELDS OF TABLE t_bsak
                            FOR ALL ENTRIES IN t_lfb1
                            WHERE bukrs EQ p_bukrs
                              AND lifnr EQ t_lfb1-lifnr
                              AND budat LE p_date
                             AND augdt GT p_date.
          IF NOT t_bsak IS INITIAL.
            APPEND LINES OF t_bsak TO t_bsik.
          ENDIF.
    Note : In 2nd query for BSAK, we have to use AUGDT (clearing date) also.
    Hope this helps.
    Regards,
    Amit Mittal.

  • Error  while uploading data in table t_499s through BDC Prog

    Hi
    am facing problem while uploading data in table t_499s through BDC Program  , if there is more than 15 records in file its not allowing to upload kindly suggest what to do
    Thanx
    Mukesh s

    Hi,
    See if you want to update only single table, which has User maintenance allowed
    Use Modify statement.
    EX:
    LOOP AT ITAB INTO WA_TAB.
        MOVE-CORRESPONDING WA_TAB TO T499S.
        MODIFY T499S.
        CLEAR T499S.
      ENDLOOP.
    It will update the table, to check go to sm30 , and check in V_T499S.
    Rgds
    Aeda

  • SQL Loader Oracle 10g problem in upload date with time data -- Very urgent.

    Hi
    I am trying to upload data using SQL loader. There are three columns in the table
    defined as DATE. When I tried upload a data like this '2007-02-15 15:10:20', it is not loading time part. The date stored as 02/15/2008' only. There is not time on that. I tried with many different format nothing work. Can please help me ?
    I have also tried with to_date --> to_timestamp it did not work.
    The application is going to be in production, I cannot change DATE to TIME STAMP. This is very urgent.
    LASTWRITTEN "decode(:LASTWRITTEN,'null',Null, to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:Mi:SS'))",
    CREATEDON "decode(:CREATEDON,'null',Null, to_date(:CREATEDON,'YYYY-MM-DD HH24:Mi:SS'))",
    LASTUPDATEDON(21) "decode(:LASTUPDATEDON,'null',Null, to_date(:LASTUPDATEDON(21),'DD/MM/YYYY HH24:MI:SS'))"

    Your problem is most likely in decode - the return type in your expression will be character based on first search value ('null'), so it will be implicitly converted to character and then again implicitly converted to date by loading into date column. At some of this conversions you probably are loosing your time part. You can try instead use cast:
    SQL> desc t
    Name                                      Null?    Type
    LASTWRITTEN                                        DATE
    CREATEDON                                          DATE
    LASTUPDATEDON                                      DATE
    SQL> select * from t;
    no rows selected
    SQL> !cat t.ctl
    LOAD DATA
    INFILE *
    INTO TABLE T
    TRUNCATE
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
    LASTWRITTEN
    "decode(:LASTWRITTEN,'null',cast(Null as date),
      to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:MI:SS'))",
    CREATEDON
    "decode(:CREATEDON,'null',cast(Null as date),
      to_date(:CREATEDON,'YYYY-MM-DD HH24:MI:SS'))",
    LASTUPDATEDON
    "decode(:LASTUPDATEDON,'null',cast(Null as date),
      to_date(:LASTUPDATEDON,'DD/MM/YYYY HH24:MI:SS'))"
    BEGINDATA
    2007-02-15 15:10:20,null,null
    null,2007-02-15 15:10:20,null
    null,null,15/02/2007 15:10:20
    SQL> !sqlldr userid=scott/tiger control=t.ctl log=t.log
    SQL*Loader: Release 10.2.0.3.0 - Production on Fri Feb 29 00:20:07 2008
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> select * from t;
    LASTWRITTEN         CREATEDON           LASTUPDATEDON
    15.02.2007 15:10:20
                        15.02.2007 15:10:20
                                            15.02.2007 15:10:20Best regards
    Maxim

  • Problem with date format from Oracle DB

    Hi,
    I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
    I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
    I have changing the field settings in DataSource  to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
    I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
    If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
    Thanks in advance.
    Regards
    Varada

    Thanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
    The issue again in detail
    I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
    The problem is,  I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
    I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
    I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
    Regards
    Varada

  • Update of data stored in BLOB of Oracle

    Hi,
    During the update of data stored in BLOB, the data integrity disturbance is happening, so it becomes impossible to receive new data with small volume from the BLOB than the data stored in BLOB.

    Try searching the forums for oracle and lob, there will be plenty of articles.

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • Pdf file stored as BLOB data type on Oracle

    I store PDF file as BLOB data type on Oracle. There are cases
    where I get multiple records from the database, that means I get
    multiple PDF files. They have to be merged and displayed on the web
    page. I tried CFContent which can display only one PDF file at a
    time but not more than one, whereas cfdocument is having problem
    converting binary data to string. I am kind of stuck.
    Can you anybody please help me out? Please let me know if you
    have any questions or this does not make sense to you.
    Thank you in advance.

    BALAJI_JAY wrote:
    > Can you anybody please help me out? Please let me know
    if you have any
    > questions or this does not make sense to you.
    if by "merge" you mean 3 pdf into 1 pdf, try cfpdf (if on
    cf8) or see this
    thread if cf version less than 8:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=11 14635&messageid=4032202

  • Getting data stored in ref cursor ( got from store proc in oracle) to excel sheet)

    Hey, I am trying to Get data stored in ref cursor ( got from store proc in oracle) to excel sheet in a virtual folder using ssis. 
    I am getting errors and cant do it. If anyone can help me

    Hi Nabin000,
    The Oracle stored procedure doesn't work with SSIS source adapters such as OLE DB Source because the data provider doesn't provide metadata for the source adapter. To achieve your goal, you can use a Script Component as source to call
    the Oracle stored procedure by using System.Data.OracleClient OracleDataReader, and get the rows and add them to the pipeline buffer. For more information, please see:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/1d0b3a1b-8792-469c-b0d1-f2fbb9e9ff20/dump-oracle-ref-cursor-into-ms-sql-staging-table-using-ssis
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/fcdaa97e-8415-4c3e-8ffd-1ad45b590d57/executing-an-oracle-stored-procedure-from-ssis?forum=sqlintegrationservices 
    http://msdn.microsoft.com/en-us/library/system.data.oracleclient.oracledatareader(VS.90).aspx 
    Regards,
    Mike Yin
    TechNet Community Support

  • Problem finding data in an Oracle Database using CMP beans

    I am having a problem retrieving data from an Oracle database that has a date as
    part of the key. This data was loaded into my database via a batch process writing
    in java using java.sql.Date to store the date information. When calling the findByPrimaryKey
    method of a CMP Entity Bean I continued to get the FinderException. I know this
    data is in my database because I can view the data via SQLPlus and Microsoft Access.
    Has anyone ever experience problems with CMP beans accessing data from an Oracle
    database that had a date as part if the key or with accessing data in the database
    that insert via another method outside of your CMP bean. I desperately need some
    answers.

    Hi Dave,
    You should probably post this type of question in the CMP or JDBC section
    for best results. Chances are that the date is suffering from a rounding
    problem (it could be a date/time in the database with a different time zone)
    or is not the date that you think it is (wrong century or millenium). I've
    seen both. You need to write a quick piece of code that loads in those
    values as both Java timestamps and dates and makes sure that they are what
    you think they are.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Dave White" <[email protected]> wrote in message
    news:3c1a4ac3$[email protected]..
    >
    I am having a problem retrieving data from an Oracle database that has adate as
    part of the key. This data was loaded into my database via a batchprocess writing
    in java using java.sql.Date to store the date information. When callingthe findByPrimaryKey
    method of a CMP Entity Bean I continued to get the FinderException. Iknow this
    data is in my database because I can view the data via SQLPlus andMicrosoft Access.
    Has anyone ever experience problems with CMP beans accessing data from anOracle
    database that had a date as part if the key or with accessing data in thedatabase
    that insert via another method outside of your CMP bean. I desperatelyneed some
    answers.

  • Loading xml data to a oracle database problem in style sheet

    Hi,
    I Have one small Problem While loading xml data to a oracle database.
    In the XML i have the Columns and Data Like this.
    <Data>
    <TRAN>
    <Type_Trs>A</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    <TRAN>
    <Type_Trs>B</Type_Trs>
    <T1>2</T1>
    <T2>3</T2>
    </TRAN>
    </Data>
    I have TRAN Table having Field Like this.
    TRAN(Type_Trs,T1,F)
    Note:- The XML Column T2 is Not matching with TRAN Table Column F
    I want to fetch T2 data into F column.
    When I am fetching the xml data into oracle table only
    one row is fetching.
    Can You help me
    To load the the all the record of XML data into the Oracle Table
    What will be my XLS Style Sheet File Please
    suggest me.
    Regards
    MBR
    Thnks in Advance

    Hi MBR
    You would be better posting your question to the general XML forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=51
    This is purely for XML/BI Publisher where we get the data back out of the db :o)
    Tim

  • Date problems, dates stored as 00-00-00

    Hello all,
    Not a question this time sort of a problem with the data itself in our database.
    I recently successfully recovered the oracle database that I was having problems with, this database is for one of our clients and we we're given a faulty cold backup and a import dmp file from the company that used to support their Oracle environment.
    Now we have to migrate this to an SQL Server 2008, for this I've been using the SQL SERVER Migration Assistant for Oracle.
    There is no problem migrating over the structure but when trying to migrate the data we get 'Year, Month, and Day parameters describe an un-representable DateTime.' errors.
    I quickly looked into the database to some of the affected table and found that most of the date columns have the value 00-00-00.
    My latest thought was to perform an update on the tables themselves before migrating them but apparently you can't perform a select statement where the a data = 00-00-00.
    Anyone ever had this problems and if so how did you solve it.

    >
    My latest thought was to perform an update on the tables themselves before migrating them but apparently you can't perform a select statement where the a data = 00-00-00.
    >
    Apparently you can't be bothered to post error messages, but your ambition is to remain a 'Resender' of nonsense.
    Any explanation why you prefer to post fairy tales, riddles, and myths, requiring crystal balls?
    I would be happy for you to move over to Sqlserver so you can bother different forums.
    Sybrand Bakker
    Senior Oracle DBA

  • Problem loading PostgreSQL Bytea data type to Oracle Raw data type

    We are migrating our database from PostgreSQL to Oracle. First, we convert the BYTEA data type in PostgreSQL to Oracle RAW. The BYTEA data type is variable bytes array. How can we load the BYTEA data type to Oracle RAW data type? Or I have to convert to different data type. thanks.
    Peter,

    hi,
    Instead of 'interval day to second' in method declaration use internal datatype 'DSINTERVAL_UNCONSTRAINED'.
    There are more unconstrained types in oracle.
    Bartek

Maybe you are looking for

  • Clicar com botao direito em texto selecionado nao poderia apresentar no menu link para gogle tradutor?

    A equipe de desenvolvedores do Firefox não poderiam acrescentar no link que aparece quando clicamos com o botão direito a opção de traduzir o texto que estiver selecionado? Não sei se daria para fazer a tradução direto no Firefox ou enviar automatica

  • Writing bytes to serial port in each iteration of loop

    Hello everyone,                   Well I am new to labview, my question might of beginner's level but i have searched the forums and didnt find content regarding it. Kindly help me through it as i am really stuck in it for last three days.           

  • Apple TV 2 Stops Playing after 2 Songs

    My apple TV 2 plays 2 songs and stops since I downloaded the iTunes and Apple TV updates. Is Apple jamming our home libraries so that we pay $24.99 per year for iTunes Match? I'm ready to drop Apple products.

  • SQL Developer Strangeness with database objects beginning with 'AQ'

    I have two separate but seemingly related issues. *1. I am experiencing a situation whereby database objects beginning with the letters 'AQ' are not included when performing a database export from SQL Developer (using the procedure described below).*

  • Thumbnails missing from a keepsake

    I have created two keepsakes from the same event as I wish to create two books of a particular trip. Each keepsake and the event show 1803 photos. However, on one of the keepsakes, the first as it happens, a number of thumbnails are missing (5 consec