Restrictions for sdo_geor.mosaic
Hi All
i have a set of georeferenced images which are ready to be mosaiced , in the sense that there is no overlap or gap in between the images. Spatial Index is also created on the table . But still i get error when i do a sdo_geor.mosaic.
ORA-13419 cannot perform mosaick operation on the specified table column
All the images have the same resolution, same number of bands . is there any other restriction for the images to be mosaiced.
i have put the coverage of images on following url
http://www.geocities.com/jaleelahmed/coverage.html
each red block is one image (one row in my georaster table)
Any advice is appreciated.
Thanks
Ab
Ab,
The beta1 of the next release will be avaialbale in this fall. There is no officially fixed date for the next release yet. The new mosaic would be able to automatically handle this case as long as there is no overlapping. The mosaic object would be sort of sparse so that the missing image tiles would not consume any disk space.
Still, I think your project is doable using the 10g mosaic as long as the images meet the requirements outlined under the Usage Notes of SDO_GEOR.mosaic in chapter 4 of the GeoRaster manual.
To make sure you can move forward, one more question:
are those images rectified and projected into the same projection?
If so, you should be able to do the mosaic without problem.
I would recommend you divide and conquer, i.e., split the whole mosaic into several smaller mosaics (sub-areas, such as northeastern area, northwestern area, etc.) first, mosaick them separately, then mosaick these smaller mosaics into the big one as you desire.
Please note that, for the missing tiles, you will have to make-up them. But it's relatively easy:
1. call sdo_geor.createBlank with a single cell value such as zero and proper image dimentions sizes. (those blank georaster objects will not store the pixels in RDT and so will not consume space. For the definition of BLANK GeoRaster object please read chapter one of the GeoRaster manual)
2. georeference each of the blank objects properly so that they are aligned/co-located with your images correctly. (this is the place where you need much time and shall be very careful so that the blank images are georeferenced correctly and meet the requirements of sdo_geor.mosaic)
Simply for mosaic process, you have an alternative. you actually don't have to geo-spatially georeference each image by leveraging the ULT coordinate feature of GeoRaster. On other words, remove georeferencing info first, then call setULTCoordinate to reset all ULT coordinates of the images so that they are spatially properly located in the GeoRaster cell space. Then do mosaic. After mosaick, you re-georeference the mosaic image by calling sdo_geor.georeference.
Let us know if you have any problem. This project is very interesting and shall be doable.
Regards,
Jeffrey Xie
Similar Messages
-
ORA-06533 during sdo_geor.Mosaic in 11g
I'm trying to mosaic four rasters together. I'm using this call:
sdo_geor.mosaic('MOSAICSOURCE', 'GEORASTER', geor, NULL);
The 4 source rasters are georeferenced, rectified, have the same spatial resolutions and number of bands, and are valid:
SQL> select sdo_geor.getSpatialResolutions(georaster),sdo_geor.getModelSRID(georaster),sdo_geor.isRectified(georaster),sdo_geor.getB
andDimSize(georaster),sdo_geor.validateGeoRaster(georaster) from MOSAICSOURCE;
SDO_GEOR.GETSPATIALRESOLUTIONS(GEORASTER)
SDO_GEOR.GETMODELSRID(GEORASTER)
SDO_GEOR.ISRECTIFIED(GEORASTER)
SDO_GEOR.GETBANDDIMSIZE(GEORASTER)
SDO_GEOR.VALIDATEGEORASTER(GEORASTER)
SDO_NUMBER_ARRAY(.000833333, .000833333)
8192
TRUE
1
TRUE
SDO_NUMBER_ARRAY(.000833333, .000833333)
8192
TRUE
1
TRUE
SDO_NUMBER_ARRAY(.000833333, .000833333)
8192
TRUE
1
TRUE
SDO_NUMBER_ARRAY(.000833333, .000833333)
8192
TRUE
1
TRUE
When displayed in PCI's FreeView app the 4 georasters abutt each other in a square.
The exact error is:
13:30:45 [SELECT - 0 row(s), 0.000 secs] [Error Code: 6533, SQL State: 65000] ORA-06533: Subscript beyond count
ORA-06512: at "MDSYS.SDO_GEOR_INT", line 1082
ORA-06512: at "MDSYS.SDO_GEOR_INT", line 1440
ORA-06512: at "MDSYS.SDO_GEOR", line 1105
ORA-06512: at "GRIM.MOSAIC", line 32 (this is my line of code, above)
I'm using "Oracle Database 11g Release 11.1.0.0.0 - Production".
The metadata for one of the rasters is (the others are similar):
GEORASTER(RASTERTYPE, SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO
SDO_GEORASTER(20001, SDO_GEOMETRY(2003, 8192, NULL, SDO_ELEM_INFO_ARRAY(1, 1003,
1), SDO_ORDINATE_ARRAY(-104.00042, 40.0004167, -104.00042, 38.9995833, -102.999
58, 38.9995833, -102.99958, 40.0004167, -104.00042, 40.0004167)), 'MOSAICSOURCE_
RDT', 118, XMLTYPE(<georasterMetadata xmlns="http://xmlns.oracle.com/spatial/geo
raster">
<objectInfo>
<rasterType>20001</rasterType>
<isBlank>false</isBlank>
<defaultRed>1</defaultRed>
<defaultGreen>1</defaultGreen>
<defaultBlue>1</defaultBlue>
</objectInfo>
<rasterInfo>
<cellRepresentation>UNDEFINED</cellRepresentation>
<cellDepth>16BIT_S</cellDepth>
<NODATA>-32767</NODATA>
<totalDimensions>2</totalDimensions>
<dimensionSize type="ROW">
<size>1201</size>
</dimensionSize>
<dimensionSize type="COLUMN">
<size>1201</size>
</dimensionSize>
<ULTCoordinate>
<row>0</row>
<column>0</column>
</ULTCoordinate>
<blocking>
<type>NONE</type>
<totalRowBlocks>1</totalRowBlocks>
<totalColumnBlocks>1</totalColumnBlocks>
<rowBlockSize>1201</rowBlockSize>
<columnBlockSize>1201</columnBlockSize>
</blocking>
<interleaving>BIL</interleaving>
<pyramid>
<type>NONE</type>
</pyramid>
<compression>
<type>NONE</type>
</compression>
</rasterInfo>
<spatialReferenceInfo>
<isReferenced>true</isReferenced>
<isRectified>true</isRectified>
<SRID>8192</SRID>
<spatialResolution dimensionType="X">
<resolution>0.000833333333333333</resolution>
</spatialResolution>
<spatialResolution dimensionType="Y">
<resolution>0.000833333333333333</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>48000.50000000007 0 -1200.000000000001</polynomi
alCoefficients>
</pPolynomial>
<qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
<polynomialCoefficients>1</polynomialCoefficients>
</qPolynomial>
<rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
<polynomialCoefficients>124800.5000000004 1200.000000000001 0</polynomia
lCoefficients>
</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>
</layerInfo>
</georasterMetadata>
Any suggestions of where to go from here?
Thanks!
-Bruce BockiusYou're correct, it is 11.1.0.6.0 as shown in the Oracle Installed Products. For some reason my favorite client displays a different version.
-Bruce -
Ora-13497 during SDO_GEOR.MOSAIC
we are testing sdo_geor.mosaic on 2 georasters but we get this error:
SQL> DECLARE
2 GR SDO_GEORASTER;
3 BEGIN
4 GR := SDO_GEOR.INIT('MO');
5 SDO_GEOR.MOSAIC('GEORASTER_TABLE', 'GEORASTER', GR, NULL);
6 INSERT INTO MO (GEORASTER) VALUES (GR);
7 COMMIT;
8 END;
9 /
DECLARE
ERROR at line 1:
ORA-13497: unable to determine the owner of MO
ORA-06512: at "MDSYS.SDO_GEOR_INT", line 511
ORA-06512: at "MDSYS.SDO_GEOR_INT", line 1225
ORA-06512: at "MDSYS.SDO_GEOR", line 966
ORA-06512: at line 5
The georasters are valid, the metadata of 1 of them:
<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>5000</size>
</dimensionSize>
<dimensionSize type="COLUMN">
<size>5000</size>
</dimensionSize>
<dimensionSize type="BAND">
<size>3</size>
</dimensionSize>
<ULTCoordinate>
<row>0</row>
<column>0</column>
</ULTCoordinate>
<blocking>
<type>REGULAR</type>
<totalRowBlocks>20</totalRowBlocks>
<totalColumnBlocks>20</totalColumnBlocks>
<rowBlockSize>256</rowBlockSize>
<columnBlockSize>256</columnBlockSize>
</blocking>
<interleaving>BIP</interleaving>
<pyramid>
<type>NONE</type>
</pyramid>
<compression>
<type>NONE</type>
</compression>
</rasterInfo>
<spatialReferenceInfo>
<isReferenced>true</isReferenced>
<isRectified>true</isRectified>
<SRID>262148</SRID>
<spatialResolution dimensionType="X">
<resolution>0.2</resolution>
</spatialResolution>
<spatialResolution dimensionType="Y">
<resolution>0.2</resolution>
</spatialResolution>
<modelCoordinateLocation>CENTER</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>1469999.5 0 -4.999999999999999</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>-805000.5 4.999999999999999 0</polynomialCoefficients>
</rPolynomial>
<sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
<polynomialCoefficients>1</polynomialCoefficients>
</sPolynomial>
</polynomialModel>
</spatialReferenceInfo>
<layerInfo>
<layerDimension>BAND</layerDimension>
</layerInfo>
</georasterMetadata>
we are using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
So, is there any solution?
Thanks in advance,
Michael.
Edited by: user9529492 on Oct 8, 2008 5:26 PMMichael,
1. have you properly created the RDT table, called "MO"? if not yet, please follow section 3.1 of the GeoRaster guide to do it first.
2. In section 3.2 of the GeoRaster guide, "you must register an initialized GeoRaster object in the GeoRaster system views by inserting the GeoRaster object into a GeoRaster table, and do this before you perform any other operations on the GeoRaster object. Any GeoRaster operations that need to manipulate the raster data table raise an exception if the source or target GeoRaster object is not registered." In other words, you need to INSERT your GR into a physical georaster table FIRST, then retrieve it back into your plsql block, then do sdo_geor.mosaic, then update that GR object in the table. For this, please follow the sample code in the sdo_geor.mosaic in chapter 4.
hope this helps,
Jeffrey -
Email name restrictions for icloud
What are the name restrictions for creating a new name for an iCloud email account. Can one use some of the keyboard symbols like * # & % ! - $ __ ( ) or are you restricted to using the alphabet and numbers?
Hello Tuffy Wuffy,
This can be done by removing the iCloud account, then readding it.
On your iOS device’s Home screen, go to Settings > iCloud, then at the bottom of the screen, tap Delete Account.
iCloud: Change iCloud feature settings
http://support.apple.com/kb/PH2613
Cheers,
Allen -
Access restriction for PDF generated with Smartform
Hi there,
I am generating a PDF from a Smartform using convert_otf.
What I would like to do is, add restrictions for the generated document just like in Acrobat Professional.
For example:
Printing: yes/no
saving: yes/no
cut, copy paste: yes/no
Is there a way to pass this Parameters to the PDF?
Thanks in advance
UliHello,
check this thread: Mailing PDF Attachment with Password Protected
Otto -
User ID restriction for Project/WBS to create service entry sheet
Dear All,
My client requirement is that the user id should be restrict for particular project or WBS to create service entry sheet(ML81N). Can we do it in this manner?
Further i want to give you my organization structure as given below.
1. Project :- 20
2. Plant :- Single
3. Bus. Area:- 2
4. Co area :- Single.
Thanx,
Vishal Kr. SharmaStandard restriction is possible for this T code based on document type,purchasing group,purchasing org and plant.
Others being ruled out I think solution is to restirct using purchasing group which is smaller entity.
Regards
Sreenivas -
Restriction for the use of last_record in 10g forms
Hi,
When I was working on Forms 6i with the query in the trigger When_new_form_instance:
go_block('ABC');
execute_query;
last_record;
first record;
go_block('DEF');
execute_query;
last_record;
first record;
It worked and gave correct data on frontend.
When the same was used in 10g forms, it gave incorrect data.When we removed last_record from the query, it worked.
Could somebody tell me is there some kind of restriction for the use of last_record in 10g forms? If yes, what kind of?
Thanks,
NehaWhen I set Query All records to Yes.
Surprisingly it gives incorrect data.
This is what is bothering me.
As i said earlier i was using last_record for
navigation purpose to fetch all the records from the
database and then first_record to highlight the first
record.
You don't need to do that, that is poor programming logic. Instead change the block property Query All Records and set it to Yes.
This will fetch all the records from the database and the highlight will be on the first record;
Regards,
Tony -
Restriction for Profit centers
Hi All,
I have an issue here. The client wants the following requirement:
A set of users needs to be given access to post all the GLS available in FBCJ, wherein the users should get restricted at Profit center level.
Manual posting through FB50, Fb01 and F-02 should not get affected with this. They have been using validations for this till now.
How do i go ahead with authorisation object in this scenario. If authorisation object and roles can be used in this, please tell me in detail what all objects i need to use for GLs, PCs, Tcodes and User Names.Friends,
What i found out is we cannot have both hierarchical and flat restriction for one role.The following scenario best explains that..
let us say we have restricted 0PROFIT_CTR for values P001,P002,P003 and at the same time we have restricted on hierarchy.
Through this we can succesfully restrict queries which have flat list display of Profit center but for the queries which display result in hierarchy it fails because the query that is framing up for hierarchical display is having the following condition in its select statment
0PROFIT_CTR=;
for which we are not authorized.
So we can have only either Hierarchical restriction or flat list restriction for one role.
Please if anybody find it incorrect I request them to share their knowledge with me.
Hansjörg Luzi thanks for the help.
Thanks & Regards
Mrutyunjay -
Access Restrictions for Time?
I keep trying to set access restrictions for my wrt54g router for time. There is no 12 for time so I'm selecting 11:55 pm to 6am but I keep getting an error message of, "end time must be bigger then begin time." I get this no matter if I select 9pm, 10pm, etc.........
Any ideas?You cannot choose a time frame through midnight. You have to split it in two rules, one before midnight and one after, i.e. choose 12am to 6am and 9pm to 11:55 pm.
-
WRT54GS Access Restriction for WiFi Connected Devices
I have the WRT54GS v4 running with the latest Firmware Version: v1.06.3 -- I am attempting to add Access Restrictions for a few MAC addresses and IP addresses (my kids iPod Touch and laptop).
I am simply wanting to deny total internet access from 9pm to 7am. I have gotten it to work but ONLY for computers that are actually plugged into the router (cat 5 internet cables). All the computers/devices that connect to the router via wifi do not seem to be restricted at all. I am thinking this is an issue with the router in that it ONLY seems to apply the Access Restriction rules to those devices that are actually directly connected by hardwire.
Has any one else noticed this issue for WiFi connected devices? Access Restrictions do not seem to apply to WiFi connected devices.
Please help -- I would hate to have to buy another router.Are you sure you have enter the correct MAC address or IP address? Wired connections use different MAC and IP addresses then wireless connection...
-
Quantity restriction for Customers in Sales Order
Hi all,
Please advice on priority basis,
I have one requirement, we want to have quantity restriction for product & specific customer in sales order. system should not allow more than the defined quantity for product to particular customer. We dont have the contract process.
regardsHi,
This can be achieved by the condition type.
Go to V/06 and copy PR00 and made the new condition type.
Now this will be your main condition type which will carry out pricing.
Assign this condition type to your pricing procedure and save it.
Make this condition type mandatory and remove it from PR00.
Now go V/06 and select your newly created condition type and click on detail.
Over there you will find condition update just click on that.
Condition type : C quantity basis.
Do these setting for your condition type.
Now go to VK11 and enter the condition type and store the data first.
Then click on extras u2013 additional data or press F7.
Over there you will find max condition base value.
Enter the total number of value which you want to sell to your customer.
Now every time you create order this value is getting updated for your customer for that material.
So when it reach the limit which you set then this condition type will be deactivated.
And because this will be mandatory condition type so with out this you wont be able to create the sales order.
Itu2019s a little bit confusing language hope so you will understand.
If you have any problem then let us know.
Regards
Raj. -
is exist restriction for select-options?
for example:
<b> data: ftxt04(4).
select-options: txt04 for ftxt04.</b>Hi,
You can restrict select-options.
SELECT-OPTIONS : S_VKORG FOR TVKO-VKORG MEMORY ID VKO.
Form F1000_RESTRICT_VKORG.
INITIALIZATION.
PERFORM F1000_RESTRICT_VKORG.
Define the object to be passed to the RESTRICTION parameter
DATA lw_restrict TYPE SSCR_RESTRICT.
Auxiliary objects for filling RESTRICT
DATA lw_opt_list TYPE sscr_opt_list.
DATA lw_*** TYPE sscr_***.
Assign selection screen objects to option list and sign
NOINTERVLS: BT and NB not allowed
CLEAR lw_opt_list.
MOVE 'NOINTERVLS' TO lw_opt_list-name.
MOVE 'X' TO: lw_opt_list-options-cp,
lw_opt_list-options-eq,
lw_opt_list-options-ge,
lw_opt_list-options-gt,
lw_opt_list-options-le,
lw_opt_list-options-lt,
lw_opt_list-options-ne,
lw_opt_list-options-np.
APPEND lw_opt_list TO lw_restrict-opt_list_tab.
KIND = 'S':
CLEAR lw_***.
MOVE: 'S' TO lw_***-kind,
'S_VKORG' TO lw_***-name,
'I' TO lw_***-sg_main,
'*' TO lw_***-sg_addy,
'NOINTERVLS' TO lw_***-op_main.
APPEND lw_*** TO lw_restrict-***_tab.
CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
EXPORTING
restriction = lw_restrict
EXCEPTIONS
too_late = 1
repeated = 2
selopt_without_options = 3
selopt_without_signs = 4
invalid_sign = 5
empty_option_list = 6
invalid_kind = 7
repeated_kind_a = 8
OTHERS = 9.
IF sy-subrc <> 0. "Restriction error encountered for Select
"Option
MESSAGE I001 WITH 'ERROR IN SELECT OPTION'."ERROR IN SELECT OPTION
ENDIF.
endform. " F1000_RESTRICT_VKORG -
CIN master data restriction for plants
Hi MM Gurus
My client have two plant one in Germany and one in India. so he want to maintain the Excise data in material master *foreign data import view for indian plant and he wants to restrict for germany plant. is this possible. if it is possible can you suggest me where we can restrict this, how to restrict this.
Thanks in advance,Hello ,
Yes this is absolutely possible .
Excise data is maintained at plant level , hence the foreign trade import view will be maintained only at the "Indian plant " level .
Secondly , The valuation level in your case shud be plant. This will take care of all the valuations .
Regards
Anis -
How can I restrict for in app purchases for downloads
How can I restrict for in app purchases for downloads
So basically I don't want my kids to be able to downloads apps even if it's free because I want to be able to see what they are downloadingdilullo1 wrote:
How can I restrict for in app purchases
Understanding Restrictions > http://support.apple.com/kb/HT4213 -
SDO_GEOR.mosaic() little question
Hi, I'm using SDO_GEOR.mosaic() to create only one georaster object but I've a littel problem.
DECLARE
gr sdo_georaster;
BEGIN
INSERT INTO georaster_table (georid, georaster)
VALUES (10, sdo_geor.init('rdt_1'))
RETURNING georaster INTO gr;
SDO_GEOR.mosaic('georaster_table', 'georaster', gr, 'blocksize=(512, 512, 3)');
UPDATE cartine SET georaster=gr WHERE georid=10;
commit;
END;
I've this output if I create a blank raster into the georaster_table:
ERROR at line 1:
ORA-00001: unique constraint (OASIDBA.SYS_C0050441) violated
ORA-06512: at line 4
and if I don't create a blank georaster:
ERROR at line 1:
ORA-13419: cannot perform mosaick operation on the specified table column
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 8
ORA-06512: at "MDSYS.SDO_GEOR", line 968
ORA-06512: at line 7
what muss I do? Create the blank georaster or not? ThanksHow about creating a new empty georaster table and insert the mosaic into it?
Also:
============================================================
DECLARE
gr sdo_georaster;
BEGIN
INSERT INTO georaster_table (georid, georaster)
VALUES (10, sdo_geor.init('rdt_1'))
RETURNING georaster INTO gr;
SDO_GEOR.mosaic('georaster_table', 'georaster', gr, 'blocksize=(512, 512, 3)');
UPDATE cartine SET georaster=gr WHERE georid=10;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
which table are you working on? georaster_table or cartine?
commit;
END;
============================================================
Message was edited by:
modeler
Maybe you are looking for
-
DVD Movie is "lighter" than the M2v File - ?????
Hello Board, I need help . . . . again! I used the NTSC monitor to color and export the my short film and it looked FINE. Many of the scenes were dimmed (darkened Intentionally) intentionally to create and omnious effect. I had to take the monitor ba
-
Mac OSX 10.5.8 Safari 5.0.6 Do I need flash player plugin? What is it...what does it do? Thank you for your replys.
-
What would happen if I restore an iPhone with a previous backup on your PC?
I Need help guys ! I don't want I really did something good or bad like did I just delete everything on the phone before the backup !? PLease help
-
Multiple NW instances of different versions on same server
Hello, Our current landscape has two NW 7.2 Java AS instances installed on a single server. This solution works well for us, as one instance functions as our Dev server and the other functions as the QA. I am looking to upgrade to NW 7.3 EP1. Is it p
-
Java Proxy stuck in JPRRqst Queue
Hi, I try to do Synchronous process between RFC to Java Proxy. it was wokrikg fine but suddenly Messages stuck in queue. RFC sends a message after mapping. I looked sxmb_moni it looks like message delivered to Java Proxy but it didn't. after a whil