Functions to return data from polygon and line
HelloI'm looking for different Oracle functions that return data from polygon and line (return sdo_geometry.ordinates cordinates collection). My sdo_geometry data like that.
Select geometry.sdo_ordinate from myTable
------------------------------------------------------------
61,42,0, 62,43,0 and so on
I am unable to find functions by using google search, your help is greatly appreciated.
Thank you
Nancy
Hi Nancy,.
If you do not extract the coordinates of the geometry, you can use the suite of applications.
SELECT t.X, t.Y, t.id
OF state_boundary c,.
TABLE (SDO_UTIL. GETVERTICES (c.geom)) t where id = 20022
ORDER BY t.id;
Another method:
SELECT * FROM TABLE (SELECT C.GEOM. State_boundary SDO_ORDINATES c where id = 20022)
Sujnan
Tags: Database
Similar Questions
-
How to return data from PHP form MySQL
I need to return data from a database MySQL, based on a simple form in a PHP page. The user will enter a zip code in a form and click a button to get all the records in a MySQL database that match the zip code entered by the user. I have configured MySQL database and I can return all records from a PHP page. What I have to do now is create the form and the code PHP to call the MySQL database. Can someone help me with how to do it?slpuyear wrote:
> My apologies for the confusion. Can I get back all the data in the dataset,
> However, I create a form to query the dataset object. I can do a simple
> HTML form, but do not know how the action of the form to query my dataset
> and return a subset of all data.Press F1 to open help for Dreamweaver. Go to develop Applications quickly
> Construction of the ColdFusion Applications rapidly > building search and results
pages (ColdFusion, ASP, JSP, PHP).--
Adobe Community Expert David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
How to extract data from SAP and COBOL using ODI
Hi people,
Can you please let me know the procedures in ODI to extract data from SAP and COBOL?
Thank you all for the help.Hello
You can download the Patch 8571830 to Oracle metalink.
It has a new technology 'SAP ABAP' and KMs to extract and load data-
RKM SAP ERP and SAP to Oracle ERP LKM.Thank you
-
format of return data from email
Hi all
I'm building a basic "contact me" email page to return, and it works, at least in part.
(this is the good news)
the new 'bad' is...
When I fill in the blanks above in the swf file and click on send, it opens my e-mail ("mail" - mac) fills my correct email address, and then puts ALL the information, not only the news of a subject line in the object window. Is there a way to tell the code to the subject line "jb3_contact" in the subject of the e-mail, then "tab" for the region of the body of the email to pour out their name, email and message?
looks like what my email subject line: (what I typed in the fields of swf)
Subject: jb3_contact: = name: jim Email: jimsbook.com Message: hey "retarded"...
I guess I would as the subject line to be "jb3_contact" ONLY. and their info message in the 'body' of their email box.
as:
Name: Jim
E-mail: jimsbook.com
Message: hey "retarded"...
instances of text field:
name [iptxt_name]
Email [iptxt_email]
MSG [iptxt_msg]
I would appreciate any thoughts...
best,
POW
After the code on the button "send":
[code] //email send info button, for the area "contact me."
on {(press)
These statements simply read data from input field
and print them in the output to the debug window
trace (this.iptxt_name. (Text);
trace (this.iptxt_email. (Text);
trace (this.iptxt_msg. (Text);
Save the return e-mail address
returnEmail = this.iptext_email.text;
Create an empty string variable to store the data
urlData = "";
Assemble the data in the fields in the new variable
urlData += "Name:"+ this.iptxt_name.text + newline +""; "
urlData += "Email:"+ this.iptxt_email.text + newline +""; "
urlData += "Message:"+ this.iptxt_msg.text + newline +""; "
print the url data in the output to the debug window
trace (urlData);
Send emails with the user input data
getURL ("mailto:[email protected]?subject=jb3_contact=" + urlData);
}
> > > > > > > > > > > > > > [/ code]Hello kglad,.
I thank you very much for this, add your one line with another addition did exactly what I needed.other extra line:
"Add another variable (body in this case) in the mailto and use '0% ' rather line break.
(see code below)
.. .that does exactly what your code, with essentially a carriage return, between for readability.perfectly executed email sending:
subject (in the subject line, to share)
and then:
"Name: Jim lastName."
E-mail: [email protected]
Message: hey Jim how you are such a "retarded"? "
all stacked and clear the area of the body.Thanks much kglad.
best,
POW.code below is to create one email back a 'contact me' form that you create in flash.
text entry fields have names of occurrence as follows:
name (iptxt_name)
E-mail (iptxt_email)
message (iptxt_msg)last line of code just has my email that I want him to be, and what I want in the subject "jb3_contact".
hope this helps someone else.
E-mail send info button, for the area "contact me."
on {(press)These statements simply read data from input field
and print them in the output to the debug windowtrace (this.iptxt_name. (Text);
trace (this.iptxt_email. (Text);
trace (this.iptxt_msg. (Text);Save the return e-mail address
returnEmail = this.iptext_email.text;
Create an empty string variable to store the data
urlData = "";
Assemble the data in the fields in the new variable
"urlData +=" Name: "+ this.iptxt_name.text+"%0A;
"urlData +=" Email: "+ this.iptxt_email.text+"%0A;
"urlData +=" Message: "+ this.iptxt_msg.text+"%0A;print the url data in the output to the debug window
trace (urlData);
Send emails with the user input data
getURL ("mailto:[email protected]?subject=jb3_contact&body=" + urlData);
}
-
read data from xl and write 10-minute averages
Hi all, I'm new on this but I am a passionate researcher using vi. Currently I use a vi to parse csv data from a machine. Data are 1 Hz data. I'm doing the taking of vi in 1 Hz data--> analyse--> then re - write in another spreadsheet, 10 minutes average values. Basically, I need to find a way to tell the vi to isolate 10 minutes worth of data at a time, run it through the vi analysis and average each output of the vi. Does make sense? I also have problems with the timestamp of the file in labview. I understand he plays a little different data?
On the String > palette Conversion/string number is Fract/Exp string to a number. You can wire a Board at the entrance.
-
How to use OATS fall back data from DB and insert data to DB
Hi all
My requirement is bit different.
I'll explain the scenario,
I'm working on the application of the OTM, I read OAST supports OTM and already test the scripts are ready.
My situation is as follows below,
- I need to extract data from a field for 18 000 shipments.
- I have an excel sheet in the formula below
Shipment_Number Stop_Number Planed_Arrival_Date Planed_Departure_Date 1 1
1 2 1 3 2 1 2 2 - I could write the script in OATS while he logins OTM and research for specified shipping number and capture the Planed_Arrival_Date and the Planed_Departure_Date for the specific stop.
- But the problem is that I am not able to record the date in excel.
Expected solution:
- One way to save the captured data back to Excel.
- A way to backup the data captured to a column in a table. If it is possible then to way to make OATMEAL reade the shipment of a database column number.
Thank you
Vishwamber Shetty
Hi Vishwamber,
Try to use Datatable in OATS. Using datatable, you can read and write to Excel.
Kind regards
Dembélé Muraleedharan
-
Create the query by combining data from DBSS_Data_Model and HostModel
Hello
I am trying to create a dashboard with the host server list and instances of SQL Server running on the host.
And I am interested in creating a query by combining data model of data in SQL Server (DBSS_Data_Model) and the host (Hosts) data model, say: which connects DBSS_SQL_Server_Host and host.
I wonder if there is way to do it?
Thank you
Mark
Something like this function should work:
def physicalHost = nullqueryStatement = server.QueryService.createStatement("(Host where name = '$hostName')")result = server.QueryService.executeStatement(queryStatement)objs=result.getTopologyObjects() if (objs != null && objs.size() > 0) { physicalHost = objs.get(0)}return physicalHost
When the input parameter "hostName" is DBSS_SQL_Server_Host.physical_host_name
Kind regards
Brian Wheeldon
-
engine data from the command line
Hi all
Tools 8.52, FSCM 90 on Win2008
I run a batch (name.bat) script, in which I:
The problem is that the psdmt.exe process is not finished (interrupted) and stay in the Windows Task Manager. I should stop it manually by here.call psdmt -CT !DBTYPE! -CD !TARGET! -CO DB_USER -CP !DB_PASSWORD! -CI !CONNECT_ID! -CW !CONNECT_PWD! -FP !DMS_FILE!
Is there a psdtm command line option to stop it after execution of DMS_FILE?
All the windows in order to stop psdmt.exe lot?
Thank you.I'm not aware of a command in Data Mover that closes, but the following command in a command script will kill the psdmt.exe:
Taskkill /F /IM psdmt.exe
The problem is that the batch script does not know when the data engine is done processing. The above command will force close the program, so she could still be here at this time. If you are just running scripts for small data mover, you could build in a waiting order waiting for 5 minutes or more:
Timeout/t XX
Where XX is the number of seconds to wait.
-
Save the file with the data from field and add more information
I'm looking to create a button that will be a button Save and add the data in a field to it when I save it. So it would be a click event in javascript and inside of the "saveFile" information adds TextField1 and "text that I make up" which would create the name of the saved file.
Hello
Not sure if you have this sorting.
But this could be done by using the function of trust
create your form as usual
then create a further subform and getting in to a record in the box (just add a textfield and little text and a button)
have the save button on the form simply call the saveas subform
SaveAs.Presence = "visible";
then the button in the subform saveas have the following (under the click in javascript event)
SaveAs.Presence = 'hidden ';
event.target.saveasFunc ();
to get this feature work, you must create a Notepad with the following code .js file
saveasFunc = app.trustedFunction (function () {}
app.beginPriv ();var text1 = event.target.xfa.resolveNode (".saveform form1 [0] [0].") ("TextField1 [0]") .rawValue;
Text2 = event.target.xfa.resolveNode var ("form1 .saveform [0] [0] .saveas [0].") ("TextField2 [0]") .rawValue;try {}
event.target.saveAs ("/ c/forms /" + text1 + "" + Text2 + ".pdf" ");
} catch (err) {}
App.Alert ("Error:" + err);
}
app.endPriv ();
});Obvisously properly the objectives and the backup directory
then save this file as name then place you like .js for example (saveas.js) this file in the c:\program files\adobe\acrobat\javascripts or similar, but with the player if you use adobe reader software.
If you intend to use this file in the drive then you will need to activate features extended drive on the file using Adobe Acrobat.
OK above is only available where you can load the .js file in the correct directory.
I use it by creating a simple installation file that has placed the .js file in the right directory and Ontario form right end users computer.
It may or may not work for you.
If I can help others let me know.
-
Capture data from product and display also recently consulted (add to Favorites)
Hey guys!
I was wondering if I could get help with 2 things...
1. what someone has managed to use the {tag_addtofavorites} without someone is saved in?
2 somehow capture the data on the products and display it as recent vu at the bottom of the page like Argos.co.uk or some other stores... ?
Thank you
Hi Ricardo,
You can't use it without being connected, but you can create a solution with liquid/javascript to make a visit. You can contact brett [at] prettdigital.com.au if you not able to implement one yourself for us to cite and build it for you.
-
Why can't acquire data from strain and resistance at the same time with a NI 9219 module?
Hello
I use a chassis with a NI9219 module 9172 cDAQ to try to acquire the strain and resistance at the same time, with the Labview SignalExpress software. Is this possible? When I try to display two values of signal at the same time, I get an error of assistant DAQ 50103 'the specified resource is reserved. The operation could not be performed as indicated. I used to be able to acquire the strain and tension at the same time, but now even that gives me error 50103. I have hours trying to figure this out. Any help would be greatly appreciated.
Thank you
Justin
That's all! Thank you very much, now I can sleep tonight - seriously!
Thanks again,
Justin
-
Wipe all data from Mac and back, my series still work?
Hello!
I had several problems with my new MacBook Pro with preinstalled OS Lion sound, it freezes constantly and will take me about 10 - 15 times just to turn it on.
I have no solution to this problem while I was proposed to wipe all of my laptop and start again see if the problem would be solved.
So my question is this, I'll be able to use my serial number on the laptop again?
I ask this because I have a trainee license and therefore only can be use of it.
I'm really scared of losing my Adobe software, as it's so expensive, even if she was ruled out because I am a student (I am teaching full time).
The software I have is Adobe Creative Suite 5.5.
I heard using the disabling by clicking the help button... However I don't know the difference between the normal "Deactivate" or "disable permanent."
I was wondering also if someone could help me with what would happen if I ended up having to receive a new MacBook Pro at the retailer/Apple if it turns on my Mac to wiping will not work?
I should "Deactivate permanently" so I could use it on my new laptop?
I really hope someone is able to help me as only one 16 years old that I still have a lot to learn when it comes to computers and I don't want to spoil it!
Thank you very much
-Charlotte
Hi Charlotte, here are your answers
How to move Adobe software between ameioration or relocations
I hope this helps!
-
I recently installed Adobe Pro XI. I can't select the cloud, polygons and lines connected markup drawing tools. I can see them, but they are greyed out so I am not able to choose them.
I am running Windows 7 64 bit on an Asus ZenBook laptop.
Any help would be really appreciated.
Kind regards
KF Panda
This touchscreen laptop is capable?
If this is not the case, check if you have the Touch preference in Adobe Acrobat active XI. If you, then turn off.
-
Extracting the data from QVariantMap
I have the following data :
QVariant (QVariantMap, QMap ((' data', QVariant (QVariantMap, QMap ((' current_condition', QVariant (QVariantList, ((QVariantMap, QMap... QVariant QVariant (QVariantMap, QMap ((' weather', QVariant (QVariantList, ((QVariantMap, QMap... QVariant QVariant (QVariantMap, QMap ((' weather_desc', QVariant (QVariantList, ((QVariantMap, QMap... QVariant
m_model-> insert(data.value
() .value ("data") .toMap ().value("weather").toList () .at (0) .toMap ()); Using the above line, I am able to extract relevant data from "current_condition and"weather".
What should I add to the line above to also extract data from 'weather_desc '?
Any help would be appreciated. Thank you.
Thank you! It is much easier to read when formatted, it's the first thing I did.
{ "data": { "current_condition": [ { "cloudcover": "0", "humidity": "18", "observation_time": "02:36 AM", "precipMM": "0.0", "pressure": "1007", "temp_C": "39", "temp_F": "102", "visibility": "10", "weatherCode": "113", "weatherDesc": [ {"value": "Sunny" } ], "weatherIconUrl": [ {"value": "http:\/\/www.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0001_sunny.png" } ], "winddir16Point": "N", "winddirDegree": "10", "windspeedKmph": "46", "windspeedMiles": "29" } ], "request": [ { "query": "Melbourne, Australia", "type": "City" } ], "weather": [ { "date": "2013-01-04", "precipMM": "0.0", "tempMaxC": "37", "tempMaxF": "98", "tempMinC": "19", "tempMinF": "66", "weatherCode": "113", "weatherDesc": [ {"value": "Sunny" } ], "weatherIconUrl": [ {"value": "http:\/\/www.worldweatheronline.com\/images\/wsymbols01_png_64\/wsymbol_0001_sunny.png" } ], "winddir16Point": "N", "winddirDegree": "3", "winddirection": "N", "windspeedKmph": "21", "windspeedMiles": "13" } ] } }
To access weatherDesc in usage by time:
Data.value
.value("data").toMap ().value("weather").toList () .at (0) .toMap ().value("weatherDesc").toList () .at (0) .toMap .value ("value") ()) This will return "Sunny."
For readability, I suggest if this string to:
QMap
dataMap = data.value ().value("data").toMap(); QList weatherList = dataMap..value("weather").toList(); QVariant firstWeatherEntry = weatherList.at(0); QMap weatherEntryMap = firstWeatherEntry.toMap(); QList weatherDescList = weatherEntryMap.value("weatherDesc").toList(); QVariant firstWeatherDescEntry = weatherDescList.at(0); QMap weatherDescEntryMap = firstWeatherDescEntry.toMap(); QString value = weatherDescEntryMap.value("value").toString(); // "Sunny" Also, you can check intermediate outcomes at each stage by calling
qDebug()< weatherlist="">< "\n";="" and="" so="">
-
Insert data from variables in the Ref Cursor
I do not know how to return data from ref cursor variables That's what I've tried so far...
At the end, to achieve this in Ref Cursor:CREATE OR REPLACE type num_obj as object ( t_number number , t_type varchar2(10) , t_desc varchar2(40) ); CREATE OR REPLACE type num_table as table of num_obj; procedure get_all_data(p_p1 in varchar2, p_rc OUT SYS_REFCURSOR) is l_dat1 number := 2; l_dat2 varchar2(10); l_dat3 varchar2(40); t_num_o num_obj; t_num_t num_table; begin for l_indx in 1..5 loop l_dat1 := l_dat1 + l_indx; if ( mod(l_dat1,2)=0) then l_dat2 := 'EVEN'; else l_dat2 := 'ODD'; end if; l_dat3 := 'Number ' || l_dat1 || ' is ' || l_dat2 || ' number'; l_num_o := num_obj (l_dat1, l_dat2, l_dat3); l_num_t := num_table(l_num_o); end loop; open p_rc for select * from table(l_num_t); close p_rc; end;
Can something like that, where I did wrong?t_number | t_type | t_desc --------------------------------------- 3 | ODD | Number 3 is ODD number 5 | ODD | Number 5 is ODD number 8 | EVEN | Number 8 is EVEN number 12 | EVEN | Number 12 is EVEN number 17 | ODD | Number 17 is ODD number
BTW. I did this with the function in pipeline, now I want to try a different method.The refcursor can not be closed in the procedure - you must return refcursor open to the appellant.
the appellant must read and then close it.
There are also some errors in the names of variables and an assignment to the collection.Try this version:
CREATE OR REPLACE PROCEDURE GET_ALL_DATA(P_P1 IN VARCHAR2, P_RC OUT SYS_REFCURSOR) IS l_dat1 number := 2; l_dat2 varchar2(10); L_DAT3 VARCHAR2(40); L_NUM_O NUM_OBJ; l_num_t num_table := num_table() ; BEGIN for l_indx in 1..5 loop l_dat1 := l_dat1 + l_indx; if ( mod(l_dat1,2)=0) then l_dat2 := 'EVEN'; else l_dat2 := 'ODD'; end if; l_dat3 := 'Number ' || l_dat1 || ' is ' || l_dat2 || ' number'; L_NUM_O := NUM_OBJ (L_DAT1, L_DAT2, L_DAT3); L_NUM_T.EXTEND; l_num_t( l_indx ) := l_num_o; end loop; OPEN P_RC FOR SELECT * FROM TABLE(L_NUM_T); END; /
SQL> variable xx refcursor SQL> execute GET_ALL_DATA( '', :xx ); PL/SQL procedure successfully completed. SQL> print :xx T_NUMBER T_TYPE T_DESC ---------- ---------- ---------------------------------------- 3 ODD Number 3 is ODD number 5 ODD Number 5 is ODD number 8 EVEN Number 8 is EVEN number 12 EVEN Number 12 is EVEN number 17 ODD Number 17 is ODD number
Maybe you are looking for
-
no service to customer without having to pay when the product does not work?
no service to customer without having to pay when the product does not work?
-
graphics card for a laptop dv9000
I have a card nvidia gforce 8600 m GS. I am trying to run Dead Space. I get a message that my graphics card does not meet the minimum requriements. I looked up the requirements and I answered that the game asks for, but maybe not for the shading.
-
I have no idea how to fix this and right now I can't connect to xbox live because 2 days ago from microsoft came out with a new update system and I cannot download the
-
HelloWe live the word of Dragon (medical application) with 2.9 Appvolumes's very slow boot times.On commissioning the machine, it takes about 30 seconds (which is a normal behavior) to launch the application, but when the appstack is assigned to a VD
-
How to teach the DPS 2015 without Preview app?
I taught a class during a few sessions with the Digital Publishing Suite, which allowed me to have students to test, demonstrate and share applications iPad with me through the content viewer.It seems clear from reading many posts here and elsewhere