Trying put marker in user_sdo_styles,MapDefTool

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!

MapViewer does not support arbitrary SVG vector as marker style. It only supports simple vector types such as a single polygon; and it must have a <g class="marker"> element as shown in the valid example.
If the SVG shape you want to use as a marker style is complicated like in your batik example, you may convert it into a gif image and define an image-based marker in MapViewer.
lj

Similar Messages

  • My macbook pro 15' sound is not working, every time i turn on the internal speakers they just turn back off, and i have already tried putting in my headphones 5 or 6 time

    my macbook pro 15' sound is not working, every time i turn on the internal speakers they just turn back off, and i have already tried putting in my headphones 5 or 6 time

    Hi eleni_georgia,
    Welcome to Apple Support Communities.
    The article linked below provides some additional tips that will help you resolve the audio issue that you described.
    Troubleshooting issues with no audio from built-in speakers on Macs
    http://support.apple.com/kb/TS1574
    Cheers!
    -Jason

  • Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?

    Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
    My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

    I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

    I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

  • HT1551 My remote for my Apple TV just stopped working and I have tried putting in a new battery, re-pairing the remote, resetting the device by unplugging it, and I checked the infared coming from the remote is working. The light just blinks at me 3 times

    My remote for my Apple TV just stopped working and I have tried putting in a new battery, re-pairing the remote, resetting the device by unplugging it, and I checked the infared coming from the remote is working. The light just blinks at me 3 times what else can I try to fix it?

    Have you tried unpairing the remote? You do this by pointing your remote at the Apple TV and holding the MENU and Left buttons down together for 6 seconds.

  • HT5781 My macbook Pro just turned off randomly when I tried putting in the charger for my phone and wont turn on. what do I do?

    So I was downloading albums for my phone on the macbook pro and I tried putting in the charger for my phone but i had it in reverse and when i tried putting it in it just completely turned off. When i connected it to the charger the light on the charger for the laptop would just flickr green and red lightly.

  • My IPhone 4 won't turn on , I have tried holding the power button , the home button for 20 secs and it won't work , tried putting it into DFU mode and nothings happened , last night I updated it to 6.0.1 since then it hasn' t turned on , what should I do?

    My IPhone 4 won't turn on , I have tried holding the power button , the home button for 20 secs and it won't work , tried putting it into DFU mode and nothings happened , last night I updated it to 6.0.1 since then it hasn' t turned on , what should I do?

    I suggest charging it for several hours, then trying again.

  • TS3367 when i try to FaceTime on my iPod touch, and the call gets accepted it says connecting... and then just goes to FaceTime failed. this started after a 800 number called my FaceTime. i have tried putting in several other emails & on diff wifi. sugges

    when i try to FaceTime on my iPod touch, and the call gets accepted it says connecting... and then just goes to FaceTime failed. this started after a 800 number called my FaceTime. i have tried putting in several other emails & on diff wifi. suggestions??
    i have also tried facetiming with several other people. the same thing has hapened every single time and it has always worked just fine until that 800 number called me.

    Judging by all the posts on the forum, there seems to be an issue at Apple's end, although they have made no announcement on their status page. Some users have reported that Apple is aware of the issue.
    http://www.apple.com/support/systemstatus/

  • I jailbroken my ipod and when i try to restore it, its stuck on the loading screen with a skull on it but now i cant even look at the apps or lock it plz up i tried everything pretty much. i tried putting it in dfu and dfu pwn mod

    i jailbroken my ipod and when i try to restore it, its stuck on the loading screen with a skull on it but now i cant even look at the apps or lock it plz up i tried everything pretty much. i tried putting it in dfu and dfu pwn mod
    < Edited By Host >

    Jailbreaking has its consequences and voids the Apple warranry.  We can't discuss jailbreading on this Apple forum.

  • I jumped into a swimming pool, did a few lengths and then realised that my iPod was in my pocket!!! I have tried putting it in rice but it still won't turn on or anything! Could I get it fixed anywhere?

    I jumped into a swimming pool, did a few lengths and then realised that my iPod was in my pocket!!! I have tried putting it in rice but it still won't turn on or anything! Could I get it fixed anywhere? Or is there another trick to recover it?

    If it is dry (in rice for a week and changing the rice every day or so)
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
      Apple - iPod Repair price                             

  • I have tried putting in my Quicktime Pro registration number, it tells me that my registration was successful and then doesn't install!! Help!

    I have tried putting in my Quicktime Pro registration number, a message came up telling me I had successfully registered and now it won't download! Help!
    It doesn't say QuickTime Pro on any of my icons. They've got my money - but I don't have the product!

    When I click on the 'About QuickTime ' button it still tells me that I just have the ordinary Version 7.7 (1680.25).
    And as I previously stated, the application will not change whether it is running as QT Player 7 or QT 7 Pro.
    When I click on the File Menu, Export and many of the other features are in grey so are not accessable by me. When I do click on them, they tell me to 'Buy it now'. I have a receipt email from Apple thanking me for my payment and giving me my registration code which I duly entered along with my name into the appropriate fields on the registration page.
    The only button available for me to press was another 'Buy it now' button?
    The email contains both the name (with or without salutation) under which you purchased the QT Pro Key and registration key itself. Both name and key must be enterend in the the QT 7 Player application just as received in the email to unlock the Pro features. Have you actually entered this informationg in the QT 7 Player? If not, follow the "If you need to Manually enter your QuickTime 7 Pro registration code:" instructions detailing how to register QT 7 for Pro use found HERE. The process for entering the key information in the appropriate version of QT 7 is virtually the same whether you are using Leopard, Snow Leopard, or Lion.
    I did have a box appear at one point saying 'Thank you for Registering', but clearly I HAVEN'T been registered.
    It's infuriating as I need this to down load before I can get any work done.
    If the "QuickTime Pro Registration" window depicted in the above intructions indicates QT Pro is registered but you still cannot access the Pro features, then you should probably contact Apple and explain the problem within 90 days of purchase as you may have a more serious problem requiring technical assistance while the purchase warranty is still in effect.

  • IPhoto download is stuck - cannot get it to resume. The "Pause" button is greyed out and to the left of that is the word "Waiting". I tried putting the iPhoto download into the trash (from the Applications folder) but am unable to do that - it goes r

    My iPhoto download is stuck. To the right, there is a greyed-out "Pause" button, and to the left of that, the word "Waiting".
    I tried putting the iPhoto download into the Trash (from the Applications folder) but it won't stay in the trash - just keeps popping back into the folder.
    Have looked all over online and tried lots of things but no luck. I don't even know where to ask.
    Thanks
    (P.S. This all happened after a disaster: My hard drive crashed while downloading Yosemite - hard drive was only six months old. Replaced hard drive and now in process of restoring things.)

    Go to the LaunchPad and cancel the download - trash the iPjhtoo application and reinstall from the App store
    LN

  • How use set up with office 2011 for mac as I did keep tried put download but it's always 'update' download. I want get start set up new office 2011 for mac? please help me

    how use set up with office 2011 for mac as I did keep tried put download but it's always 'update' download. I want get start set up new office 2011 for mac? please help me

    You must be using an update CD.  You need the software that has the full version first - install that, then you can use the update one if needed. I know, cuz I made the same mistake - lol

  • I cant remember my "Reset All Settings" Password and i tried putting all the passwords i remember and it says "9 failed Passcode Attempts" and then it says "Try again in 60 minutes "

    i tried putting all the passwords i remember and it says "9 failed Passcode Attempts" and then it says "Try again in 60 minutes "
    Can Somebody Please Help Me.?

    The passcode for Reset All Settings is the same one used to unlock the phone.  How have you managed to unlock it without encountering this???
    If you can't remember your passcode, restore the phone in iTunes using the same computer it was last synced with.  If you try to use another computer, you will be asked for the passcode and your only choice is to force recovery mode.

  • Fcpx trying to mark in and it sound like i can't do it. why?

    fcpx 10.1-- trying to mark( in ) or (out)and it sound like i can't do it. why?

    Are you working in the Import window or marking clips to be entered into the Timeline or maybe Exporting from the Timeline?
    Please provide some specific info.
    Al

Maybe you are looking for