Thxs Thomas.<br>
<br>
The problems was related with the TRANSPARENCY parameter, i chaned it and works fine.<br>
<br>
Thx u very much<br><br><div><span class="gmail_quote">2007/10/17, thomas bonfort <<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
José,<br><br>TRANSPARENCY 0 has been deprecated in 5.0 and been replaced with<br>OPACITY. and a layer with 0 opacity being fully transparent, it is not<br>drawn.<br><br>tb<br><br>On 10/17/07, José Ramón López <<a href="mailto:joseramonlopez@gmail.com">
joseramonlopez@gmail.com</a>> wrote:<br>> Hi list.<br>><br>> Im trying to configure mapserver with Oracle Spatial or OCI connection<br>> This is my layer:<br>><br>> LAYER<br>> NAME CARRETERAS<br>
> TYPE LINE<br>> STATUS ON<br>> CONNECTIONTYPE OGR<br>> CONNECTION " OCI:sde/password@SDE"<br>> DATA "SDE.RED_CARRETERAS"<br>> DUMP TRUE<br>> DEBUG ON
<br>> PROCESSING "CLOSE_CONNECTION=DEFER"<br>> TRANSPARENCY 0<br>> PROJECTION<br>> "init=epsg:23030"<br>> END<br>> CLASS<br>> STYLE
<br>> COLOR 0 0 0<br>> END<br>> NAME 'Carreteras'<br>> END<br>> METADATA<br>> "wms_title" "Red Carreteras"
<br>> "wms_keywordlist" "WMS Carreteras"<br>> "wms_srs" "epsg:23030"<br>> "wms_extent" "164590 4062740 579080 4266350"
<br>> END<br>> END<br>><br>><br>> Mapserver allways send to me a blank image.<br>> I'd use shp2img , and allways send me a blank image, with this command:<br>><br>> C:\ms4w-v5\tools\mapserv>
shp2img.exe -m c:\ms4w-v5\maps\map\wms.map -i png<br>> -o C:\test.png -all_debug 9 -l CARRETERAS<br>> msDrawMap(): Layer 1 (CARRETERAS), 0.000s<br>> msDrawMap(): Drawing Label Cache, 0.000s<br>> msDrawMap() total time:
0.000s<br>> msFreeMap(): freeing map at 0144B390.<br>><br>> and made some test for testing oracle connection with og2info, and works<br>> correctly, like:<br>><br>> C:\ms4w-v5\tools\mapserv>ogrinfo.exe
OCI:sde/password@SDE:sde.RED_CARRETERAS<br>> -SO<br>> INFO: Open of `OCI:sde/sde@SDE:sde.RED_CARRETERAS'<br>> using driver `OCI' successful.<br>> 1: sde.RED_CARRETERAS<br>><br>> if i use the command with -al option, it sends to me all information
<br>> allocated in this layer.<br>><br>> Is the problem related with system enviroment?<br>><br>> In httd.conf:<br>><br>> SetEnv PATH "C:/Oracle/oracle10g/BIN"<br>> SetEnv TNS_ADMIN "C:/Oracle/oracle10g/NETWORK/ADMIN"
<br>> SetEnv ORACLE_SID SDE<br>> SetEnv ORACLE_BASE "C:/Oracle/oracle10g"<br>> SetEnv ORACLE_HOME "C:/Oracle/oracle10g"<br>> SetEnv LD_LIBRARY_PATH "C:\Oracle\oracle10g\LIB"<br>>
<br>> and de tnsadmin.ora file<br>><br>> SDE=<br>> (DESCRIPTION =<br>> (ADDRESS_LIST =<br>> (ADDRESS = (PROTOCOL = TCP)(HOST = <a href="http://172.19.133.19">172.19.133.19</a>)(PORT = 1521))<br>
> )<br>> (CONNECT_DATA =<br>> (SERVICE_NAME = sde)<br>> )<br>> )<br>><br>> Windows 2003 System Enviroment:<br>><br>> Path=\ms4w\Apache\cgi-bin;\ms4w\tools\gdal-ogr;\ms4w\tools\mapserv;\ms4w\tools\shapelib;\ms4w\proj\bin;\ms4w\tools\shp2tile;\ms4w\tools\shpdiff;\ms4w\tools\avce00;C:\oracle\Oracle10g\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
<br>> PROJ_LIB=\ms4w-v5\proj\nad<br>> ORACLE_HOME=C:\oracle\Oracle10g<br>><br>> In ms_erro.txt file nothing is registered.<br>><br>> Thxs<br>><br>><br>><br>><br>><br>><br>><br>><br>
</blockquote></div><br>