Join various records on a single line
Hi,
How to unite in a single line a result that has more than one record?
I.e.:
cod_prod tax tax_name value
1 1 tax1 5
1 2 tax2 10
1 3 tax3 8
2 1 tax1 3
2 2 tax2 6
3 1 tax1 6
4 1 tax1 7
4 2 tax2 12
4 3 tax3 6
4 4 tax4 9Returning this:
cod_prod tax tax_name value cod_prod tax tax_name value cod_prod tax tax_name value cod_prod tax tax_name value
1 1 tax1 5 1 2 tax2 10 1 3 tax3 8
2 1 tax1 3 2 2 tax2 6
3 1 tax1 6
4 1 tax1 7 4 2 tax2 12 4 3 tax3 6 4 4 tax4 9-- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
-- OEL 2.6.32-100.0.19.el5
Use "pivot" which is available in oracle 11g
Similar Messages
-
MessageTransformBean - SimplePlain2XML - Multiple records on a single line
Hi,
I am trying to convert multiple record from a single line to multipe rows in an XML message with the MessageTransformBean.
If the record look like this it's working:
RECORD1textETC
RECORD2textETC
But the incoming message are all on a single line:
RECORD1textETCRECORD2textETC
Is there a way to add a linefeed to my incoming message after X characters, or to tell the adapter to split by length instead of spliting on the end of line?
Thanks,
MartinI had to code a custom Module Adapter to do it.
Here's the main part of the module adapter EOLConvertBean...
Message msg = (Message) inputModuleData.getPrincipalData();
XMLPayload xmlpayload = msg.getDocument();
byte[] content = xmlpayload.getContent();
byte crlf = 0x0A; // end of line char
int current = 0; // current bytes read
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int lines = content.length / recordLen; // record len = insert EOL after X recordLen
// TODO change for do while for 1x line record
for (int i = 0; i <= lines; i++) {
baos.write(content, current, recordLen);
baos.write(crlf);
current += recordLen;
xmlpayload.setContent(baos.toByteArray());
inputModuleData.setPrincipalData(msg);
Edited by: Martin Lavoie Rousseau on Oct 6, 2010 9:08 PM -
Displaying of 2 records in a single line in report
Hi Experts,
I have PO item data and PO schedule line items being stored in a Cube.
I developed a report which is a combination of fields from both the datasources. so i am getting 2 records for the same line item Of a purchase order.Now my requirement is to Display the line item details in a single line.How can i achieve this.
please help me Out in sorting this issue.
thanks in Advance.
Regards,
SandeepHi
make sure you have proper common fields or matching fields in both datasources.
Regards
Sudeep -
Placing multiple records on a single line (variables)
Post Author: AeroProg
CA Forum: Formula
Hi, I am new to Crystal Reports, but I know Basic and other programming. I have Crystal Reports XI and am pulling data from our ERP/MRP system, Epicor Vista (Progress DB).I've been asked to figure out a Crystal Reports for our company (I get thrown into these projects). I know what the report should look like and I know how I would go about some VB code in a macro in Excel if all the data was in worksheets(i.e. like tables).Below is the data. Any help would be SO appreciated. So far I'm loving Crystal Reports and I can't wait to get some reports our company can start using but I'm stuck on understanding the timing and connection of formulas with the records.Table1 "JobMtl"Field "JobComplete":StringField "JobNum":StringTable2 "JobOper"Field "OpComplete":BooleanField "OprSeq":Number{JobMtl.JobComplete}FalseTrue{JobMtl.JobNum}20102011{JobOper.Complete}FalseTrue{JobOper.OprSeq}10203040Let's say I dragged all 4 fields into a report. It would look like this.JobNum JobComplete OprSeq OpComplete2010 False 10 True2010 False 20 True2010 False 30 False2010 False 40 False2011 False 10 True2011 False 20 False2011 False 30 FalseI would it to read like thisJobNum JobComplete PrevOp CurrOp NextOp2010 False 20 30 402011 False 10 20 30**Note: {JobMtl.JobComplete} will be used so I am only reporting jobs that are "not complete". I guess it means nothing to you guys, but I put it here because I was not sure if this will be involved in a formula.Thanks,AnthonyMy email is ls1z282002_at_yahoo.com (replace "_at_" => "@") if you would a *.RPT with the data I've shown.Post Author: GraemeG
CA Forum: Formula
I don't know if you can attach files... if you can I'll attach the sample. In the mean time, here's the rub...
(By the way, I use basic syntax in my formulae... old habits and all that!)
I created two tables (actually they were two sheets in a spreadsheet) called JobMtl and JobOper and put some records in in the format AeroProg described above.
Create a formula called aResetVariables:
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
'Set Variables to zero
CurrOpNo = 0
PrevOpNo = 0
NextOpNo = 0
'This next line is just to keep Crystal happy
formula = 0
Create one called bCurrentOp:
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
if CurrOpNo = 0 and {JobOper_.JobComplete} = "false" then
CurrOpNo = {JobOper_.OprSeq}
end if
formula = CurrOpNo
Create one called cPreviousOp
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
if {JobOper_.OprSeq} < CurrOpNo or CurrOpNo = 0 then
PrevOpNo = {JobOper_.OprSeq}
end if
formula = PrevOpNo
Create one called cNextOp
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
if {JobOper_.OprSeq} > CurrOpNo and CurrOpNo <> 0 and NextOpNo = 0 then
NextOpNo = {JobOper_.OprSeq}
end if
formula = NextOpNo
In your Crystal report, group by the JobNum and put the aResetVariables formula into the group header. This will make sure that the variable are set back to zero every time the Job No changes. Suppress the group header.
Plonk what ever you want into the detail line but suppress that too.
Put the JobNum, JobComplete, cPreviousOp, bCurrentOp and dNextOp formulae into the footer. (Donu2019t suppress this section!)
Run the report and you should get a line for each job showing the previous, current and next operation. If you tinker with the status' it seems to work everything out okay. -
Need help with query joining several tables into a single return line
what i have:
tableA:
puid, task
id0, task0
id1, task1
id2, task2
tableB:
puid, seq, state
id0, 0, foo
id0, 1, bar
id0, 2, me
id1, 0, foo
id2, 0, foo
id2, 1, bar
tableC:
puid, seq, date
id0, 0, 12/21
id0, 1, 12/22
id0, 2, 12/22
id1, 0, 12/23
id2, 0, 12/22
id2, 1, 12/23
what i'd like to return:
id0, task0, 12/21, 12/22, 12/22
id1, task1, 12/23, N/A, N/A
id2, task2, 12/22, 12/23, N/A
N/A doesn't mean return the string "N/A"... it just means there was no value, so we don't need anything in this column (null?)
i can get output like below through several joins, however i was hoping to condense each "id" into a single line...
id0, task0, 12/21
id0, task0, 12/22
id0, task0, 12/23
id1, task1, 12/23
is this possible fairly easily?
Edited by: user9979830 on Mar 29, 2011 10:53 AM
Edited by: user9979830 on Mar 29, 2011 10:58 AMHi,
Welcome to the forum!
user9979830 wrote:
what i have:...Thanks for posting that so clearly!
Whenever you have a question, it's even better if you post CREATE TABLE and INSERT statements for your sample data, like this:
CREATE TABLE tablea
( puid VARCHAR2 (5)
, task VARCHAR2 (5)
INSERT INTO tablea (puid, task) VALUES ('id0', 'task0');
INSERT INTO tablea (puid, task) VALUES ('id1', 'task1');
INSERT INTO tablea (puid, task) VALUES ('id2', 'task2');
CREATE TABLE tablec
( puid VARCHAR2 (5)
, seq NUMBER (3)
, dt DATE -- DATE is not a good column name
INSERT INTO tablec (puid, seq, dt) VALUES ('id0', 0, DATE '2010-12-21');
INSERT INTO tablec (puid, seq, dt) VALUES ('id0', 1, DATE '2010-12-22');
INSERT INTO tablec (puid, seq, dt) VALUES ('id0', 2, DATE '2010-12-22');
INSERT INTO tablec (puid, seq, dt) VALUES ('id1', 0, DATE '2010-12-23');
INSERT INTO tablec (puid, seq, dt) VALUES ('id2', 0, DATE '2010-12-22');
INSERT INTO tablec (puid, seq, dt) VALUES ('id2', 1, DATE '2010-12-23');This way, people can re-create the problem and test their ideas.
It doesn't look like tableb plays any role in this problem, so I didn't post it.
Explain how you get the results from that data. For example, why do you want this row in the results:
PUID TASK DT1 DT2 DT3
id0 task0 12/21/2010 12/22/2010 12/22/2010rather than, say
PUID TASK DT1 DT2 DT3
id0 task0 12/22/2010 12/21/2010 12/22/2010? Does 12/21 have to go in the first column because it is the earliest date, or is it because 12/21 is related to the lowest seq value? Or do you even care about the order, just as long as all 3 dates are shown?
Always say what version of Oracle you're uisng. The query below will work in Oracle 9 (and up), but starting in Oracle 11, the SELECT ... PIVOT feature could help you.
i can get output like below through several joins, however i was hoping to condense each "id" into a single line... Condensing the output, so that there's only one line for each puid, sounds like a job for "GROUP BY puid":
WITH got_r_num AS
SELECT puid
, dt
, ROW_NUMBER () OVER ( PARTITION BY puid
ORDER BY seq -- and/or dt
) AS r_num
FROM tablec
-- WHERE ... -- If you need any filtering, put it here
SELECT a.puid
, a.task
, MIN (CASE WHEN r.r_num = 1 THEN r.dt END) AS dt1
, MIN (CASE WHEN r.r_num = 2 THEN r.dt END) AS dt2
, MIN (CASE WHEN r.r_num = 3 THEN r.dt END) AS dt3
, MIN (CASE WHEN r.r_num = 4 THEN r.dt END) AS dt4
FROM tablea a
JOIN got_r_num r ON a.puid = r.puid
GROUP BY a.puid
, a.task
ORDER BY a.puid
;I'm guessing that you want the dates arranged by seq; that is, for each puid, the date related to the lowest seq comes first, regardless of whther that date is the earliest date for that puid or not. If that's not what you need, then change the analytic ORDER BY clause.
This does not assume that the seq values are always consecutive integers (0, 1, 2, ...) for each puid. You can skip, or even duplicate values. However, if the values are always consecutive integers, starting from 0, then you could simplify this. You won't need a sub-query at all; just use seq instead of r_num in the main query.
Here's the output I got from the query above:
PUID TASK DT1 DT2 DT3 DT4
id0 task0 12/21/2010 12/22/2010 12/22/2010
id1 task1 12/23/2010
id2 task2 12/22/2010 12/23/2010As posted, the query will display the first 4 dts for each puid.
If there are fewer than 4 dts for a puid, the query will still work. It will leave some columns NULL at the end.
If there are more than 4 dts for a puid, the query will still work. It will display the first 4, and ignore the others.
There's nothing special about the number 4; you could make it 3, or 5, or 35, but whatever number you choose, you have to hard-code that many columns into the query, and always get that many columns of output.
For various ways to deal with a variable number of pivoted coolumns, see the following thread:
PL/SQL
This question actually doesn't have anything to do with SQL*Plus; it's strictly a SQL question, and SQL questions are best posted on the "SQL and PL/SQL" forum:
PL/SQL
If you're not sure whether a question is more of a SQL question or a SQL*Plus question, then post it on the SQL forum. Many more people pay attention to that forum than to this one. -
Positional Polling a file with multiple records at single line
Hi
I am trying to poll a file with positional read.It works fine with single record at single line.But how to solve the problem when there are multiple records at single line???How to delimit the records??i have a file which contains emp records like empID,empName,Dept.And these records of fixed length.I need to poll this file wirh positional read.I used fixed length polling.It works fine when there is only 1 record at one line.But when 2 or more records on same line it takes first record correctly but could not understand the start of second record.
for ex
1 shital mktg
2 priya finance
it works when records are at separate line.
but another case is:
1 shital mktg 2 priya finance
how to delimit these records?? -
Single line in standard report
HI all,
It would seem that with all the functionality of APEX, that the world just wants to copy the look of Excel :/
How to wrap/nowrap the column value in an interactive report??
The above post was great to come across and I can now make Interactive reports with a single (non text wrapped) line of text, making it easier to read if your're happy to scroll across the page forever.
I've been asked to get the same functionality in a standard (non-interactive) report and have failed to achieve it. I've looked at the posts and proposed solutions here involving various uses of nowrap and white-space in the page and/or template.
I'm just after a single line of text per record in a standard report, no matter how wide the report gets. Is anyone able to help me out with this?
NTIt will be a lot easier to help if you provide the following information:
APEX version
Theme
Region template
Report template
Browsers/versions used
An example on apex.oracle.com is even more helpful. -
Combining 2 records in a single cube
Hi Everyone,
I would like to get your opinion about this particular requirement.
I have an opportunities cube (CRM) which stores info about different opportunities. One customer may go from one opportunity to another. Both the opportunities are saved as different records in BW for instance Oppt A (Record 1)and Oppt B (Record 2)
So now client wants to see in a single record, which customer went from Oppt A to Oppt B.
I am thinking about creating another cube and write a routine to check the Bill Account ( which is the only field available linking the 2 opportunities.
Is this possible? Has anyone encountered or made such a routine?
have you got other ways of doing this?
Your inputs will be greatly appreciated.
Thanks
Kumar.Hi Vamsi,
Thanks for your offer to help with the coding. That wont be necessary anymore as I figured out I will not be able to join the 2 records since there is a One to Many relationship between Oppt A and Oppt B. I will just display them as different records and sort them together.
But since we have this idea of combining 2 records of a single cube, why don't we continue and close this.
If there was a 1 to 1 Rel, the records would have shown this way
Oppt A
Bill Account
Meter ID
Transaction no
Customer Name
Address
AutoDR Flag (Checked)
Load Approved
Oppt B
Bill Account
Meter ID
Transaction no
Customer Name
Address
TI Indicator Flag (Checked)
Campaign Enrolled
The Key fields would have been Bill Account and Meter ID
So the final Oppt would have been ...
Bill Account
Meter ID
Transaction no
Customer Name
Address
AutoDR Flag (Checked)
Load Approved
TI Indicator Flag (Checked)
Campaign Enrolled -
Concatenate multiple records into one single record
Hello everyone,
Can anyone guide me how to merge multiple records into one single record
like......... I am getting the data in the file like
aaaaa/bbbbbbb/ccccccccccc/dddddddddddd/eee
ffffff/gggg/hhhhhhhhhhhhhh
/123/4567/55555/99999999/kaoabfa/eee
fffff/kkkkkkkk/llllllllllllllllllllllll
when i use gui_upload I am getting the data into the internal table in the above format.
My main intension is to split the record at / to multiple lines and dowload it into another file.
What i am planning to do is... if the line does not start with / then i want to concatenate the multiple lines into single line and then split it into multiple records. Can anyone guide me how to achieve this.Yes, it should work.
In my example
Loop at itab.
concatenate i_text itab into i_text.
endloop.
You change that loop for the loop of your internal table with the file records
So if you have this three records
'aaaa/bbb/ccc'
'/dddd/efg'
'hijk/lmn'
i_text will look like this at the end
'aaaa/bbb/ccc/dddd/efghijk/lmn'
then in this part of the code
split i_text at '/' into table itab2.
itab2 will have the records looking like this
aaaa
bbb
ccc
dddd
efghijk
lmn' -
HELLO...
I hope you experts out there can help me. Consider the following (2) Tables in MSSQL:
1. TENDERED --> Primary Key = DATE / DOC_NO / PAYMENT_SEQ_NO
DATE
DOC_NO
PMNT_SEQ_NO
PAYCODE_TYPE
AMOUNT
2. TENDERED_CR_CARD -->Primary Key = DATE / DOC_NO / PAYMENT_SEQ_NO
DATE
DOC_NO
PMNT_SEQ_NO
CR_CARD_NO_MASKED
CR_CARD_NAME
CR_CARD_EXP_DATE
These two tables are certainly related, based on their Primary Key values.
Now, consider the following data in those two tables:
DATE
DOC_NO PMNT_SEQ_NO
PAYCODE_TYPE
AMOUNT
03/10/2014 100001
1
CASH
100.00
03/10/2014 100001
2
CASH
-9.75
03/10/2014 100002
1
CASH
50.00
03/10/2014 100002
2
VISA
100.00
03/10/2014 100002
3
VISA
250.00
03/10/2014 100003
1
MC
125.00
03/10/2014 100003
2
AMEX
75.00
DATE
DOC_NO PMNT_SEQ_NO CR_CARD_MASKED
NAME
CR_CARD_EXP
03/10/2014 100002 2 4225******801289
MARY JONES 2016/08/31
03/10/2014 100002 3 4121******637442
JOHN DOE 2015/04/30
03/10/2014 100003 1 5428******971134
MIKE BAKER 2018/09/30
03/10/2014 100003 2 3732*****344756
LINDA LIU 2017/07/31
OK...so what we NEED...is a Combined, SINGLE RECORD Audit Report type query.
The resulting query should show, based on the Data from above, the SINGLE LINE represented in the Attached Spreadsheet.
NOTE...what's important to point out here..is that ONLY the 'CASH' Tender gets "summed"...EACH INDIVIDUAL Credit Card record MUST have its own Field...as represented in the corresponding Columns of the Spreadsheet (i.e. PMT_TYP_1, AMT_1, PMT_TYP_2,
AMT_2, and so forth).
PLEASE HELP! Any suggestions/advice would be most appreciated!
Thank You!...MarkI would not do this in SQL if I could possibly avoid it. Instead do it in the front end.
If you must do it in SQL, this is a dynamic pivot on multiple columns. Naomi Nosonovsky has a blog at
http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/dynamic-pivot-on-multiple-columns/ on how to do that. Look especially at her second example using the claims table. Of course, you must do some manipulation even before you do the multi-column
pivot, since you must first combine all the cash entries.
So one way to do it would be to build a temp table with all the entries you have except the cash entries combined into one payment sequence number. To do that you may need specifications that are not clear to me from what you have given us. For
example, if PMT SEQ 1 is VISA, PMT SEQ 2 is CASH, PMT SEQ 3 is VISA, PMT SEQ 4 is CASH, and PMT SEQ 5 is VISA, you want to combine the two cash payments. So they become PMT SEQ 2? If so, what happens to PMT SEQ 4 - is it left N/A or does
PMT SEQ 5 become PMT SEQ 4?
But once you have this temp table with the cash payments combined in the algorithm you need, then you can use Naomi's method to do the multi-column pivot. Note that Naomi uses the code
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_Name = 'Claims'
to get the column names from the permanent table Claims. To get the column names from a temp table use code like the following. To find the column names in a temp table named #MyTempTable, do
From tempdb.sys.columns
Where object_id = OBJECT_ID('#MyTempTable')
But as I say, if feasible, I would do this in the front end, not in SQL. T-SQL is a very good language for storing and retrieving data, not so good at formatting it.
Tom -
Put 2 relevant records in a single row
<p>Hello everybody,</p><p>I have a Attendance table, which has columns WorkDate. Schedule_IN_Time, Schedule_OUT_Time, Login_IN_Time, Login_IN_Time, Login_Type.</p><p>Now for every Login_Type = "I" or "O" there are two records. That means for a day say 07/10/2006 as Workdate there are two records like,</p><p>EmpID WorkDate Schedule_IN_Time Schedule_OUT_Time Login_IN_Time Login_OUT_Time Login_Type</p><p>1 07/10/2006 09:00 17:00 9:00 I</p><p>1 07/10/2006 09:00 17:00 17:15 O</p><p>NOW.. I want a report in Crystal report which will have a single record for a single Workdate..as folllows</p><p>EmpID WorkDate Schedule_IN_Time Schedule_OUT_Time Login_IN_Time Login_OUT_Time</p><p>1 07/10/2006 09:00 17:00 9:00 17:15 </p><p>Can you please help me out..I'm usng CrystalReport XI.</p><p>Thanks in advance.</p><p>sauren </p>
Once you group on these put summaries for Max on each of the values you want to display as one line.  Put them in the footer and suppress the details. That should give the desired results.
    - Kathryn Webster (Report Design Consultant)
          Kat's News: http://diamond.businessobjects.com/blog/279 -
Text should be displayed in a single line in jsff page
Hi ,
I have several af:selectOneChoice components whose labels should be displayed in a single line .
the page has a left and right navigator panel. when i drag the navigators to the center , the scroll bar should be enabled and the texts (labels) of the various components in the jsff page should be displayed in a single line.
But , the text gets wrapped into multiple lines. PFA the screen shot and the code of the jsff pageHi Maddy,
for this issue you can use WAD 7.0. There you can set the numbers of columns and rows which are displayed easily within the analysis item. You can also determine if you want to have scroll bars or paging tabs (like in Query Designer).
Brgds,
Marcel -
Query - Get data from the same table and field two times on a single line
I have prepared a query showing the bill of material. At each line each component will be a new line and I want to have the description of the material at the top (the master material composed of the component ones) and also the description of the component materials on the same line. This means that I should be able to use MAKT table 2 times on a single line of the query. I have used the query tool with SQ01 and SQ02 tcodes. How can I get the the description of the material at the top and also the description of the component material on a single line?
Thanks in advance for the answers.Yasar,
Any time you wish to use a table twice in an SQ01 query, you have to create an alias.
SQ02 > select the infoset, 'change' > go to Join definitions.
Select 'Alias' button. Create. Select your table name (such as MAKT) and define an alias, such as 'COMP_MAKT' for component descriptions.
Now you can insert the Alias table into your infoset just like it was a regular table, and use standard join method to join COMP_MAKT to your component material number.
Best regards,
DB49 -
Hi, folks.
I have a table of employees and a table of certifications. An employee may have 0-15 certifications (and dates completed).
I'm trying to generate a single line report like this:
NAME - CPR DATE - FIRST AID DATE - Etc
I've made an evaluation formula:
If {Cert_Table.Type} = "CPR" then {Cert_Table.Date}
This works brilliantly...as long as CPR is the first record that matches the employee ID. If it is the second, it leaves the field erroneously blank.
I know the ideal way to show this would be a list, but the boss wants a single-line representation of the key certification dates.
How do I get crystal to report back the CPR date regardless of which order it appears?
Thanks in advance!Hi,
There are a couple of ways you can do this. Following your train of thought, you can build the string like:
Create a Group on Employee.
In the Group Header create a formula like:
WhilePrintingRecords;
StringVar Certifications := "";
In the Detail section create a formula like:
WhilePrintingRecords;
StringVar Certifications;
Certifications := Certifications += {Cert_Table.Date} & " - ";
In this formula, if your Date field is an actual date type then you will need to use the ToString function to convert it to a string or you will get an error.
In the Group Footer create a final formula like:
WhilePrintingRecords;
StringVar Certifications;
The first two formulas you can format to Suppress so you don't see them.
Good luck,
Brian -
Ai-cs6 How Do I trace a hand drawn sketch to a single line vector outline?
So I am basically a brand new user to ai-cs6 and have been working on a project for a friend. I've drawn up the basic components of the logo she wants, all separate individual pieces. My intention is/was to trace in each piece, and scale, rotate, and clean them up according to how the final piece should look. Where I'm running into trouble is that the sketches are not point perfect, meaning there's some shading in the hand drawns, and the lines are rough in areas. I'm trying to avoid redrawing the pieces because we both are really happy with where they're at. What I'd like to do with ai-cs6 and I'm hoping this community of creative individuals can help is to trace very simply a one line vector of the outline of the image. So instead of creating a piece that has stroke straight from the scanned in artwork, I get a single line, with multiple points, that flows the simple shape of the piece. From there it seems it would be pretty simple to just increase the stroke weight and modify the style of line to make it look how we would like. All I've succesfully been able to do so far, with the help of some videos and google searching, is to get a traced image that's basically an outline of the sketch. This is o.k. except that since the sketch has some rough line sections ai-cs6 is adding either a lot of detail and making it look pretty rough, or it's missing entire sections and leaving them blank. Any insight and help into getting this figured would be great, I'm gonna roll with what image trace is giving me so I can give her an image of the logo today, but hoping that I can clean it up and get closer to a finished product by next week. Thank you very much I'm grateful that there are discussion forums like this out there to help users of all skill level continue flowing and working with these awesome adobe products.
MaxWhat you're talking about is generically called autotracing in centerline mode. Most autotrace programs can either try to trace all the way around the areas of dark pixels (outline tracing), or try to trace along the middles of areas of dark pixels (centerline tracing).
In Illustrator's autotrace settings, for centerline mode, you turn off the tracing of outlines (fills) and turn on the tracing of centerlines (strokes). That's the basic setting. From there, you try to adjust the various threshold settings to get as close to what you want as you can.
When Illustrator's autotrace feature is set to try to trace centerlines, it also tries to set the vector path stroke weights to approximate the thicknesses of what it interprets as a stroke. So after the autotracing is done, you can expand it and then globally set the stroke weight to a uniform value.
Beyond that, no one can really advise you more specifically without seeing the specific image involved. Every image is different.
Generally speaking, autotracing is crap. It's an amateurish workaround to avoid doing what should really be done: Trace the paths manually with the drawing tools.
JET
Maybe you are looking for
-
I have purchased music on my ipod touch but it doesnt show in my itunes library on my computer.... please help
-
Exchange 2010 (SP3 - withn SBS2011) OWA seach not working
I know such issues have been reported many times in the past, but I haven't found any report for SP3 (which actually thought would resolve this for good). I had the same problem repeatedly with SP1, with SP2, with various rollups, I have tried the va
-
What I've to do if the App Store told me my payment method not valid
What I've to do if the App Store told me my payment method not valid
-
It takes 1+1 starts (the last time) or 111 before and 11+1+1+11 another. But it will start up and it run well in 10.4.8 sometimes it crash (lately since the problem start never before) but other wise runs good. I have looking into your other similar
-
How to fast color the current mouse-hovered row in MultiColumnBox
Hi, I'm trying to color in a very efficient way the current mouse-hovered row in MutliColumnBox... however, it turns out to be pretty slow...? Any idea about how to make it (much) faster? Find attached my current way of achieving this purpose... a bi