Colormaps?

Hello,
I'm running into a problem with a couple programs. 1 Program needs to be running in 8-bit colors while another program needs to be running in 24-bit colors. These programs need to be ran at the same time so it causes a little bit of a problem.
If anyone could point me into the right direction of how to run both programs at the same time with the correct colors that would be great.
The Hardware we're using is an Ultra 40 M2 with 2 Nvidia Quadro FX560 PCI-E video cards. We're running Solaris 10 x86.
Thanks.
Edited by: MJoseph on May 7, 2008 9:16 AM

ok. For the first thing, the previous post was incorrect. Most X servers support different pixmap depths (run xdpyinfo to find what your xserver supports). If you need a live palette (ie, something that changes the color of a 8 bit pixel by changing RGB luts without rerendering), you need an xserver that supports the class "PseudoColor" (look in the xdpyinfo to see if you have a visual id that has this). If you don't, you have the following options:
1) If you are using 2 cards, run 2 displays (one in 8 bit mode and the other in 24 bit mode) and use something like x2x to move the mouse from one display to another
2) Run something like XVNC in 8 bit mode which will render to a 24 bit screen (but this will be slow)
3) Get a card that actually can do both. I the pgx32 supposedly can do this.

Similar Messages

  • Applying a colormap to multiple Georasters

    Hi All,
    We have 110 years of gridded weather data that we are storing within Oracle Spatial 11g and then publishing this data to the web using MapViewer. I'm making the assumption that it's best to store this data as georasters rather than gridded polygons with attributes, although I'm keen to hear from anyone that has dealt with large gridded datasets and can advise on the best methods.
    Going down the georaster track we have created a single table for each category eg, maximum temperature, minimum temperature, rainfall etc. and by using the gdal_translate populated the tables with multiple georasters for each single day. In trying to view the data it's currently grey scale images, but coloured is preferred. There is only one band within these datasets. I have applied a colour map to the georasters by using the following code.
    DECLARE
    grobj sdo_georaster;
    cmobj sdo_geor_colormap;
    BEGIN
    cmobj := sdo_geor_colormap(sdo_number_array(0,1,5,10,15,25,50,100,150,200,300,400,500),
    sdo_number_array(255,253,255,255,170,74,0,0,0,170,255,255,0),
    sdo_number_array(255,205,170,255,255,222,255,170,0,85,0,0,0),
    sdo_number_array(255,9,0,0,0,0,127,255,255,255,255,127,0),
    sdo_number_array(255,255,255,255,255,255,255,255,255,255,255,255,255));
    SELECT georaster INTO grobj FROM rainfall_daily WHERE rasterid=1503 FOR UPDATE;
    sdo_geor.setColorMap(grobj, 0, cmobj);
    UPDATE rainfall_daily SET georaster = grobj WHERE rasterid=1503;
    COMMIT;
    END;
    Unfortunately the colours did not work as I was hoping, the image is still largely greyscale with a slight yellowish shading on very few pixels. Is there a way to colourise a georaster with using these values and ramping between each value and colour? The stored pixel values range from 0 - 500.00 therefore do we need to create a colormap including all values including decimal values to 2 places.
    Once the colormap has been applied will MapViewer refer to the colormap for creating the map image as there is no styling available for georaster themes within MapBuilder?
    Any help would greatly be appreciated.
    Kerryne

    Hi Jeffery,
    Thank you for your responses. Our dataset is a static grid with only the pixel values changing each day for each attribute. I have loaded each day as a separate georaster entry into the table, but should I be loading the pixel values from each day to a layer within the georaster? So that each year may be one georaster but with 365 layers associated to it. I must admit I got quite confused with your second response. If I create just the one gridded polygon dataset how do you relate this to all the georasters, or do you create one gridded dataset from the georaster and then have an attribute table with the location of the cell/grid as the primary link?
    Do you have an example of a large colormap that I could use as an example as I could only find an example of a black or white colormap?
    I tried the call for sdo_generateStatistics but this failed with the following output.
    DECLARE
    gr SDO_GEORASTER;
    ret VARCHAR2(256);
    window SDO_NUMBER_ARRAY := SDO_NUMBER_ARRAY(112.32,-44.14,156.12,-10.27);
    BEGIN
    SELECT georaster INTO gr FROM rainfall_daily WHERE rasterid=1503 FOR UPDATE;
    SDO_GEOR.setBinFunction(gr,1,sdo_number_array(0,13,0,0,500));
    ret:=SDO_GEOR.generateStatistics(gr,2,window,'TRUE','1-1','TRUE');
    UPDATE rainfall_daily SET georaster=gr WHERE rasterid=1503;
    COMMIT;
    END;
    Error report:
    ORA-13497: Invalid samplingFactor; using string like "samplingFactor=5".
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_GEOR", line 5381
    ORA-06512: at "MDSYS.SDO_GEOR", line 5413
    ORA-06512: at line 8
    13497. 00000 - "%s"
    *Cause:    This is an internal GeoRaster error.
    *Action:   Contact Oracle Support Services. You may want to make
    sure the GeoRaster object is valid before you do so.
    I also tried sdo_geor.validategeoraster and came across some rasters that were true and others that had an error code of 13454.
    select sdo_geor.validategeoraster(t.georaster) isvalid
    from rainfall_daily t where rasterid=1503 ;
    1 13454
    So I tried :
    select sdo_geor.schemavalidate(t.georaster) isvalid
    from rainfall_daily t where rasterid=1503 ;
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00204: extra data at end of complex element
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at "MDSYS.SDO_GEOR", line 3263
    31154. 00000 - "invalid XML document"
    *Cause:    The XML document is invalid with respect to its XML Schema.
    *Action:   Fix the errors identified and try again.
    The data had been populated into the database by using the same method as below:
    gdal_translate -of georaster $BASENAME.flt geor:db/dbPWD@CLIPART,db.rainfall_daily,georaster\
    -co INSERT="VALUES (SEQ_RAINDAY_ID.NEXTVAL,'$DAY-$MONTH2-$YEAR','$VAR',SDO_GEOR.INIT('RAINFALL_DAILY_RDT'))"\
    -co "SRID=4283" -co "BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -co "BLOCKBSIZE=3" -co "INTERLEAVE=PIXEL"
    So I'm a bit perplexed as to why some would be "true" and others would be erroneous. I'm not sure of what extra data could have been added to the XML schema.
    What would you recommend to be the next step to resolve this?
    Cheers
    Kerryne

  • Solaris 10 colormap hardware support question

    Hi -
    [Reposting an article that disappeared...]
    I am porting an X application from Solaris2.6/Sparc to Solaris 10/x86. The display application requires multiple (hardware) colormaps to correctly display images without "flashing".
    Does anyone have a Solaris 10 x86 installation with a PCI (or PMC) graphics card interface that supports more than 1 hardware colormap? The command:
    xdpyinfo | grep colormaps
    will show you how many maps your hardware supports. I would be grateful to learn of any Solaris 10 x86 PCI (or PMC) graphics hardware that supports at least 2 maps.
    Thd following gets a bit more away from a platform question, and into an X question, but:
    How does the Xserver determine how many hardware colormaps are available? My X server says that my ATI Radeon 7000 hardware only supports 1 hardware colormap - could it be mistaken/"fibbing" about this capability? Perhaps just 1 colormap is a fallback default and can be changed?

    You can use SMC for other purposes but it won't help your with RAID.
    Sol 10 1/06 has raidctl which handles LSI1030 and LSI1064 RAID�enabled controllers (from raidctl(1M)).
    Some of the PERCs (most?) are LSI but I don't know if they are chipsets used by your PoweEdge (I doubt it).
    Generally you can break it down like this for x86:
    If you are using hardware RAID with Solaris 10 x86 you have to use pre-Solaris (i.e. on the RAID controller) managment or hope that the manufacturer of the device has a Solaris managment agent/interface (good luck).
    The only exception to this that I know of is the RAID that comes with V20z, V40z, X4100, X4200.
    Otherwise you will want to go with SVM or VxVM and manage RAID within Solaris (software RAID).
    SMC etc are only going to show you stuff if SVM is involved and VxVM has its own interface, otherwise the disks are controlled by PERC and just hanging out as far as Solaris is concerned.
    Hope this helps.

  • My system cannot allocate enough colormap entry. How to set Firefox uses less colormap entry?

    I have to use depth 8 and PseudoColor becuase a old program requests. If I run Firefox and my old program, I will get a error "Cannot allocate colormap entry for default background". Can I set Firefox to use less Colormap entry?
    Nvidia 450
    Thanks.
    Jeff

    Hello,
    meanwhile i found a solution for way a) (JCo RFC Provider) in another thread.
    Everything is ok so far in my coding above. BUT nowhere in Documentation i found a hint, that using Jco RFC Provider NOT works with EJB 3.0 but with EJB 2.1 !!!
    For this i not only have to create the Local Interface which the Bean has to implement. I further have to create the EBJ 2.1 Interfaces as:
    public interface FB_BESCHLAGPAKETLocalHome extends EJBLocalHome {
        public com.dihug.kall.eel.FB_BESCHLAGPAKETLocalComponent create() throws javax.ejb.CreateException, java.rmi.RemoteException;
    and
    public interface FB_BESCHLAGPAKETLocalComponent extends EJBLocalObject {
        public void processFunction (Function function);
    Doing so, the RFC from Abap to Java works with JCo RFC-Provider
    Unfortunatly i didn't found it in documentation that this EBJ 2.1 specific interfaces have to be declared even NW 7.11 is a JEE5 Server with EJB 3 Support and a developer on this plattform would normally go the EJB 3 Way.
    Even though i now have a working solution it would be interesting how the JRA Way would go.
    kind regards
    Matthias

  • Add power spectra to a colormap

    Hello,
    I am trying to append data to a colormap (sound and vibration toolkit), so I can make measurements over a long period > 300 seconds. The input data for the colormap is a power spectra. My first thought was to make a shift register for the data, but there seems to be no way to split the data into time and a power spectrum .
    Hans

    The idea is to make a transient vibration measurement of a diesel engine, which steadily increases the rpm over a couple of minutes. In order to do this a multiple Fourier transformation can be done with the STFT vi which gives a power spectra to a colormap (as shown in the picture below). This works for short time domains like 10 seconds, but doesn’t work for a measurement time of 4 minutes.
    Ideally the power spectra is written/appended to the colormap every second (visually).
    I tried to append data with a shift register, which works for a simple graph, but couldn’t get it working for the power spectra.
    Regards,
    Hans

  • 3D Plot Custom colormap

    I am confused at how the custom colormap works.  If I select point plot and graph a few points it seems the colors of the points maps one-to-one to the colormap.  See the VI and select point as the plot style.  The first point is red, next is purple, then blue.
    However, if you select surface and do the plot of a surface it seems like it maps the colormap based on Z value?  Try by selecting cwSurface as plot style.
    What I am ultimately trying to do is plot a HSL colorwheel as one plot and then HSL points as the other plot on the 3D plot.  I can generate the points but I am having trouble with the colorwheel.
    Also, is there anyway to have the projected point be a different color type than the actual point?  Any help would be appreciated.
    John
    Attachments:
    3D Plot tester.vi ‏2615 KB

    Hi John,
    Starting with reply #7 of this thread
    http://forums.ni.com/ni/board/message?board.id=170&message.id=143663&jump=true
    I offer a "worst case" 4-d graph example.
    Please read through that thread, down load the example and play with it a bit.
    It sounds like your "ColorMapStyle" is not correct for what you are trying to do.
    Here is a preview of that example.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How do i get a colormap for intens graph using basic imaq

    This is a follow up to
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000B58D0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=how+do+i+get+a+colormap+for+intens+graph+using+basic+imaq&USEARCHCONTEXT_QUESTION_S=0
    where I asked for help getting a colormap for saving an image as a jpeg. Now, I have decided that I would like to use an intensity graph for my display of the RGB image that I have captured using my pci-1411 frame grabber board. How do I get the right colormap for the intensity graph display? I do not have vision and do not intend to purchase it. I am using the basic IMAQ package.
    jc
    Mac 10.4
    LV7.1
    CLD

    Dear Sir, usually the intensity graph will help you with monochrome images, since they have a one color intensity. If you want more colors you will be able to get up to 256, and not true color (24 bit). You might want to use the Picture Control instead or a Child Window approach, please look in your Help menu, 'Search IMAQ Examples...' and then browse for IMAQ examples and choose the ones that are for Picture Control. For the Child Window look in our website for an example called 'IMAQ Display Without IMAQ Vision'.
    Good luck!
    Nestor.
    Nestor
    National Instruments

  • Why does not "Copy data" menu item of Colormap chart work?

    I need to get image of colormap chart (Sound and Vibration Toolkit v4.0) when program is running or stopped. It is very easy to get image in the clipboard by using "Copy data" popup menu item, but there is a problem.
    There is "SVXMPL_Getting Started with SVT (Simulated).vi" example where colormap chart is used. In this example it is possible to get image of colormap chart (axes, grids and data) by simply clicking "Copy data" popup menu item.
    Colormap chart in program puts into clipboard only image with axes and grids! I have compared colormap charts settings in both cases and have not found any difference related to "Copy data" functionality. Any ideas how to fix it?
    Running Labview v8.0 and Sound and Vibration Toolkit v4.0 on Windows 2000/SP4.
    In the attach there are chart and clipboard images.
    Attachments:
    colomap-chart-copy-data-pro.png ‏23 KB

    For sure I am using intersity chart in my program (look at the attached image), but "Copy data" copies blank chart image.
    I have done very simple test with modified intersity chart used in SVXMPL_Getting Started with SVT (Simulated).vi example:
    1) Modified intersity chart was copied to my program - "Copy data" copies blank chart image.
    2) Copy of modified intersity chart was copied back to the SVXMPL_Getting Started with SVT (Simulated).vi example. Two charts were connected in parallel with the same settings and property nodes. In original chart "Copy data" copies right chart image, in twice copied chart "Copy data" copies blank chart image.
    So I am a little bit confused with such chart behaviour. Does it mean that some specific chart setting affects "Copy data" feature? And this setting is not copied by copy'n'paste?Message Edited by rsa1024 on 01-31-2007 03:51 PM
    Attachments:
    colormaps cmp.png ‏24 KB

  • Multiple X colormaps vs display hardware

    I am porting an X application from Solaris2.6/Sparc to Solaris 10/x86. The display application requires multiple (hardware) colormaps to correctly display images without "flashing".
    Does anyone have a Solaris 10 x86 installation with a PCI (or PMC) graphics card interface that supports more than 1 hardware colormap? The command:
    xdpyinfo | grep colormaps
    will show you how many maps your hardware supports. I would be grateful to learn of any Solaris 10 x86 PCI (or PMC) graphics hardware that supports at least 2 maps.
    This gets a bit more away from a platform question, and into an X question, but:
    How does the Xserver determine how many hardware colormaps are available? My X server says that my ATI Radeon 7000 hardware only supports 1 hardware colormap - could it be mistaken/"fibbing" about this capability? Perhaps just 1 colormap is a fallback default and can be changed?

    I've no problems using the previous drivers... I have to say I think we're suffering from the immaturity of 64 bit drivers here. I suspect they just aren't robust enough to avoid conflicts, Creative's in particular seem to fall over in a number of systems. There seems little in the way of a pattern between problems systems except for the 4Gb of RAM, when you have that the problems occur.
    Anyway, you could try a thorough uninstall (using a programme like driver cleaner), and reinstall; that fixed some issues for me. Alternati'vely try a previous driver, that really did work for me... wish I could say with confidence it worked for everyone though
    Gift.

  • 16-bit greyscale colormap

    Is there an easy way to create a 16-bit greyscale colormap?
    I can do it for an 8-bit using the RGB to color.vi, but I'm not sure how to do it for 16-bit.

    I know all that.  The bottom line is: LabVIEW can't display 16 bit gray scale, which is required in the original post.
    George Zou
    http://gtoolbox.yeah.net
    David S.  wrote:
    Actually George, the display of images is limited to 8-bit grayscale and 32-bit RGBA.  (This is currently a standard because most architectures are based on 32-bit word data.) However, an image can contain any arbitrary bit depth, and industrial cameras customarily acquire 10-, 12-, 14- and 16-bit grayscale images, as well as 40- and 48-bit color images. The NI-Vision toolkit is equipped to handle and manipulate such image data as easily as 8-bit ones. 
    When displaying an image with a bitdepth greater than 8, the image data is scaled down to 8-bits so Windows can handle it.  The original image isn't altered when doing this though, so you dont actually lose any resolution in your data.
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Cwcustom colormap style on small range when overall range is large

    Hi, I am attaching the colormap example that David Mc., and NI Applications Engineer sent me a while back explaining using colorlookup tables. I modified this project to have a data range of 0 to 10001. There is a sin wave located in the range 9999 to 10001 and a single like of 0's to make the range huge of the overall scale. The problem I have is, I set my values of my custom colormap to being 9999, 10000, and 10001 respectively and they don't display in their ranges. If the 0's of the overall range are taken out so that the range only encompasses -1 to 1, this method works fine.
    Am I doing something wrong? When a values is assigned to the colorlookup table, the respective value of the data shou
    ld be that color correct? Why does this not work on a small range if the overall range is larger. It seems to me that it should.
    Thanks,
    Kevin
    Attachments:
    colormap.zip ‏6 KB

    Hi Kevin,
    When using a custom color map, the 3D Graph decimates the data to display as much of the data range it can. It doesn't take the axes ranges into account, it just tries to plot the surface over the entire range.
    The large range you are using (0 to 10001 = 10001 point range) pretty much ends up looking like one point at the end of the spectrum. If you switch to a smaller range like 0 to 101 (= 101 point range), you can see how the smaller range can be better displayed by the 3D Graph.
    I would suggestion you filter your data, and only plot the points that matter to you (i.e. the ones that fit inside your 3D axis range).
    However, the situation you've run into might be a good use case for an enhancement to the 3D Graph: allow you to programmatic
    ally control the decimation by setting a "window size". You can visit http://ni.com/contact and click "Product Feedback" to submit a product suggestion for this and any other features you'd like to see.
    David Mc.
    NI Applications Engineer

  • How to get RPM, frequency and amplitude in colormap

    Hi!
    I'm doing a program which measures sound and engine speed and then displays it in a colormap.
    Im having problems becose i want to display the data like so: x-axis RPM, y-axis Frequency, z-axis (color) [dB].
    But it seems imposible to display all three data togheter, always there is one dimension time. Can i change this somehow, is there some way to do this?
    Point is, i would like to see at which RPM, the sound is loudest, and at which frequency its loudest. So i cant miss any of those three.
    The other problem im facing is, that the color map displays onli 0,1s of data, and i have no option to see into history to see the whole data (if you are in-car doing analysis, the real-time 0,1s data is usless).
    I would appreshiate your help.
    My vi is in the attachment.
    Attachments:
    RPM_speedprofil_digital.vi ‏49 KB

    Thanks Ben, but I found a different way. Yours is very good example, but its quite difficult to read the values from it, for my prupose of the program.
    I did some deeper research on the internet and did it with help of SVT STFT vs RPM.vi which does some transformations of two waveforms (in my case RPM analog wave, and sound wave), and then indicates a nice colormap with RPM on x-axis, Frequency on y-axis, and color of amplitude on z-axis, just how i wanted. This way it is way easier to read the data from the graph.
    There is a picture in the attachment of colormap and the code.
    Thanks for the response, and a nice day!
    Attachments:
    RPM-dB-F.JPG ‏56 KB
    code.JPG ‏67 KB

  • Sound and vibration colormap to measurement file

    Evening,
    Still pretty new to the both labview and the sound and vibration suite so probably a basic question on data types i cant get my head round.
    I want to the data from a colormap to a tdms file for future analysis but cat get the correct type of data for the measurement file function
    Essenstially i've used used the 3rd order function for a while when writing motor gearbox specifications, so not just sound pressure level but also type of noise (eg happy baby at 60dB vs screaming baby at 60dB)
    I want to go a step further and see how these values change over short periods of time hence colormap but cant seem to be able to record the data.
    I've attached a very basic vi of what i want to do and left the 'bad data type wire' in to show what i want to achive.  i've searched extensively all the normal places but been unable to find any discussions or examples close.
    Any help would be greatfully
    Received
    Martin
    Attachments:
    Sound Map_v002.vi ‏146 KB

    Hello Mjm1968,
    When you hover over the broken wire with Context Help on (Ctrl-H), you can see that it's a bundle of multiple data types.  Right click on the broken wire, and you can go to Cluster, Class, & Variant Palatte » Unbundle By Name.  Attach the left side of that node to the wire, and you can break out all of the components of the signal, which you can feed to a Build Array node (as necessary), and then into a Write to Measurement File VI.  If that slows down your loop too much, we can look into some other options, but that may be the simplest solution to writing to a TDMS file.
    Chris H
    Applications Engineer
    National Instruments

  • Colormap on wrl (CAD) drawing

    Hello,
    This is my first post to the NI forum, so please don't hesitate to chastise me if I'm going about this the wrong way.
    I am trying to map data to a .wrl file.  Specifically, I have a drawing of an air tank, and I have data that I would like to map to its surface as color.  I haven't seen a direct way to do this in my forum search.  I have created a 3D surface graph of a simple cylinder with strain mapped to it.  However, I would at least like to combine this simple 3D surface graph with the exact drawing (which is a 3D picture control).  I haven't even found a way to combine these two types of 3D objects into a single plot.  There may also be a slicker way to do this, by parametrically coloring coordinates on the loaded wrl object, maybe through textures?  I'm looking for any guidance the Labview gurus can provide.
    Thanks in advance!

    If you go to the example finder in LabVIEW there is a good example for adding textures to picture objects. You should be able to use imported wrl objects to do similar tasks. I will continue to research other functionality to get the result you are looking for.
    Building User Interfaces > Displaying Data > Pictures > solarsystem
    Ian M.
    National Instruments

  • 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

Maybe you are looking for

  • Why doesn't Photoshop CS6 boot into Extended Mode? My GPU is Supported!

    Ok got a new laptop, quad core and went to install the trial of Photoshop CS6 Extended and it will not boot into extended mode but rather the original Photoshop mode, and I know this by the splash screen with the circles and the fact there is no 3D m

  • Boris Title Crawl

    Hi all, did some looking around and couldn't find anything this specific. I am able to get the "Text window" when using the Boris Title 3D. But when I go to use the Boris Title Crawl and click on the "banner" for the Text window, nothing happens. I d

  • Split month, date and year

    How to split month,date and year from date field ? is there any standard function module.

  • ST22: OBJECTS_OBJREF_NOT_ASSIGNED

    Hi SDN, can somebody give me a clue about this ST22 dump: Coding OnInputProcessing: DATA: event TYPE REF TO cl_htmlb_event. DATA: data_t TYPE REF TO cl_htmlb_inputfield. event = cl_htmlb_manager=>get_event( runtime->server->request ). IF event->id =

  • Indd CS3 Hyperlinks in placed Indd not available

    Create indd file (a) and create a hyperlink to a URL in it. Create indd file (b) and place file (a) in it, like you would a peice of art. The hyperlink is not active and does not carry over when a PDF is made. We create large books with many ads in t