<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT face=Arial size=2>Hi Fernando,</FONT></P>
<P><FONT face=Arial size=2>I'm glad to hear it! </FONT></P>
<P><FONT face=Arial size=2>I hope someone will compile the 4.4.0 version with 
this new oracle support ... for windows.</FONT></P>
<P><SPAN class=948213914-27102004><FONT face=Arial size=2>If someone compile it 
as said above, I'd be glad to know about it.</FONT></SPAN></P>
<P><FONT face=Arial size=2>Good works!!</FONT></P>
<P><FONT face=Arial size=2>Nicolas</FONT></P>
<P><SPAN class=948213914-27102004><FONT face=Arial size=2>PS: Thanks to Jane 
Gehan and <FONT size=2>Kari A. Geurts who helped me solve my posting 
problem.</P></FONT></FONT></SPAN>
<P><FONT face=Arial size=2>-----Message d'origine-----</FONT></P>
<P><FONT face=Arial size=2>De : UMN MapServer Users List [</FONT><A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU"><U><FONT color=#0000ff><FONT 
face=Arial 
size=2>mailto:MAPSERVER-USERS@LISTS.UMN.EDU</FONT></U></FONT></A><FONT 
face=Arial size=2>] De la part de FERNANDO SIMON Envoyé : Friday, October 22, 
2004 2:57 PM À : MAPSERVER-USERS@LISTS.UMN.EDU Objet : Re: [UMN_MAPSERVER-USERS] 
query on oraclespatial using OGR/OCI</FONT></P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P>
<P><FONT face=Arial size=2>Hi Javier,</FONT></P>
<P><FONT face=Arial size=2>Yes, "the querys" are working correctly now, I tested 
the query functions with cgi mode an mapscript functions and both kinds work 
correctly.</FONT></P>
<P><FONT face=Arial size=2>The query support is finished, now I'm working with 
others supports for the oraclespatial. So I believe that the querry support will 
be include in the next version of mapserver.</FONT></P>
<P><FONT face=Arial size=2>Thank's for the help.</FONT></P>
<P><FONT face=Arial 
size=2>----------------------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>Fernando Simon - simon@inf.univali.br</FONT></P>
<P><FONT face=Arial size=2>Mapserver and Oracle Spatial developer</FONT></P>
<P><FONT face=Arial size=2>G10 - Laboratorio de Computacao Aplicada </FONT><A 
href="http://g10.cttmar.univali.br/"><U><FONT color=#0000ff><FONT face=Arial 
size=2>http://g10.cttmar.univali.br</FONT></U></FONT></A></P>
<P><FONT face=Arial 
size=2>----------------------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>Quoting Javier Castillejo Montes 
&lt;jcastil1@TRAGSA.ES&gt;:</FONT></P>
<P><FONT face=Arial size=2>&gt; Hi Fernando,</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; I understand that you did some work on the 
mapserver files and now,</FONT></P>
<P><FONT face=Arial size=2>&gt; your queries are working?</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; As Pierre knows I'm using mapserver with oracle 
spatial and my next</FONT></P>
<P><FONT face=Arial size=2>&gt; step is "The Queries".... If you need any help 
do not hesitate to told </FONT></P>
<P><FONT face=Arial size=2>&gt; me. I'm starting with "The Queries" work, but I 
will try to help.</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; I think that I'm going to use php to generate 
the queries. It isn't</FONT></P>
<P><FONT face=Arial size=2>&gt; the best way, but, for now, Is the only way I 
know.</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; THanks</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; -----Mensaje original-----</FONT></P>
<P><FONT face=Arial size=2>&gt; De: Fernando S. [</FONT><A 
href="mailto:simon@INF.UNIVALI.BR"><U><FONT color=#0000ff><FONT face=Arial 
size=2>mailto:simon@INF.UNIVALI.BR</FONT></U></FONT></A><FONT face=Arial 
size=2>]</FONT></P>
<P><FONT face=Arial size=2>&gt; Enviado el: jueves, 21 de octubre de 2004 
18:31</FONT></P>
<P><FONT face=Arial size=2>&gt; Para: MAPSERVER-USERS@LISTS.UMN.EDU</FONT></P>
<P><FONT face=Arial size=2>&gt; Asunto: Re: [UMN_MAPSERVER-USERS] query on 
oraclespatial using OGR/OCI</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; Hi Pierre,</FONT></P>
<P><FONT face=Arial size=2>&gt; The query functions can be possible in the next 
version of the</FONT></P>
<P><FONT face=Arial size=2>&gt; Oracle Spatial support. I implemented these 
functions here in my </FONT></P>
<P><FONT face=Arial size=2>&gt; computer and I believe that this functions will 
be include in the next </FONT></P>
<P><FONT face=Arial size=2>&gt; version of native support.</FONT></P>
<P><FONT face=Arial size=2>&gt; I don't know how the OGR implement the query 
function but this </FONT></P>
<P><FONT face=Arial size=2>&gt; problem appear when you use functions that use 
the primary filter like </FONT></P>
<P><FONT face=Arial size=2>&gt; SDO_FILTER.</FONT></P>
<P><FONT face=Arial size=2>&gt; Here the problem disappear when I recreate the 
indexes without </FONT></P>
<P><FONT face=Arial size=2>&gt; SDO_LEVEL. Another point is the tolerance, you 
can try set a small </FONT></P>
<P><FONT face=Arial size=2>&gt; value for Tolerance like 0.00001.</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; 
----------------------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>&gt; Fernando Simon - simon@inf.univali.br</FONT></P>
<P><FONT face=Arial size=2>&gt; Mapserver and Oracle Spatial 
developer</FONT></P>
<P><FONT face=Arial size=2>&gt; G10 - Laboratorio de Computacao Aplicada 
</FONT><A href="http://g10.cttmar.univali.br/"><U><FONT color=#0000ff><FONT 
face=Arial size=2>http://g10.cttmar.univali.br</FONT></U></FONT></A></P>
<P><FONT face=Arial size=2>&gt; 
----------------------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; bluecarto@free.fr wrote:</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;First question : how can you query oracle 
layers if you don't use OGR </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;? I</FONT></P>
<P><FONT face=Arial size=2>&gt; mean</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;the function are not implemented for 
oraclespatial connectiontype.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;I had already try you suggestion (ommitting 
the SDO_LEVEL parameter). </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;That</FONT></P>
<P><FONT face=Arial size=2>&gt; could</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;be a good idea, but, sadly, it doesn't give 
any better result.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;I'm using Oracle 10g on Debian or Oracle 9.2 
on RedHat.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;In my sample the result given seem to be the 
first record in the </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;table.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;Regards</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;Pierre</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;Selon FERNANDO SIMON 
&lt;simon@inf.univali.br&gt;:</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;Hi Pierre,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt; I don't use OGR but your problem can be 
with the spatial index. </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;I saw this problem with the 10G 
version.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt; In the 10G version the Oracle don't 
recommend use SDO_LEVEL when you</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;create</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;the spatial index. In my tests problems 
appears when I set the SDO_LEVEL,</FONT></P>
<P><FONT face=Arial size=2>&gt; the</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;result doesn't correspond whant I 
expected.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt; I don't know if the problem occur with 
others Oracle Spatial</FONT></P>
<P><FONT face=Arial size=2>&gt; versions.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;But</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;you can try with or without 
SDO_LEVEL.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; 
&gt;&gt;----------------------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;Fernando Simon - 
simon@inf.univali.br</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;Mapserver and Oracle Spatial 
developer</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;G10 - Laboratorio de Computacao Aplicada 
</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT><A 
href="http://g10.cttmar.univali.br/"><U><FONT color=#0000ff><FONT face=Arial 
size=2>http://g10.cttmar.univali.br</FONT></U></FONT></A></P>
<P><FONT face=Arial size=2>&gt; 
&gt;&gt;----------------------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;Quoting Pierre GIRAUD 
&lt;bluecarto@FREE.FR&gt;:</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; I'm still having difficulties to 
use mapserver queries on a oracle</FONT></P>
<P><FONT face=Arial size=2>&gt; layer.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; Before I report a bug, I would like 
someone to test the following </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;SQL statement and mapfile, and agree 
that something is going wrong, </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;or tell me I am missing</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;something obvious.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; Thx</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; Pierre GIRAUD</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; camptocamp.com</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;---------SQL 
statement--------------</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;DROP table mytable;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;CREATE TABLE MYTABLE (</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; GID VARCHAR(20),</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; geometry 
MDSYS.SDO_GEOMETRY);</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;insert into MYTABLE (GID,GEOMETRY) 
values (</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; '1',</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; mdsys.sdo_geometry(</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; '2003',</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; null,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; null,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; 
mdsys.sdo_elem_info_array(1,1003,1),</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; mdsys.sdo_ordinate_array(1,1, 1,4, 
4,4, 4,1, 1,1))</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;);</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;insert into MYTABLE (GID,GEOMETRY) 
values (</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; '2',</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; mdsys.sdo_geometry(</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; '2003',</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; null,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; null,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; 
mdsys.sdo_elem_info_array(1,1003,1),</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; mdsys.sdo_ordinate_array(6,1, 6,4, 
9,4, 9,1, 6,1))</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;);</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;insert into MYTABLE (GID,GEOMETRY) 
values (</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; '3',</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; mdsys.sdo_geometry(</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; '2003',</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; null,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; null,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; 
mdsys.sdo_elem_info_array(1,1003,1),</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; mdsys.sdo_ordinate_array(1,6, 1,9, 
9,9, 9,6, 1,6))</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;);</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;delete from user_sdo_geom_metadata 
where table_name like 'MYTABLE';</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;insert into user_sdo_geom_metadata 
</FONT></P>
<P><FONT face=Arial size=2>&gt; 
&gt;&gt;&gt;(table_name,column_name,diminfo,srid)</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;values 
('MYTABLE','GEOMETRY',</FONT></P>
<P><FONT face=Arial size=2>&gt; 
&gt;&gt;&gt;mdsys.SDO_DIM_ARRAY(mdsys.SDO_DIM_ELEMENT('X', 0, 10, 
0.1),</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;mdsys.SDO_DIM_ELEMENT('Y', 0, 10, 
0.1)),</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;NULL);</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;drop index q_mytable;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;create index Q_MYTABLE on 
MYTABLE(GEOMETRY) indextype is </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;MDSYS.spatial_index parameters 
('SDO_LEVEL=6');</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; 
&gt;&gt;&gt;---------mapfile---------------</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;NAME DEMO</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;STATUS ON</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;SIZE 500 300</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;EXTENT 0 0 10 10</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;IMAGECOLOR 255 255 255</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;WEB</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; IMAGEPATH 
"/var/www/images/"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; IMAGEURL "images/"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;END</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;LAYER</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; NAME squares</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; TYPE POLYGON</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; STATUS ON</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;# CONNECTIONTYPE 
oraclespatial</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;# CONNECTION 
"scott/tiger@orcl"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; CONNECTION 
"OCI:scott/tiger@orcl"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; CONNECTIONTYPE OGR</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;# DATA "select * from 
mytable"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; DATA "mytable"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; TEMPLATE "ttt"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; CLASS</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; SIZE 10</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; COLOR 255 255 255</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; OUTLINECOLOR 200 200 200</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt; END</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;END</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;END</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;Selon bluecarto@free.fr:</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt; Hello,</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;Following the good advices of 
Frank Warmerdam, I improve in using</FONT></P>
<P><FONT face=Arial size=2>&gt; oracle</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;spatial</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;data with spatial indexes. For 
now, I know that I should not use </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;sql statements in the mapfile 
but queries directly to the table :</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt; DATA "my_table"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;instead of</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt; DATA "select * from 
my_table"</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;Both return the same images. 
Shapes are well drawn, and labeling </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;is</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;correct.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;But the first (more performant) 
statement doesn't give good </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;results to</FONT></P>
<P><FONT face=Arial size=2>&gt; a</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;query.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;The data returned doesn't 
correspond to what is expected. And no </FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;shape</FONT></P>
<P><FONT face=Arial size=2>&gt; is</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;highlighted.</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;Do someone using Oracle have 
same problems ?</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;Pierre GIRAUD</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;camptocamp.com</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;&gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; 
&gt;&gt;------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;Este e-mail foi enviado pelo webmail do 
curso de</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt; Ciência da Computação - 
UNIVALI</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;&gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt; &gt;</FONT></P>
<P><FONT face=Arial size=2>&gt;</FONT></P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P>
<P><FONT face=Arial size=2></FONT>&nbsp;</P>
<P><FONT face=Arial 
size=2>------------------------------------------------</FONT></P>
<P><FONT face=Arial size=2>Este e-mail foi enviado pelo webmail do curso 
de</FONT></P>
<P><FONT face=Arial size=2>Ciência da Computação - 
UNIVALI</FONT></P></DIV></BODY></HTML>