Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

trying put marker in user_sdo_styles,MapDefTool

397724Aug 29 2003 — edited Aug 29 2003
Hi, I have a problem to put MARKER in user_sdo_styles table. If someone can help me!
I have java class witch I transformed with Batic into SVG format. I put with SQL in table and when I run MapDefenitionTool ther is exception. I can’t see preview of my style.
Here is example that work fine:
insert into user_sdo_styles (name, type, description, definition) values (
'Proba04','MARKER',
'Proba markera04',
'<?xml version="1.0" standalone="yes"?>
<svg width="1in" height="1in">
<desc></desc>
<g class="marker" style="stroke:#000000;fill:#ff0000;width:15;height:15">
<polygon points="138.0,123.0, 161.0,198.0, 100.0,152.0, 38.0,198.0, 61.0,123.0,
0.0,76.0, 76.0,76.0, 100.0,0.0, 123.0,76.0, 199.0,76.0" />
</g>
</svg>');

Here is XML that I get from Batik. I put that XML and then dosen’t work.

I GET THIS WITH BATIK:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
<svg xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-opacity:1; color-interpolation:auto; color-rendering:auto; text-rendering:auto; stroke:black; stroke-linecap:square; stroke-miterlimit:10; stroke-opacity:1; shape-rendering:auto; fill:black; stroke-dasharray:none; font-weight:normal; stroke-width:1; font-family:&apos;Arial&apos;; font-style:normal; stroke-linejoin:miter; font-size:12; image-rendering:auto; stroke-dashoffset:0;" xmlns="http://www.w3.org/2000/svg">
<!--Generated by the Batik Graphics2D SVG Generator-->
<defs id="genericDefs" />
<g>
<g>
<line x1="0" x2="0" y1="-12.5" style="fill:none;" y2="-15" />
</g>
<g style="fill:rgb(0,0,0); fill-opacity:0; stroke-opacity:0; stroke:rgb(0,0,0);">
<path d="M-2.5 -15 L2.5 -15 Q3.75 -16.25 2.5 -17.5 L0 -27.5 L-2.5 -17.5 Q-3.75 -16.25 -2.5 -15" style="stroke:none;" />
</g>
<g>
<path d="M-2.5 -15 L2.5 -15 Q3.75 -16.25 2.5 -17.5 L0 -27.5 L-2.5 -17.5 Q-3.75 -16.25 -2.5 -15" style="fill:none;" />
<line x1="-25" x2="-25" y1="-12.5" style="fill:none;" y2="-15" />
</g>
<g style="fill:rgb(0,0,0); fill-opacity:0; stroke-opacity:0; stroke:rgb(0,0,0);">
<path d="M-27.5 -15 L-22.5 -15 Q-21.25 -16.25 -22.5 -17.5 L-25 -27.5 L-27.5 -17.5 Q-28.75 -16.25 -27.5 -15" style="stroke:none;" />
</g>
<g>
<path d="M-27.5 -15 L-22.5 -15 Q-21.25 -16.25 -22.5 -17.5 L-25 -27.5 L-27.5 -17.5 Q-28.75 -16.25 -27.5 -15" style="fill:none;" />
<line x1="25" x2="25" y1="-12.5" style="fill:none;" y2="-15" />
</g>
<g style="fill:rgb(0,0,0); fill-opacity:0; stroke-opacity:0; stroke:rgb(0,0,0);">
<path d="M22.5 -15 L27.5 -15 Q28.75 -16.25 27.5 -17.5 L25 -27.5 L22.5 -17.5 Q21.25 -16.25 22.5 -15" style="stroke:none;" />
</g>
<g>
<path d="M22.5 -15 L27.5 -15 Q28.75 -16.25 27.5 -17.5 L25 -27.5 L22.5 -17.5 Q21.25 -16.25 22.5 -15" style="fill:none;" />
<line x1="-12.5" x2="-12.5" y1="12.5" style="fill:none;" y2="10" />
</g>
<g style="fill:rgb(0,0,0); fill-opacity:0; stroke-opacity:0; stroke:rgb(0,0,0);">
<path d="M-15 10 L-10 10 Q-8.75 8.75 -10 7.5 L-12.5 -2.5 L-15 7.5 Q-16.25 8.75 -15 10" style="stroke:none;" />
</g>
<g>
<path d="M-15 10 L-10 10 Q-8.75 8.75 -10 7.5 L-12.5 -2.5 L-15 7.5 Q-16.25 8.75 -15 10" style="fill:none;" />
<line x1="12.5" x2="12.5" y1="12.5" style="fill:none;" y2="10" />
</g>
<g style="fill:rgb(0,0,0); fill-opacity:0; stroke-opacity:0; stroke:rgb(0,0,0);">
<path d="M10 10 L15 10 Q16.25 8.75 15 7.5 L12.5 -2.5 L10 7.5 Q8.75 8.75 10 10" style="stroke:none;" />
</g>
<g>
<path d="M10 10 L15 10 Q16.25 8.75 15 7.5 L12.5 -2.5 L10 7.5 Q8.75 8.75 10 10" style="fill:none;" />
</g>
</g>
</svg>


Thanks in advance!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 26 2003
Added on Aug 29 2003
1 comment
218 views