Incorporating Spatial Data and maps

I am trying to figure out how to create a map from spatial data w/in forms9i, but I can't find any documentation. Has anyone been succesful at this?
Thanks,
Jeremy.

to use read_image_file() to show map on form is to show the map as static image, user cannot click ROOM IN button, then click a point on the image to show the details.
so to get it inside form and want the map to respond like on browser is interested feature to know, and also the download time and performance if finally done inside form is a big question mark too.
simply running the mapviewer on browser is properly the better way compared to invoke it inside form.

Similar Messages

  • Spatial Data and XML metadata

    My project involves storing various types of spatial data in Oracle 8i. There is also going to be metadata collected for each project. The purpose of the metadata will be for discovery and retrieval of the spatial data. I would like to store the metadata entries (using WebDB to create entry form) as XML documents. What is the best way to create XML metadata from a HTML form? It appears that the new Xforms from W3C may accomplish this, although it's not really a standard yet. Also, it there a way to send the spatial data from a form created by WebDB? Would the XML metadata be stored in the spatial DB with the data or in a separate "metadata repository"? How would the metadata be attached to the data for query and discovery/retrieval? I appreciate any feedback. Thanks.

    Jonrka1,
    Spatial already uses a metadata table called user_sdo_geom_metadata where you need to store metadata for all of your spatial tables. Oracle spatial currently does not support metadata in XML format although it is being actively investigated in conjunction with Oracle 8i Spatial XML server. With the XML server you will be able to retrive spatial (and attribute) data as well as update the spatial table using XML.
    Check OTN often for announcemnets on the XML server and related products.
    For your customized XML spatial metadata you can store it anywhere (with a spatial db or in a separate repository), and you will have to maintain the link between the metadat and the real data yourself.
    LJ
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jonrka1 ():
    My project involves storing various types of spatial data in Oracle 8i. There is also going to be metadata collected for each project. The purpose of the metadata will be for discovery and retrieval of the spatial data. I would like to store the metadata entries (using WebDB to create entry form) as XML documents. What is the best way to create XML metadata from a HTML form? It appears that the new Xforms from W3C may accomplish this, although it's not really a standard yet. Also, it there a way to send the spatial data from a form created by WebDB? Would the XML metadata be stored in the spatial DB with the data or in a separate "metadata repository"? How would the metadata be attached to the data for query and discovery/retrieval? I appreciate any feedback. Thanks.<HR></BLOCKQUOTE>
    null

  • Spatial Data and Calc Views

    Hi there,
    I've been wondering if there is currently any way to use Spatial Data in Calculation or Analityc Views, to summarize or join data by Spatial Columns, and using Spatial methods in Hana SPS07? If so, could you provide some example?
    Thanks in advance.

    Jonrka1,
    Spatial already uses a metadata table called user_sdo_geom_metadata where you need to store metadata for all of your spatial tables. Oracle spatial currently does not support metadata in XML format although it is being actively investigated in conjunction with Oracle 8i Spatial XML server. With the XML server you will be able to retrive spatial (and attribute) data as well as update the spatial table using XML.
    Check OTN often for announcemnets on the XML server and related products.
    For your customized XML spatial metadata you can store it anywhere (with a spatial db or in a separate repository), and you will have to maintain the link between the metadat and the real data yourself.
    LJ
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jonrka1 ():
    My project involves storing various types of spatial data in Oracle 8i. There is also going to be metadata collected for each project. The purpose of the metadata will be for discovery and retrieval of the spatial data. I would like to store the metadata entries (using WebDB to create entry form) as XML documents. What is the best way to create XML metadata from a HTML form? It appears that the new Xforms from W3C may accomplish this, although it's not really a standard yet. Also, it there a way to send the spatial data from a form created by WebDB? Would the XML metadata be stored in the spatial DB with the data or in a separate "metadata repository"? How would the metadata be attached to the data for query and discovery/retrieval? I appreciate any feedback. Thanks.<HR></BLOCKQUOTE>
    null

  • Spatial data and 8i versions?

    Is the Spatial Data option only available with the 8i Enterprise edition or is it also available with the 8i Standard edition?

    Spatial is only available
    with Enterprise edition.
    null

  • TimesTen and Geo-spatial data

    Can TimesTen support geo-spatial data (and datatypes) as supported in Oracle? For example, if one created a set of Oracle tables that held geo-spatial data, could TimesTen be used in its "caching" form to speed geo-spatial queries?
    Thanks!
    --rick grehan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    No, sorry. TimesTen does not support Geo-spatialo datatypes or functions.
    Chris

  • Development tools for using Spatial Data

    Hi everyone,
    What are the best tools that are used to develop the spatial applications that you guys are using/developing? Should I get something like eSpatial, or just develop in notepad?? Is there something else that uses your spatial data and can generate maps based on your data in your database?
    Any suggestions are appreciated.
    Thanks!
    -Scott

    Hi Daniel,
    Thanks!
    I am looking to develop a map of the US that shows the locations of military bases that we are responsible for monitoring. This map will have an icon near the name of each of the bases that is colored depending on if a trouble ticket has been created due to an outage or problem at the location. Example, red for a network outage, green if nothing is going on. What I am struggling with is where do I get all the geometry to create the map of the US, or can I just use images that are already created and specify the X and Y on that image and use long/lat of the bases and create the locations. This is not a topic I have a lot of experience in as you can see, but it is something I have been assigned to work on.
    Thanks!
    -Scott

  • DISPLAY SPATIAL DATA USING JDBC ON A JAVA FRAME

    I am trying to set up some spatial data and need help in getting some sample
    code for displaying the data on a Java Frame using JDBC.
    The shapes I am setting up are simple polygons, lines, circles. I was going
    through the samples in the demo directory under $ORACLE_HOME/md/demo/examples, but could not find any JDBC
    I would really appreciate if you can point me towards some sample code and any other spatial resources.
    Madhukar

    Here you go. It uses JDBC to fetch geoms, convert them into Java JGeometry objects, which then create Java2D shapes (these are functions of the public sdoapi.jar library). It then uses some class in the sdovis.jar library (the rendering engine of MapViewer) to setup the necessary viewport transform. If you know how to setup the viewport transform, then you dont even need sdovis. sdovis.jar is found in an deployed MapViewer's WEB-INF/lib directory. Or you can extract it from the mapviewer.ear's web.war file.
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.sql.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.util.*;
    import oracle.jdbc.OracleDriver;
    import oracle.sdovis.*;
    import oracle.sdovis.style.*;
    import oracle.sdovis.util.*;
    import oracle.spatial.geometry.JGeometry;
    import oracle.sql.STRUCT;
    * A very simple program that shows stuff from db in a JFrame
    * <p>
    public class tilsvgui2 extends JFrame
      final static int mapWidth  = 640;
      final static int mapHeight = 480;
      static JSDOGeometry geom = null;
      public tilsvgui2()
        setSize(mapWidth+40, mapHeight+40);
                    setVisible(true);
        this.addWindowListener(new java.awt.event.WindowAdapter() {
          public void windowClosing(WindowEvent e) { System.exit(0); }
            public void paint(Graphics g)
                    super.paint(g);
        int w = this.getWidth(), h = this.getHeight();
        Insets inset = this.getInsets();
        double[] mbr = geom.getMBR();
        //from sdovis; it will setup the viewport transform
        XFViewPort xfp = new XFViewPort();
        xfp.setDeviceView(inset.left, inset.top, w-inset.left-inset.right-1, h-inset.top-inset.bottom-1);
        xfp.setDataView(mbr[0], mbr[1], mbr[2], mbr[3]);
        AffineTransform af = xfp.getAffineTransform();    //get the viewport transform
        Shape shp = geom.createShape(af);    //create a proper shape that fits the viewport
        Graphics2D g2 = (Graphics2D) g;
        g2.setColor(Color.red);
        g2.drawRect(inset.left, inset.top, w-inset.left-inset.right-1, h-inset.top-inset.bottom-1);
        //draw the shape itself
        g2.setColor(Color.blue);
        g2.draw(shp);
      public static void getStuff() throws Exception
        System.out.println("Loading geometry...");
        Connection conn = getConnection("mapsrus.us.oracle.com", "1521", "orcl", "scott", "tiger");
        Statement  stmt = conn.createStatement();
        ResultSet  rset = stmt.executeQuery("select geom, totpop from counties where county='Merrimack' and state_abrv='NH'");
        while(rset.next())
          STRUCT st = (STRUCT) rset.getObject(1);
          geom = JSDOGeometry.loadFromDB(st);
          int population = rset.getInt(2);
          break; //displaying only the first geometry
        rset.close();
        stmt.close();
        conn.close();
      private static Connection getConnection(String host,
                                              String port,
                                              String sid,
                                              String username,
                                              String password)
        throws SQLException
        String thinConn = "jdbc:oracle:thin:@"+host+":"+port+":"+sid;
        Driver d = new OracleDriver();
        Connection conn = DriverManager.getConnection(thinConn,username,password);
        conn.setAutoCommit(false);
        return conn;
      public static void main(String[] args)
        try{
          getStuff();
        }catch(Exception e)
          e.printStackTrace(System.err);
        new tilsvgui2();
    }

  • Exporting non spatial data

    Hi,
    We are migrating our geodatabase from oracle 9i to 11g R2, in our current 9i DB we have same schema for spatial and non spatial data,we want to seperate the spatial and non spatial data during migration to 11gR2 DB.Is there any way through which we can extract only non spatial data and can import it to new schema without loosing any relationships/data.
    Regards,

    Hi
    Do you wants to separate the spatial data and non spatial data into two different table spaces or two different schema ?. if you're trying to move non spatial data to a different schema then definitely you need to do some changes . at least create some synonyms with appropriate grants to work normal.
    if you wants to move it to a different table space then it's easy .
    *1. Create the tables definition for non spatial data related table using new tablespace*
    *2. grant the realted user the quota on the new tablespace*
    *3. start the import using ignore=Y*
    Cheers
    Kanchana.

  • Spatial data through JDBC driver

    Hi,
    I have a spatial table which has polygon, linestring and points stored in the geometry column. Is there any API available to know whether the stored data is ploygon/point/linestring. I am using thin JDBC driver to connect to Oracle. Also are there APIs available to get the coordiniates, offset etc from polygon. Please let me know if there are any tutorials/examples available for working with spatial data and JDBC driver.
    Smitha

    Hi,
    You could use Oracle Spatial Java Class Library, available at: http://www.oracle.com/technology/software/products/spatial/index.html
    It is quite easy to use it.
    Regards,
    Andrejus

  • Google Map Spatial Data

    Hi ,
    I am trying to implement OBIEE map viwer using google mpas.How can i get the google spatial data?
    Thanks

    Hi, thank you for replay.
    I have a Google Map tile layer. I'm building an HTML document that contains it. I want to represent geometries on. Geometries has been built taking coordinates from Google Map. I implemented this function to show the coordinates of the Google tile layer, where the mouse is:
    +...+
    mapview.addMapTileLayer(GoogleMapTileLayer);
    +...+
    mapview.attachEventListener(MVEvent.MOUSE_MOVE, mouseMove);
    +...+
    function mouseMove()
    +{+
    var mouseLoc = mapview.getMouseLocation();
    var locStr = mouseLoc.getPointX() ', ' + mouseLoc.getPointY() ;+
    +     document.getElementById("mouseMove").innerHTML= locStr;+
    +}+
    But coordinates I'm seeing with this function are not the same displayed by Google Map and I need it. And I think it's a problem of SRID because it is projected in EPSG:3857 ¿no?. But I want to project the Google Map tile layer in EPSG:4326, that is, the same Google Map SRID.
    It is an Oracle Maps application with a MVGoogleTileLayer and the data to be displayed are in some ThemeBasedFOI.

  • Create two or more data sources and mapping to DSO

    Hi,
    I´m using SAP Netweaver BI 7.0.
    If there are two or three data sources which have to be mapped to DSO which field from Data Sources has to be mapped to which field in DSO?
    Is it possible to have only one DSO or should it be three DSOs because of the three Data Sources?
    The thing is I have created one view out of three tables. For the view I have created one DSO. Everything worked fine. But now the requirements have changed because of currencies.
    The view I have created is now mixing currencies because in the view is only one currency field, which is filled from the three tables. Two tables have different currencies and one table has one currency.
    The one currency of the one table is important and should stay like it is.
    I´m thinking about something like three different currency key fields in DSO which are mapped from data source. Also for every field of data source mapping with corresponding field in DSO.
    Some hints? I have found articles in SDN about creating data sources and so on but they don´t help me in this matter.
    Thank you in advance!

    Thank you guys for explaining! I´m new to SAP BW and trying to better understand.
    I`ll try it also with the view. It sounds "easier".
    But if I´m doing it with the 3 data sources, that means that for each currency field of the data source I will need an corresponding currency field in the DSO for mapping.
    Is it possible to have 3 times the 0Currency field in the DSO and each data source currency field will be mapped to the DSO?
    If that would work the 0Currency has to be contained in the key figures.
    But if the 0Currency is contained in each key figure will the assignment of currency work correct?
    +For example:+
    Data Source1:
    Turnover in Euro.
    (All currency is in Euro)
    Data Source2:
    Profit in Dollar.
    Profit in Euro.
    Profit in Yen.
    Profit in different currencies available.
    Data Source3:
    Sales in Dollar.
    Sales in Euro.
    Sales in Yen.
    Sales in different currencies available.
    For mapping from DataSources to DSO if it is possible to have 3 times 0Currency in DSO:
    Data Source1 currency fiield ---> DSO 0Currency
    Data Source2 currency fiield ---> DSO 0Currency
    Data Source3 currency fiield ---> DSO 0Currency
    Does it make sense?

  • Data from a file need to be read and mapped  into a custom table of R/3

    Hello all,
    This is related to inbound to  SAP ECC via SAP PI.
    There is a requirement concerning PI part that data from a file need to be read and mapped  into a custom table of R/3.
    To have this scenario developed , do we have any other  option than the Proxy ?
    My understanding is as follows : File --> SAP PI --> Proxy
    You suggestions are welcome.
    Regards,
    Rachana

    Hi Ravi,
    As suggested by Inaki, you can use proxy communication in recever.
    but you can also use the below
    FILE -----> PI -------> PROXY
                                  RFC
                                  IDOC
    to communicate to ECC system.
    Regards
    srinivas

  • Data Type, Message Type and Mapping for FTP

    Thanks in advance for your replies.
    As our first production XI scenario, we need to move several (at least 46) files from our SAP instance to a couple of different servers to support our legacy systems.  Once all locations are on SAP this requirement should go away.
    I only want to pick up the file from the one server and place it on the other and this leads me to some questions.
    How do I define the Data Type and Message Type for each of the files?   Do I need to consider the size of the record in each interface and create DT/MT with different sizes.
    Do I need a mapping program that simply maps one structure to the other?

    I recently completed a similar exercise.
    It looks like this...
    server1 ftp (Sender - delete file) - XI - Server2 ftp (receiver - create file).  This will move the file from one server to another.
    I used the same schema and mapped fields on a one to one basis.
    The Size of the files I process are between 6kb and 500kb each, but the mapping/fields remain constant, just the numebr of items change.
    Worked seemelessly for the last three weeks (since go-live)

  • Retrieving spatial and non spatial data in one query

    Hello. I am having slight difficulties using JDBC to retrieve both spatial and non spatial data in the same query. The following is code from a sample program of mine that retrives spatial data from spatial tables.
    (In spatialquery geom is a geometry column and city is simply the name of the city):
    try
    Geometry geom = null;
    String database = "jdbc:oracle:thin:@" + m_host + ":" + m_port + ":" + m_sid;
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    con = (OracleConnection)DriverManager.getConnection(database, sUsername, sPassword);
    GeometryAdapter sdoAdapter =
    OraSpatialManager.getGeometryAdapter("SDO", "8.1.7", STRUCT.class, null, null, con);
    String spatialquery = "SELECT a1.geom, a1.city \n" +
    "FROM cities a1";
    Statement stmt = con.createStatement();
    OracleResultSet rs = (OracleResultSet) stmt.executeQuery(spatialquery);
    int i = 0;
    int noOfFeatures = 2;
    while (rs.next())
    for(i = 1; i <= noOfFeatures; i++)
    STRUCT dbObject = (STRUCT)rs.getObject(i);
    try
    geom = sdoAdapter.importGeometry(dbObject);
    catch(GeometryInputTypeNotSupportedException e)
    System.out.println("Input Type not supported");
    catch(InvalidGeometryException e)
    System.out.println("Invalid geometry");
    System.out.println(geom);
    }//end while loop
    This retrieves the sptial data fine, however when I attempt to retreive the non-spatial data I keep getting a "ClassCastException" error. I understand it is something to do with "STRUCT dbObject = (STRUCT)rs.getObject(i);" line. Can anyone tell me how to retrieve both spatial and non-spatial data in the one query using JDBC. I have tried nearly everything at this stage. Cheers joe

    Theresa A Radke
    Posts: 20
    OTN Member Since: Jul, 2001
    retrieving spatial and non spatial in same query. May 23, 2003 12:02 AM
    retrieving spatial and non spatial in same query.

  • I installed a game, where can i find the files and maps? where does iMac store this data?

    I installed a game,Now I need to add some files however, I cannot find where iMac stores it.. where can i find the files and maps? where does iMac store this data?
    thx alot
    erik

    Depends on game, i would look first on the game file itself, right click (or ctrl click) the game file you installed (Applications?) and select show package contents, its usually a application bundle, as in basicly a folder where the application and the required files and subfolders are.

Maybe you are looking for

  • How can i print a JTree ?

    Hi, I am trying to print a JTree in a TreeTable. I only get the header and footer info but not the tree content. But when used a tablemodel as my data model, it is printing the table with data. Can anyone please help me in getting the table printed a

  • Converting spool request into PDF forms

    Hi gurus i am working on upgrade project from 4.6C to ECC 6.0. Business had the functionality developed in 4.6C to " Convert the spool request into PDF forms and can be downloaded into local PC". Moving to ECC 6.0, is there any standard functionality

  • Workflow manager url for OWB 9.2

    Hi, I know the URL for work flow manager for 2.6.3 installed in unix. That is http://<ip>:<port>/WFMGRWebApp/uix/oam/wfm/wfmLogin Now,..I installed 2.6.2 in Windows with OWB 9.2. Could anyone plz tell, what's the URL for workflow manager? Any help wo

  • OVI Mail - Abandoned too?

    What's happening around with OVI Mail? Don't think I'm the only one to find the service being left behind. No updates or anything. Or maybe noone uses OVI mail anymore Nokia ported everything of OVI Mail for Yahoo to manage. Thought it was done becau

  • PC suite upgrade calendar duplicates

    Since upgrading to the latest version of PC suite, everyime my phone syncs with my PC I get an "additional" copy of every outlook meeting added to my E61 calendar. This has never been a problem before the latest upgrade. e.g. I have 1 copy of a 10am