Converting multiple points to line

Hi All
I have table consist of point data.. how to convert multiple points to line data.. if anyknows pls tell me ..
Thak you

user13340372,
. . . .Are you trying to draw a line between 2 points or draw a line connecting N points?
How to Create a Line From 2 Points_
. . . .You could use the SDO_Geometry constructor. For example, if you have a table POINTS defined as (ID NUMBER, FromPt SDO_GEOMETRY, ToPt SDO_GEOMETRY), then you could:
SELECT 
    SDO_GEOMETRY(
    'LINESTRING ('||
    -- concatenate coordinates from FromPt
    REPLACE(REPLACE(p.FromPt.Get_WKT(), 'POINT (', NULL), ')', NULL)||','||
    -- concatenate coordinates from ToPt
    REPLACE(REPLACE(p.ToPt.Get_WKT(), 'POINT (', NULL), ')', NULL)||')'
    ---  SRID
    , 4326)
FROM
    POINTS p;              
How to Create a Line From N Points_
. . . .In a "connect-the-dots" puzzle, you draw lines from one numbered point to the next numbered point. There, the numbers define how points are related. If you dont have that information, then you need to decide how you want your points connected. Here are a few options - your requirements should indicate which (if any) is suitable:
. . . .(a) Draw Arbitrary Linestring Through Points: user10278189 already posted that PL/SQL solution (above).
. . . .(b) Connect Nearest Neigbors: set CURRENT_POINT to a point (e.g., bottom-left). Then identify its nearest-neighbor (hereinafter, "NextPoint") using SDO_NN. Flag NextPoint as "visited" and set CURRENT_POINT to NextPoint. Repeat until all points in the point-set are flagged as "visited." The result ( which depends on the starting point ) is a linestring connecting all points (a "line" is only between 2 points; a linestring is between 2 or more points). This requires PL/SQL.
. . . .(c) Draw Along Shortest Distances: Create a table containing: FromPt_ID, toPt_ID and distances between each pair of points. (If you do this via a cross product, remove rows where FromPt_ID = ToPt_ID.) Begin connecting the points with the minimum distance from the last "visited" point (as before, flag the points that have been used as "visited"). The result of this operation is the shortest linestring connecting your point-set. This requires PL/SQL.
. . . .(d) Outline Set of Points: You could also use the SDO_GEOM.Sdo_ConvexHull function to create polygon that encloses your point set, and then use SDO_UTIL.PolygonToLine to turn that area-geometry into a line-geometry. This can probably be done in a single statement.
. . . .(e) Others (TSP, spanning tree, etc).
Regards,
Noel

Similar Messages

  • Convert Multiple Outlook Emails to Multiple PDF Files (Not Portfolio or Single PDF) for Archiving?

    Hi all, I am learning how to convert emails to PDF files and there is some great functionality there!!  I have not discovered how to convert multiple outlook emails into multiple PDF files (one PDF file for each email) - all at the same time (not one at a time)!!  Is there a way to do this using Acrobat X??  The purpose of this is for long-term business archiving.  When I search for an email in the archive, I do not want to pull up a portfolio containing 1000 emails or a 1000 page PDF file with multiple emails run together!!!  I want to pull up individual emails containing my search terms.  I have been searching for a way to archive emails and MS OUTLOOK .PST files are NOT the answer.  I get a lot of business emails with large attachments and I do not file my emails in separate sub-folders (by client or job).  I want to convert multiple emails (by date range) from my UNIVERSAL INBOX into multiple PDF files for long term storage (with each email being converted into its own, separate PDF file and named with the same name as the "Re: line" of the email).  This has been a HUGE problem for me....and Acrobat is sooooo close to the solution for me.  Can anyone help??  If so, will attachments be converted?  If not, is there a separate software program or add-in that I can buy that will do this??  I use MS Office 2010, Adobe Acrobat X Pro, Windows 7 64 BIT.  Thanks for your help!!

    I am a retired person and did'nt realize I already have a Adobe account, so you can scrap the entire information. Thanks for the trial anyway and have a great week.
    Frederick

  • Is there any provesion to convert  multiple planned order to one PR

    hi,,
         i want to know is there any provesion to convert multiple planned orders to one PR .let it may create as different line item in PR. if is there please let me know
    thanks in advance
    regards
    madan

    Hi madan,
    i dont think there is any way of clubbing multiple planned orders into single PR.  Like Taj suggested, you could decrease the number of planned order created thro MRP run by working on different strategies on your lot sizing key / procedure. 
    Also, i am assuming here that you want to club the planned orders of a single material into a single PR and also it is no way related to different account assignments. 
    The other way possibly u could do it is, do a Z programme and modify your MD15 transaction.  This idea is bit vague, possibly the forum could build on it.
    reg
    kiki

  • When converting multiple word and excel docs to a combined PDF random pages have blue background in the finalized PDF.

    I have a user using Acrobat 10. It was installed two weeks ago and initially had no problems. Today she reported that when she tries to convert multiple word and excel docs by selecting them, and right clicking on them to select convert/combine to PDF, random pages in the finished PDF have a blue background. I did some searching online and can find no information about this problem. Can anyone here shed some light on this issue and maybe point me in the direction of a solution? Any help is appreciated. Thanks!

    Hi Gilad,
    So, something I didn't consider was that this could be a setting in the office docs. The reason I didn't consider this was be cause we tested multiple docs and had similar results each time. I went back and looked into this possibility and found a setting in word that was causing this issue. Although the word doc showed no page color when opened in word, if I went to "Page Layout" -> "Page Color", a shade of blue was selected. By selecting "No Color", and then converting/combining the docs to PDF we got the desired result. Thanks again for your reply!

  • Convert multiple files (word docs) to multiple pdf

    Hi,
    Is there a script I can use in batch processing to convert about 1500 word documents into pdf? I know it's possible to convert multiple files into one pdf, but this is no good to me. Doing these conversions one by one is going to take forever!
    I've tried selecting a few documents at a time and then selecting "convert to pdf" from the right-click menu, but each one requires that you tell it where to save, and then opens the file when it is done.
    I need to convert Word files on a regular basis for work, and could really use a batch process for this with so many to do!
    I have Acrobat 7 Pro (version 7.1.0) on XP Pro SP 2 at work, and Acrobat 8 Pro (Version 8.1.2) on XP Pro SP 3 at home.
    If there is anyway it's possible to do this via a batch process I would really appreciate knowing how!!
    Apologies if this has been covered in another thread, I searched but couldn't find anything.
    Thanks in advance :)

    I have Acrobat 9 Pro. I can batch convert Word docs to PDFs by doing this:
    1. Open Acrobat Pro. Click File > Create PDF > Batch Create Multiple Files...
    2. A window will open prompting you to add files. Click Add Files > Add Files... OR Add Folders... If adding a folder, navigate to it, and click OK to add it to the list. You can also select a bunch of files and drag & drop them into the Add Files window.
    3. Once you have all the files listed that you want to convert, click OK. A new window called Output Options will open. In this window, select your preferred settings. For me, I want all the new PDFs to have the same filename and be in the same folder as the Word docs, so I choose these settings:
    4. Click OK, and then the batch process will begin running. You will see Word opening and closing. However, you won't have to click Save or anything. You can run it unattended. The process takes a little while, so I usually set up a batch to run, then go to lunch. Once finished, you should have all your new PDFs:
    Hope that helps someone!

  • Unable to load SWC fds.swc:Multiple points ???

    Hi,
    I downloaded project and integrated in the flex builder ,when
    i run MXML file i am getting error following errors :
    1)Unable to load SWC fds.swc:Multiple points
    2)1017:the definition of base class locale was not found
    3)could not resolve <mx:Application> to a component
    implementation.
    What to do for this ?????
    Plzzzzzzzzzz help me...Regarding this..

    Hi app_1,
    Your SWC might be for SDK 2.0.0 but your Flex Builder might
    be 2.0.1.
    Jeffrey

  • MRP creating multiple delivery schedule lines in PR

    Hi,
    We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement.  Scenario can be further explained with following example.
    Material Requirement for a month is say 1,25,000 units
    Closing Stock say 25,000 units
    PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time. 
    The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
    How can it be achieved ?
    Regards,
    Nirav Kinkhabwala

    Dear
    Are you dealing with Single vendor  where you want Multiple Schedule Line item through single PR  which should be generated through MRP run ??
    What you will have to do is to set up the Outline Agreement or Info Record for your vendor and material and then create the source record for this vendor- material relationship and make sure that this source record is set as MRP relevant. Once MRP is run, the vendor is automatically defaulted to your PRs. If in your material master, you have defined the same purchasing group for various material numbers, then with Transaction ME59, it is feasible that you can combine various PRs of the same purchasing group by flagging onto the 'Per Purchasing Group' indicator checkbox. Make a trial test and let me know how it goes.
    Or you can use Qouta arrabgement in that case for different vendor .Please refer : Multiple Requisition  line itme for Quota arrangement
    Just check and revert
    regards
    JH
    Edited by: Jiaul Haque on Dec 25, 2010 1:52 PM

  • How can I convert multiple files at one time and not one at a time

    How can I convert multiple files at one time and not one at a time

    Hi Plissey1950,
    Sorry for the lengthy delay to a response.  Are you trying to convert multiple files to individual PDF files at the same time? (not combine them).  If so, you'll need to use Adobe Acrobat for this function. The CreatePDF service does not have the ability to convert multiple files to multiple individual PDF files.
    Thanks,
    David

  • How do I get 2 points to line up exactly? CS4

    Screenshot below. I have to shapes and I want the points to line up perfectly, but I dont want to mess up the angles on my shapes, so I need to position the violet outlined triangle somehow where the top point lines up with the top point of the pink-outlined rectangle

    problogger,
    I can get them to align to the top properly, but getting the 2 points to align horizontally (left/right) is not as easy because the lengths are not the same and they wont center align.
    When they are aligned to the top, I presume the bluish top should end up at a certain desired distance to the right of the reddish one. If so, you may use the Direct Selection Tool to determine their present distance (which you may write down), switch to the Selection Tool and then move the entire shape with the bluish top (Object>Transform>Move horizontally by the difference (desired distance - present distance) letting Illy do the actual calculation.

  • How do I convert multiple sheets in excel into one pdf document?

    How do I convert multiple sheets (tabs) in excel to one combined pdf document?

    Hi Ptizer,
    If you have Acrobat PDFMaker  enable on Ms Excel. You can click on Create PDF.
    And choose settings as highlighted on screen shot it should do the job for you.
    Regards,
    Ajlan Huda.

  • How can I convert multiple .pdf doc's to .pdf/a doc's

    I need to convert multiple .pdf documents to .pdf/a documents in a batch mode, instead of one at a time.  Is there a way to do this in Adobe XI Pro or another Adobe product?

    You can use Acrobat XI Pro. Create an Action to make use of the appropriate "convert to..." Preflight (for PDF/A there are several).
    Be well...

  • I am sort of new to MAC's and I love them so far.  I am looking for a software or app to convert power point presentations to flash much like Ipring for PC Can anyone recommend something?

    I am looking for a software or app to convert power point presentations to flash much like Ipring for PC Can anyone recommend something?

    This article has 6 ways to do it.

  • Converting multiple bmp files to PDF using acrobat 7.0 from DOS prompt

    Hi,
    I have a requirement to convert multiple BMP files in a folder to one PDF.
    I can use multiple file conversion option in acrobat to combine and convert them to one PDF .. but I have 2000 such folder to conver to PDF.
    PDF should be name after the folder name.
    Is there a to automate this in acrobat.. or can we run this conversion from DOS prompt using commands.. so that I can create a bat file and have them converted. Pls let me know.
    Thanks
    Pugazh

    I have not tried BMP files, but do JPeg, GIF, TIFF, and PNG files regularly. I simply open Acrobat, then select the graphics files in explorer and drag & drop to Acrobat. I then organize the graphics if needed (using the pages tab) and save to a PDF.

  • How to output sample and convert clocks to PFI lines of E-Series DAQ (DAQPad-60​15)

    Hi,
    Can someone tell me how to output sample and convert clocks to PFI lines of E-Series DAQ (DAQPad-6015)?
    Thank you very much.
    Jack

    John --
    Windows is not an option for me. I like your idea of using a counter output -- it may be helpful as I am getting ramped up, but my application will eventually require both timer outputs.
    I have a legacy C application written for Macintosh, and I am in the process of moving it onto OS X. So my options are to use DAQmx Base, or write an in-kernel driver. I actually have already done the latter for 6024/6025 E-series boards (for another company); for this client I was hoping to use the DAQmx Base to allow an easy transition to M-series boards, without the cost of writing and supporting a low-level driver.
    The specific task I am doing is relatively straightforward. I record 2 channels of AI for a short period (usually about 250 ms.) and during this time I drive 2 external digital signals. Right now, I use the 2 timer outputs, which allows precise synchronization with the output and AI sampling.
    I appreciate your comments, and thanks in advance for any additional suggestions you can lob my way.
    --spg
    Scott Gillespie
    Applied Brain, Inc.
    scott gillespie
    applied brain, inc.

  • Converting multiple WordPerfect 9 documents into 1 PDF

    Greetings.
    I'm new, hope it's the right place to post and get some insight.
    Does anyone know that Adober Acrobat X Standard support WordPerfect 9 PDF conversion? We would like to convert multiple WP 9 documents into 1 PDF file. However, I did not see such option available from the selection list... that is when I try to convert/select multiple documents, the list does not give me the WordPerfect as the source file type... Any suggestion is welcome.
    Thanks.

    Corel's WP has not been and is not supported by Acrobat.
    Back in the day Corel used an in-house routine to create PDF.
    A few years ago a news release discussed Corel using a Nuance routine.
    Current news release speaks to Corel's PDF Fusion.
    So, yes PDF can created out of WP; just not with Acrobat.
    To learn what PDF creation or post-processing features Corel has or does not have you'll want to visit Corel's web space.
    If you want amped up PDF manipulation / post-processing you'll want to consider Acrobat Pro.
    Be well...

Maybe you are looking for

  • Low on Memory?  Only using two apps?

    Hi, I'm experiencing, increasingly, "Low on Memory" warnings from Fireworks (8.0.0.777). This seems to happen when I have more than 1 PNG file open at a time, but also happens when I have DW and Fireworks open at the same time. In Task Manager, Firew

  • 20" Cinema dispaly, brightness control w/ PC

    I have just purchased the 20" Cinema display to use with a PC. It works and looks great, however the brightness controls and on/off buttons don't work. I read there is a setting to access using Apple Preferences, however I can't figure out using a PC

  • Does RH8 allow graphics in a DHTML Hotspot?

    Does RH8 allow graphics in a DHTML Hotspot? Can the text inside a DHTML Hotspot have local formatting (style overrides)?

  • How to create Hidden Variables?

    Hi, can any one suggest me in developing a hidden variable in my card/form... thanks in advance regards krishna

  • How do I forward an AMR file from MMS?

    A friend sent me an AMR audio file, plays perfect. I want to forward the file to friends. I've tried holding my finger down on the bubble for it, I copy it and paste it, it pastes the files name only, so that fails. I click on the blue arrow to get o