Layout and Colors etc.

Hi
I wonder how the layout of a map is defined with Oracle Spatial. How is it descided that lakes are blue and roads are black etc?
Mapinfo uses sometingh called Map Definition File (.mdf). Can it be used with Map Extreme or is it any similar way to describe the layout?
Regard Lennart

When you use MapInfo to display Oracle Spatial, you've layout info on the mapinfo_mapcatalog table.
Mapinfo use this table to save the color, symbol, etc of each layer.
SQL> desc mapinfo_mapcatalog
Nom NULL ? Type
SPATIALTYPE NUMBER
TABLENAME VARCHAR2(32)
OWNERNAME VARCHAR2(32)
SPATIALCOLUMN VARCHAR2(32)
DB_X_LL NUMBER
DB_Y_LL NUMBER
DB_X_UR NUMBER
DB_Y_UR NUMBER
COORDINATESYSTEM VARCHAR2(254)
SYMBOL VARCHAR2(254)
XCOLUMNNAME VARCHAR2(32)
YCOLUMNNAME VARCHAR2(32)
Symbol ex:
Symbol (35,0,12) Pen (1,2,0) Pen (1,2,0) Brush (2,65535,16777215)
Hope this helps.
Francois

Similar Messages

  • Site layout and color looks different in each browser

    I created a site.  When I preview the site in firefox it is just the way   I created it in dreamweaver cs5, but when I preview it in IE the   background color is not the pinkish color I used, it is black and the   subheading is crunched up to the left and not the right.  Also, in   google crome browser, it is perfect except there is a huge gap of space   from the bottom of the page to the footer (It shouldn't have margins but   the margin is very large).  The site is for a client (escort-personal), I hope that someone will be able to help/lead in the right direction.

    I see a black background in IE, no doubt caused by truncated #hex color codes in the markup.  Remove the table cell BGColors from your html markup.
    Add this to your CSS code:
         td {background: #993300}
    FYI, table-based layouts are very old school.  You should be learning to work with CSS Layouts.
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Font size and color will not change in emails, blogs, forums etc.

    I can no longer change the style or color of fonts in emails, blogs, forums etc. I can change the font size and nothing else. Everything works when I am connected using explorer so it is a setting or update in firefox that is causing the problem. If I cut/copy and paste into a word document from a web site I still cannot make a change. If I copy from a word document into a web site the colors and fonts revert to some default setting. I have tried changing the setting in Options for the fonts and colors, they make changes but they don't solve the problem.

    Hi,
    Please check if this happens in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile]. If it's okay, you can later [https://support.mozilla.org/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile?s=profile&r=1&e=sph&as=s copy the personal data] from the old profile. Firefox stores your personal data and settings in another location separate from its [http://kb.mozillazine.org/Installation_directory files/folder]. A new profile would have the default Firefox settings ('''Tools''' ('''Alt''' + '''T''') > [https://support.mozilla.org/en-US/kb/Options%20window '''Options'''] and [http://kb.mozillazine.org/About:config '''about:config'''] ) and usually would also be empty of any '''Extensions''' and themes ('''Appearance''') in '''Tools''' > '''Add-ons''') and their settings. Also, a new profile would have no previous stored website data/settings etc. ('''Tools''' > '''Clear Recent History''').
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder & Files]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • Need help combining a Layout and Graphics

    Okay, I've been working on this for a long time now, and I'm getting close...but not quite.
    I want to have a JApplet where I can use Graphics methods, as well as JButton, etc. However, if I set my applet to use a certain type of Layout (setLayout), it will only display the JButton and none of the graphics that I drew in paintComponent(). If I don't define a Layout at all, the JButton covers the entire applet. If I take out the JButton and the Layout, then I do see the Graphics. So, it's like the Graphics are being hidden underneath the Layout, and I don't know how to get them to show through.
    Here's what I have...as you can see from the billion commented lines, I tried a lot of different things.
    import javax.swing.*;       // Imports JButton, JTextArea, JTextField
    import java.awt.*;          // Imports Canvas
    import java.awt.event.*;    // Imports ActionEvent, ActionListener
    public class HashTableApplet extends JApplet
      public void init()
        PaintStuff paint = new PaintStuff();
        Container contentPane = getContentPane();
        JButton startButton = new JButton("Start");
        //Determine the "look" of the Applet:
        contentPane.setLayout(null);
        contentPane.add(paint);
        // Add in the button:
        Insets insets = contentPane.getInsets();
        contentPane.add(startButton);
        startButton.setBounds(25 + insets.left, 5 + insets.top, 75, 20);
    class PaintStuff extends JPanel
      public PaintStuff()
        //setBackground(Color.lightGray);
      public void paintComponent(Graphics g)
        super.paintComponent(g);
        //setOpaque(false);
        g.setColor(Color.yellow);
        // drawLine(x1, y1, x2, y2)
        g.drawLine(50, 50, 100, 100);
        g.drawLine(0, 200, 700, 200);
        g.drawRect(200, 200, 200, 200);
    }

    /*    <applet code="GraphicApplet" width="400" height="300"></applet>
    *    use: >appletviewer GraphicApplet.java
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    public class GraphicApplet extends JApplet {
      GraphicPanel graphicPanel = new GraphicPanel();
      int colorCount = 0;
      public void init() {
        final Color[] colors = {
          Color.orange, Color.yellow, Color.pink
        final JButton button = new JButton("Change Background");
        button.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            Color color = colors[colorCount++ % colors.length];
            graphicPanel.setBackgroundColor(color);
        JPanel northPanel = new JPanel();
        northPanel.add(button);
        Container cp = getContentPane();
        // default layout for JPanel (== JApplet) is Flow Layout
        cp.setLayout(new BorderLayout());
        cp.add(northPanel, "North");
        cp.add(graphicPanel, "Center");   
       * Convenience method allows you to run this from the command line.
      public static void main(String[] args) {
        JFrame f = new JFrame("Grpahic Applet");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JApplet applet = new GraphicApplet();
        f.getContentPane().add(applet);
        f.setSize(400,300);
        f.setLocationRelativeTo(null);
        applet.init();
        applet.start();
        f.setVisible(true);
    class GraphicPanel extends JPanel {
      Color bgColor;
      public GraphicPanel() {
        setBackground(Color.black);
        bgColor = Color.red;
        // add listeners here
      public void paintComponent(Graphics g) {
        super.paintComponent(g);
        Graphics2D g2 = (Graphics2D)g;
        g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                            RenderingHints.VALUE_ANTIALIAS_ON);
        int width = getSize().width;
        int height = getSize().height;
        int cx = width/2;
        int cy = height/2;
        int diameter = Math.min(width, height)*2/3;
        g2.setPaint(bgColor);
        g2.fill(new Rectangle2D.Double(width/8, height/8, width*3/4, height*3/4));
        g2.setPaint(Color.blue);
        g2.draw(new Rectangle2D.Double(cx - diameter/2, cy - diameter/2,
                                       diameter, diameter));
        g2.setPaint(Color.green);
        g2.draw(new Ellipse2D.Double(cx - diameter/2, cy - diameter/2,
                                     diameter, diameter));
      public void setBackgroundColor(Color color) {
        this.bgColor = color;
        repaint();
    }

  • Copying from Oracle SQL Developer to Microsoft Word doesn't retain formatting (Font,colors etc)

    Copying from Oracle SQL Developer Worksheet doesn't retain formatting (font,color etc...)in Microsoft Word but copying from other programs such as
    visual studio, chrome browser etc works fine. This doesn't work even after changed the setting to Keep Source formatting of Options-> Copy and Paste Settings

    Hi,
    I notice that you have cross posted in Answers forum and Oracle forum. Have you tried Mr. Peter's suggestion?
    Then, I recommend we check the Word settings:
    1. Go to: Options > Advanced > Cut, Copy and Paste
    2.  Make sure that Use smart cut and paste is ticked. 
    3. Click the Settings button next to this option
    4. Make sure that Smart Style
    Behavior is checked.
    If the issue still exists, please upload a sample through One Drive, I want to test.
    Regards,
    George Zhao
    TechNet Community Support

  • Difference between null layout and absolutelayout

    hello
    I would like to know the difference between the null layout and the absolutelayout
    thank you in advance

    http://www.google.com/search?q=absolutelayout
    Next time, please use the search yourself.Do I have to consider this as answer Yes.
    notice that I asked for the difference between both
    of the layout and not about
    absolutelayout only Third link, advertised by
    "I think AbsoluteLayout does more than just setting Layout to null. AbsoluteLayout may even accomodate for changes in font sizes etc. ..."
    already should give you something to think about.
    Furthermore, the search shows that there are several different classes named AbsoluteLayout (ADF, SWT, BUI, samskivert...), and you didn't specify which one you're talking about.
    Still think this wasn't an answer?
    I guess I should stop assuming that you have a brain of your own.

  • How to change font/ font color etc in a graphic object using JCombobox?

    Hello
    My program im writing recently is a small tiny application which can change fonts, font sizes, font colors and background color of the graphics object containing some strings. Im planning to use Jcomboboxes for all those 4 ideas in implementing those functions. Somehow it doesnt work! Any help would be grateful.
    So currently what ive done so far is that: Im using two classes to implement the whole program. One class is the main class which contains the GUI with its components (Jcomboboxes etc..) and the other class is a class extending JPanel which does all the drawing. Therefore it contains a graphics object in that class which draws the string. However what i want it to do is using jcombobox which should contain alit of all fonts available/ font sizes/ colors etc. When i scroll through the lists and click the one item i want - the graphics object properties (font sizes/ color etc) should change as a result.
    What ive gt so far is implemented the jcomboboxes in place. Problem is i cant get the font to change once selecting an item form it.
    Another problem is that to set the color of font - i need to use it with a graphics object in the paintcomponent method. In this case i dnt want to create several diff paint.. method with different property settings (font/ size/ color)
    Below is my code; perhaps you'll understand more looking at code.
    public class main...
    Color[] Colors = {Color.BLUE, Color.RED, Color.GREEN};
            ColorList = new JComboBox(Colors);
    ColorList.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ev) {
                     JComboBox cb = (JComboBox)ev.getSource();
                    Color colorType = (Color)cb.getSelectedItem();
                    drawingBoard.setBackground(colorType);
              });;1) providing the GUI is correctly implemented with components
    2) Combobox stores the colors in an array
    3) ActionListener should do following job: (but cant get it right - that is where my problem is)
    - once selected the item (color/ font size etc... as i would have similar methods for each) i want, it should pass the item into the drawingboard class (JPanel) and then this class should do the job.
    public class DrawingBoard extends JPanel {
           private String message;
           public DrawingBoard() {
                  setBackground(Color.white);
                  Font font = new Font("Serif", Font.PLAIN, fontSize);
                  setFont(font);
                  message = "";
           public void setMessage(String m) {
                message = m;
                repaint();
           public void paintComponent(Graphics g) {
                  super.paintComponent(g);
                  //setBackground(Color.RED);
                  Graphics2D g2 = (Graphics2D) g;
                  g2.setRenderingHint             
                  g2.drawString(message, 50, 50);
           public void settingFont(String font) {
                //not sure how to implement this?                          //Jcombobox should pass an item to this
                                   //it should match against all known fonts in system then set that font to the graphics
          private void settingFontSize(Graphics g, int f) {
                         //same probelm with above..              
          public void setBackgroundColor(Color c) {
               setBackground(c);
               repaint(); // still not sure if this done corretly.
          public void setFontColor(Color c) {
                    //not sure how to do this part aswell.
                   //i know a method " g.setColor(c)" exist but i need to use a graphics object - and to do that i need to pass it in (then it will cause some confusion in the main class (previous code)
           My problems have been highlighted in the comments of code above.
    Any help will be much appreciated thanks!!!

    It is the completely correct code
    I hope that's what you need
    Just put DrawingBoard into JFrame and run
    Good luck!
    public class DrawingBoard extends JPanel implements ActionListener{
         private String message = "message";
         private Font font = new Font("Serif", Font.PLAIN, 10);
         private Color color = Color.RED;
         private Color bg = Color.WHITE;
         private int size = 10;
         public DrawingBoard(){
              JComboBox cbFont = new JComboBox(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames());
              cbFont.setActionCommand("font");
              JComboBox cbSize = new JComboBox(new Integer[]{new Integer(14), new Integer(13)});
              cbSize.setActionCommand("size");
              JComboBox cbColor = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbColor.setActionCommand("color");
              JComboBox cbBG = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbBG.setActionCommand("bg");
              add(cbFont);
              cbFont.addActionListener(this);
              add(cbSize);
              cbSize.addActionListener(this);
              add(cbColor);
              cbColor.addActionListener(this);
              add(cbBG);
              cbBG.addActionListener(this);
         public void setMessage(String m){
              message = m;
              repaint();
         protected void paintComponent(Graphics g){
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D)g;
              g2.setColor(bg);//set background color
              g2.fillRect(0,0, getWidth(), getHeight());          
              g2.setColor(color);//set text color
              FontRenderContext frc = g2.getFontRenderContext();
              TextLayout tl = new TextLayout(message,font,frc);//set font and message
              AffineTransform at = new AffineTransform();
              at.setToTranslation(getWidth()/2-tl.getBounds().getWidth()/2,
                        getWidth()/2 + tl.getBounds().getHeight()/2);//set text at center of panel
              g2.fill(tl.getOutline(at));
         public void actionPerformed(ActionEvent e){
              JComboBox cb = (JComboBox)e.getSource();
              if (e.getActionCommand().equals("font")){
                   font = new Font(cb.getSelectedItem().toString(), Font.PLAIN, size);
              }else if (e.getActionCommand().equals("size")){
                   size = ((Integer)cb.getSelectedItem()).intValue();
              }else if (e.getActionCommand().equals("color")){
                   color = (Color)cb.getSelectedItem();
              }else if (e.getActionCommand().equals("bg")){
                   bg = (Color)cb.getSelectedItem();
              repaint();
    }

  • How can I merge documents with layout written with pages? How can I copy pages-document with layout and paste it into another pages document?

    Hi
    I am working with pages for a book and have made already a layout whre photos and graphs etc. are partly outside of the area for the text, their posotion is not fixed the the text.
    And now I nedd support: When I add text or a photo to the layout the text moves and the unfixed photos etc. keep there position. This means I have to update each photo or graph to shift it to the new position ore I have to place photos etc. within the frame of the text, which is not the kind of layout I am going for.
    I hope for two reliefs, which I do not know how to realize it.
    1. If I specify each chapter as a new partition starting with own page (then I hoped) the new section would shift together into a new page and the positions of photos etc. and text would stay fix. But unfortunately this seeems not to be the case. Question: is this possibe orno? If yes, how to do it?
    I could divede the whole txt chapter by chapter into individual documents, which are seperatly created and worked. At the end I would have to merge all this document into one. Is it possibe to merge different pages-document into one document?
    Who can help me?
    Thanks Hartmut

    Images and other object can either be floating or be inline. Yours are floating and will not move with the text. Inline object will move with the text but can't be outside the text layer. It doesn't help if you have created section in the document. Floating images doesn't care. Nor will it help if you create several documents that you want to merge later. Doesn't make any difference.
    My suggestion is that until your text is finished you have the images inline. Then as a last editing you can start make the images floating and move them a little.

  • Can you help me with Page Layout and/or Design ideas for a software manual?

    Greetings,
    I am a new InDesign user, and am converting a software manual that I created in MS Word into InDesign. It will be converted to a pdf to view online. I have the basics (3 master pages, page numbers, running headers, 2column pages with text boxes on the left and screenshots on the right), but I want to make it look prettier. Could you please give me some ideas on page layout and/or design to make it look better or more creative?
    A few things that I am considering: borders around screenshots, a watermark, a logo next to the page numbers, different size/type of fonts, etc.
    I am open to any suggestions to make this look better. However, please understand that I am new to InDesign. With that being said, please tell me a few steps when you mention your tips. Thank you!

    Take a look at a few websites on Cannons of Page Construction.
    I think the best idea for you is to look at a few software manuals and take tips from how they accomplished the layouts.
    I'm not saying to copy them - but rather see what works and doesn't work, what worked for them might not necessarily work for you - research some layouts.
    Fonts/type/sizes etc. are pretty much ambigious without context - is this a software manual for kids (soft cuddly big fonts easy to read), technical (small, tight spacing etc), Adult friendly (smooth, crisp clear, well spaced), elderly (large elegant fonts).
    It all really depends on your demographic audience.
    Being new to InDesign I suggest you take up Sandy Cohens Quickstart Visual Guide.
    I think you should look at Michael Murphys Book on Styles
    And you should definitely get your printer (the guys bulk printing) the booklet for you on board from the start to work out optimal sizes to suit their printing presses and workflow etc. And to ensure that you are setup correctly in page sizes, margins, safe type areas, colour profiles and a few other things that your printers prepress can help you with.

  • HP LaserJet and Color LaserJet - Windows 7 support

    To help customers successfully use their products with Windows 7, HP has identified recommended drivers per product. Please visit the following support documents for more information:
    HP LaserJet and Color LaserJet - Windows 7 support
    Deskjet, Officejet, or Photosmart
    If you are having an issue with a windows 7 software install or driver, please start a new thread for greater visability.
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

    Not to be confused with the title of this thread, because this tool will not work with installing most LaserJets, but try the HP Printer Install Wizard and let me know any error messages you get.  
    I will need to know quite a bit of information before I can be of much assistance, otherwise:
    1.  What error messages are you getting (ex. fatal error 1603)?
    2.  How are you trying to connect the printer (USB, wireless, etc)?
    3. What happened when you used the HP Print and Scan Dr?
    Lastly, If you do not answer these questions and others I know I will have, then I wish you the best of luck with your printer installation. Do not be mislead, just because I do not work for HP doesn't mean I'm not an expert.
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Is there a way to apply LUT's to a photo in Lightroom?  Such as .cube, Vision Color, etc.

    Is there a way to apply LUT's to a photo in Lightroom?  Such as .cube, Vision Color, etc.  I have some film stock and Osiris LUTs I like to use for video that I'd love to apply to RAW still photos in Lightroom.  I know it's possible in Photoshop CC but the process would save me time if it's possible to easily do in Lightroom 5.  Anyone know?

    Unfortunately, you can't do it in LR.  You could add your vote and opinion to this topic in the official Adobe feedback forum: Lightroom: Ability to use 3D LUTs.

  • Check image resolution and color

    Please let me know whether it is possible to get the image resolution and color used in a eps file.
    regards,
    Sashi

    You can specify the resolution for exporting, for document etc but resolution of the raster objects can not be retrieved.
    Color space of the raster object can be retrieved using the rasterItems : colorants or imageColorSpace properties  

  • Writers - please help with page layout and headers/footers in Pages

    Hello
    Apologies if this is a stupid question, but I have fiddled around with my page layout and can't figure this out for myself!
    When I type a manuscript, I like to have a header and footer giving the book title, chapter, my name, etc. I'm finding that the header and footer is set to a wider range than I have set the main body of the page. Would you leave it that way, so that it is easily differentiated from the actual text, or would you align the left and right margins on the header and footer to match the body of the text? And if so, how do you do this please?
    Secondly, I can't figure out how to increase the top and bottom gap so that there is a good space between the header and the first line of text.
    Any advice would be gratefully received!
    Thank you!

    rainbow-warrior wrote:
    When I type a manuscript, I like to have a header and footer giving the book title, chapter, my name, etc. I'm finding that the header and footer is set to a wider range than I have set the main body of the page. Would you leave it that way, so that it is easily differentiated from the actual text, or would you align the left and right margins on the header and footer to match the body of the text? And if so, how do you do this please?
    I don't understand what you did.
    When we use the normal tools:
    Inspector > Document > Margins, the widths of header, body and footer are the same.
    Secondly, I can't figure out how to increase the top and bottom gap so that there is a good space between the header and the first line of text.
    With the already named tools, we may adjust top & bottom margins with no change on the header & footer.
    As I often wrote, looking in the PDF User Guide which is delivered with every copy of iWork is an efficient way to spare time.
    Yvan KOENIG (from FRANCE mardi 7 octobre 2008 14:08:55)

  • [J2ME MIDP 2.0] Alert, how to use fonts and colors?

    good morning,
    does anyone know in which way I can use colors in an alert pop-up?
    I've done my on using the code below. I would like to have text and images centered in the screen display and I would also like to use the colors I'm using in the application I'm writing.
    thx in advice,
    Omar
    private void alertDisplay(String s){   
        Alert a = new Alert("Location set to " + s.toUpperCase());   
        if(s.startsWith("H"))
          a.setImage(hOn);
        else
          a.setImage(oOn); 
        a.setString("Actual Location: " + s.toUpperCase());
        a.setTimeout(2000);
        a.setType(AlertType.INFO);
        Display.getDisplay(this).setCurrent(a);
        Display.getDisplay(this).vibrate(1000);
        Display.getDisplay(this).flashBacklight(1000);
      }

    Hi,
    The way how an Alert looks like cannot be influenced. When setting an image, you cannot indicate where that image should be placed. When setting a certain message text, you cannot influence its colour, its font and its allignment...
    The colour and font properties are theme / skin dependent on your mobile. When switching your mobile to another theme, then you will notice that your Alerts (and Forms and Lists, etc etc...) are coloured (titlebar, command softkeys, textfields) according to that theme.
    Cheers,
    Jasper

  • How do I make categories under My Templates, as is done in page layout and word-processing?

    How do I make categories under My Templates, as is done in page layout and word-processing? I have over 50 of my own templates and want to categorize them. For example: son's homework, business, etc. Thanks

    Here are some screenshots of my organization. Your sub-folders need to be in the same folder as My Templates, NOT in My Templates which is confusing.

Maybe you are looking for

  • How can we change delivery document while doing shipment

    Hi all, How can we change delivery document in background while changing shipment document.My requirement is to change the netweight in delivery while doing shipment.Actually it gets blocked when we open the shipment. Thank You, Regards,

  • About Drag and drop issue

    As title, i am a newbie to flash using ActionScript 2.0 , and currently i enounter the problem with drag and drop coding. Below is my code: function dragSetup(clip, targ, position) { clip.onPress = function() { startDrag(this); clip.x +=2; clip.swapD

  • Search help to a field of a selection screen

    how do we add a search help to a field of a selection screen..??

  • Document types - PO

    Hi, What could be the use of defining two or more z-document types for standard purchase orders. What are the factors influenced by document types. Thanks and regards Aparna

  • Printing pop-ups and hidden layers

    I have a pdf document with multiple layers that only pop-up when you click on the corresponding button. Since I planned on distributing this pdf to different people, I wanted to see if there was a way that users could print a printer-friendly version