[mapserver-users] Re: Can't WFS getFeature w/MapServer 6.0.1
I would be interested in testing this patch as well! Thanks, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Can-t-WFS-getFeature-w-MapServer-6-0-1-tp6600286p6608040.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] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Hi All, Using GDB a bit more to look at MS4W calls and I see that the SDE C API dlls are called after the response? I am not sure if that has anything to do with it.. http://osgeo-org.1803224.n2.nabble.com/file/n6608018/ms4w_fails.txt ms4w_fails.txt http://osgeo-org.1803224.n2.nabble.com/file/n6608018/map5_works.txt map5_works.txt http://osgeo-org.1803224.n2.nabble.com/file/n6608018/map6_fails.txt map6_fails.txt .. ??breakpoints-invalid Content-type: text/plain GetFeatureInfo results: Search returned no results. Reading symbols from E:\sw_nt\ms4w\Apache\specialplugins\msplugin_sde_93.dll...(no debugging symbols found)...done. Loaded symbols for E:\sw_nt\ms4w\Apache\specialplugins\msplugin_sde_93.dll ??breakpoints-invalid ??breakpoints-invalid Reading symbols from E:\sw_nt\mapserver6\sde.dll...(no debugging symbols found)...done. Loaded symbols for E:\sw_nt\mapserver6\sde.dll ??breakpoints-invalid ??breakpoints-invalid Reading symbols from E:\sw_nt\mapserver6\sg.dll...(no debugging symbols found)...done. Loaded symbols for E:\sw_nt\mapserver6\sg.dll ??breakpoints-invalid ??breakpoints-invalid Reading symbols from E:\sw_nt\mapserver6\pe.dll...(no debugging symbols found)...done. Loaded symbols for E:\sw_nt\mapserver6\pe.dll ??breakpoints-invalid. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6608018.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] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
I have set up GDB to trace mapserv.exe (MS4W 3)...and received a Segmentation fault with the plugin.. Starting program: E:\sw_nt\ms4w\Apache\cgi-bin\mapserv.exe "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=query&qformat=text/plain&mapxy=1186128 863840" [New Thread 2148.0x1798] Program received signal SIGSEGV, Segmentation fault. 0x03c43aab in ?? () from E:\sw_nt\ms4w\Apache\specialplugins\msplugin_sde_93.dll FOR SDE DRIVER MAPSERVER build.. (CONNECTION TYPE is SDE) Mapserver 5.2 works... Starting program: E:\sw_nt\mapserver\mapserv.exe "QUERY_STRING=map=e:/sw_nt/mapf iles/base2.map&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&REQ UEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/j peg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,863840 .736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL_ POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" *[New Thread 2168.0x1a60] [New Thread 2168.0x218]* *with Two threads...* Content-type: text/plain GetFeatureInfo results: Layer 'DBM_7H_MIL_POLITICAL_POLY_BC' Feature 97: STATUS = 'Province' NAME = 'British Columbia' ENGLISH_NAME = 'British Columbia' FRENCH_NAME = 'Colombia-Britannique' REGION_CODE = '59' POLYGON_FEATURE = '0' ISLAND = '' ISLAND_ENGLISH_NAME = '' ISLAND_FRENCH_NAME = '' NATION_ENGLISH_NAME = 'Canada' NATION_FRENCH_NAME = 'Canada' GEOMETRY = '' OBJECTID = '97' Program exited normally. With Mapserver 6.. no features are returned for same layer.. (gdb) target exec E:\sw_nt\mapserver6\mapserv.exe <_POLITICAL_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" Starting program: E:\sw_nt\mapserver6\mapserv.exe "QUERY_STRING=map=e:/sw_nt/map files6/base2.map&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&R EQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image /jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,8638 40.736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICA L_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" *[New Thread 6300.0x6b4]* *- with one thread* Content-type: text/plain GetFeatureInfo results: Search returned no results. Program exited normally. This is the mapfile declaration for each the layer..for both Mapserver 5.2 and 6.0 LAYER STATUS DEFAULT NAME 'DBM_7H_MIL_POLITICAL_POLY_BC' CONNECTIONTYPE sde CONNECTION 'server,port:5152,sde,username,password' DATA 'WHSE_BASEMAPPING.DBM_BC_7H_MIL_POLITICAL_POLY,GEOMETRY' LABELITEM 'NAME' CLASSITEM ENGLISH_NAME CLASS NAME 'British Columbia' EXPRESSION ('[ENGLISH_NAME]' eq 'British Columbia') STYLE COLOR 255 190 190 OUTLINECOLOR 0 0 0 END #end style LABEL COLOR 168 0 0 FONT arial TYPE truetype SIZE 8 POSITION cc PARTIALS FALSE BUFFER 1 #BACKGROUNDCOLOR 254 254 254 MINDISTANCE 300 END #end label END #end class TYPE polygon LABELMINSCALEDENOM 501 MINSCALEDENOM 201 # MAXSCALEDENOM 3500 # STATUS ON PROJECTION "init=epsg:3005" END METADATA wms_title "British Columbia" wms_metadataurl_format "html" wms_metadataurl_href "http://metadata"; wms_metadataurl_type "TC211" wfs_title "British Columbia" gml_geometries "geom" gml_geom_type "polygon" wms_include_items "all" gml_include_items "all" gml_exclude_items "GEOMETRY,OBJECTID" END #metadata PROCESSING "CLOSE_CONNECTION=DEFER" PROCESSING "LABEL_NO_CLIP=on" DUMP TRUE # Used to enable GetFeatureInfo TEMPLATE "foo.html" OPACITY 20 END #end layer -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6604735.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] Re: Can't WFS getFeature w/MapServer 6.0.1
I have had no problems with shapefiles for GetFeatureInfo/GetMap via WMS. My issues are all with SDE (we have SDE 9.3.1 and all the data is in SDEBINARY) There were no issues with this data at Mapserver 5.2 and 5.7 Thanks, Michelle > Michelle, > I'm having problems doing a WFS GetFeature request using > MapServer 6.0.1 (as described in my own post at http://osgeo- > org.1803224.n2.nabble.com/Can-t-WFS-getFeature-w-MapServer-6-0-1- > td6600286.html). > Are you able to make a shapefile out of one of the layers you > are accessing in SDE and point your mapfile layer to it rather > than SDE? Does your query work then? > > If yes, then you may be having the same problems we are and it > may be more related to the SDE connection than anything else. > > Let me know what you find out. > > Sheers > jtm > -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Can-t-WFS-getFeature-w-MapServer-6-0-1-tp6600286p6604394.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] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Thanks Jukka.. I have updated the metadata section for the SDE layer.. METADATA wms_title "British Columbia" wms_metadataurl_format "html" wms_metadataurl_href "metadataurl" wms_metadataurl_type "TC211" gml_geometries "geom" gml_geom_type "polygon" wms_include_items "all" END #metadata with same result as described in previous email.. Thanks again, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6603825.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] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Hi Steve, Thanks for the information.. I have replaced ...&mode=nquerymap&...with ...&mode=nquery&qformat=png24&..."(among other qformats) mode= map and WMS GETMAP work.. mode=query and WMS GETFEATUREINFO do not.. .. all with blank response and no errors..it is like the cgi just stops.. *If I set the SDE layer to "STATUS DEFAULT or ON" I get no response at all to...* E:\sw_nt>mapserv "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qfor mat=text/plain&mapxy=1186128 863840" *If I set the SDE layer to "STATUS OFF" I get A response..* E:\sw_nt>mapserv "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qfor mat=text/plain&mapxy=1186128 863840" Content-type: text/html MapServer Message MapServer version 6.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPOR TS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FR IBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_C LIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE msQueryByPoint(): Search returned no results. No matching record(s) found. My Mapfile is as follows: MAP EXTENT -140 45 -100 62 SIZE 100 100 UNITS DD SYMBOLSET "total.sym" FONTSET "fonts.lst" NAME "map3" CONFIG "MS_ERRORFILE" "e:/sw_nt/ms4w/mapfiles/logs/3.log" DEBUG 5 SHAPEPATH "E:/apps_data/shape/indexes/" WEB METADATA "wms_title" "British Columbia Base WMS Version 3" "wms_onlineresource" "http://server/cgi-bin/mapserv.exe?map=E:\sw_nt\ms4w\mapfiles\3.map&"; "ows_enable_request" "*" "wms_srs" "EPSG:4326 EPSG:3005" END TEMPLATE "foo.html" END PROJECTION "init=epsg:4326" END LAYER DEBUG 5 EXTENT 20 20 190 190 NAME 'DBM_7H_MIL_POLITICAL_POLY_BC' CONNECTIONTYPE PLUGIN PLUGIN "E:/sw_nt/ms4w/Apache/specialplugins/msplugin_sde_93.dll" CONNECTION 'server,port:5152,sde,username,password' DATA 'WHSE_BASEMAPPING.DBM_BC_7H_MIL_POLITICAL_POLY,GEOMETRY' CLASSITEM ENGLISH_NAME CLASS TEMPLATE "foo.html" NAME 'BritishColumbia' EXPRESSION ('[ENGLISH_NAME]' eq 'British Columbia') STYLE COLOR 255 190 190 OUTLINECOLOR 0 0 0 END #end style END #end class TYPE polygon MINSCALEDENOM 201 MAXSCALEDENOM 113500 STATUS OFF PROJECTION "init=epsg:3005" END METADATA wms_title "British Columbia" wms_metadataurl_format "html" wms_metadataurl_href "http://metadataserver"; wms_metadataurl_type "TC211" wfs_title "British Columbia" gml_geometries "geom" gml_geom_type "polygon" ows_include_items "all" ows_exclude_items "GEOMETRY,OBJECTID" gml_include_items "all" gml_exclude_items "GEOMETRY,OBJECTID" END #metadata PROCESSING "CLOSE_CONNECTION=DEFER" DUMP TRUE # Used to enable WFS TEMPLATE "foo.html" END #end layer LAYER STATUS DEFAULT EXTENT 20 20 190 190 NAME 'bcmosaic_yop_index' DATA 'bcmosaic_yop_index.shp' TYPE POLYGON CLASS NAME "BC Mosaic Index" STYLE OUTLINECOLOR 0 0 0 END #end style END #end class PROJECTION "init=epsg:3005" END METADATA "wms_title""BC Mosaic Index" ## REQUIRED "wfs_title""BC Mosaic Index" ## REQUIRED "gml_featureid" "OBJECTID" ## REQUIRED "ows_include_items" "all" ## Optional (serves all attributes for layer) "gml_geometries" "shape" "gml_geom_type" "polygon" # "gml_exclude_items" "GEOMETRY,OBJECTID" END #metadata DUMP TRUE TEMPLATE "foo.html" MINSCALEDENOM 0 MAXSCALEDENOM 1500 END #end layer END #layer END -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6603529.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] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Thanks Brent.. I have tried the following... all with blank response and no errors..it is like the cgi just stops.. &qformat=png24, png, text/plain as well as this.. mapserv -nh "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles /3.map&mode=ows&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&RE QUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/ jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,86384 0.736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL _POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" > e:\sw_nt\mapserver\testms4w.xm l *I have add a shapefile and get a valid GetFeatureINFO response with ..* E:\sw_nt>mapserv "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&LAYERS=bcmosaic_ yop_index&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=ap plication/vnd.ogc.se_xml&FORMAT=image/jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,8 15982.719048714,1186128.62547289,863840.736184577&X=250&Y=250&INFO_FORMAT=text/p lain&QUERY_LAYERS=bcmosaic_yop_index&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" Content-type: text/plain GetFeatureInfo results: Layer 'bcmosaic_yop_index' Feature 747: OBJECTID = '748' IMAGE_ID = '8510.00' PIXEL_SIZE = '1.00' PHOTO_YEAR = '1998' FILE_NAME = 'bc_093b052_xb1m_utm10_1998.tif' Shape_Leng = '49378.124352' Shape_Area = '150965542.487000' MOSAIC_YEA = '2005' FEATURE_CO = 'RI20040100' *If I set the SDE layer to "STATUS DEFAULT" I get no response at all to...* E:\sw_nt>mapserv "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qfor mat=xml&mapxy=1186128 863840" *If I set the SDE layer to "STATUS OFF or ON" I get A response..* E:\sw_nt>mapserv "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qfor mat=xml&mapxy=1186128 863840" Content-type: text/html MapServer Message msQueryByPoint(): Search returned no results. No matching record(s) found. Thanks, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6601369.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] Re: ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Thanks for this information Brent.. I tried the following .. mapserv -nh "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&mode=nquery&qformat=png24&&mapxy=1186128 863840" > e:\sw_nt\mapserver\testms4w.png and the result now is a 0 kilobyte png.. and the log file does not report anything .. a getFeatureINFO request does not find any features.. mapserv "QUERY_STRING=map=e:/sw_nt/ms4w/mapfiles/3.map&LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/jpeg&SRS=EPSG:3005&BBOX=1136822.19419924,815982.719048714,1186128.62547289,863840.736184577&X=250&Y=250&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&WIDTH=650&HEIGHT=650&FEATURE_COUNT=30" msQueryByPoint(): Search returned no results. No matching record(s) found. Content-type: text/plain GetFeatureInfo results: Search returned no results. for same data Mapserver 5.2 returns this.. E:\sw_nt\mapserver>mapserv "QUERY_STRING=map=e:/sw_nt/mapfiles6/base2.map&LAYER S=DBM_7H_MIL_POLITICAL_POLY_BC&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo& STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/jpeg&SRS=EPSG:3005&BB OX=1136822.19419924,815982.719048714,1186128.62547289,863840.736184577&X=250&Y=2 50&INFO_FORMAT=text/plain&QUERY_LAYERS=DBM_7H_MIL_POLITICAL_POLY_BC&WIDTH=650&HE IGHT=650&FEATURE_COUNT=30" Content-type: text/plain GetFeatureInfo results: Layer 'DBM_7H_MIL_POLITICAL_POLY_BC' Feature 97: STATUS = 'Province' NAME = 'British Columbia' ENGLISH_NAME = 'British Columbia' FRENCH_NAME = 'Colombia-Britannique' REGION_CODE = '59' POLYGON_FEATURE = '0' ISLAND = '' ISLAND_ENGLISH_NAME = '' ISLAND_FRENCH_NAME = '' NATION_ENGLISH_NAME = 'Canada' NATION_FRENCH_NAME = 'Canada' I could give my full mapfile syntax if interested.. Perhaps I am missing a config statement that would make this work for SDE.. Thanks, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600531.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] ArcSDE 9.3.1 QUERYMAP, QUERY or GETFEATUREINFO not workin (Mapserver 6)
Hi All, I figured I'd start a new thread.. I have installed both a custom build for Mapserver 6.0 as well as MS4W 3.0.3.. I can get images back with GetMAP image request via WMS for SDE 9.3.1 data.. However when I try a GetFeatureINFO request via Apache I was getting a "Premature end of script headers: mapserv.exe" So I removed Apache from the picture and try the CGI.. With mapserver 5.2 mapserv -nh "QUERY_STRING=map=e:/sw_nt/mapfiles/base2.map&mode=nquerymap&mapxy=1186128 863840" >test.png (I get a valid png with the feature highlighted..) With ms4w mapserver 6.0.1 and a 6.0.0 build.. I get.. setMode(): Web application error. Invalid mode. Any ideas? Is almost like it doesn't like anything other than mode=map for SDE? I am using both: CONNECTION TYPE PLUGIN..(For MS4W) PLUGIN "E:/sw_nt/ms4w/Apache/specialplugins/msplugin_sde_93.dll" and CONNECTIONTYPE sde (with sde.dll, pe.dll, sg.dll from 9.3 SDK) Many Thanks, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/ArcSDE-9-3-1-QUERYMAP-QUERY-or-GETFEATUREINFO-not-workin-Mapserver-6-tp6600091p6600091.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] Re: ms4w 2.3.1. and ArcSDE
Hi All, I have installed both a custom build for Mapserver 6.0 as well as MS4W 3.0.3.. I can get images back with WMS for SDE 9.3.1 data.. However when I try a GetFeatureINFO request via Apache I was getting a "Premature end of script headers: mapserv.exe" So I removed Apache from the picture and try the CGI.. With mapserver 5.2 *mapserv -nh "QUERY_STRING=map=e:/sw_nt/mapfiles/base2.map&mode=nquerymap&mapxy=1186128 863840" >test.png *(I get a valid png with the feature highlighted..) With ms4w mapserver 6.0.1 and a 6.0.0 build.. I get.. setMode(): Web application error. Invalid mode. Any ideas? Many Thanks, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MapServer-v-GeoServer-tp6356255p6599882.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] Re: mapscript: read GeoJSON
This could be very useful - I wonder if the JSON symbology could be read as well, or if this just reads the features themselves? I am thinking it would be useful to translate JSON symbology to mapfile symbology (or some other processes) for WMS services.. This page doesn't mention anything about symbology http://www.gdal.org/ogr/drv_geojson.html http://www.gdal.org/ogr/drv_geojson.html Any tips on translating JSON symbology to other formats would be greatly appreciated.. Thanks, Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/mapscript-read-GeoJSON-tp6578460p6595651.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] Re: Mapserver 6.0 MINSCALEDENOM/MAXSCALEDENOM and different EPSG codes?
Bug reported..Thanks Chris Hodgson.. http://trac.osgeo.org/mapserver/ticket/3883 http://trac.osgeo.org/mapserver/ticket/3883 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-6-0-MINSCALEDENOM-MAXSCALEDENOM-and-different-EPSG-codes-tp6480805p6487265.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] Re: Mapserver 6.0 MINSCALEDENOM/MAXSCALEDENOM and different EPSG codes?
Additional info.. This works.. MAP NAME TestScale EXTENT -140 50 -100 90 SIZE 100 100 UNITS DD PROJECTION "init=epsg:4326" END This doesn't... MAP NAME TestScale EXTENT 20 20 190 190 SIZE 100 100 UNITS METERS PROJECTION "init=epsg:3005" END -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-6-0-MINSCALEDENOM-MAXSCALEDENOM-and-different-EPSG-codes-tp6480805p6485065.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] Mapserver 6.0 MINSCALEDENOM/MAXSCALEDENOM and different EPSG codes?
We seem to be having some discrepancies in how the MINSCALEDENOM/MAXSCALEDENOM is being respected depending on which EPSG SRS is being requested.(with Mapserver 6.0) For EPSG:3005 things seem to be ok .. however for EPSG:4326 .. MINSCALEDENOM seems to take over and no features are displayed at expected scales. Of note though.. if I set MINSCALEDENOM from ‘101’ to something like ‘11’.. I do seem to get back features at somewhat the appropriate scale levels. (but then that hoops the scale dependency for EPSG:3005!) See similar post.. http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg14402.html http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg14402.html Thanks for any assistance.. Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-6-0-MINSCALEDENOM-MAXSCALEDENOM-and-different-EPSG-codes-tp6480784p6480784.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] Re: how do min/max scale filters work?
Have you been able to get the MAXSCALEDENOM to work in this case? I am see discrepancies in the way it respects MAXSCALEDENOM depending on which EPSG projection I request in my WMS GETMAP request..(using Mapserver 6.0) Projection is set at MAP level as all SDE layers are in EPSG:3005.. PROJECTION "init=epsg:3005" END #projection IE.. This respects scale dependency..(zoomed out greater than MAXSCALEDENOM 42000) http://server/mapserver6/base6?service=WMS&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&LAYERS=TWTR_LINES&STYLES=&FORMAT=image/png&BGCOLOR=0xFF&TRANSPARENT=TRUE&SRS=EPSG:3005&BBOX=1098893.28235966,374108.170310702,1181083.70268062,432796.317606444&WIDTH=1217&HEIGHT=869 log says this.. [Tue May 24 14:45:31 2011].114000 msDrawMap(): rendering using outputformat named aggpng24 (AGG/PNG). [Tue May 24 14:45:31 2011].114000 msLayerIsVisible(): Skipping layer (TWTR_LINES) because LAYER.MAXSCALE is too small for this MAP scale [Tue May 24 14:45:31 2011].114000 msDrawMap(): WMS/WFS set-up and query, 0.000s [Tue May 24 14:45:31 2011].114000 msLayerIsVisible(): Skipping layer (TWTR_LINES) because LAYER.MAXSCALE is too small for this MAP scale [Tue May 24 14:45:31 2011].114000 msDrawMap(): Drawing Label Cache, 0.000s this does not respect MAXSCALEDENOM.. (get very busy image after 30 secs ) http://server/mapserver6/base6?service=wms&version=1.1.1&request=getmap&SRS=EPSG:4326&BBOX=-124.185652285947,48.4090479408979,-122.255909410219,49.4369750954166&WIDTH=811&HEIGHT=432&FORMAT=image/png&STYLES=&layers=TWTR_LINES Layer is defined as such: LAYER EXTENT 20 20 190 190 MAXSCALEDENOM 42000 debug 5 GROUP "Base_Mapping_20K" NAME 'TWTR_LINES' CONNECTIONTYPE sde CONNECTION 'X' DATA 'WHSE_BASEMAPPING.TRIM_WATER_LINES,GEOMETRY' TYPE line CLASSITEM FCODE STATUS ON CLASS NAME "Canal" EXPRESSION GA0395 STYLE COLOR 0 0 255 WIDTH 2 END STYLE COLOR 0 0 255 WIDTH 2 OFFSET 0 10 END END .. METADATA wms_title "Water - Lines (1:20K)" wms_metadataurl_format "html" wms_metadataurl_href "X" wms_metadataurl_type "TC211" wms_srs "EPSG:3005 EPSG:3785 EPSG:102190 EPSG:26907 EPSG:26707 EPSG:32607 EPSG:3857 EPSG:42102 EPSG:4269 EPSG:4326 EPSG:26708 EPSG:26709 EPSG:26710 EPSG:26711 EPSG:26712 EPSG:26908 EPSG:26909 EPSG:26910 EPSG:26911 EPSG:26912 EPSG:32608 EPSG:32609 EPSG:32610 EPSG:32611 EPSG:32612 EPSG:54004" wfs_title "Water - Lines (1:20K)" gml_geometries "geom" gml_geom_type "line" gml_include_items "all" gml_exclude_items "GEOMETRY,OBJECTID" ows_include_items "all" ows_exclude_items "GEOMETRY,OBJECTID" END #end PROCESSING "CLOSE_CONNECTION=DEFER" DUMP TRUE TEMPLATE "foo.html" END #end LAYER Many thanks for you help! Michelle -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how-do-min-max-scale-filters-work-tp6246019p6400635.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] Re: GetFeatureINFO errors in Mapserver notoccurringin Geoserver.
Just an update to the problem we are having with the spatial views in ORACLE/SDE.. It turns out that some, and I am not sure all, of our spatial views in SDE 9.1 will work with a GetFEATUREINFO request IF the OBJECTID is dropped from the SVW. This is not an ideal solution however, since other applications (Arcgis Desktop, Geoserver etc), may start to have a problems without the OBJECTID in the the SVW. This is counterintuitive to what I understand about OBJECTIDs.. http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=About_ObjectID_fields http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=About_ObjectID_fields It would be great if we could narrow down what it is about OBJECTIDs in Spatial Views that Mapserver does not like.. Many thanks! Michelle -- View this message in context: http://n2.nabble.com/GetFeatureINFO-errors-in-Mapserver-not-occurring-in-Geoserver-tp2686390p4502863.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
Re: [mapserver-users] Shapefile with first FID = 0 not showing..
It looks like if I switch to the OGR driver for Shapefiles, my issues are resolved. Are there any drawbacks to using the OGR driver vs the Native mapserver drivers? Many thanks, Michelle -- View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3364179.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
Re: [mapserver-users] Shapefile with first FID = 0 not showing..
Thanks Jeff.. I download the Stable setup.exe Installer for MS4W. Which installed the ms4w-2.3.1-setup.exe 142 KB (contains MapServer 5.2.1). And it worked properly.. Both polygon features were displayed. I am not sure what could be the issue, but I believe it may be related to our compiled version MapServer version 5.2.0 Regards, Michelle -- View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3292192.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
RE: [mapserver-users] Shapefile with first FID = 0 not showing..
Just did a test and this wasn't an issue with our version of Mapserver 4.10.. The feature with FID = 0 did display via WMS using mapserver 4.10 (same mapfile, same shapefile). -- View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3292077.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
RE: [mapserver-users] Shapefile with first FID = 0 not showing..
Results of OGRINFO.. E:\apps_data\mapserverutils>ogrinfo -so E:\inetpub\wwwroot\imf\upload INFO: Open of `E:\inetpub\wwwroot\imf\upload' using driver `ESRI Shapefile' successful. 1: shp32973 (Polygon) E:\apps_data\mapserverutils>ogrinfo -summary E:\inetpub\wwwroot\imf\upload\shp32 973.shp shp32973 INFO: Open of `E:\inetpub\wwwroot\imf\upload\shp32973.shp' using driver `ESRI Shapefile' successful. Layer name: shp32973 Geometry: Polygon Feature Count: 2 Extent: (827805.053191, 1185370.191489) - (1117390.585106, 1512564.234043) Layer SRS WKT: PROJCS["Albers Conical Equal Area", GEOGCS["GCS_North_American_1983", DATUM["North_American_Datum_1983", SPHEROID["GRS_1980",6378137.0,298.257222101]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]], PROJECTION["Albers_Conic_Equal_Area"], PARAMETER["False_Easting",100.0], PARAMETER["False_Northing",0.0], PARAMETER["longitude_of_center",-126.0], PARAMETER["Standard_Parallel_1",50.0], PARAMETER["Standard_Parallel_2",58.5], PARAMETER["latitude_of_center",45.0], UNIT["Meter",1.0]] IMF_ID: Integer (10.0) E:\apps_data\mapserverutils>ogrinfo -ro E:\inetpub\wwwroot\imf\upload\shp32973.s hp shp32973 -q Layer name: shp32973 OGRFeature(shp32973):0 IMF_ID (Integer) = 0 POLYGON ((827805.053 1512564.234,1029010.585 1512564.234,1029010.585 1379054.0 21,827805.053 1379054.021,827805.053 1512564.234)) OGRFeature(shp32973):1 IMF_ID (Integer) = 1 POLYGON ((918065.479 1330162.957,1117390.585 1330162.957,1117390.585 1185370.1 91,918065.479 1185370.191,918065.479 1330162.957)) -- View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3290900.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
Re: [mapserver-users] Shapefile with first FID = 0 not showing..
I was able to create a png from MAPSERVER 4.10 / SHP2IMG.. and it does show both features.. (see image .. http://n2.nabble.com/file/n3290653/test.png When I attempt to run MAPSERVER 5.2 / SHP2IMG .. I get this.. http://n2.nabble.com/file/n3290653/Capture.jpg Perhaps it is my compiled version.. thanks, Michelle -- View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3290653.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
Re: [mapserver-users] Shapefile with first FID = 0 not showing..
Hi Jeff, thanks for the quick reply.. I haven't tried the shp2img.. My tests are through WMS only.. Jeff McKenna wrote: > > Douville, Michelle R ILMB:EX wrote: >> Hello List, >> >> I am currently using Mapserver 5.2 on Windows Server 2003. >> >> () >> >> We have just observed, that when we publish a shapefile that has two >> features.. >> >> With FID = 0 and FID =1, it only displays the feature with FID = 1.. >> (for other Shapefiles it is all features greater than 0 only) >> >> For some reason it seems to skip the feature if FID = 0 >> >> Has anyone else come across this before? >> >> Is there a work around? (Other than editing the Shapefile), >> >> Many thanks, >> > > Hello Michelle, > > I have never seen your issue before. Test your mapfile with a shp2img > command - does your problem still occur (in the resulting map image)? > Or are you saying that this only occurs when you consume your mapfile > through a WMS client? > > -jeff > > > > -- > Jeff McKenna > FOSS4G Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3290374.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
Re: [mapserver-users] GetFeatureINFO errors in Mapserver notoccurringin Geoserver.
Steve here is the debug.. when GetFeatureINFO is requested.. [Fri Apr 24 10:37:59 2009].667000 msConnPoolRequest(AEI_AIR_QUALITY_AOI_O,server,port:5152,sde,username,password) -> got 01A63FE8 [Fri Apr 24 10:37:59 2009].667000 msSDELayerOpen(): Layer AEI_AIR_QUALITY_AOI_O did not have a specified version. [Fri Apr 24 10:37:59 2009].667000 msSDEGetLayerInfo(): Looking for layer by WHSE_ENVIRONMENTAL_MONITORING.AEI_AIR_QUALITY_AOI_SVW, GEOMETRY, server,port:5152,sde,username,password [Fri Apr 24 10:37:59 2009].667000 msSDEGetLayerId(): Matched layer to id 1826. [Fri Apr 24 10:37:59 2009].667000 Getting all column information in msSDELayerInitItemInfo [Fri Apr 24 10:37:59 2009].667000 msSDELayerGetRowIDColumn(): Column was manually set to OBJECTID [Fri Apr 24 10:37:59 2009].667000 msSDELayerInitItemInfo(): getting info for geometry [Fri Apr 24 10:37:59 2009].667000 msSDELayerInitItemInfo(): getting info for objectid [Fri Apr 24 10:37:59 2009].667000 msSDELayerInitItemInfo(): getting info for air_quality_aoi_id [Fri Apr 24 10:37:59 2009].667000 msSDELayerInitItemInfo(): getting info for aoi_name [Fri Apr 24 10:37:59 2009].667000 msSDELayerInitItemInfo(): getting info for status [Fri Apr 24 10:37:59 2009].667000 msSDELayerInitItemInfo(): getting info for feature_code [Fri Apr 24 10:37:59 2009].667000 msSDELayerGetShape(): SDE error. SE_stream_fetch_row(): Invalid parameter value passed to function. (-66) [Fri Apr 24 10:37:59 2009].667000 mapserv request processing time (msLoadMap not incl.): 0.016s -- View this message in context: http://n2.nabble.com/GetFeatureINFO-errors-in-Mapserver-not-occurring-in-Geoserver.-tp2686390p2693869.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
Re: [mapserver-users] GetFeatureINFO errors in Mapserver notoccurringin Geoserver.
Thanks again for the reply Steve, Where are using Mapserver 5.2. I have tried playing around with the "PROCESSING OBJECTID=" parameter to no avail for the SVW described below. However, for about 30% of other SVWs, if I apply the primary key of the input spatial layer to this parameter it does fix the problem. Some Spatial views work fine, (and are complex SVWs with several join statements and where clauses) and others do not (no join statements or where clauses as the one below).. We can't seem to narrow down the cause as of yet. In one instance of a spatial view, we changed the underlying roles of the inputs to the spatial views (so the user could see the SVW and the input spatial layers and attribute tables) And this fixed the problem. But for other SVWs this did not correct the problem. Perhaps the primary key and/or OBJECTID of the input spatial layers need to be in the SVWs for it to work correctly, but in some instances this has not worked for us either? Below is the MAP and LAYER definition in the mapfile... MAP EXTENT 79932.9 225000 2020067.1 1875000 SIZE 100 100 UNITS meters SYMBOLSET "air-climate-symbols.sym" FONTSET "fonts.lst" DEBUG 5 CONFIG "MS_ERRORFILE" "e:/sw_nt/mapserver/log/air-climate.log" NAME "BCGov - Air Climate WMS" WEB METADATA wms_title "BCGov - Air Climate WMS" wfs_title "BCGov - Air Climate WFS" wms_onlineresource "http://server/mapserver/air-climate?service=WMS"; wfs_onlineresource "http://server/mapserver/air-climate?service=WFS"; wms_srs "EPSG:3785 EPSG:102190 EPSG:26907 EPSG:26707 EPSG:32607 EPSG:3005 EPSG:42102 EPSG:4269 EPSG:4326 EPSG:26708 EPSG:26709 EPSG:26710 EPSG:26711 EPSG:26712 EPSG:26908 EPSG:26909 EPSG:26910 EPSG:26911 EPSG:26912 EPSG:32608 EPSG:32609 EPSG:32610 EPSG:32611 EPSG:32612 EPSG:54004" wfs_srs "EPSG:3785 EPSG:102190 EPSG:26907 EPSG:26707 EPSG:32607 EPSG:3005 EPSG:42102 EPSG:4269 EPSG:4326 EPSG:26708 EPSG:26709 EPSG:26710 EPSG:26711 EPSG:26712 EPSG:26908 EPSG:26909 EPSG:26910 EPSG:26911 EPSG:26912 EPSG:32608 EPSG:32609 EPSG:32610 EPSG:32611 EPSG:32612 EPSG:54004" wfs_maxfeatures "0" wms_abstract "Data relating to patterns of wind, temperature, precipitation, etc., over a period of time, for a specified area." wms_keywordlist "British Columbia,BC,Canada,wind,temperature,precipitation,climate,air" wms_accessconstraints "This Web Map Service cannot be cascaded through another Web Map Service without the express written permission of the Province of British Columbia" wms_fees "None" END END PROJECTION "init=EPSG:3005" END LEGEND KEYSIZE 15 15 LABEL COLOR 0 0 0 FONT "arial" TYPE truetype SIZE 8 END END LAYER NAME "AEI_AIR_QUALITY_AOI_O" CONNECTIONTYPE sde CONNECTION "server,port:5152,sde,username,password" DATA "WHSE_ENVIRONMENTAL_MONITORING.AEI_AIR_QUALITY_AOI_SVW,GEOMETRY" TYPE polygon MAXSCALEDENOM 1200 LABELITEM "AOI_NAME" LABELMAXSCALEDENOM 200 STATUS ON CLASS STYLE OUTLINECOLOR 213 13 39 WIDTH 2 END LABEL TYPE truetype ANGLE auto POSITION auto FONT "arial-bold" MINDISTANCE 1 COLOR 255 255 0 OUTLINECOLOR 0 0 0 SIZE 14 END END METADATA wms_title "Air Quality Areas of Interest - Outlined" wms_metadataurl_format "html" wms_metadataurl_href "http://aardvark.gov.bc.ca/apps/metastar/metadataDetail.do?recordUID=42631&recordSet=ISO19115"; wms_metadataurl_type "TC211" wfs_title "Air Quality Areas of Interest - Outlined" gml_geometries "geom" gml_geom_type "polygon" gml_include_items "all" gml_exclude_items "GEOMETRY,OBJECTID" ows_include_items "all" ows_exclude_items "GEOMETRY,OBJECTID" END #end
Re: [mapserver-users] GetFeatureINFO errors in Mapserver not occurringin Geoserver.
Hi Steve, Thanks for the suggestion.. I attempted this URL http://server/mapserver/air-climate?&mapsize=1024+370&layers=AEI_AIR_QUALITY_AOI_O&mapxy=-126.94250575451+54.5026638549918&mode=query and it returned: Content-type: text/html msSDELayerGetShape(): SDE error. SE_stream_fetch_row(): Invalid parameter value passed to function. (-66) Looks like WMS and mapserver queries have problems at the same point in the code - msSDElayerGetShape().. I find it odd that Geoserver WMS seems to have no problem with the same sde layer data. Which makes me believe that the underlying SDE data may be OK, but Geoserver and Mapserver somehow do the queries to SDE differently.. many thanks, Michelle Steve Lime wrote: > > Sounds like more of an SDE problem than WMS. Can you query the SDE layer > outside of WMS just > using MapServer queries? > > Steve > > > > -- View this message in context: http://n2.nabble.com/GetFeatureINFO-errors-in-Mapserver-not-occurring-in-Geoserver.-tp2686390p2688375.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] GetFeatureINFO errors in Mapserver not occurring in Geoserver.
We have data that is in Oracle 10.2.0.2 Enterprise Edition with ArcSDE 9.1 General Update Patch 3. We have several spatial views that are causing us issues when GetFeatureINFO is requested via Mapserver 5.2. The result is an SDE error. SE_stream_fetch_row(): Invalid parameter value passed to function. (-66). However, using Geoserver 1.7.3 to the same data the GetFeatureINFO request is successful. Any thoughts as to why Mapserver has issues but Geoserver does not? The Spatial View given in the example below is a simple view (no where clauses or join statements). We have re-registered the Spatial view with the sde to make sure the objectid was correct. Looks like Geoserver 1.7.3 doesn’t mind GetFeatureINFO on SCHEMA.AEI_AIR_QUALITY_AOI_SVW Whereas Mapserver 5.2 gets confused.. see examples below http://server/geoserver/wms?service=wms&request=getFeatureInfo&version=1.1.1&layers=prod:AOIAEI&query_layers=prod:AOIAEI&width=500&height=500&SRS=EPSG:4326&BBOX=-126.94250575451,54.5026638549918,-126.72424645805,54.6394718590618&x=200&y=200&info_format=text/plain Results for FeatureType 'AOIAEI': geometry = [GEOMETRY (Polygon) with 22 points] air_quality_aoi_id = 66 aoi_name = Bulkley Valley / Lakes District status = Plan Established feature_code = FF00595000 http://server/mapserver/air-climate?service=wms&request=getFeatureInfo&version=1.1.1&layers=AEI_AIR_QUALITY_AOI_O&query_layers=AEI_AIR_QUALITY_AOI_O&width=500&height=500&SRS=EPSG:4326&BBOX=-126.94250575451,54.5026638549918,-126.72424645805,54.6394718590618&x=200&y=200&info_format=text/plain GetFeatureInfo results: Layer 'AEI_AIR_QUALITY_AOI_O' Content-type: application/vnd.ogc.se_xml http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd";> msSDELayerGetShape(): SDE error. SE_stream_fetch_row(): Invalid parameter value passed to function. (-66) many thanks for any assistance. -- View this message in context: http://n2.nabble.com/GetFeatureINFO-errors-in-Mapserver-not-occurring-in-Geoserver.-tp2686390p2686390.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
Re: [mapserver-users] GetFeatureInfo with ArcSDE9.1/Oracle10g Spatial Views - Mapserver 5.2
Additional debugging info.. [Fri Feb 20 15:18:05 2009].241000 msSDELayerOpen(): Layer BIOT_OCCR_TREES_AREA_SVW specified version SDE.DEFAULT. [Fri Feb 20 15:18:05 2009].241000 msSDEGetLayerInfo(): Looking for layer by WHSE_TERRESTRIAL_ECOLOGY.BIOT_OCCR_TREES_AREA_SVW, GEOMETRY, server,port:port,sde,username,password [Fri Feb 20 15:18:05 2009].241000 msSDEGetLayerId(): Matched layer to id 896. [Fri Feb 20 15:18:05 2009].241000 Getting all column information in msSDELayerInitItemInfo [Fri Feb 20 15:18:05 2009].241000 msSDELayerGetRowIDColumn(): Table was not registered, returning SE_ROW_ID. [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for OCCR_AREA_SP_ID [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for GEOMETRY [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for OBJECTID [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for FEATURE_CODE [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for SHAPE_ID [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for SCI_NAME_F [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for SCI_NAME [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for ENG_NAME_F [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for ENG_NAME [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for OCCR_ID [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for EL_TYPE [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for DATA_SENS [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for SURV_SITE [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for DIRECTIONS [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for FIRST_OBS [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for LAST_OBS [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for OCCR_DATA [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for GEN_DESC [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for VEG_ZONE [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for HABITAT [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for BGC [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for REFERENCES [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for VERS_DATE [Fri Feb 20 15:18:05 2009].241000 msSDELayerInitItemInfo(): getting info for EST_RA [Fri Feb 20 15:18:05 2009].241000 msSDELayerGetShape(): SDE error. SE_stream_fetch_row(): Invalid parameter value passed to function. (-66) [Fri Feb 20 15:18:05 2009].241000 mapserv request processing time (msLoadMap not incl.): 0.016s [Fri Feb 20 15:18:05 2009].241000 msFreeMap(): freeing map at 010B4548. [Fri Feb 20 15:18:05 2009].241000 msSDELayerCloseConnection(): Closing connection for layer BIOT_OCCR_TREES_AREA_SVW. Mapfile layer: LAYER NAME 'BIOT_OCCR_TREES_AREA_SVW' CONNECTIONTYPE sde CONNECTION "server,port,sde,username,password" DATA 'WHSE_TERRESTRIAL_ECOLOGY.BIOT_OCCR_TREES_AREA_SVW,GEOMETRY,SDE.DEFAULT' # PROCESSING "OBJECTID=SHAPE_ID" LABELITEM 'SHAPE_ID' LABELMAXSCALE 50 CLASS NAME 'CDC Big Trees' STYLE SYMBOL 'square' COLOR 215 194 158 SIZE 5 END #end style LABEL COLOR 0 0 0 FONT arial TYPE truetype SIZE 8 PARTIALS FALSE BUFFER 1 OUTLINECOLOR 254 254 254 END #end label END #end class TYPE polygon MINSCALE 0 MAXSCALE 300 STATUS ON PROJECTION "init=EPSG:3005" END #projection METADATA wms_title "Big Trees - Non Sensitive Occurrences" wms_metadataurl_format "html" wms_metadataurl_href " " wms_metadataurl_type "TC211" wfs_title "CDC Big Trees" # gml_geometries "geom" gml_geom_type "polygon" gml_include_items "all" # gml_exclude_items "GEOMETRY,OBJECTID" ows_include_items "all" gml_featureid "OBJECTID" ows_feature_id "OBJECTID" # "wms_feature_info_mime_type" "text/plain" END #metadata PROCESSING "CLOSE_CONNECTION=DEFER" DEBUG 5 DUMP TRUE TEMPLATE "foo.html" END #end layer -- View this message in context: http://n2.nabble.com/GetFeatureInfo-with-ArcSDE9.1-Oracle10g-Spatial-Views---Mapserver-5.2-tp2361707p2361946.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