MDSYS.CS_SRS incomplete

We are working with Mapguide5 from Autodesk, using a projection known as AZHP-CIF 'Arizona State Plains, Central Zone,International Foot'. Since this does not appear in CS_SRS I have added a row using the WKT from a file supplied by Autodesk, and assigned an arbitrary SRID, not currently used in CS_SRS - and are having problems - the SRID is probably only used during processing by Oracle, but I wondered if there is a complete list of SRID/WKT assignments - can't find such a list at opengis.org.

Hi,
You can select the WKT and srids from mdsys.cs_Srs for a complete list.
The 9i Spatial user's guide has information about how to add new entries into cs_srs. There are specific rules which have to be followed.
There is not yet have a registry process in place for defining unique SRID values, but if you want to define your own you might want to start by choosing a value greater than 1 million.
In any event, try posting your definition here, and perhaps someone can determine what isn't working...
null

Similar Messages

  • Error in MDSYS.CS_SRS table

    Hello. I'm new to spatial. We are using 10.2.0.4 database, standart edition, under RHEL5. So we use Locator, not spatial. Now I need to move database to brand new, 10.2.0.5 server, same OS. When I do schema import through datapump, I got an error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: SRID 294914 does not exist in MDSYS.CS_SRS table
    ORA-29400: data cartridge error
    So I check MDSYS.CS_SRS table on new database, it has for some strange reason only 15 rows. The old database's same table has more than 4000 rows. May I recreate this table and how ? Are there any other tables I must to check ? Maybe it's better just to recreate the database, because it s not yet production ?

    Thanks for the reply. Sorry I was out of town for a couple of weeks and this issue is still out there pending.
    What's the procedure for defining a non-standard coordinate system number? Does it have to be done by the DBA or a developer could do it himself?
    Thanks in advance

  • 10GR2: Creating a new MDSYS.CS_SRS entry????

    Previously I created my new SRID by simply inserting into mdsys.cs_srs. Now however I get the following error
    insert into mdsys.cs_srs values
    ERROR at line 1:
    ORA-13199:
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 8
    ORA-06512: at "MDSYS.CS_SRS_TRIGGER", line 2
    ORA-04088: error during execution of trigger 'MDSYS.CS_SRS_TRIGGER'
    I've seen on the forumn that from 10GR2 you can no longer do this. What I couldn't find was how you now do it? BTW This SRID was in my 10.1.0.4 database before upgrading but didn't get carried forward in the upgrade.

    Also see:
    problem with spatial index creation
    One of mr. horhammer's replies includes some details.

  • Insert into mdsys.cs_srs error

    Hi list,
    i Creating a User-Defined Coordinate System
    ERROR 1: ORA-13199:
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 8
    ORA-06512: at "MDSYS.CS_SRS_TRIGGER", line 2
    ORA-04088: error during execution of trigger 'MDSYS.CS_SRS_TRIGGER' in
    INSERT INTO mdsys.cs_srs
    VALUES (
    'Asia_North_Lambert_Conformal_Conic',
    102027,
    102027,
    'PROJCS["Asia_North_Lambert_Conformal_Conic",GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",95],PARAMETER["Standard_Parallel_1",15],PARAMETER["Standard_Parallel_2",65],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1],AUTHORITY["EPSG","102027"]]',
    null
    );

    several days ago i have similar problem....
    the solution was to define all necessary (missing) entries in the tables (in the following order):
    SDO_DATUMS
    SDO_COORD_OPS
    SDO_COORD_OP_PARAM_VALS
    SDO_COORD_REF_SYS
    SDO_CS_SRS
    the entries in the SDO_CS_SRS table can be automaticly updated if all other data are properly defined:
    call SDO_CS.UPDATE_WKTS_FOR_EPSG_CRS(xxx);
    refer to Oracle Spatial User Guide (chapter 6.8) how to insert data in all mentioned tables.
    my sugestion is:
    - find SRS that has similar definition like SRC you need (SRID from SDO_COORD_REF_SYS table).
    - read what is written in the SDO_COORD_REF_SYS
    - find all related entries in other tables
    - following predefine patern from predefined oracle srid add new entries with the new values for your crs parameters
    ... maybe you don't have to define new datum parameters but i think the workflow is clear.
    i have tried this aproach and for me everything works well. i'm using oracle 10g R2 and i have to add new projected coordinate system based on transverse mercator.
    regards,
    sp

  • Can we create new SRID in MDSYS.CS_SRS?

    Dear Friends
    Can i create user defined coordinate systems record in MDSYS.CS_SRS? If yes, pls i would like to know the procedures to follow. I have all the coordinates system parameters to be assigned to SRID in MDSYS.CS_SRS.
    Can i create record through Oracle Enterprise Manager?
    Regards
    Balu GDB

    Hello Balu:
    You may want to read this thread:
    problem with spatial index creation
    It shows you how to create a cutomized SRID using Oracle 10gR2.
    R Clement

  • Table CS_SRS missing

    Hi folks,
    The table 'MDYS.CS_SRS' is missing in my database. I don't know if the table is necessary, but I think it is, is there a way to get the table back?
    Kind regards,
    Kodde

    It is MDSYS.CS_SRS and if it is missing, check your install.
    If that table is missing it is likely that the install of Spatial is not correct so other things might also be missing.
    siva

  • Can't display Georaster in Oracle Maps

    Please help!
    I'm trying to display a georaster in Oracle Maps, without success. The georasters in question display normally in PCI's Focus, eSpatial's iSMART, and MapBuilder preview, but nothing is display in Oracle Maps.
    I have copied jai_codec.jar, jai_core.jar, jai_imageio-1.1.2.jar into
    D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\lib. I don't get any errors in mapviewer.log set to finest (appended to bottom of post).
    I'm using AS 10.1.3.1.0, MapViewer 10.1.3.1 from patch 6453515, and the 10.1.0.3.1 enterprise database.
    In Oracle Maps I have this code:
         foi = new MVThemeBasedFOI('MOSAIC2','MOSAIC2');
         this.mapview.addThemeBasedFOI(foi);
    The georaster has spatial extents:
    SQL> SELECT g.GEORASTER.spatialextent FROM MOSAICS g WHERE g.MOSAICID=2;
    GEORASTER.SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO,
    SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(-83.5357, 31.4825, -83.5357, 31.472635, -83.5357, 31.462765, -83.52891, 31.462765, -83.522115, 31.462765, -83.522115, 31.472635, -83.522115, 31.4825, -83.52891, 31.4825, -83.5357, 31.4825))
    The spatial extent is in USER_SDO_GEOM_METADATA and is indexed:
    SQL> select * from USER_SDO_GEOM_METADATA where TABLE_NAME='MOSAICS';
    TABLE_NAME
    COLUMN_NAME
    DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SRID
    MOSAICS
    GEORASTER.SPATIALEXTENT
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .0005), SDO_DIM_ELEMENT('Y', -90, 90, .0005))
    8307
    The georaster has metadata:
    select TO_CLOB(m.GEORASTER.METADATA) from MOSAICS m where m.MOSAICID=2;
    <georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>21001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>2</defaultGreen>
    <defaultBlue>3</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>8BIT_U</cellDepth>
    <totalDimensions>3</totalDimensions>
    <dimensionSize type="ROW">
    <size>3947</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>2717</size>
    </dimensionSize>
    <dimensionSize type="BAND">
    <size>3</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    <band>0</band>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>8</totalRowBlocks>
    <totalColumnBlocks>6</totalColumnBlocks>
    <totalBandBlocks>3</totalBandBlocks>
    <rowBlockSize>512</rowBlockSize>
    <columnBlockSize>512</columnBlockSize>
    <bandBlockSize>1</bandBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>5</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>8307</SRID>
    <spatialResolution dimensionType="X">
    <resolution>5e-006</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>5e-006</resolution>
    </spatialResolution>
    <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>6296500.000000001 0 -200000</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>16707140 200000 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>Not Specified</layerID>
    </subLayer>
    <subLayer>
    <layerNumber>2</layerNumber>
    <layerDimensionOrdinate>1</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    <subLayer>
    <layerNumber>3</layerNumber>
    <layerDimensionOrdinate>2</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    </layerInfo>
    </georasterMetadata>
    Nothing displays at any zoom level in Oracle Maps.
    The georaster has pyramids generated by:
    DECLARE
    gr sdo_georaster;
    BEGIN
    SELECT georaster INTO gr
    FROM MOSAICS WHERE MOSAICID = 2 FOR UPDATE;
    sdo_geor.deletePyramid(gr);
    sdo_geor.generatePyramid(gr, 'rLevel=5, resampling=NN');
    UPDATE MOSAICS SET georaster = gr WHERE MOSAICID = 2;
    COMMIT;
    END;
    The georaster validates:
    SQL> select sdo_geor.validateGeoraster(a.georaster),sdo_geor.schemaValidate(a.ge
    oraster) from MOSAICS a where MOSAICID=2;
    SDO_GEOR.VALIDATEGEORASTER(A.GEORASTER)
    SDO_GEOR.SCHEMAVALIDATE(A.GEORASTER)
    TRUE
    TRUE
    Thanks very much for any suggestions!
    -Bruce
    mapviewer.log from a session, set to "FINEST"
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    FINEST:
    Allowed IPs:
    Excluded IPs:
    Jan 25, 2008 5:24:16 PM oracle.sdovis.GlobalVisContext <clinit>
    WARNING: will use 96 as default dpi.
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
    FINEST: Non-Spatial Data Provider registered: defaultNSDP
    Jan 25, 2008 5:24:16 PM oracle.sdovis.SDataProviderMgr registerProvider
    INFO: Spatial Provider shapefileSDP has been registered.
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
    FINEST: Spatial Data Provider registered: shapefileSDP
    Jan 25, 2008 5:24:17 PM oracle.sdovis.SRS <clinit>
    INFO: Using 96 as default dpi.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 748.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 init
    INFO: Spatial Data Cache opened. Region=SDOVIS_DATA.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 init
    INFO:      max_cache_size=32 MB.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_mvdemo_jdbc:oracle:thin:@jmsdb5:1521:jmsdb created in cache.
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 130.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_grim_jdbc:oracle:thin:@odm2:1521:odm2 created in cache.
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:19 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 130.
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    Jan 25, 2008 5:24:20 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/private/scratch\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:20 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:20 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:21 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_DOQ.jar
    Jan 25, 2008 5:24:21 PM oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_DRG.jar
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_URBAN.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:22 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_DOQ.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_DRG.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_URBAN.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/private/scratch\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.MCSServlet$ColdStart run
    INFO: *** Oracle MapCacheServer started. ***
    Jan 25, 2008 5:26:21 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:21 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:59 PM oracle.lbs.foi.FOIServlet dumpURLParams
    FINEST: Servlet URL parameters (/foi):
    [width] [2048]
    [height] [1536]
    [theme] [grim.MOSAIC2]
    [dstsrid]
    [8307]
    [cachefoi] [yes]
    [bbox] [-84.1257287289893:30.988239674744463:-82.76821692338207:32.006373528949894]
    [request] [getfoi]
    [area] [no]
    [clickable] [yes]
    [version] [1.0]
    End of servlet URL parameters (/foi).
    Jan 25, 2008 5:26:59 PM oracle.lbs.foi.FOIServlet doPost
    FINEST: user making foi request: null
    Jan 25, 2008 5:26:59 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper(grim) begins...
    Jan 25, 2008 5:26:59 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper() succeeded.
    Jan 25, 2008 5:26:59 PM oracle.sdovis.DBMapMaker addPredefinedTheme
    FINEST: adding predefined theme [name=MOSAIC2]
    Jan 25, 2008 5:26:59 PM oracle.sdovis.ThemeTable getCommonAttributes
    FINEST: key_column using default: ROWID
    Jan 25, 2008 5:26:59 PM oracle.sdovis.ThemeTable getGeoRasterTheme
    FINER: Operation name: normalize
    Jan 25, 2008 5:26:59 PM oracle.sdovis.LoadThemeData run
    FINER: LoadThemeData running thread: Thread-37
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Theme definition SRID: 8307
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Original query window: -84.1257287289893,30.988239674744463,-82.76821692338207,32.006373528949894
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: [Query] select grt.GEORASTER from MOSAICS grt where grt.GEORASTER.rasterid = ?
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Fetch size: 10
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Data SRID: 8307
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
    FINER: [Master scale] 0.06363336588783941 [Scale factor for theme MOSAIC2] 1.0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
    INFO: Screen resolution: 0.0027150236112144814
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: ULT offset: 0,0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 5.000000001587068E-6 Res Y: 5.000000001587068E-6 Pyramidlevel: 0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Upper Left Model Coordinate: -83.5357 , 31.4825
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 5.000000001587068E-6 Res Y: 5.000000001587068E-6 Pyramidlevel: 0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getPyramidLevel
    FINEST: Pyramid level: 5 GeoRaster: 102.0 for screen resolution: 0.0027150236112144814
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 1.6000000005078618E-4 Res Y: 1.6000000005078618E-4 Pyramidlevel: 5
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: GeoRaster Dimension: width= 2717.0 height= 3947.0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: [DimX] 83[DimY] 122
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Converting to cell coordinate: [pyramidLevel] 5 [X] -84.1257287289893 [Y] 32.006373528949894
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: getCellCoordinate query: SELECT
    sdo_geor.getCellCoordinate(grt.GEORASTER,?,sdo_geometry(2001,8307,sdo_point_type(?,?,null), null,null)) coord FROM MOSAICS
    grt WHERE grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: Row:-3275 Column: -3688
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Converting to cell coordinate: [pyramidLevel] 5 [X] -82.76821692338207 [Y] 30.988239674744463
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: getCellCoordinate query: SELECT
    sdo_geor.getCellCoordinate(grt.GEORASTER,?,sdo_geometry(2001,8307,sdo_point_type(?,?,null), null,null)) coord FROM MOSAICS
    grt WHERE grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: Row:3089 Column: 4796
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Calling JGeoRaster.getRasterImage - area: 0 , 0 , , 83 , 122
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: End of JGeoRaster.getRasterImage call.
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer performImageProcessing
    FINER: Operation name: normalize
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer performImageProcessing
    FINER: Normalize operation.
    Jan 25, 2008 5:27:02 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: # image loaded: 1
    Jan 25, 2008 5:27:02 PM oracle.lbs.mapserver.core.MapperPool freeMapper
    FINER: freeMapper() begins...
    Jan 25, 2008 5:27:02 PM oracle.lbs.foi.FOIServlet sendGZippedResponse
    FINEST: Sending FOI response in gzip format.

    Hi Bruce,
    for GeoRaster themes you can define a specific pyramid level to render, or you can leave the pyramid level null on the theme definition, and in this case MapViewer calculates the best level to render. The second option is recommended as it avoids loading unnecessary data given the current display parameters. If you are seeing your image get blocked, most likely at this zoom level and up you have reached the highest pyramid level of the GeoRaster. Even in MapBuilder if you keep zoom in, you get a blocked image after reaching the highest resolution level.
    Joao

  • Unable to view the image in Oracle Mapbuilder

    Hi,
    I am unable to view the image using oracle mapviewer.
    It stated that:
    No spatial data to render...
    INFO [oracle.sdovis.CacheMgr2] Spatial Data Cache opened. Region=SDOVIS_DATA.
    INFO [oracle.sdovis.CacheMgr2]      max_cache_size=32 MB.
    INFO [oracle.sdovis.CacheMgr2] sub region sdovis_subreg_ias_spatial_jdbc:oracle:thin:@dbdev:1521:orcl created in cache.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    INFO [oracle.sdovis.DBSRSCache] Loading SRS information from MDSYS.cs_srs (srid=8307).
    DEBUG [oracle.sdovis.DBSRSCache] Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-8
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    FINEST [oracle.sdovis.theme.grtp] Bands: Red - 1 Green - 1 Blue - 1
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-10
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-12
    WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-14
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: -Infinity,-Infinity,NaN,NaN
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv
    INFO [oracle.sdovis.CacheMgr2] Creating/replacing a geometry cache group: sdovis_subreg_ias_spatial_jdbc:oracle:thin:@dbdev:1521:orcl : NYP_IMAGES_IMAGE.SPATIALEXTENT_PDT_GEOM.
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 16ms, total time loading 1 features: 78ms.
    FINEST [oracle.sdovis.MapMaker] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=-330.05,y=-206.35000000000002,w=3308.6025,h=2565.5175]
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 78ms.
    FINEST [oracle.sdovis.RE] xfm: 0.15474460805665913 0.0 0.0 -0.15474460805665913 185.0792593502091 365.0684501275084
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 16ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 31ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-16
    WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    FINEST [oracle.sdovis.SRS] before adjusting: minX = -1196.0304250629722, maxX=3844.532925062972 minY=-206.3499999999999, maxY=2359.1675 w=5040.563350125944, h=2565.5175
    FINEST [oracle.sdovis.SRS] After adjusting: minX = 0.0, maxX=360.0 minY=-90.0, maxY=90.0 w=5040.563350125944, h=2565.5175
    WARN [oracle.sdovis.SRS] Resizing query window to be within valid bounds.
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-18
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 0.0,-90.0,360.0,90.0
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 859ms, total time loading 1 features: 859ms.
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 859ms.
    FINEST [oracle.sdovis.RE] xfm: 2.1666666666666665 0.0 0.0 -2.1666666666666665 0.0 198.5
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 16ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 16ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    FINEST [oracle.sdovis.SRS] before adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    FINEST [oracle.sdovis.SRS] After adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-20
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 3.173803526448353,-90.0,356.82619647355165,90.0
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 0ms, total time loading 1 features: 0ms.
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 16ms.
    FINEST [oracle.sdovis.RE] xfm: 2.2055555555555553 0.0 0.0 -2.2055555555555553 -6.99999999999992 198.50000000000003
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 15ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 31ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=GEORTHEME]
    FINEST [oracle.sdovis.ThemeTable] key_column using default: ROWID
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-22
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    FINEST [oracle.sdovis.theme.grtp] Bands: Red - 1 Green - 1 Blue - 1
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-24
    WARN [oracle.sdovis.theme.grtp] GeoRaster SRID can not be 0.
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=true, unit=DECIMAL DEGREE
    FINEST [oracle.sdovis.SRS] before adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    FINEST [oracle.sdovis.SRS] After adjusting: minX = 3.173803526448353, maxX=356.82619647355165 minY=-90.0, maxY=90.0 w=353.6523929471033, h=180.0
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-26
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: 3.173803526448353,-90.0,356.82619647355165,90.0
    FINEST [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ]: SELECT rowid, tb_prv.IMAGE.SPATIALEXTENT, 'dbdev_NYP_IMAGES_render', null, 'null', -1 FROM NYP_IMAGES tb_prv WHERE MDSYS.SDO_FILTER(tb_prv.IMAGE.SPATIALEXTENT, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    DEBUG [oracle.sdovis.theme.pgtp] [ NYP_IMAGES ] sql exec time: 765ms, total time loading 1 features: 765ms.
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 765ms.
    FINEST [oracle.sdovis.RE] xfm: 2.2055555555555553 0.0 0.0 -2.2055555555555553 -6.99999999999992 198.50000000000003
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme NYP_IMAGES with 1 styled features: 31ms
    DEBUG [oracle.sdovis.VectorRenderer] time to label theme NYP_IMAGES with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 125ms
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=GEORTHEME]
    DEBUG [oracle.sdovis.ThemeTable] Got SRID for base table NYP_IMAGES from data source cache
    FINEST [oracle.sdovis.ThemeTable] key_column using default: ROWID
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-28
    FINEST [oracle.sdovis.theme.grtp] Theme definition SRID: 8307
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.IMAGE from NYP_IMAGES grt where grt.IMAGE.rasterid = ? and grt.IMAGE.rasterdatatable = ?
    ERROR [oracle.sdovis.theme.grtp] java.lang.NullPointerException
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:589)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    ERROR [oracle.sdovis.ltd] Message:GeoRaster load Exception: null
    Description:
         at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:855)
         at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:90)
         at oracle.sdovis.LoadThemeData.run(LoadThemeData.java:66)
    WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    For the image i want to view, the data i got for the image that is being stored in the georaster object are:
    IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
    SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
    1), SDO_ORDINATE_ARRAY(-180, -90, -180, 1073, -180, 2237, 1320, 2237, 2821, 223
    7, 2821, 1073, 2821, -90, 1320, -90, -180, -90)), 'NYP_IMAGES_RDT', 131, XMLTYPE
    (<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectI))
    May i know whether the image is georeferenced?
    If it is successfully georeference, why does it stated that no spatial data to render?
    Regards,
    Esther

    IMAGE_ID IMAGE_DESCRIPTION
    IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
    161 TIFF
    SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
    1), SDO_ORDINATE_ARRAY(-180, -90, -180, 1073, -180, 2237, 1320, 2237, 2821, 223
    7, 2821, 1073, 2821, -90, 1320, -90, -180, -90)), 'NYP_IMAGES_RDT', 131, XMLTYPE
    (<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>4BIT</cellDepth>
    <totalDimensions>2</totalDimensions>
    <dimensionSize type="ROW">
    <size>2327</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>3001</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>10</totalRowBlocks>
    <totalColumnBlocks>12</totalColumnBlocks>
    <rowBlockSize>256</rowBlockSize>
    <columnBlockSize>256</columnBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>3</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>82394</SRID>
    <spatialResolution dimensionType="X">
    <resolution>28.5</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>28.5</resolution>
    </spatialResolution>
    <modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScal
    e="1" columnScale="1" xScale="1" yScale="1" zScale="1">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>-479.9329824561403 0 0.03508771929824561</polyno
    mialCoefficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>43256.28210526316 -0.03508771929824561 0</polyno
    mialCoefficients>
    </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>subLayer1</layerID>
    <colorMap>
    <colors>
    <cell value="0" blue="0" red="0" green="0" alpha="255"/>
    <cell value="1" blue="20" red="20" green="20" alpha="255"/>
    <cell value="2" blue="36" red="36" green="36" alpha="255"/>
    <cell value="3" blue="48" red="48" green="48" alpha="255"/>
    <cell value="4" blue="52" red="52" green="52" alpha="255"/>
    <cell value="5" blue="72" red="72" green="72" alpha="255"/>
    <cell value="6" blue="121" red="121" green="121" alpha="255"/>
    <cell value="7" blue="133" red="133" green="133" alpha="255"/>
    <cell value="8" blue="153" red="153" green="153" alpha="255"/>
    <cell value="9" blue="178" red="178" green="178" alpha="255"/>
    <cell value="10" blue="178" red="178" green="186" alpha="255"/>
    <cell value="11" blue="186" red="186" green="186" alpha="255"/>
    <cell value="12" blue="198" red="198" green="214" alpha="255"/>
    <cell value="13" blue="230" red="230" green="234" alpha="255"/>
    IMAGE_ID IMAGE_DESCRIPTION
    IMAGE(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELE
    <cell value="14" blue="242" red="242" green="242" alpha="255"/>
    <cell value="15" blue="255" red="255" green="255" alpha="255"/>
    </colors>
    </colorMap>
    </subLayer>
    </layerInfo>
    </georasterMetadata>
    Is this being georeferenced?

  • Error when creating spatial index in 10g

    Hello.
    I have a problen when I try to create a spatial index. The strange thing is that the same commands always works fine in some machines, but if always fails in others. I tryed in diferent versiones of Oracle, but I have the error in al of them. The versions I have tryed are:
    - 10.2.0.1
    - 10.2.0.4
    The operating systems are:
    Windows XP professional 32 bits
    Windows 2003 Server 32 bits
    These are the steps i make:
    1) Create a Table with a SDO_GEOMETRY column (GEOMETRY)
    2) Load data with SQLLDR (I hve tryed different SRID's, and all fail)
    So far everything is ok
    3) Create the INDEX
    When I execute the CREATE INDEX command CREATE INDEX MADRID_SX ON MADRID (GEOMETRY) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    I obtain the error:
    ERROR en linea 1:+
    ORA-29855: se ha producido un error en la ejecucion de la rutina+
    ODCIINDEXCREATE+
    ORA-13282: fallo al inicializar la transformacion de coordenadas+
    ORA-06512: en "MDSYS.SDO_INDEX_METHOD_10I", line 10+
    I too have noticed that if I execute the next command, I have an error:
    SELECT MDSYS.sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),25830) from dual;
    ERROR en linea 1:+
    ORA-13282: fallo al inicializar la transformacion de coordenadas+
    ORA-06512: en "MDSYS.SDO_CS", linea 75+
    ORA-06512: en "MDSYS.SDO_CS", linea 112+
    ORA-06512: en "MDSYS.SDO_CS", linea 2678+
    And if I execute the next command, I too have another error:
    SELECT SDO_CS.VALIDATE_WKT(25830) FROM DUAL;
    FALSE (169)*
    Any ideas? Could it be related with something inside the machines, user privileges, etc.?
    Thanks in advance.

    I have found that the problem is to use a SRID of AUTH_NAME column in MDSYS.CS_SRS table without the value "Oracle." in it.
    If I use an Oracle’s SRID, everything works fine. If I use an EPSG’s SRID, fails.
    For example, this command uses an Oracle SRID (8192) and one from the EPSG (25830), and fails:
    SELECT MDSYS.sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),25830) from dual;
    ERROR en linea 1:
    ORA-13282: fallo al inicializar la transformacion de coordenadas
    ORA-06512: en "MDSYS.SDO_CS", linea 79
    ORA-06512: en "MDSYS.SDO_CS", linea 116
    ORA-06512: en "MDSYS.SDO_CS", linea 2690
    However, if I use two Oracle SRID (8192 and 83030), it works.
    SELECT MDSYS.sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),83030) from dual;
    SDO_GEOMETRY(2001, 83030, SDO_POINT_TYPE(1625183.71, 5936269.06, NULL), NULL, NULL
    Therefore, the problem seems to be to use a non Oracle SRID.

  • Creation of new SRID ... keep getting errors

    Hi all
    I have trouble creating new SRID , the Images i have are in LCC projection with Everest Spheroid and Indian Datum . There is no SRID for this combination in SDO_COORD_REF_SYSTEM or CS_SRS tables. So i thought of creating a new SRID . Here is the insert statement which obviously wont work in 10gr2
    insert into mdsys.cs_srs values ('TEST SRS',10000001,10000001,'TEST', 'PROJCS["Test Proj", GEOGCS ["Indian (Bangladesh, etc.)", DATUM ["Indian (Bangladesh, etc.)", SPHEROID ["Everest", 6377276.35, 300.8017], PRIMEM [ "Greenwich", 0.000000 ], UNIT ["Decimal Degree", 0.01745329251994330]], PROJECTION ["Lambert Conformal Conic"], PARAMETER ["Standard_Parallel_1", 4.0], PARAMETER ["Standard_Parallel_2", 40.0], PARAMETER ["Central_Meridian", -80.000000], PARAMETER ["Latitude_Of_Origin", 22.0], PARAMETER ["False_Easting", 0.000000], PARAMETER ["False_Northing", 0.0000], UNIT ["Meter", 1.000000000000]]',NULL); /
    When i try to create new entry for this Projection by filling corresponding values in SDO_COORD_REF_SYSTEM , SDO_COORD_OPS,SDO_COORD_OP_PARAM_VALS i get the following errors .
    insert into sdo_coord_op_param_vals(
    ERROR at line 1:
    ORA-02291: integrity constraint (MDSYS.COORD_OP_PARA_VAL_FOREIGN_METH) violated - parent key not found
    INSERT INTO SDO_COORD_OPS (
    ERROR at line 1:
    ORA-02291: integrity constraint (MDSYS.COORD_OPERATION_FOREIGN_METHOD) violated - parent key not found
    insert into sdo_coord_op_methods(
    ERROR at line 1:
    ORA-13199: This cannot change the actual implementation status of a method.
    ORA-06512: at "MDSYS.MD", line 1723
    ORA-06512: at "MDSYS.MDERR", line 17
    ORA-06512: at "MDSYS.SDO_COORD_OP_METHODS_TRIGGER", line 2
    ORA-04088: error during execution of trigger 'MDSYS.SDO_COORD_OP_METHODS_TRIGGER'
    the same case with SDO_COORD_REF_SYSTEM
    Sorry if it is a dumb question , but i have read the manual , went thru the forum messages before i tried this . Still i dont seem to get it right .
    Thanks
    Ab

    yup .. that was a stupid question to ask..
    Just a lil bit of patient reading of the manual helped.
    ignore this thread
    Ab

  • Substyle of theme is displayed in preview but not in map

    Hi All,
    i am developing a map with the oracle sample schema oe and i want to display customer data based on the two parameters credit_limit and income_level.
    i created two advanced styles:
    for income_level:
    <?xml version="1.0" ?>
    <AdvancedStyle>
         <BucketStyle>
            <Buckets>
                <CollectionBucket seq="0" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_A">A: Below 30,000</CollectionBucket>
                <CollectionBucket seq="1" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_B">B: 30,000 - 49,999</CollectionBucket>
                <CollectionBucket seq="2" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_C">C: 50,000 - 69,999</CollectionBucket>
                <CollectionBucket seq="3" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_D">D: 70,000 - 89,999</CollectionBucket>
                <CollectionBucket seq="4" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_E">E: 90,000 - 109,999</CollectionBucket>
                <CollectionBucket seq="5" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_F">F: 110,000 - 129,999</CollectionBucket>
                <CollectionBucket seq="6" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_G">G: 130,000 - 149,999</CollectionBucket>
                <CollectionBucket seq="7" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_H">H: 150,000 - 169,999</CollectionBucket>
                <CollectionBucket seq="8" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_I">I: 170,000 - 189,999</CollectionBucket>
                <CollectionBucket seq="9" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_J">J: 190,000 - 249,999</CollectionBucket>
                <CollectionBucket seq="10" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_K">K: 250,000 - 299,999</CollectionBucket>
                <CollectionBucket seq="11" keep_white_space="true" type="string" delimiter=";" style="M.VECTOR_CIRCLE_L">L: 300,000 and above</CollectionBucket>
        </Buckets>
       </BucketStyle>
    </AdvancedStyle>and for credit_limit:
    <?xml version="1.0" ?>
    <AdvancedStyle>
        <VariableMarkerStyle basemarker="M.VECTOR_CIRCLE_TRANSPARENT" startsize="5" increment="2">
            <Buckets default_style="M.VECTOR_CIRCLE_TRANSPARENT">
                <RangedBucket seq="0" label="0 - 200" low="0" high="200"/>
                <RangedBucket seq="1" label="201 - 400" low="201" high="400"/>
                <RangedBucket seq="2" label="401 - 600" low="401" high="600"/>
                <RangedBucket seq="3" label="601 - 800" low="601" high="800"/>
                <RangedBucket seq="4" label="801 - 1000" low="801" high="1000"/>
                <RangedBucket seq="5" label="1001 - 1200" low="1001" high="1200"/>
                <RangedBucket seq="6" label="1201 - 1400" low="1201" high="1400"/>
                <RangedBucket seq="7" label="1401 - 999999" low="1401" high="999999"/>
        </Buckets>
       </VariableMarkerStyle>
    </AdvancedStyle>i created a geometry theme with an advanced style:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules>
        <hidden_info>
            <field column="CUST_LAST_NAME" name="Last Name"/>
            <field column="CUST_FIRST_NAME" name="First Name"/>
            <field column="INCOME_LEVEL" name="Income Level"/>
            <field column="CREDIT_LIMIT" name="Credit Limit"/>
      </hidden_info>
        <rule column="CREDIT_LIMIT,INCOME_LEVEL">
            <features> ((instr(upper(income_level), nvl(upper(:param1),upper(income_level))))&gt;0
    and
    credit_limit = nvl(:param2,credit_limit)
    and
    (select sum(order_total) from orders where customer_id = customers.customer_id) &gt; 0)
    and
    (cust_geo_location is not null) </features>
            <label column="CUST_LAST_NAME" style="T.TEXT"> 1 </label>
            <rendering>
               <style name="V.VARIABLE_VECTOR_CIRCLE" value_columns="CREDIT_LIMIT">
                  <substyle name="V.COLLECTION_BUCKET_INCOME_LEVEL" value_columns="INCOME_LEVEL" changes="FILL_COLOR"/>
         </style>
        </rendering>
      </rule>
    </styling_rules>and in the preview of mapbuilder it is showing up with different colors in different circle-sizes.
    BUT
    if i use this theme in my map i only get the different circle-sizes in white. the substyle semms to be not applied.
    i call the theme in the way i usual way:
                var themebasedfoi = new MVThemeBasedFOI('foi_oe_customer','orcldemo_oe.oe_customer_location');   
                themebasedfoi.setBringToTopOnMouseOver(true);
                themebasedfoi.setBoundingTheme(true);
                mapview.addThemeBasedFOI(themebasedfoi);
                mapview.display();if i change the 'mainstyle' from white circle to red circle and reload the map it will display different sized red circles, so it is the right theme i am loading. (btw i only have one them in my db...)
    any suggestions on this issue?
    the used version of mapbuilder is: Version: 10.1.3.3 patch 4
    the used version of mapviewer is: OracleAS MapViewer Version: Ver11_1_1_B090416
    the os is OEL 5.3
    i am glad for any help, thanks in advance :)
    wolfgang
    edit:
    WebLogic Console Outpt while loading the map:
    INFO: *** Oracle MapTileServer started. ***
    20.07.2009 11:39:44 oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=54004).
    20.07.2009 11:39:44 oracle.sdovis.CacheMgr2 createGeomGroup
    INFO: Creating/replacing a geometry cache group: sdovis_subreg_oe_jdbc:oracle:thin:@orademo:1521:orcldemo : CUSTOMERS_CUST_GEO_LOCATION_PDT_GEOM.
    20.07.2009 11:39:45 oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    20.07.2009 11:39:45 oracle.sdovis.CacheMgr2 createGeomGroup
    INFO: Creating/replacing a geometry cache group: sdovis_subreg_oe_jdbc:oracle:thin:@orademo:1521:orcldemo : CUSTOMERS_CUST_GEO_LOCATION_54004_PDT_GEOM.
    20.07.2009 11:39:47 oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    INFO: [ OE_CUSTOMER_LOCATION ] sql exec time: 2590ms, total time loading 46 features: 2692ms.
    20.07.2009 11:39:48 oracle.sdovis.theme.PredGeomThemeProducer loadFeaturesInWindow
    INFO: [ OE_CUSTOMER_LOCATION ] sql exec time: 281ms, total time loading 46 features: 409ms.Edited by: Wolfgang on 20.07.2009 11:42

    Hi Wolfgang,
    currently, the substyle parameters are not supported for FOI themes in Oracle Maps. For this reason you are not getting the correct colors for your FOI markers. This support can be added on a future patch. Thanks.
    Joao

  • New CS in oracle 10.2.0.4.0

    All,
    I am trying to add a User defined Coordinate system. I have read article 395171.1 and 788145.1, but it doesnot work yet. Somewhere I make a mistake in one of the assumptions. I am using Oracle 10.2.0.4.0 on linux. The old coordinate system prior to this version looked like this:
    SQL> select * from mdsys.cs_srs where srid=1328000;
    Spain National System
    1328000 1328000
    Oracle
    PROJCS["Spain National System",
         GEOGCS [ "Lisboa (DLx)",
         DATUM ["Lisboa (DLx)",
         SPHEROID ["International 1924", 6378388.000000, 297.000000]],
         PRIMEM [ "Greenwich", 0.000000 ],
         UNIT ["Decimal Degree", 0.01745329251994330]],
         PROJECTION ["Stereographic"],
              PARAMETER ["Scale_Factor", 0.9996],
              PARAMETER ["Central_Meridian", -3],
              PARAMETER ["Latitude_Of_Origin", 0],
              PARAMETER ["False_Easting", 500000],
              PARAMETER ["False_Northing", 0],
              UNIT ["Meter", 1.000000000000]]
    With the following sql-statements I have added my coordinate system:
    delete from mdsys.sdo_coord_ref_system where srid=138000;
    delete from sdo_cs_srs where srid =1328000;
    delete from MDSYS.SDO_COORD_OP_PARAM_VALS where coord_op_id=1328001;
    delete from mdsys.sdo_coord_ops where coord_op_id=1328001;
    insert into MDSYS.SDO_COORD_OPS (
    COORD_OP_ID,
    COORD_OP_NAME,
    COORD_OP_TYPE,
    SOURCE_SRID,
    TARGET_SRID,
    COORD_TFM_VERSION,
    COORD_OP_VARIANT,
    COORD_OP_METHOD_ID,
    UOM_ID_SOURCE_OFFSETS,
    UOM_ID_TARGET_OFFSETS,
    INFORMATION_SOURCE,
    DATA_SOURCE,
    SHOW_OPERATION,
    IS_LEGACY,
    LEGACY_CODE,
    REVERSE_OP,
    IS_IMPLEMENTED_FORWARD,
    IS_IMPLEMENTED_REVERSE)
    VALUES (
    1328001,
    'Stereographic_lisboa',
    'CONVERSION',
    NULL,
    NULL,
    NULL,
    NULL,
    9809,
    NULL,
    NULL,
    NULL,
    NULL,
    1,
    'FALSE',
    NULL,
    1,
    1,
    1);
    /*Latitude_of_origin */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8801,
    0.0,
    NULL,
    9001);
    /*Central_meridian */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8802,
    -3,
    NULL,
    9001);
    /*false_easting */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8806,
    500000,
    NULL,
    9001);
    /*false_northing */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8807,
    0,
    NULL,
    9001);
    /*PARAMETER ["Scale_Factor", 0.9996], */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8805,
    0.9996,
    NULL,
    9001);
    /* create the SRS */
    delete from mdsys.sdo_coord_ref_system where srid=138000;
    insert into MDSYS.SDO_COORD_REF_SYSTEM (
    SRID,
    COORD_REF_SYS_NAME,
    COORD_REF_SYS_KIND,
    COORD_SYS_ID,
    DATUM_ID,
    SOURCE_GEOG_SRID,
    PROJECTION_CONV_ID,
    CMPD_HORIZ_SRID,
    CMPD_VERT_SRID,
    INFORMATION_SOURCE,
    DATA_SOURCE,
    IS_LEGACY,
    LEGACY_CODE,
    LEGACY_WKTEXT,
    LEGACY_CS_BOUNDS,
    GEOG_CRS_DATUM_ID)
    VALUES (
    1328000,
    'Stereographic_lisboa',
    'PROJECTED',
    4530,
    NULL,
    2000025,
    1328001,
    NULL,
    NULL,
    NULL,
    NULL,
    'FALSE',
    NULL,
    NULL,
    NULL,
    10054);
    And when I do the following sql-statement, I get result, but looks like the wrong result to me:
    select geoloc, geoloc2, sdo_cs.transform(geoloc, 8307), sdo_cs.transform(geoloc2, 8307)
    from tabap2 where rownum=1
    result:
    GEOLOC(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    SDO_CS.TRANSFORM(GEOLOC,8307)(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_
    SDO_GEOMETRY(2001, 1328000, SDO_POINT_TYPE(923491.219, 4605886.36, NULL), NULL,
    NULL)
    SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-167.50928, 39.8716781, NULL), NULL, NUL
    L)
    It is data from spain, but x,y of -167, 39.8 doesnot looks like it will fall into spain.
    Who can shed some light on this User defined Coordinate system?
    Any help is appreciated!
    Kind regards,
    Thomas

    The main issue: you used unit of measure "meter" for lat of origin and central meridian. I also fixed a few minor details, such as a misspelled SRID and some unnecessary deletions.
    delete from mdsys.sdo_coord_ref_system where srid=1328000;
    delete from MDSYS.SDO_COORD_OP_PARAM_VALS where coord_op_id=1328001;
    delete from mdsys.sdo_coord_ops where coord_op_id=1328001;
    insert into MDSYS.SDO_COORD_OPS (
    COORD_OP_ID,
    COORD_OP_NAME,
    COORD_OP_TYPE,
    SOURCE_SRID,
    TARGET_SRID,
    COORD_TFM_VERSION,
    COORD_OP_VARIANT,
    COORD_OP_METHOD_ID,
    UOM_ID_SOURCE_OFFSETS,
    UOM_ID_TARGET_OFFSETS,
    INFORMATION_SOURCE,
    DATA_SOURCE,
    SHOW_OPERATION,
    IS_LEGACY,
    LEGACY_CODE,
    REVERSE_OP,
    IS_IMPLEMENTED_FORWARD,
    IS_IMPLEMENTED_REVERSE)
    VALUES (
    1328001,
    'Stereographic_lisboa',
    'CONVERSION',
    NULL,
    NULL,
    NULL,
    NULL,
    9809,
    NULL,
    NULL,
    NULL,
    NULL,
    1,
    'FALSE',
    NULL,
    1,
    1,
    1);
    /*Latitude_of_origin */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8801,
    0.0,
    NULL,
    9110);
    /*Central_meridian */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8802,
    -3,
    NULL,
    9110);
    /*false_easting */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8806,
    500000,
    NULL,
    9001);
    /*false_northing */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8807,
    0,
    NULL,
    9001);
    /*PARAMETER ["Scale_Factor", 0.9996], */
    insert into MDSYS.SDO_COORD_OP_PARAM_VALS (
    COORD_OP_ID,
    COORD_OP_METHOD_ID,
    PARAMETER_ID,
    PARAMETER_VALUE,
    PARAM_VALUE_FILE_REF,
    UOM_ID)
    VALUES (
    1328001,
    9809,
    8805,
    0.9996,
    NULL,
    9001);
    /* create the SRS */
    insert into MDSYS.SDO_COORD_REF_SYSTEM (
    SRID,
    COORD_REF_SYS_NAME,
    COORD_REF_SYS_KIND,
    COORD_SYS_ID,
    DATUM_ID,
    SOURCE_GEOG_SRID,
    PROJECTION_CONV_ID,
    CMPD_HORIZ_SRID,
    CMPD_VERT_SRID,
    INFORMATION_SOURCE,
    DATA_SOURCE,
    IS_LEGACY,
    LEGACY_CODE,
    LEGACY_WKTEXT,
    LEGACY_CS_BOUNDS,
    GEOG_CRS_DATUM_ID)
    VALUES (
    1328000,
    'Stereographic_lisboa',
    'PROJECTED',
    4530,
    NULL,
    2000025,
    1328001,
    NULL,
    NULL,
    NULL,
    NULL,
    'FALSE',
    NULL,
    NULL,
    NULL,
    10054);

  • Map Viewer SRS Parameter (WMS service)

    Hello,
    In MapViewer WMS documentation it is mentioned, that two SRS parameter values are supported: SDO:8307 and EPSG:4326. We try to access WMS server using MapInfo Professional as client, but it reports that SDO:8307 projection is not supported by MapInfo (EPSG:4326 is supported).
    So, is it possible to configure MapViewer in such way, that it will return EPSG:4326, not SDO:8307?
    Thanks,
    Andrejus Baranovskis

    Hello,
    Coordinate system used with our datasource we have declared in table MDSYS.CS_SRS. It is analog of EPSG:2600, but it is not included in Oracle Spatial standard coordinate systems list.
    Response from Oracle WMS:
    <Layer queryable="1" opaque="0" noSubsets="0">
    <Name>DATA_R</Name>
    <Title>DATA_R</Title>
    <SRS>SDO:1000002</SRS>
    <BoundingBox SRS="SDO:1000002" minx="100000.0" miny="5700000.0" maxx="800000.0" maxy="6700000.0" resx="0.01" resy="0.01" />
    <ScaleHint min="10000.0" max="1.0" />
    </Layer>
    May be we can define SDO:1000002 equivalent in EPSG in Oracle Spatial DB?
    MapViewer version: 10.1.2.0.2
    Thanks,
    Andrejus

  • Determining the Extent (Projected Bounds) of an SRID

    Hi All,
    I'd like to determine the extent (Projected Bounds) of an SRID (in its own Coordinate System).
    Is this possible using any Spatial functions or will I have to parse the WKTEXT and perform some operations ?
    This is as an alternative to a previous issue that I never could get around:
    Is there a way to help find SRID from external WKTEXT ?
    (Finding an Oracle SRID from GDAL/OGR WKTEXT)
    Thanks,
    Ronan

    Not sure Ronan. MDSYS.CS_SRS has a CS_BOUNDS column, but its null in the supplied entries. See note in doc - http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11830/sdo_cs_concepts.htm#i890025
    CS_BOUNDS: An optional SDO_GEOMETRY object that is a polygon with WGS 84 longitude and latitude vertices, representing the spheroidal polygon description of the zone of validity for a projected coordinate system. Must be null for a geographic or non-Earth coordinate system. Is null in all supplied rows.

  • Error in rendering maps through mapviewer in obiee

    Hi
    I am trying to integrate mapviewer with OBIEE, when i connect to the datasource from the mapviewer, and try to click on any of the demo Oracle maps, I am getting an error saying that...." Cannot get map cache instance config information for MVDEMO.DEMO_MAP."
    When check in the start OC4J its showing " ERROR Not found in MDSYS.CS_SRS: srid=8307, Warning Invalid cache root directory :/scrtrach/mvdemomaps"
    This "/scratch/mvdemomaps" path is there in USER_SDO_CACHED_MAPS_TABLE under DEFINITION column in MDSYS Schema in the database. whereas this root directory path is different in the Oracle application server Mapviewer --->Mangement-->Managing Map Tile Layers--->DEMO_MAP-->Tile storage-->" *C:\OracleBI\oc4j_bi\j2ee\home\applications\mapviewer\web\tilecache\MVDEMO.DEMO_MAP*
    My doubt is whether this both path (in the mapviewer and in the database) should be the same. Because i am unable to render any of the demo maps.
    Can somebody please throw some light on it.
    Thanks

    Does it have to be a software only installation since it is on AIX?
    From the install doc:
    The Software Only Install type installs the Oracle Business Intelligence software binary files in an Oracle home for later configuration as part of a Fusion Middleware deployment. This install type is required to install Oracle Business Intelligence on an AIX operating system or with a 64-bit JVM, such as on a supported 64-bit operating system.

Maybe you are looking for