Problem in Connection between MapServer and Oracle Spatial

Hi Everybody,
First i thanks Dan Abugov for quick reply fr my previous query.
I am working on the Oracle Spatial and MapServer
I want to clear that MapServer is not Oracle MapViewer, this is Open Source UMN MapServer.
When I pass the query(shown below), the empty image is displayed in the browser without any map
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/sdocountry/sdocountry.map&layers=country&mode=map
I created .map file (shown below) with the Oracle Spatial Connection.
MAP
DEBUG ON
STATUS ON
SIZE 800 600
UNITS dd
IMAGECOLOR 255 255 255
PROJECTION
"proj=latlong"
"ellps=WGS84"
END
EXTENT -180 -45 180 45
LAYER
DEBUG ON
PROJECTION
"proj=latlong"
"ellps=WGS84"
END
NAME "CountryMap"
TYPE POLYGON
CONNECTIONTYPE oraclespatial
CONNECTION "world/land@orcl"
DATA "shape FROM country USING SRID 8307"
CLASS
NAME "Country_Class"
STYLE
COLOR 250 250 0
OUTLINECOLOR 32 32 32
END
END
END
END
And Set the environment variable in the apache/conf/httpd.conf file as
SetEnv ORACLE_BASE "d:/oracle/product/10.2.0"
SetEnv ORACLE_HOME "d:/oracle/product/10.2.0/db_1"
SetEnv ORACLE_SID "orcl"
SetEnv TNS_ADMIN "d:/oracle/product/10.2.0/db_1/network/admin"
This is the my whole Sample code and configuration, I dont know why the map image is not generating.
I am not receving any error message.
MapServer for windows (ms4w) binaries is downloaded from "maptools.org"
System configuration
Windows 2000 Advanced Server
Oracle 10g with Oracle Spatial
MapServer 4.6.1
Apache/2.0.55 (Win32)
I am waiting for the some solution, from you to over come this problem.
Thanks & Regards,
Prema Selvam
GISbiz.

Prema,
If you haven't already, you may want to post this same question to one of the MapServer mail lists (http://mapserver.gis.umn.edu/community/mailinglists/) - most MapServer users/developers are very quick to respond as well.
-Justin

Similar Messages

  • How to make connection between ASP and Oracle 8i

    Dear Helper,
    I have a problem about how to make the connection between ASP and
    Oracle 8i. If you have this idea, please help me to solve this
    problem. Thank You!!!
    null

    You must install Oracle Objects for OLE.
    After this in asp-script you may use following instructions
    1)initialization
    <%
    Set Session("OraSession") =server.CreateObject
    ("OracleInProcServer.XOraSession")
    set Session("OraData") = Session("OraSession").OpenDatabase
    ("service", "scott/tiger",0)
    %>
    2)open Dynaset
    <%
    Set EmpDynaset = Session("OraData").CreateDynaset("select 1 as
    f1, 2 as f2 from dual", 0)
    %>
    3)navigation
    <%EmpDynaset.MoveFirst%>
    <%EmpDynaset.MoveNext%>
    <%EmpDynaset.EOF%>
    4) Field access
    <%=EmpDynaset.Fields(1).value%>
    5) Sql execute
    Session("OraData").ExecuteSQL("delete xxx")
    Best regards.
    null

  • Mapserver and oracle spatial 8i...

    hi, i want to connect the mapserver software with oracle spatial 8i ??
    can ??
    if can, how to do that ???

    I've seen MapViewer work with 8i. You still need a 9iAS release 2 license,
    and on Oracle8i you will need a spatial license as well.
    You'll need mapviewer and standalone OC4J.
    I'm assuming mapserver=MapViewer

  • Unable to establish connection between JDeveloper and Oracle BPA

    Hi,
    I have the jdeveloper as well as the oracle bpa installed.
    When I try to establish the connection for bpa within jdeveloper, i am unable to do so.
    I checked the connection within jdeveloper, BPA Server connection. it gives a result 'Test succeeded. After that when i click the ok button on the dialogue box, it does not close the dialogue box and allow me to proceed further.
    Any help would be appreciated
    Thanks
    krish

    Jdeveloper version is 11g and Oracle BPA Suite is 11gR1.
    Thanks

  • JDBC connection between android and oracle apps

    Hello.
    I am new to oracle apps and android. But the coding of android is in java.
    I want to create a application in which i want to connect oracle apps with my application of android written in java.
    I am sending code which is not working but not having error too.
    **************************** Connection class ******************************
    import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class getConnection { public static Connection getDBConnection(){     Connection con;     con=null;     try{         Class.forName("oracle.jdbcdriver.OracleDriver");     } catch (ClassNotFoundException e) {         System.out.println(e);     }     try {         String url="Host String:1523:SID";         con=DriverManager.getConnection(url,"XXXX","XXXX");                 if(con!=null){             System.out.println("Connection Successfull..."+"\n");         }else{             System.out.println("Connection Failed.....");         }     } catch (SQLException e) {         System.out.println(e);     }     return(con); } }
    ******************************** Main CLass *************************************
    import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import android.os.Bundle; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.app.Activity; import android.view.View; import android.view.View.OnClickListener; public class Main extends Activity implements OnClickListener{ private EditText etUsername;     private EditText etPassword;     private Button btnLogin;     private Button btnCancel;     private TextView lblResult; /** Called when the activity is first created. */     @Override     public void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.main);                 etUsername = (EditText)findViewById(R.id.username);         etPassword = (EditText)findViewById(R.id.password);         btnLogin = (Button)findViewById(R.id.login_button);         btnCancel = (Button)findViewById(R.id.cancel_button);         lblResult = (TextView)findViewById(R.id.result);             btnLogin.setOnClickListener (new OnClickListener() {         public void onClick(View v) {         Connection con = null;                 PreparedStatement stmt = null;                 ResultSet rs = null;                 int n=0;                 lblResult.setText("Hello.");                 con=getConnection.getDBConnection();                 lblResult.setText("After Connection");                 String query = "select object_id from all_objects where object_id=18";                         try {                     stmt = con.prepareStatement(query);                 } catch (SQLException e) {                     // TODO                     System.out.println(e);                 }                 try {                     rs = stmt.executeQuery();                 } catch (SQLException e) {                     // TODO                     System.out.println(e);                 }                 try {                     while(rs.next()){                         n = rs.getInt("OBJECT_ID");                     }                 } catch (SQLException e) {                     // TODO                     System.out.println(e);                 }                                 // Check Login         String username = etUsername.getText().toString();         String password = etPassword.getText().toString();                         if(username.equals("U_Name") && password.equals("Pass") && n==18){         lblResult.setText("Login successful.");         } else {             lblResult.setText("Login failed. Username and/or password doesn't match.");             }         }         });         btnCancel.setOnClickListener(new OnClickListener() {         //@Override         public void onClick(View v) {             // Close the application             finish();         }         });     } public void onClick(View v) { // TODO Auto-generated method stub } }
    I am doing this in Eclipse.
    Help me out as soon as possible.
    Thank You.
    Edited by: EJP on 12/07/2012 16:05: added {noformat}
    {noformat} tags. Please use them.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    >
    I am sending code which is not working but not having error too.
    >
    Who do you think you are kidding? That code couldn't possibly run without errors.
    The first thing you need to do is learn how to connect to an Oracle database using Java on your pc. Then you can start branching out.
    Review the JDBC Developer Guide for how to connect to Oracle databases using Java.
    http://docs.oracle.com/cd/B28359_01/java.111/b31224/urls.htm#BEIJFHHB

  • Problems of connectivity between IpodNano and PC

    Hi everyone,
    I'm writing because I have a simple problem and I can't seem to find the solution.
    When I connect my Ipod to my personal PC (via usb) nothing happens. I have Itunes installed, upgraded, but I have absolutely no reaction (not even a folder open like when you plug a usb key).
    I have tried to plus into all usb plugs and still nothing.
    And it is not a problem with my ipod:
    -When I plug into a friends pc it works (with itunes)
    -When I plus into my work pc it works (no itunes, but the pc recognize an external device)
    -And I also tried to plug it into a laptop...works fine
    Is there something special that can block the ipod from being recognized (like anti-virus I don't know)
    Thanks a lot!

    I have the exact same problem. Read somewhere that the latest version iTunes has problems with Windows XP. Not sure whether that's what it is.

  • SVG and Oracle Spatial

    Hi,
    We plan to develop a SVG based viewer for Oracle Spatial. But maybe there exist free components or similar experiences.
    Is there any existing interface between SVG and Oracle spatial ?
    Is it necessary to combine SVG with GML ?
    Regards

    We have done this at FT by designing a mapping between SDO_GEOMETRY types and
    SVG elements (eg point -> <text>; multipoint <g><text>...</g>) etc.
    From this we let a contract to an external company (www.geometryit.com) who programmed
    up some Java classes that allowed us to go from SDO_GEOMETRY <-> SVG. These were then
    deployed within the database with before insert etc triggers automatically mapping between
    the two (the SVG is stored alongside the SDO_GEOMETRY as a CLOB).
    I can send you our documentation on this.
    If you want access to the Java code, contact Andrew Betlehem at Geometry.
    regards
    Simon

  • How to establish an Oracle connection between server1 and server2

    I am trying to establish an Oracle connection between server1 and server2 specifically, while logged into server2 launch OEM on server1. Can anyone help me out here on establishing this connections between the 2 servers. thank you inadvance

    I am assuming this is 10g.
    Same way you connect from your desktop to the server using the URL (e.g http://server1:1158/em).
    But you have to ensure that server2 can see server1. They cannot see each other, then it is not OEM problem.
    if it is not 10g, then let me know

  • No connection between iPhone and computer

    I have No connection between iPhone and computer. Please help me. My iPhone (4s) went nuts a little while ago. Nothing happend when I connected the charger. I had to take out and put it back in again and again and again, between 2-10 times before the charger finally was connected. It's been like this for a while now and a did'nt really have that mutch problem with it. Until today when I tried to sync/backup/restore the whole phone. It started to sync but stoped at the sync of the 5:th app. tried to start over but now my computer can't "find" the phone. It says that the USB-device is not reconizeble.
    Please help me.
    Sorry for the bad english.

    See Here...
    Device Not Recognised
    http://support.apple.com/kb/TS1538
    And Here
    iPhone, iPad, or iPod touch not appearing in iTunes
    iPod appears in Windows but not in iTunes
    Also, Here...
    Unable to Update or Restore
    http://support.apple.com/kb/HT1808

  • Can We use FDM as ETL tool between SQL and Oracle

    I want to use FDM as ETL tool between SQL and Oracle. Can it be possible. I didn,t found any target adapter for oracle database.My source system is SQL and Target system is Oracle database.
    Rahul
    Edited by: user12190125 on Nov 9, 2009 4:23 AM

    Rahul,
    I believe this is possible to do, but not an easy one and there are a few considerations:
    How much data are you processing? FDM has a lot of features which support the business process. While this is great for users and audit trail etc. it slows down performance if you want to process a lot of data. It also depends on the type of mappings you use (Like mappings are slower than explicit mappings).
    How familiar are you with VBScript? There is no explicit target adapter for Oracle, but there is a data mart adapter which can be used for anything. You have to implement everything yourself though, mainly the Export and Load actions. In there you will also have to handle the the connections to the MSSQL and Oracle databases.
    Check the data mart adapter and see if you feel comfortable with defining the vb code in there. There are reasons for and against this approach. ODI would probably be the better choice unless you really need to have FDM's process support.
    Regards,
    Matt

  • Steps too create connection between OBIEE and Datamart on UNIX box..

    Hi experts..
    I have created one repository on my windows machine. Now i need to transfer this repositry on UNIX BOX.. So
    1. Please tell me the steps to make a connection between OBIEE and datamart.
    2. which files i need to transfer from windows machine to UNIX Box..

    Are you asking how to connect to an Oracle database from OBIEE in Unix? (Your question is too vague as datamart could mean anything) If so, read this thread:
    Re: How to connect Linux OBIEE repository to database?

  • Need to establish Connection between CRM  and   Virtual Directories.

    Dear All,
    I am working for Telecom project.
    I have one requirement that we need to establish Connection between CRM and   Virtual Directories.
    This is existing in Access management system.( SAP EP environment )
    The basic requirement is, with  SAP EP environment we are integrating 8 different application. But for all this Application we have a one more system called Access management system (like Basis in Sap). This will validate the user access and BP(Business Partner ) data for users who logon to a different respective application. For all this applications Company data (Master Data) has to provide from CRM and the changes took place for Company data in CRM will be updated in to Virtual Directories .For this service we need to establish Delta mode connection between SAP CRM and Virtual Directories.
    Which is existing in Access management system .
       Do we have any standard connectors from SAP CRM to connect and who we can achieve this .
    Please let us know..Certainly there will be a reward points
    Thanks & regards.
    BNP

    Try posting this question on the BPA Suite forum - http://forums.oracle.com/forums/category.jspa?categoryID=194

  • Build the connection between Arduino and Flex 4.0 via JSON

    Hi,
    I try to make a connection between arduino and Flex 4.0, I included the JSON lib and also as3corelib.swc to Flex. When I run the Flex file the connection between PC to arduino is working (I can see it in SERPROXY window) and also I don't have any problems in Flex window, I added the SWF file of Flex to the list at //http://www.macromedia.com/support/documentation/tr/flashplayer/help/settings_manager04.htm l, Bu the reading result is not shows in the SWF,    I couldn't understand why !, thanks for help
    here the code
    package
    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    public class deneme extends Sprite
    {private var magnetic:Socket=new Socket("localhost",5331);
      private var magneticValue:Number=0;
      private var distance:Number;
      private var newText:TextField=new TextField();
      private var listText:TextField=new TextField();
      private var MNx:Number;
      private var MNy:Number;
      private var MNz:Number;
      private var d:Object={"x":null, "y":null, "z":null};
      public function deneme()
       socketDataHandler();
      private function socketDataHandler():void
       newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
       d= JSON.decode(newText.text);
       MNx=d["x"];
       MNy=d["y"];
       MNz=d["z"];
       listText.x=10;
       listText.y=10;
       listText.width=600;
       listText.height=100;
       listText.text=newText.text;
       addChild(newText);

    package
    {    import com.adobe.serialization.json.JSON;
    import flash.display.Sprite;
    import flash.errors.*;
    import flash.events.*;
    import flash.net.Socket;
    import flash.text.TextField;
    import mx.rpc.events.ResultEvent;
        public class deneme2 extends Sprite
            private var newText:TextField=new TextField();
            private var listText:TextField=new TextField()
            private var magnetic:Socket=new Socket("localhost",5331);
            private var MNx:Number;
            private var MNy:Number;
            private var MNz:Number;
            private var d:Object={"x":null, "y":null, "z":null};
            public function deneme2()
                 magnetic.addEventListener(ProgressEvent.SOCKET_DATA,getDATA);
             private function getDATA(event:ProgressEvent):void
                newText.text=magnetic.readUTFBytes(magnetic.bytesAvailable);
                d= JSON.decode(newText.text);
                MNx=d["x"];
                MNy=d["y"];
                MNz=d["z"];
                listText.x=10;
                listText.y=10;
                listText.width=600;
                listText.height=100;
                listText.text="X="+String(MNx)+" Y="+String(MNy)+" Z="+String(MNz);
                addChild(listText);

  • Site to Site Connectivity Between BE6K and Voice Gateway 2901

    Greetings,
    Is an Ethernet handoff required for site to site connectivity between BE6K and a voice gateway 2901. My vendor is suggesting that it's required in order for both sites to see the BE6K as one phone system. However, here in lies the problem. I have a point-to-point T-1 between the sites that does not have an Ethernet handoff, just the smartjack to the T-1.
    What would I need to get this to work? Have a router at each site? If so, which model? Or is there a component I could add to the BE6K or voice gateway?
    Any help would be greatly appreciated.
    Thanks in advance.

    Ethernet handoff just means  that the provider will deliver the circuit using Ethernet. What circuit is your provider delivering for you? Do they manage your WAN? Like I said what you need is ip connectivity between your sites and BE6k. If your T1 connection provides WAN connectivity and you have ip connectivity between the sites, then I don't know what you need any handoff for. The question is do you have ip connectivity between the sites via your T1 connection

  • Connection between O and BP is missing

    Hi,
      When i check inconsistency for a user, i am getting " Connection between "O" and "BP" is missing. When i check the Org.unit in PPOSA_BBP, i could see no BP exists for that Org.unit where user is assigned. I have replicated the org.unit from HR system but yet the BP hasnt been generated. Can you please share your idea on this.
    Regards,
    Prasath J

    Hi Prasath,
    This might be because you need to assign the user to a Purchasing Organisation or a Purchasing Group. If the user do not have BP created then you can do this by using tcode USERS_GEN.
    Go to USERS_GEN and follow below steps :
    1. Select Create User From Existing SU01 user
    2. Enter the org id of the POrg or Pgroup under which you want to assign the user
    3. Select country and execute
    4. In next window one popup will occur, select Area Of User
    5. In next popup enter the user id
    6. Next select the user and click Ok.
    7. This will create a BP and CP for the user and assigns the BP to the Org id of the POrg or Pgroup.
    8. Now check the consistency of the user it will show all green.
    It might give you error like eMail id for BP XXXXX is missing if the SU01 profile of the user does not contain any user id but it is not critical.
    You can open the BP in BP tcode and enter the email id of the user.
    Let us know if it solves your issue.
    Regards,
    Mayur

Maybe you are looking for

  • Help creating a date of birth form in Acrobat 9 standart

    I am using Acrobat 9 standard so I don't have LiveCycle.  I am trying to create a birth date field in my questionnaire for new students.  I am stuck.  Does anyone know how to help me?  I am new to this so I am not sure what I am doing.

  • Statically referencing the default JTextPane Cut, Paste, and Copy actions

    If all JTextPanes share the same default keymap, which includes the Cut, Paste, and Copy, how do I modify those actions statically so those modifications are available to all JTextPanes before one is instantiated? Also, it seems that the key bindings

  • How does FYI work with AME

    Using AME - Approvals Management Business Analyst responsibility on R12.1.1, I enabled FYI under configuration variables => Allow for your information notification = yes; for the transaction type specific value Payables invoice approval. I set up a r

  • Port Replicator Series 3 fan?

    Hi all, I am considering buying a port replicator for my t420, but I also want to have an external fan blowing on my thinkpad when I play games, for instance. I'm wondering if the port replicator series 3 has an internal fan built into it, and if not

  • Regarding  Enhanced Receiver Determination

    Hi Experts, I go through the Blog /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16 In this i am not getting the Source Msg Structure And Target Msg Structures Can any one Give me a LOOK at this