Mapbuilder error 4047or 7469

when i create Georaster themes and preview, there is a black and white image, the error is "fatal error: 4047" or "fatal error: 7469". why? Ask for a help ,thanks!
Operation are as follows:
1. create Georaster table, raster data table, spatial index;
2. import Georaster data by FME
3. create connection in mapbuilder
4. create a Georaster themes and preview it
2009-5-31 10:49:50 oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
information: Screen resolution: 8.217391304347826
2009-5-31 10:49:50 oracle.sdovis.DBMapMaker renderEm
information: **** time spent on loading features: 156ms.
2009-5-31 10:49:50 oracle.sdovis.ImageRenderer renderGeoRasterImage
fatal error: 7469
2009-5-31 10:49:50 oracle.sdovis.DBMapMaker renderEm
information: **** time spent on rendering: 0ms

The easiest way to diagnose any GeoRaster problems is to use sdo_geor.validateGeoraster and take advantage of the java GeoRasterViewer. The GeoRasterViewer (or GeoRasterTool) is specifically designed for usage by DBA and application developers and it doesn't require any special (or extra) setup or configuration to display any GeoRaster object.
can you do the following?
(1) connect to database and run, for example
SELECT t.georid, sdo_geor.validategeoraster(t.georaster) isvalid from georaster_table t order by georid;
(2) run the client-side Java GeoRasterViewer (or GeoRasterTool) to display the image you loaded.
Once the above is done and everything looks good, you can start working on MapViewer for web delivery, etc. unless you started with MapBuilder to do all the loading work and configurations.
hope this helps,
Jeffrey

Similar Messages

  • 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

  • Error while importing data from shape file in mapBuilder.

    Hi Dears,
    I get the following error while importing shape file from inside mapBuilder
    Feb 03, 2015 2:01:52 PM oracle.mapviewer.builder.wizard.shapefile.ImportShapefileThread importFile
    WARNING: java.sql.BatchUpdateException: Internal Error: Overflow Exception trying to bind NaN
    Record #51 not converted.
    Feb 03, 2015 2:01:52 PM oracle.mapviewer.builder.wizard.shapefile.ImportShapefileThread importFile
    SEVERE: Exception while importing shapefile [D:\GIS_Data\OpenStreetMap\pakistan-latest\waterways]:
    null
    any clue, solution. please.
    Regards.

    I would take a look at the attribute data associated with each object in your shape file.  Make sure that everything has a value, and that nothing is NULL.
    ID   VAR1
    1    abc
         efg   <= this record will cause Mapbuilder to error when importing
    2          <= this record will cause Mapbuilder to error when importing
    3    hij

  • Error during deploying mapbuilder.jar file in oracle application server

    hi all,
    Iam trying to deploy mapbuilder.jar file in oracle 10g enterprise manager oc4j environment. It is giving an error that
    " An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
    Archive Location - Failed in uploading archive. Invalid archive file: Unsupported archive type. unknown'
    i have deployed in the same way for mapviewer.ear. It was successfully deployed.
    plz any body tell me what would be the reason. I there any other way to deploying .jar file in oracle 10g enterprise manager
    thnx in advance...
    Regards,
    srinivas

    Hi Srinivas,
    There is no need to deploy MapBuilder in an Application Server. You can start it at the command line with for example:
    java -jar mapbuilder.jar -noconnect
    Joao

  • Error mapbuilder : missing initial moveto in path definition?

    Hi all!
    I have created a Base map on oracle mapbuilder, but when i preview and click Zoom in, i get error *"missing initial moveto in path definition"* then map is not be zoom in.
    Can anybody help me fix it.
    Thanks.

    I just tested this code, and let it run for a minute. I did not see any such message -- I'm using JavaFX 2.2b13 -- it may have been fixed already.

  • MapBuilder version error

    Hi,
    we just downloaded a new version of MapViewer and Mapbuilder - we delpoyed MapViewer succesfully and is up and running. But when I try to run the MapBuilder it gives me this error:
    java.lang.UnsupportedClassVersionError: oracle/mapviewer/builder/MapBuilder (Unsupported major.minor version 49.0)
    Is this some kind of version issue? Or does anybody have any ideas what is the problem?
    Thanks
    Jan

    Hi Jan,
    java.lang.UnsupportedClassVersionError can occur when the class you are trying to load has been compiled with newer JDK than your JVM. Try update your JVM. I'm using JDK 5.0 (that comes with JDeveloper 10.1.3) and MapBuilder works perfectly.
    From MapBuilder Readme file: "To run Map Builder, you must have Java 1.5 or higher installed.".
    Regards,
    Andrejus

  • Error when running a script on linux

    Hi,
    Could you please help me with the below error identification.
    Am trying to run the mapbuilder.sh script in Red Hat Linux ES 3 and get the below error.
    I have JDK1.5 and JRE1.6 installed on Linux.
    the script contains the below statement which when executed, gives the error.
    $/opt/radhome/platform/linux2x86/jre_1.5.0/bin/java ilog.views.mapbuilder.MapBuilder
    $ . ./mapbuilder.sh
    Exception in thread "main" java.lang.NoClassDefFoundError: ilog/views/event/ManagerSelectionListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Please let me know, if you need any further information.
    Regards
    Guruprasad

    Thank you for your help.  I had to make a change in the CR Processing Server so your answer put me in the right direction. 
    We are using CR Server 2008.
    I had to set the value at 0 for Database Records Read When Previewing or Refreshing (0 for unlimited):
    Thank you again!
    Lisa
    I also had to make a few other changes as well.
    Edited by: Lisa Beggs on Jul 1, 2009 3:59 PM

  • Issue in previewing the Tile Layer in MapBuilder

    Hi
    I completed creating a Tile layer in the MapBuilder and when i clicked on preview, It is navigating to a page, displaying "Oracle Maps Sample" and a warning that "MVSdo Geometry is undefined".
    When I am trying to access the following defualt link "http://localhost:7001/mapviewer" to access MapViewer admin screen it is resulting in the following error :
    "Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection."
    Any suggestions or pointers to resolve the above issues will be very helpful and highly appreciated.
    Thanks.

    Hi
    When I used the default link provided in the Mapviewer in weblogic i.e.., "http://localhost:9500/mapviewer/". It was working fine but as we tried to access it using credentials other than Administrator, it did not allow us to log in. When we are trying to access the link using the credentials of administrator, now it is resulting in an error as shown below :
    "Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable."
    Any suggestions or pointers to resolve the above issue will be very helpful and highly appreciated.
    Thanks

  • MapViewer Html5 API. Error with Variable Pie Chart Style Model

    Hello,
    I have a serious problem related to Variable Pie Chart Style. MapViewer - Mapbuilder version: 11.1.1.7.3.
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    In Mapbuilder, I have a geometry theme with rendering style, an advanced variable pie with variable range, style. This is the XML of advanced style:
    <?xml version="1.0" ?>
    <AdvancedStyle>
        <VariablePieChartStyle startradius="5" increment="4">
               <PieSlice name="T004_2009" color="#0033FF"/>
               <PieSlice name="T004_2010" color="#FF0033"/>
               <PieSlice name="T004_2011" color="#33FF00"/>
            <Buckets>
                <RangedBucket seq="0" label="0 - 20%" low="0" high="100000"/>
                <RangedBucket seq="1" label="20 - 40%" low="100001" high="370000"/>
                <RangedBucket seq="2" label="40 - 60%" low="370001" high="1000000"/>
                <RangedBucket seq="3" label="60 - 80%" low="1000001" high="2500000"/>
                <RangedBucket seq="4" label="80 - 100%" low="2500001" high="2.0E7"/>
        </Buckets>
       </VariablePieChartStyle>
    </AdvancedStyle>
    and this is the XML of the theme:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID" caching="NONE">
        <hidden_info>
            <field column="INSTITUTION1" name="Port Name"/>
            <field column="T004_2009_CHAR" name="2009"/>
            <field column="T004_2010_CHAR" name="2010"/>
            <field column="T004_2011_CHAR" name="2011"/>
            <field column="T004_2012_CHAR" name="2012"/>
            <field column="T004_2013_CHAR" name="2013"/>
            <field column="T004_2014_CHAR" name="2014"/>
      </hidden_info>
        <rule column="PASSENGERS_2009,PASSENGERS_2010,PASSENGERS_2011">
            <features style="V.T004_PASSENGERS_VPIE"> (NVL(PASSENGERS_2009, 0) !=0 AND NVL(PASSENGERS_2010,0) != 0 AND NVL(PASSENGERS_2011, 0) != 0) </features>
            <label column="INSTITUTION1" style="T.CITY_NAME_H"> 1 </label>
      </rule>
    </styling_rules>
    When I preview the theme in mapbuilder everything seems fine.
    The problem arises, when I try to add a layer with this theme and style in my map in my APEX (version:4.2.6) application.
    This is the javascript:
    layer = new OM.layer.VectorLayer("layer1",
                def:{
                    type:OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource:ds, theme:themename,
                    url: baseURL
            map.addLayer(layer) ;
    and this is the error I get:
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    I' d appreciate any help.
    Thanks in advance,
    Vasso

    Hi,
    You're setting XML data in a JSON model, that's why the binding is incorrect.
    Depending on what your MII transaction is returning, you need to either retrieve the JSON part in the XML, or use a XML Model.
    Regards,
    Tanguy

  • Raster not Displaying correctly in Mapbuilder but OK in GeoRasterViewer

    Hi, I have sucessfully imported a jpg2 raster using Lizard tech's spatial express, I can view it in the Oracle GeoRasterViewer tool. When I go to construct a raster theme using Mapbuilder I get the error below.
    -------------------------- Stackdump
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=false, unit=METER
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-15
    DEBUG [oracle.sdovis.theme.grtp] [Master scale] 3493.0022451199998 [Scale factor for theme MELBOURNE] 1.0
    INFO [oracle.sdovis.theme.grtp] Screen resolution: 36.38544005333136
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.GEORASTER from GEORASTER_TABLE grt where grt.GEORASTER.rasterid = 1
    FINEST [oracle.sdovis.theme.grtd] Computing resolution...
    FINEST [oracle.sdovis.theme.grtd] Res X: 0.34999999997671694 Res Y: 0.35000000055879354 Pyramidlevel: 0
    FINEST [oracle.sdovis.theme.grtd] Pyramid level: 7 GeoRaster: 1 for screen resolution: 36.38544005333136
    DEBUG [oracle.sdovis.theme.grtp] ULT offset: 0,0
    FINEST [oracle.sdovis.theme.grtd] Res X: 44.79999999701977 Res Y: 44.800000071525574 Pyramidlevel: 7
    FINEST [oracle.sdovis.theme.grtp] GeoRaster Dimension: width= 4287.0 height= 7096.0
    DEBUG [oracle.sdovis.theme.grtp] [DimX] 32[DimY] 54
    FINEST [oracle.sdovis.theme.grtd] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,7,sdo_geometry(2001,82410,sdo_point_type(319380.195,5813676.80500001,null), null,null)) coord FROM GEORASTER_TABLE grt WHERE grt.GEORASTER.rasterid = 1 and grt.GEORASTER.rasterdatatable = 'RASTER_DATA_TABLE'
    FINEST [oracle.sdovis.theme.grtd] Row:-1 Column: 0
    DEBUG [oracle.sdovis.theme.grtp] Upper Left Cell for Upper left Spatial Extent: (-1,0)
    FINEST [oracle.sdovis.theme.grtd] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,7,sdo_geometry(2001,82410,sdo_point_type(304717.62313741335,5813806.753,null), null,null)) coord FROM GEORASTER_TABLE grt WHERE grt.GEORASTER.rasterid = 1 and grt.GEORASTER.rasterdatatable = 'RASTER_DATA_TABLE'
    FINEST [oracle.sdovis.theme.grtd] Row:-3 Column: -328
    FINEST [oracle.sdovis.theme.grtd] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,7,sdo_geometry(2001,82410,sdo_point_type(335536.0908625867,5811077.844996,null), null,null)) coord FROM GEORASTER_TABLE grt WHERE grt.GEORASTER.rasterid = 1 and grt.GEORASTER.rasterdatatable = 'RASTER_DATA_TABLE'
    FINEST [oracle.sdovis.theme.grtd] Row:58 Column: 360
    DEBUG [oracle.sdovis.theme.grtp] Calling JGeoRaster.getRasterImage - area: 0 , 0 , , 32 , 54
    DEBUG [oracle.sdovis.theme.grtp] End of JGeoRaster.getRasterImage call.
    FINEST [oracle.sdovis.theme.grtp] # image loaded: 1
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 109ms.
    FINEST [oracle.sdovis.RE] xfm: 0.027483520840594813 0.0 0.0 -0.027483520840594813 -8374.713145993615 159783.87905926636
    FINEST [oracle.sdovis.RE] rendering image theme: MELBOURNE
    FINEST [oracle.sdovis.ImageRenderer] image ground mbr=319380.195,5811212.804996076 320858.59499990166,5813676.80500001
    FINEST [oracle.sdovis.ImageRenderer] image width: 33, height:55
    FINEST [oracle.sdovis.ImageRenderer] rendering image at: 402, 3
    DEBUG [oracle.sdovis.ImageRenderer] Rendered Image is buffered image.
    ERROR [oracle.sdovis.ImageRenderer] java.awt.image.ImagingOpException: Unable to transform src image
         at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:263)
         at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:303)
         at sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:108)
         at sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:770)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2729)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2682)
         at oracle.sdovis.ImageRenderer.renderGeoRasterImage(ImageRenderer.java:426)
         at oracle.sdovis.ImageRenderer.renderGeoRasterTheme(ImageRenderer.java:318)
         at oracle.sdovis.ImageRenderer.render(ImageRenderer.java:132)
         at oracle.sdovis.RenderingEngine.render(RenderingEngine.java:260)
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1464)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1638)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.mapRun(DrawPanel.java:1025)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.run(DrawPanel.java:938)
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme MELBOURNE with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 16ms
    So my question is why can I see my raster via GeoRasterViewer but not Mapbuilder?
    I have read in earlier posts that the traceback above could be the result of the missing files jai_core.jar and jai_codec.jar but I start my mapbuilder with the following command to ensure they exist in the classpathwith no sucess.
    There may be a few too many jars in the classpath below but I copied this list from the rasterviewer just to cover all bases.
    C:\oracle\product\10.2.0\db_1\jdk\bin\java -Xmx256m -cp C:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdoapi.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdotopo.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdoutl.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdotype.jar;C:\oracle\product\10.2.0\db_1\ord\jlib\jai_core.jar;C:\oracle\product\10.2.0\db_1\ord\jlib\jai_codec.jar;C:\oracle\product\10.2.0\db_1\rdbms\jlib\xdb.jar;C:\oracle\product\10.2.0\db_1\md\demo\georaster\java\georaster_tools.jar -jar mapbuilder.jar
    I have also tried starting mapbuilder like this, but with no more luck...
    java -Xmx256m -cp C:\oracle\product\10.2.0\db_1\ord\jlib\jai_core.jar;C:\oracle\product\10.2.0\db_1\ord\jlib\jai_codec.jar -jar mapbuilder.jar
    Any help would be greatly appreciated,
    Rowie..
    Message was edited by:
    Rowie

    Hi Rowie,
    the error is not related with missing jai files (MapBuilder has these classes packaged on the single jar). In this case you can see the error that the image is not transformed during rendering.
    ERROR [oracle.sdovis.ImageRenderer] java.awt.image.ImagingOpException: Unable to transform src image
    It seems that the way MapViewer/MapBuilder render the image, is not supporting the
    GeoRaster generated.
    Which version of the GeoRasterViewer are you using to see the image?
    Is it possible to have a dump file of this GeoRaster, so we can reproduce the error? How big is it?
    Please post your email address in case we need to contact you.
    Thanks.
    Joao

  • Error rendering raster image in OracleAS MapViewer Version: Ver1033p5_B0810

    We have installed Oracle 10g and are in the process of testing it. I've loaded a raster image into MapBuilder and created a table, theme, and base map. The theme and base map display fine in MapBuilder 10.1.3.3 patch 5, but when I try to display it in MapViewer I get the error show in ftp://ftp.mdt.mt.gov/download/raster_error.png.
    I've created a datasource to the 10g database, and a map tile layer for the raster base map. MapTileLayer1.png and
    MapTileLayer2.png on the ftp site identified above show basic settings and coordinate system definition for the tile layer.
    Can anyone suggest why this error is occurring and what I can do to correct the problem. Thanks.

    I have solved this problem. When I created the theme in MapBuilder I set the srid to 262148, but in MapViewer I set it to 41079. Once I fixed this the raster image display fine :(

  • Spatial index error whilst creating an index for a GeoRaster column

    Dear all
    Several months ago I inserted 12 Raster map PNG files into Oracle as GeoRaster data. I then viewed these in MapBuilder to check they are were loaded and as they appeared, it seemed to suggest they were.
    Today however I realised I had not created an entry for USER_SDO_GEOM_METADATA or a spatial index. Therefore I attempted to do this using the code below. When I first made an entry into USER_SDO_GEOM_METADATA I did not add .spatialextent after the column name, web_raster_map. However whilst reading the MapViewer manual I decided it was required so create a new entry. However the error message, posted at the end, was the same in each case. If any one has any ideas on what I may have done wrong, I would be grateful.
    Is the entries eastings-x and northings-y wrong? Should that be X and Y and if so would that resolve the errors? I was using a script I had created previously for vector data and adapting it.
    INSERT INTO USER_SDO_GEOM_METADATA
    (TABLE_NAME,
    COLUMN_NAME,
    DIMINFO,
    SRID)
    VALUES (
    'WEB_RASTER_MAP_FILE',
    'web_raster_map.spatialextent',
    SDO_DIM_ARRAY( -- full grid size goes here
    SDO_DIM_ELEMENT('eastings-x', -3273.58473839662, -8471.66, 0.005),
    SDO_DIM_ELEMENT('northings-y', -9694.76, -1632.88473839662, 0.005)),
    96163497); -- this is a user created srid
    commit;
    CREATE INDEX WEB_RASTER_MAP_FILE_IDX ON WEB_RASTER_MAP_FILE (web_raster_map)
       INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    commit;Error message was as follows:
    Error starting at line 14 in command:
    CREATE INDEX WEB_RASTER_MAP_FILE_IDX ON WEB_RASTER_MAP_FILE (web_raster_map)
       INDEXTYPE IS MDSYS.SPATIAL_INDEX
    Error at Command Line:14 Column:13
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13200: internal error [Unsupported Type] in spatial indexing.
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    29855. 00000 -  "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    commit succeeded.Kind regards
    Tim
    Edited by: user467357 on Mar 23, 2009 5:45 PM
    To add an additional comment.

    Dear sravada
    Thank you for your reply, I very grateful. I didn't spot that mistake because I was coming from the point of only needing to add the column name. When your starting out most mistakes are simple ones.
    Kind regards
    Tim

  • Map Builder Preview rendering errors

    I am having problems using Map Builder. I have wasted quite a bit of time trying to fix these problems assuming I was doing something wrong, or something was wrong with my data.
    Error 1: I create a map using 2 themes. One theme is a geometry theme of topo edge primitives. The other is a topology theme of features built from those primitives. The geometry theme is assigned a red line style. The topology(feature) theme is assigned a blue line style. the geometry theme is listed first, to draw first. I expect to see the red overdrawn by the blue. The preview show red lines. When viewed in Acquis Data Editor, this map displays as expected (blue lines) and when a feature is removed (disassociated from the topo primitive) the underlying primitive shows up as red. When I stop and restart Map Builder, the preview rendering is as expected, blue on top.
    Error 2: I create a map using 1 theme. This theme is a geometry theme of topo edge primitives. I assign node and edge styles. When I preview the map, the nodes (only one node per edge) are displayed at the center of the straight edges, at what appears to be mid-distance between the end points of the edges of the shaped edges (not on the edge), and in the center of rings created by edges that have the same start and end node. They look like they are attempting to be what ESRI calls label points. Again, when I view this map in Acquis Data Editor, the nodes show up on the ends of the edges where I usually tend to look for nodes to show up. Stopping and restarting Map Builder does not fix this rendering problem.
    Are these known bugs and when can I expect to use the preview button reliably?
    Alden

    For the red line style, L.EDGE, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <svg height="1in" width="1in">
    <desc/>
    <g class="line" style="fill:#FF33FF;stroke-width:1.0">
    <line class="base"/>
    </g>
    </svg>
    For the blue line style, L.FEATURESTYLE, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <svg height="1in" width="1in">
    <desc/>
    <g class="line" style="fill:#3366FF;stroke-width:1.0">
    <line class="base"/>
    </g>
    </svg>
    For the geometry (edge primitive) theme, TOPO_EDGE, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules>
    <rule>
    <features style="C.FACE"> </features>
    </rule>
    <rule>
    <features style="M.NODE"> </features>
    </rule>
    <rule>
    <features style="L.EDGE"> </features>
    </rule>
    </styling_rules>
    For the topology(feature) theme, GLOBAL, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="topology" topology_name="MGF_TOPO">
    <rule>
    <features style="L.Featurestyle"> </features>
    </rule>
    </styling_rules>
    For the base map, TEST2, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
    <theme name="TOPO_EDGE"/>
    <theme name="GLOBAL"/>
    </map_definition>
    As I said earlier, this does display blue lines after a restart of MapBuilder but upon first creating this map and themes, the initial display is red lines.
    As to error 2: I understand now that Acquis probably does a specialty mapping of metatdata and uses the NODE$ table, applying the style definition for the edge theme (M.NODE) to display them.

  • Mapbuilder- can't import image

    Hi,
    I use mapbuilder for trying to import an image into my database. But every format fails (bmp/gif/jpg).
    I got following error message
    Importing File...
    java.lang.ExceptionInInitializerError: null
    The georaster object is not loaded correctly!!
    And after this message, the application tries again to import the file but then it stucks in an endless loop and the programme doesn't react anymore.
    Thanks for any suggestions
    Thomas

    If you are a developer, and must be since you are talking about iOS 4.2 Beta, you need to go to:
    http://developer.apple.com for the developers' forum...no one on this forum can answer your question due to non-disclosure limitations.

  • Hello, my Firefox crashes constantly because of flash(error report here)

    here is error report
    Add-ons: {972ce4c6-7e08-4474-a285-3208198ce6fd}:3.6.3
    BuildID: 20100401080539
    CrashTime: 1273996117
    EMCheckCompatibility: true
    Email:
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1273994551
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 77
    StartupTime: 1273996077
    Theme: classic/1.0
    Throttleable: 1
    URL: http://www.nba.com/video/channels/top_plays/2010/05/15/20100515_sac_top10.nba/?ls=iref:nba hpt2
    Vendor: Mozilla
    Version: 3.6.3
    the only add-on working is shockwave flash....
    HELP!!!

    here are all my add-ons, http://img534.imageshack.us/img534/7469/89303463.jpg
    hope u can see them
    I set it to medium.....and it crashed,
    and I set it to low.......and it crashed
    here the crash cause: 
    AppName: iexplore.exe AppVer: 8.0.6001.18702 ModName: flash10e.ocx
    ModVer: 10.0.45.2 Offset: 002b7a7c
    HELP

Maybe you are looking for

  • Final Cut Express moving videos off hard drive

    So I started capturing some footage on my laptop because I didn't have an external drive available. I finished the project, and now I'm back home with my external drive. My internal drive had 1.5 gigs free now, and I want to move all the footage I ca

  • JDBC adapter and message split

    Hello, does anybody know how I can make a split of a document created by the JDBC adapter and that should look like <resultset>   <row>      <column-name1>column-value</ column-name1>      <column-name2>column-value</ column-name2>      <column-name3

  • Can't get apache to parse xml pages

    have installed xmlbean cocoon jdk and still can't get apache to parse the xml pages please help...does any one have a win32 compiled mod_xml?

  • Function similiar to Lookup & Search

    Hi All, I have the following dataset on Sheet 1 (i'll provide a rough sample below): ColA ColB ColC ColD ISBN CType CID FullName 12345678910 A07 Joe Bloggs 23456789121 A01 John Smith 78596289682 A01 Michael Douglas 23798541697 A01 Morgan Roberts I th

  • Communication Error when printing to i9900

    I can't print to my i9900 printer. I keep getting: Error #306, Communication Error. This is wierd because I know my MBP is commicating with it since I have been able to do test prints thru the Printer Utiliity. Any help is appreciated. Momma