What do you get if you use shp2img with debug info? shp2img -all_debug 10
Best regards, Bart > > Hi, > i´m having troubles shwoing a oracle layer in mapserver. > > in open layers i´ve: > map = new OpenLayers.Map( 'map' , > { > scales: [ 4000000,3000000,2000000,1000000, 500000,200000, > 100000, 50000,20000,10000 ], > maxExtent: new OpenLayers.Bounds(-18,34,4,45), > numZoomLevels: 10 > } > ); > > var basemap = new OpenLayers.Layer.WMS.Untiled( "MS 4.10", > "http://172.18.210.67:8080/cgi-bin/mapserv.exe?", > { > map: '/ms4w/apps/wmssrvrefer/config.map', > layers: 'border', format: 'png', 'transparent': 'on'}, > { projection:"EPSG:4326" } ); > map.addLayers([basemap]); > map.setCenter(new OpenLayers.LonLat(-8, 39.5), 0); > > > In mapfile: > > EXTENT -9 36 -6 42 > > projection > "init=epsg:4326" > end > > > web > IMAGEPATH "/ms4w/tmp/ms_tmp/" > IMAGEURL "/ms_tmp/" > metadata > wms_title "test" > wms_srs "EPSG:4326" > end > end > > ## this show the layer ! > layer > name major_roads_small_4 > group border > type line > projection > "init=epsg:4326" > end > status on > data railways.shp > class > style > color 0 0 0 > width 1 > antialias true > end > end > end > > ## > > > this layer does not show !! > > ################################# > layer > name road_a > group border > type line > > projection > "init=epsg:4326" > end > > connectiontype oraclespatial > connection "uui/pwdmydb" > data "geom_73 from caop_regiao using srid 4326" > > class > style > color 185 175 155 > width 3 > antialias true > end > end > > end > > > I test with shp2img and it shows the shapelayer, but not the oracle layer. > http://www.nabble.com/file/p18847632/test.png > What´s wrong ? > -- > View this message in context: > http://www.nabble.com/mapserver-does-not-show-oracle-layer-tp18847632p18847632.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users