How to write code to calculate distance between two points using pointObject&nbsp; using PHP Map server.<br><br><br>Also how to write code to find shortest path from one point to other using php mapserver.<br><br>
On Wed, 22 Sep 2010 22:40:25 +0530 mapserver-users-request@lists.osgeo.org wrote<br>
&gt;Send mapserver-users mailing list submissions to<br>
&gt;mapserver-users@lists.osgeo.org<br>
&gt;<br>
&gt;To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
&gt;or, via email, send a message with subject or body 'help' to<br>
&gt;mapserver-users-request@lists.osgeo.org<br>
&gt;<br>
&gt;You can reach the person managing the list at<br>
&gt;mapserver-users-owner@lists.osgeo.org<br>
&gt;<br>
&gt;When replying, please edit your Subject line so it is more specific<br>
&gt;than "Re: Contents of mapserver-users digest..."<br>
&gt;<br>
&gt;<br>
&gt;Today's Topics:<br>
&gt;<br>
&gt;  1. Re: Coments about the Tickedt 3541 (Alan Boudreault)<br>
&gt;<br>
&gt;<br>
&gt;----------------------------------------------------------------------<br>
&gt;<br>
&gt;Message: 1<br>
&gt;Date: Wed, 22 Sep 2010 13:11:19 -0400<br>
&gt;From: Alan Boudreault &lt;aboudreault@mapgears.com&gt;<br>
&gt;Subject: Re: [mapserver-users] Coments about the Tickedt 3541<br>
&gt;To: mapserver-users@lists.osgeo.org<br>
&gt;Message-ID: &lt;201009221311.20241.aboudreault@mapgears.com&gt;<br>
&gt;Content-Type: text/plain; charset="iso-8859-1"<br>
&gt;<br>
&gt;Hmm... very strange. Although I am not able to reprodude it under Unix.... It <br>
&gt;seems to be an Oracle bug.<br>
&gt;<br>
&gt;On September 22, 2010 03:35:38 am Jorge Bellido Diez wrote:<br>
&gt;&gt; We reproduced the same problem doing requets to the OCG Services using<br>
&gt;&gt; OpenLayers 2.8 or gvSig 1.1.2 Doing a getfeatureinfo to a Oracle layer of<br>
&gt;&gt; an WMS Service or getfeatrue to a Oracle layer of an WFS Service the<br>
&gt;&gt; Oracle Server produce a log file and a dump memory. Then I coud see<br>
&gt;&gt; duplicates values in my primary key, furthermore primary index still<br>
&gt;&gt; points to old data even though the user has no UPDATE-GRANTS. This<br>
&gt;&gt; behavior seems to be random<br>
&gt;&gt; <br>
&gt;&gt; These are our configuration:<br>
&gt;&gt; - MS4W 3.0 Beta 10<br>
&gt;&gt; - MapServer 5.6.1<br>
&gt;&gt; - Personal Oracle Database 10g Release 10.2.0.1.0 - 64bit Production<br>
&gt;&gt; <br>
&gt;&gt; This is the way we declare an Oracle Layer in the map file:<br>
&gt;&gt; ----------------<br>
&gt;&gt; LAYER<br>
&gt;&gt; STATUS ON<br>
&gt;&gt; CONNECTIONTYPE oraclespatial<br>
&gt;&gt; CONNECTION "admcarto/admcarto@ORA10GEX"<br>
&gt;&gt; NAME "PoligonosSigpac"<br>
&gt;&gt; PROJECTION<br>
&gt;&gt; "init=epsg:23030"<br>
&gt;&gt; END<br>
&gt;&gt; <br>
&gt;&gt; TYPE POLYGON<br>
&gt;&gt; METADATA<br>
&gt;&gt; "wms_title" "Poligonos Sigpac 2009"<br>
&gt;&gt; "wms_srs"       "EPSG:23030"<br>
&gt;&gt; "wms_name"      "poligonos"<br>
&gt;&gt; "wms_server_version" "1.1.1"<br>
&gt;&gt; "wms_format"     "image/png"<br>
&gt;&gt; "wms_transparent"   "true"<br>
&gt;&gt; "wms_extent" "470000 4700000 610000 4820000"<br>
&gt;&gt; END<br>
&gt;&gt; <br>
&gt;&gt; DATA "GEOMETRY FROM (SELECT * FROM GV_SIGPAC_POL_ED50) USING UNIQUE <br>
&gt;gid<br>
&gt;&gt; SRID 82337"<br>
&gt;&gt; <br>
&gt;&gt; CLASS<br>
&gt;&gt; NAME "Poligonos"<br>
&gt;&gt; STYLE<br>
&gt;&gt; OUTLINECOLOR 178 0 255<br>
&gt;&gt; END<br>
&gt;&gt; TEMPLATE "ttt_query.html"<br>
&gt;&gt; END<br>
&gt;&gt; END<br>
&gt;&gt; --------------<br>
&gt;&gt; <br>
&gt;&gt; This is a little portion of one of this log files with the error code:<br>
&gt;&gt; <br>
&gt;&gt; Dump file f:\oracle\admin\ora10gex\udump\ora10gex_ora_1408.trc<br>
&gt;&gt; Wed Sep 01 12:56:09 2010<br>
&gt;&gt; ORACLE V10.2.0.1.0 - 64bit Production vsnsta=0<br>
&gt;&gt; vsnsql=14 vsnxtr=3<br>
&gt;&gt; Personal Oracle Database 10g Release 10.2.0.1.0 - 64bit Production With the<br>
&gt;&gt; Partitioning, OLAP and Data Mining options Windows NT Version V5.2 Service<br>
&gt;&gt; Pack 2 CPU         :2 - type 8664, 1 Physical Cores<br>
&gt;&gt; Process Affinity  : 0x0000000000000000<br>
&gt;&gt; Memory (Avail/Total): Ph:1786M/4031M, Ph+PgF:5772M/7808M Instance name:<br>
&gt;&gt; ora10gex<br>
&gt;&gt; <br>
&gt;&gt; Redo thread mounted by this instance: 1<br>
&gt;&gt; <br>
&gt;&gt; Oracle process number: 19<br>
&gt;&gt; <br>
&gt;&gt; Windows thread id: 1408, image: ORACLE.EXE (SHAD)<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; *** SERVICE NAME:(ORA10GEX) 2010-09-01 12:56:09.919<br>
&gt;&gt; *** SESSION ID:(159.12216) 2010-09-01 12:56:09.919<br>
&gt;&gt; ********** Internal heap ERROR 17182 addr=000007FF985DDC24 *********<br>
&gt;&gt; ***** Dump of memory around addr 000007FF985DDC24:<br>
&gt;&gt; 7FF985DCC20     3CC3093F 090E2C10 09474557   [?..&lt;.,..WEG.]<br>
&gt;&gt; 7FF985DCC30 535005C4 44511B43 3CC3093F 152B2D10 [..PSC.QD?..&lt;.-+.]<br>
&gt;&gt; <br>
&gt;&gt; ..<br>
&gt;&gt; ..<br>
&gt;&gt; ..<br>
&gt;&gt; <br>
&gt;&gt; Permanent space  = 1732608<br>
&gt;&gt; ******************************************************<br>
&gt;&gt; Hla: 255<br>
&gt;&gt; *** 2010-09-01 12:56:10.966<br>
&gt;&gt; ksedmp: internal or fatal error<br>
&gt;&gt; ORA-00600: internal error code, arguments: [17182], [0x7FF985DDC24], [],<br>
&gt;&gt; [], [], [], [], [] Current SQL statement for this session: SELECT gid,<br>
&gt;&gt; TER_HIST, AREA, PERIMETRO, GID, PROVINCIA, GEOMETRY FROM (SELECT * FROM<br>
&gt;&gt; GT_PROVINCIAS_ED50) WHERE SDO_FILTER( GEOMETRY, MDSYS.SDO_GEOMETRY(2003,<br>
&gt;&gt; :srid, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates<br>
&gt;&gt; ),'querytype=window') = 'TRUE' ----- Call Stack Trace -----<br>
&gt;&gt; calling       call   entry        argument values in hex<br>
&gt;&gt; location       type   point        (? means dubious value)<br>
&gt;&gt; -------------------- -------- --------------------<br>
&gt;&gt; ----------------------------<br>
&gt;&gt; <br>
&gt;&gt; ..<br>
&gt;&gt; ..<br>
&gt;&gt; ..<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Thanks, Jorge.<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; -----Mensaje original-----<br>
&gt;&gt; De: mapserver-users-bounces@lists.osgeo.org<br>
&gt;&gt; [mailto:mapserver-users-bounces@lists.osgeo.org] En nombre de Sumit Sharma<br>
&gt;&gt; Enviado el: miĆ©rcoles, 15 de septiembre de 2010 17:05 Para:<br>
&gt;&gt; mapserver-users@lists.osgeo.org<br>
&gt;&gt; Asunto: [mapserver-users] Re: Problems with MapServer and Oracle Spatial<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; Thanks for you response.<br>
&gt;&gt; As suggested by you I have created a ticket.<br>
&gt;&gt; Ticket number is 3541.<br>
&gt;&gt; -Sumit<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; http://osgeo-org.1803224.n2.nabble.com/Problems-with-MapServer-and-Oracle-<br>
&gt;&gt; Spatial-tp5518303p5534732.html Sent from the Mapserver - User mailing list<br>
&gt;&gt; archive at Nabble.com. _______________________________________________<br>
&gt;&gt; mapserver-users mailing list<br>
&gt;&gt; mapserver-users@lists.osgeo.org<br>
&gt;&gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mapserver-users mailing list<br>
&gt;&gt; mapserver-users@lists.osgeo.org<br>
&gt;&gt; http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
&gt;<br>
&gt;-- <br>
&gt;Alan Boudreault<br>
&gt;Mapgears<br>
&gt;http://www.mapgears.com<br>
&gt;-------------- next part --------------<br>
&gt;An HTML attachment was scrubbed...<br>
&gt;URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100922/36653591/attachment.html<br>
&gt;<br>
&gt;------------------------------<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;mapserver-users mailing list<br>
&gt;mapserver-users@lists.osgeo.org<br>
&gt;http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
&gt;<br>
&gt;<br>
&gt;End of mapserver-users Digest, Vol 32, Issue 51<br>
&gt;***********************************************<br>
&gt;<br><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A>