[mapserver-users] Re: Coments about the Tickedt 3541

Jorge Bellido Diez jbellido at ikt.es
Wed Sep 29 03:50:16 EDT 2010


Alan,
 
We've tried to test the situation using OGR connection, but
unfotunately, we can't make it work. I mean, I configure the layer with
OGR support:
 
MAP
 NAME "WMSSERVER"
  
  STATUS ON
    
  EXTENT 460000 4690000 610000 4820000 # Euskadi
    
  SYMBOLSET "../misc/symbols/symbols.sym"
  SHAPEPATH "../shapes/"
  FONTSET "../misc/fonts/fonts.txt"
  
  UNITS METERS
  
  DEBUG ON
  CONFIG "MS_ERRORFILE"
"C:/ms4w/Apache/htdocs/ogcservices/wms/log/ms_wms_enterprise.log"
  DEBUG 5
  
 OUTPUTFORMAT
    NAME png
    DRIVER "AGG/PNG"
    MIMETYPE "image/png"
    IMAGEMODE RGBA
    EXTENSION "png"
    FORMATOPTION "TRANSPARENT=ON"
    FORMATOPTION "INTERLACE=OFF"
 END
 OUTPUTFORMAT
    NAME png24bit
    DRIVER "AGG/PNG"
    MIMETYPE "image/png; mode=24bit"
    IMAGEMODE RGBA
    EXTENSION "png"
    FORMATOPTION "TRANSPARENT=ON"
    FORMATOPTION "INTERLACE=OFF"
 END
 OUTPUTFORMAT
    NAME gif
    DRIVER "GD/GIF"
    MIMETYPE "image/gif"
    IMAGEMODE PC256
    EXTENSION "gif"
 END
 OUTPUTFORMAT
    NAME jpeg
    DRIVER "GD/JPEG"
    MIMETYPE "image/jpeg"
    IMAGEMODE RGBA
    EXTENSION "jpg"
    FORMATOPTION "TRANSPARENT=ON"
    FORMATOPTION "INTERLACE=OFF"
 END
 WEB
  IMAGEPATH "C:/ms4w/Apache/htdocs/ogcservices/tmp/"
  IMAGEURL "tmp/"
  METADATA  
   "wms_name"             "IKT WMS Server"
   "wms_server_version"  "1.1.1"
   "wms_title"            "Servidor WMS IKT"
   "wms_onlineresource"
"http://192.168.1.38/cgi-bin/mapserv.exe?map=../htdocs/ogcservices/wms/w
ms_enterprise.map&"
   "wms_srs"         "EPSG:23030 EPSG:4326"
   "wms_transparent"       "true"
   "wms_abstract"  "Servicio de mapas WMS de IKT Nekazal Teknologia.
Powered by Apache and UMN MapServer"
   "wms_keywordlist"  "IKT,Euskadi,Mapas Euskadi"
   "wms_feature_info_mime_type"   "application/vnd.ogc.gml"
   "labelcache_map_edge_buffer" "-10" 
  END
 END
 
 PROJECTION
  "init=epsg:23030"
 END

 LAYER
  STATUS ON
  CONNECTION "OCI:user/pass at DB"
  CONNECTIONTYPE OGR
  DATA "GT_MUNICIPIOS_PRUEBA"
  NAME "municipios_ogr"
  PROJECTION
   "init=epsg:23030"
  END
  DUMP TRUE
  TYPE POLYGON
  METADATA
   "wms_title"     "Municipios"
   "wms_srs"             "EPSG:23030"
   "wms_name"            "municipios_ogr"
   "wms_server_version"  "1.1.1"
   "wms_format"          "image/png"
   "wms_transparent"     "true"
   "wms_extent"    "460000 4690000 610000 4820000"
   "gml_include_items"   "all"
   "wms_include_items"   "all"
  END 
  TEMPLATE "ms_template.html"
  CLASS
   GROUP "Predeterminado"
   NAME "municipios"
   STYLE
    OUTLINECOLOR 255 0 0
   END
  END
 
 END
 
 
END
 
And the returned data for a GetFeatureInfo Request is:
 
<?xml version="1.0" encoding="ISO-8859-1"?>
 
<msGMLOutput 
  xmlns:gml="http://www.opengis.net/gml"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</msGMLOutput>

And in wms.log I get the following message:
 
[Wed Sep 29 08:42:35 2010].512000 msQueryByPoint(): Search returned no
results. No matching record(s) found.
[Wed Sep 29 08:42:35 2010].512000 mapserv request processing time
(msLoadMap not incl.): 0.235s
[Wed Sep 29 08:42:35 2010].512000 msFreeMap(): freeing map at 0199BB40.
 
Maybe I'm configuring something wrong??

________________________________

De: Alan Boudreault [mailto:aboudreault at mapgears.com] 
Enviado el: martes, 28 de septiembre de 2010 15:30
Para: Jorge Bellido Diez
CC: mapserver-users at lists.osgeo.org; Sumit Sharma
Asunto: Re: [mapserver-users] Re: Coments about the Tickedt 3541



Those steps are only needed when you want to use the Oracle support of
OGR. (
http://mapserver.org/input/vector/oracle.html#two-options-for-using-orac
le-spatial-with-mapserver ) By setting "CONNECTIONTYPE ORACLESPATIAL",
you use the native oracle through mapserver. The DLL you were talking
about is not used.

So, with MapServer 5.6.1, you can reproduce the problem.. but not with
5.2.1. 

Thanks for the info,

Alan

On September 28, 2010 03:31:54 am Jorge Bellido Diez wrote:

> We're using 'oraclespatial', I mean

> 

> CONNECTIONTYPE oraclespatial

> 

> CONNECTION user/pass at DATABASE

> 

> We've just done what is explained in ms4w manual to get Oracle support

>
(http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#oracl

> e-10g

> <http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html> )

> 

> Does this tell something to you?? Thanks

> 

> 

> ________________________________

> 

> De: Alan Boudreault [mailto:aboudreault at mapgears.com]

> Enviado el: lunes, 27 de septiembre de 2010 15:04

> Para: mapserver-users at lists.osgeo.org

> CC: Jorge Bellido Diez; Sumit Sharma

> Asunto: Re: [mapserver-users] Re: Coments about the Tickedt 3541

> 

> 

> 

> It depends on how you define your layer. In the bug, they are using
the

> native oracle support in MapServer and not the oracle support from
OGR.

> So, the ogr_OCI.dll is not used. What OCI support are you using? (The

> CONNECTIONTYPE in your layer)

> 

> Alan

> 

> On September 27, 2010 06:16:59 am Jorge Bellido Diez wrote:

> > Hi,

> > 

> > 

> > 

> > More comments about this ticket. We're using ms4w 3.0 beta 11

> > 

> > (DEVELOPMENT) as commented previously, which includes MapServer
5.6.1

> > 

> > version. In the beginning we started using ms4w 2.3.1 (STABLE),
which

> > 

> > includes MapServer 5.2.1. We've installed again the STABLE version

> 

> with

> 

> > same DB server, same data, same WMS configuration and the error is
not

> > 

> > reproduced anymore.

> > 

> > 

> > 

> > We've noticed that the ogr_OCI.dll file is different. It could be

> > 

> > posible that problem could be there?? Or it's more likely to be a
bug

> 

> in

> 

> > MapServer's code??

> > 

> > 

> > 

> > Thanks.

> > 

> > 

> > 

> > -----Mensaje original-----

> > 

> > De: mapserver-users-bounces at lists.osgeo.org

> > 

> > [mailto:mapserver-users-bounces at lists.osgeo.org] En nombre de Sumit

> > 

> > Sharma

> > 

> > Enviado el: jueves, 23 de septiembre de 2010 16:17

> > 

> > Para: mapserver-users at lists.osgeo.org

> > 

> > Asunto: [mapserver-users] Re: Coments about the Tickedt 3541

> > 

> > 

> > 

> > 

> > 

> > Initially this bug appears random to me as well, but it is certainly

> > 

> > not.

> > 

> > However, there is surely some loophole in OCI, and that bug is

> 

> exploited

> 

> > by MapServer. I have posted this bug in Oracle forum as well, but no

> > 

> > luck as of now.

> > 

> > As Alan is already able to verify this behavior, hopefully we will
get

> > 

> > some patch soon ... :-) -Sumit

> > 

> > --

> 

> > View this message in context:

>
http://osgeo-org.1803224.n2.nabble.com/Coments-about-the-Tickedt-3541-tp

> 

> > 5558012p5563227.html

> > 

> > Sent from the Mapserver - User mailing list archive at Nabble.com.

> > 

> > _______________________________________________

> > 

> > mapserver-users mailing list

> > 

> > mapserver-users at lists.osgeo.org

> > 

> > http://lists.osgeo.org/mailman/listinfo/mapserver-users

> > 

> > _______________________________________________

> > 

> > mapserver-users mailing list

> > 

> > mapserver-users at lists.osgeo.org

> > 

> > http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 

Alan Boudreault

Mapgears

http://www.mapgears.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100929/dcee9394/attachment-0001.html


More information about the mapserver-users mailing list