Export georaster into file (tfw problem)

Hi,
I want to export some georaster into the file system with different resolution of the image. after storage the data in sdo_georaster i built pyramids. now i want to export the data in different pyramid-level with:
CREATE OR REPLACE PROCEDURE A
IS
GR SDO_GEORASTER;
BEGIN
SELECT GEORASTER INTO GR FROM T99_GEORASTER WHERE ID = 1;
SDO_GEOR.EXPORTTO(GR, 'PLEVEL=4', 'TIFF', 'FILE', 'e:\bla\aaa', 'WORLDFILE', 'FILE', 'e:\bla\aaa');
END;
after i export my files aaa.tif and aaa.tfw i have the right image but a wrong tfw-information. the pixel-width und pixel-height in the tfw are wrong. if i change the plevel=2 (available 1..6) to 2 the get the result as the same tfw-data as in the plevel=4-export. so the only level, the georeferencing data are correct is with pyramidlevel=0?
anybody know my error or can help me?
thanks,
michael

If I understand you right, you want to replace any occurance of 'SEQ' in the variable mmy_col_string with another value (new column name)?
This would work like so:
declare
   mmy_col_string   varchar2(100) := 'SELECT ID, SEQ, NAME FROM TABLE;';
   col_name_replace varchar2(30)  := 'SEQ';
   new_col_name     varchar2(30)  := 'NEW_COLUMN_NAME';       
   pos              number        := 0;
begin
   pos := instr(mmy_col_string, col_name_replace);
   while pos > 0 loop
      mmy_col_string := substr(mmy_col_string, 1, (pos-1)) || new_col_name || substr(mmy_col_string, (pos + length(col_name_replace)));
      pos := instr(mmy_col_string, col_name_replace);
   end loop;
end;
/Regards,
Gerd

Similar Messages

  • Export BLOB into Files

    Hi, I want to export BLOB data into normal files in the OS. The Database is not in my local server. I can only connect through the TNS. Would you please give me some suggestions? Thanks a lot!

    declare
    l_output utl_file.file_type;
    l_amt number default 32000;
    l_offset number default 1;
    l_length number default nvl(dbms_lob.getlength(p_blob),0); -- l_length = size of blob
    begin
    l_output := utl_file.fopen(p_dir, p_file, 'w', 32760);
    if utl_file.is_open(l_output) then
    while ( l_offset < l_length ) loop
    utl_file.put(l_output,
    UTL_RAW.CAST_TO_VARCHAR2(dbms_lob.substr(p_blob,l_amt,l_offset)));
    utl_file.fflush(l_output);
    l_offset := l_offset + l_amt;
    end loop;
    utl_file.new_line(l_output);
    utl_file.fclose(l_output);
    end if;
    end;

  • No more EXPORT (Share) into File

    Hi,
    without wanting to critizise iPhoto 6, actually, almost everything worked out without issues in my case, I am missing out on one function which I used on iPhoto 5 a lot. The SHARE to FILE function.
    I really used it a lot to convert a certain amount of pictures into a predefined format.
    Example:
    Earlier I marked 8 pictures in iPhoto, clicked SHARE/export to file, set dimensions to 800, and with more or less one click, I had 8 files on my desktop reduced in size to 800. Next step I marked the 8 pictures, klicked OPEN WITH / MAKE JPG QUALITY 60 (Adobe function), and I had perfect files for upload to my website.
    Am I missing something or does this SHARE/EXPORT to FILE function no longer exist. Is apple tring to force us into iWeb and other? Or what could be the explanation to take out such an elementale function? I thought maybe I could do it indirectly via SHARE/EMAIL but you can not even change size with this.
    Any hint is highly apreciated.
    Tom
    iMac G5 20 - 1,256 GB RAM   Mac OS X (10.4.4)  

    I don't remember last version...but the export feature of iPod is limited to 3 sizes only....small, medium and big (640x480 big?!)

  • Need help: Problems with exported Dreamweaver html file in different browsers

    I'm trying to send out a newsletter, and had our designer create it in Dreamweaver, and then export and html file which we uploaded.  For some reason it looks wrong on Mac's, Gmail, and a few issues with Outlook.  Does anyone know how to help with this, or had to work around this problem in the past?
    I've attached our html file as well.
    We're an eco startup with limited time and budget - so any help you have would be so appreciated.
    Thank you!!

            World Centric Monthly Newsletter   August 2009     
    Palo Alto Joins the Ban Against          
             Non-Recyclable Materials
           This Spring, Palo Alto joined the list of more than 30 cities and counties in California who are making good on their efforts toward reducing their greenhouse gas emissions
           by enacting partial or comprehensive bans on polystyrene (PS) foam and/or non-recyclable disposable foodservice containers. Around the same time, a California statewide ban on the use of PS containers was tabled before reaching the State Assembly floor. Representative
           Jerry Hill, one of AB 1358’s sponsors, pulled the bill due
           to concerns addressed in the Appropriations committee hearing of the bill, regarding the fiscal impacts which
           were not addressed in bill’s contents.
           Largely represented by the California Restaurant Association, opponents of AB 1358 lobbied legislative representatives and argued there would be a negative fiscal impact on struggling restaurant owners and their customers in order to accommodate the more expensive alternatives to PS containers.     There are the unquantifiable and “hidden” costs of contaminating our bodies and environment which would far surpass the fiscal impact on the plastics, restaurants and consumer industries. Studies published by the Foundation for Advancements in Science and Education have indicated that varying levels of styrene residues
             are present in 100% of all human fat tissue in the
             United States, as PS products are found to lose weight after in contact with hot or fatty/acidic foods and liquids, causing migration of the styrene into the food or fluid, ending up in the human body. On the high end, the levels were “one third of levels known to cause neurotoxic symptoms”. In the environment,
             PS is rarely recycled and does not biodegrade.     Supporting safer alternatives to polystyrene, in addition to the collection infrastructure and processing mechanisms for the compostable and recyclable products would help create more green jobs in the long run and would be a move in the right direction away from unnecessary harm
           to our health, our communities and our world. Keep your eyes open for a revised version of AB 1358 in Spring 2010!     For more information about polystyrene
           visit Earth Resource.     For a partial energy, emissions and water analysis
           of polystyrene and its alternatives visit our website.           World Centric Compostable
             Hot Cup Lid
             World Centric is pleased to announce we now offer a fully compostable hot cup lid that
             fits our 10oz, 12oz, 16oz,
             and 20oz paper hot cups.
           The lids can be ordered in cases of 1000 or packs of 100.
           For more information or to order, please visit our website.           This Month
             We’d Like to Applaud
           Project Open Hand
           San Francisco's non-profit
           organization that prepares and delivers food to seniors, people living with HIV and homebound critically-ill residents. For nearly 25-years Project Open Hand has been providing “meals with love” to local residents in need of help and care in
           California’s San Francisco and Alameda counties.
           Programs include meals, groceries and nutrition information as well as education and referral programs
           for all of the people served. A staff dietitian also visits several sites per week to speak with seniors and critically ill local residents about the importance of eating well
           and staying healthy.
           Project Open Hand continues to serve nearly 800,000 annually and has served as a model for over 100 organizations across the United States and the world.
           If you are interested in making a donation,
           please visit Project Open Hand.
           Help Project Open Hand continue to do what it
           does best – deliver quality food to those in need.           
    “World Centric has gone
               about every aspect of
               business in the most
               sustainable of ways. 
               It is a model for socially
               responsible business.”
               Ari Patz
               Styrophobia                          
                   Industry Trends
               Although PLA is a sustainable alternative to a petrochemical-
               derived product, its limitation has
               been not only its cost, but its inability
               to maintain structural integrity in hot temperatures and humid conditions because of its low melting pint.
               However, researchers at Teijin
               (formerly in partnership with Cargill)
               have improved their plant-based
               ‘Biofront’ PLA polymer to be able
               to withstand higher temperatures –
               by modifying its hydrolytic resistance.
             Get more information here.                          
                   Get Great Deals!
                   Check out our clearence items.
                   Did you know?
               Styrene can leach from polystyrene.
               Over the long term, this can act as
               a neurotoxin. Studies on animals
               report harmful effects of styrene
               on red-blood cells, the liver, kidney,
               and stomach organs.
               US Environmental Protection Agency (1992) “Styrene”. Air Toxics Website.                          
                   Where to Find us:
                   CRRA Conference
                   August 2 - 5
                   Palm Desert
                          Western Foodservice
    & Hospitality Expo
                 August 30 - September 1
              Livable Green
                 September 19
    San Mateo                                
         Find us:            World Centric
    2121 Staunton Ct. Palo Alto, CA
    You are subscribed as <[email protected]>. Click here to manage your email subscription preferences.
    Click here or reply to this email with 'unsubscribe' in the subject to unsubscribe from this list or if you feel you have received this message in error.
    This message was sent from World Centric 2121 Staunton Ct Palo Alto CA 94306 United States. Click here to report email abuse.
    You are subscribed as <[email protected]>. Click here to manage your email subscription preferences.
    Click here or reply to this email with 'unsubscribe' in the subject to unsubscribe from this list or if you feel you have received this message in error.
    This message was sent from World Centric 2121 Staunton Ct Palo Alto CA 94306 United States. Click here to report email abuse.

  • When I export a AAF file from Protools 9 and Import the file into Logic ProX the drum track is out of sync.  I created the drum loop using NI Maschine.  Has anyone else seem this??

    When I export an AAF file/project from Protools 9 using an external drive and import the AAF into Logice Pro X the drum track does not play correctly.  It is out of sync with the rest of the track.  I created the drum loop as a plugin using Native Instruments Maschine. Has anyone else had this problem??  Also how would I go about exporting the midi tracks from the Protools session.  The midi track does not show when the file is imported to Logic Pro X.  The midi data should export with the AAF file correct??

    Are you using any plugins in Logic?
    In Preferences/Audio  under the General tab, how do you have the plug-in-latency compensation set?

  • SSIS - Exporting Data into flat files from Oracle Table as batchwise process

    Hi All,
    Thanks in advance.
    I have a Large Table in Oracle Database with some 3 Lakhs record. I need to fetch the 10,000 records for every iteration and export it into the flat file. This process should occur recursively until the table becomes empty.
    Hence, For every iteration on flat file to be generated with 10,000 records.
    Please help how to proceed further in SSIS.
    Thanks
    Pyarajan.S

    Yes, it always helps if your question doesn't specify the actual requirements...
    Use the FOR loop container to control the iterations of the data flow. For each run you read 10,000 rows from the table and dump them in a flat file. Either move the flat file, or use an expression on the flat file connection manager to give them dynamic
    file names.
    30 million rows is also not a problem by the way, it just takes a bit longer.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • Export into excel character problem

    Hi
    When I export the sql output into excel, some characters are invalid in the excel,How can I prevent this.

    when I export directly into txt file, there is no problem.But when I export into excel file national characters are not shown.
    The excel is in my language.

  • Problem building WLI 10.2 applications with exported ant build files

    Hello,
    I'm trying to build a WLI application without the workshop IDE. To accomplish this I exported ant build files, workspace.xml and the workspace libraries.
    When I run the build, I get the following (part of the) stacktrace:
    [apt] Compiling 8 source files to C:\development\BuildOFOP\workspace\ContractAccountService-Web\build\classes
    [apt] warning: Annotation types without processors: [com.bea.wli.transform.XQueryTransform.SchemaValidate]
    [apt] java.io.FileNotFoundException: File not found
    [apt] at java.util.zip.ZipFile.open(Native Method)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:76)
    [apt] at com.bea.wli.bpm.bean.codegen.JarHelper.unJar(JarHelper.java:31)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:749)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:704)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generateBeans(JpdAnnotationProcessor.java:343)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generate(JpdAnnotationProcessor.java:56)
    [apt] at com.bea.wli.knex.ap.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:103)
    [apt] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
    [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
    [apt] at com.sun.tools.apt.Main.process(Main.java:43)
    [apt] at com.sun.tools.apt.Main.main(Main.java:34)
         [apt] Problem encountered during annotation processing;
    [apt] see stacktrace below for more information.
    [apt] java.lang.IllegalStateException: Error customizing project beans; could not locate weblogic home null
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:769)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:704)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generateBeans(JpdAnnotationProcessor.java:343)
    [apt] at com.bea.wli.bpm.compiler.JpdAnnotationProcessor.generate(JpdAnnotationProcessor.java:56)
    [apt] at com.bea.wli.knex.ap.TwoPhaseAnnotationProcessor.process(TwoPhaseAnnotationProcessor.java:103)
    [apt] at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
    [apt] at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
    [apt] at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:1075)
    [apt] at com.sun.tools.apt.main.Main.compile(Main.java:938)
    [apt] at com.sun.tools.apt.Main.processing(Main.java:95)
    [apt] at com.sun.tools.apt.Main.process(Main.java:43)
    [apt] at com.sun.tools.apt.Main.main(Main.java:34)
    [apt] Caused by: java.io.FileNotFoundException: File not found
    [apt] at java.util.zip.ZipFile.open(Native Method)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:117)
    [apt] at java.util.zip.ZipFile.<init>(ZipFile.java:76)
    [apt] at com.bea.wli.bpm.bean.codegen.JarHelper.unJar(JarHelper.java:31)
    [apt] at com.bea.wli.bpm.bean.codegen.ResourceConfig.configureEjbJars(ResourceConfig.java:749)
    [apt] ... 12 more
    Anyone got any idea what might be the problem here? I did followed the BEA instructions for exporting the ant build files.
    Grtz, Jaco

    Hi
    This is a known issue addressed by CR205204
    As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
    IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
    You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
    Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
    Thanks
    Vimala

  • When you create a link to a web page in numbers and we export the PDF file, the link is offset by 3 rows. Example: if I put a link on the text in cell A1, I found the link A4. In fact, this feature becomes unusable. How can we solve this problem? Thank yo

    When you create a link to a web page in numbers "Mavericks" and we export the PDF file, the link is offset by 3 rows. Example: if I put a link on the text (with Cmd-K) in cell A1, I found the link A4. In fact, this feature becomes unusable. How can we solve this problem?
    Thank you.

    Hi again Raja!
    I did as you recommended and installed HTTPWatch and below is the outcome of that program. It is the exact string with the only exception of obfuscated servernames and portnumbers. The last part that begins with "sap_ep_baseurl=" makes me suspicious, is that part really correct? It looks like it's lacking things.
    Best regards
    Benny
    http://<server:port>/sap/bc/bsp/sap/Z_PURCHASE_REQ/process.htm?
    sap-syscmd=nocookie&sap-client=200&sap-language=sv&style_sheet=
    http%3A%2F%2F<server>%3A<port>%2Firj%2Fportalapps%2F
    com.sap.portal.design.portaldesigndata%2Fthemes%2Fportal%2Fsap_tradeshow%2F
    controls%2Fcontrols_ie6.css%3F7.0.10.0.0&sap-cssversion=7.0.10.0.0&sap-tray-type
    =null&sap-tray-padding=null&sap-accessibility=&sap-ep-version=7.00.200611091758&
    sap_ep_version=7.00.200611091758&sap_ep_baseurl=http%3A%2F%2F
    <server>%3A<port>%2Firj%2Fportal&matnr=9780198603641

  • Good evening. When I try to rename a master file or export a master file, it only allows 9 spaces for my new name, even though Aperature 3 allows many more spaces than that for version names. This creates a lot of problems and headaches for me.

    Good evening. When I try to rename a master file or export a master file, Aperature 3 only recognizes the first 9 spaces for raw .NEF files, even though it easily uses twice that many spaces for version names. I have a system in place that works really well for me, wherein by changing the file name I can recognize what's important to me just by glancing at the file name, no matter what system it is in, I do not have to open or mouse over anything to know what the file is. My files also arrange themselves in order no matter what file system they are in. Can someone please tell me if there is a setting, or something I am doing wrong, that prevents me from using a longer Master file name. I can't be the only person who would like to have his Master File names correspond to the name that appears in the Aperature library, and would like to use at least 16 spaces (numbers, letters, etc.)
    Thanks,
    Photo Al

    Hi Frank,
    As you suggested, I am attaching several screen shots. In the first one you can see how I set up my preset. I used "Custom Name" and "Counter" with a dot between the two drag ins, followed by "D90". I also have a dot to seperate the 8 digits in the Custom Name and make it easier to read.
    I then click "OK" which takes us to the second screen shot. Here you can see that in the Example File Name everything looks perfect, and you can see I have clicked on "Apply to Master Files".
    In the third screen shot you can see that the version in my library did in fact change correctly. With the "mouse over" pop up screen you can see, however, that the Master File name was changed  to "1933.1017.NEF". It failed to carry the "12D90" and if I go to where my masters are stored that is exactly what the name was changed to.
    In the fourth screen shot I attempt to export the master. You can see how my "Version Name" is set up.
    And finally on the 5th screen shot you see in the File Name Example the name "1933.1017.NEF" once again, which when I export the master is exactly how the name will appear. Since I will export more than one file at a time , a (1) and  a (2)  etc., will appear at the end of the names because all the files are being given the same "1933.1017.NEF" name.
    I hope this reply does a better job of clarifying my problem. I am anxious to see if this is something I simply misunderstood, or if I am simply doing something wrong.
    Thanks,
    Photo Al

  • I exported a pdf file to xlsx file and everything is jibberish. How can I fix the problem?

    I exported a pdf file to xlsx file and everything is jibberish. How can I fix the problem?

    Could you share with us a bit more info about the file?
    Open the PDF in Adobe Reader and choose File > Properties.
    What does it say next to the following lines:
    PDF Producer
    Application

  • How do I export a .doc file to my online adobe account into a .pdf file?

    How do I export a .doc file to my online adobe account into a .pdf file?

    Hi tennisknight,
    The online Adobe account you are referring to, is it Acrobat.com cloud?
    You need to purchase a subscription for PDF Pack and then sign in to : https://cloud.acrobat.com/
    Select the files saved in 'Acrobat.com' and then click on the 'Create pdf' tab to convert the selected doc files to pdf.
    Alternatively you can download the .doc file from the online account and use Adobe Acrobat to convert it to pdf.
    Regards,
    Rave

  • Why, when exporting as master file from FCX, I have problem with sync

    I edited all audio of a short movie in protools, bounced a stereo file, imported it in final cut and shared the master file at prores 422, from there through compressor I have created 2  files (mpeg 2 and ac3) and burnt a  dvd but seems always to be out of sync , why?
    fortunately  i still have dvd studio pro that allow me to "nudge" the  audio to fix the problem, but all this is quite time consuming. 
    any advice?

    I have fixed some issue about audio and video, created a new project with correct sample rate, imported the master video at same frame rate, and in pt bounced  a new track of audio, so  no orange bar, everything fine in FCX,AUDIO AND VIDEO PERFECTLY IN SYNC.  i exported a master file at best current setting and in compressor have created a dvd setup hi quality, 2 pass vbr encoding mode etc
    and.. imported the m2v file and ac3 in DVD STUDIO PRO, and on time line i hear out of sync, now i don't know if the problem happen during the encoding in compressor or is dvd studio pro.

  • OIM 11G- Web Console- Problem with "Export Deployment Manager File"

    Experts,
    I am using gogle chrome browser on oim11g setup.
    I was able to Import/Export the objects using Import/Export Deployment Manager File.
    The reason why I opted for chrome is that I was unable to connect to login to the web console, it was just asking for userid and password and after some time, the browser(Internet Explorer 7) hangs on.
    And with FireFox 5.0.1, it is the same thing both import and export deployment manager file windows opens as soon as I click and they just close after 2-3 seconds.
    The problem now is after updating the java to "Version 6 Update 26 ", the Export Deployment Manager File stopped working. The window pop-ups and closes in 2 seconds.
    But Import Deployment Manager File is working fine with out any problems.
    The pop - up blocker is not enabled.
    And I am sure that it was working fine earlier with chrome before the java update.When I remove the updated java version, chrome is asking to download the latest java version.
    Any suggestions, that helps to work with chrome or firefox or IE?
    Edited by: Venu on Aug 11, 2011 4:46 PM
    Edited by: Venu on Aug 11, 2011 4:57 PM

    Venu,
    I have never had any luck getting anything after Version 6 update 23 to export properly. I would remove your updated Java and restore to a previous version of Java.
    Sunny Tsang

  • HT4489 I have just exported my vCard files from Outlook to import to iCloud and it will import because there was a problem reading my vCard.  Any ideas welcom?

    I have just exported my vCard files from Outlook to import to iCloud and it will import because there was a problem reading my vCard.  Any ideas welcome

    Welcome to the Apple community.
    Try exporting and importing them in small bundles, there may be a problem with one or more specific cards. If you are able to isolate them, you could then import those particular cards manually.

Maybe you are looking for