[mapserver-users] Mapserver SQL Server 2008 R2 connection
Hi All, I really appricate any help on this. I am trying to create a WMS using mapserver and data from SQL 2008 R2. This is what my map file looks like. SIZE 600 800 PROJECTION init=epsg:4326 #latlon on WGS84 END EXTENT 113 -34 129 -14 # lon/lat extents of Spatial WEB IMAGEPATH /tmp/ms_tmp/ IMAGEURL /ms_tmp/ METADATA map C:/OSGeo4W/apps/Spatial/config.map ows_schemas_location http://schemas.opengeospatial.net; ows_title Sample WMS ows_abstract Sample WMS of Spatial ows_keywordlist Spatial,WMS,Maxwell ows_onlineresource http://localhost:8080//Spatial?map=C:/OSGeo4W/apps/Spatial/config.map; wms_srs EPSG:4326 #latlon wms_feature_info_mime_type text/plain wms_feature_info_mime_type text/html wms_server_version 1.1.1 wms_formatlist image/png,image/gif,image/jpeg wms_format image/gif END #metadata END #web LAYER NAME tenements CONNECTIONTYPE PLUGIN PLUGIN C:/OSGeo4W/specialplugins/msplugin_mssql2008.dll CONNECTION Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SpatialDB;Data Source=AU-FRE-L0217//SQL_2008R2 DATA SP_GEOMETRY from dbo.tenements TYPE POLYGON STATUS ON METADATA ows_title tenements END #metadata PROJECTION init=epsg:4326 END END #Layer End #Map I am using msplugin_mssql2008.dll plugin. But I keep getting 500 internal error: I checked the even view and the error there says: Faulting application name: mapserv.exe, version: 0.0.0.0, time stamp: 0x4ab3c473 Faulting module name: libmap.dll, version: 0.0.0.0, time stamp: 0x4ab3c46e Exception code: 0xc005 Fault offset: 0x000a7815 Faulting process id: 0x178c Faulting application start time: 0x01cb80a63078252e Faulting application path: C:\OSGeo4W\bin\mapserv.exe Faulting module path: C:\OSGeo4W\bin\libmap.dll Report Id: 6f925ed2-ec99-11df-a20d-b8ac6f7484b2 Appache error log error message is: [Wed Nov 10 13:56:35 2010] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe [Wed Nov 10 13:59:04 2010] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe [Wed Nov 10 15:09:21 2010] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe Please help!! Thank you Milen -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-SQL-Server-2008-R2-connection-tp5723789p5723789.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] Mapserver SQL Server 2008 R2 connection
Milen, According to the timestamps this compilation seems to be outdated and there have been lost of changes in the mssql2008 driver afterwards. I suggest to do a test with the daily build packages from http://vbkto.dyndns.org/sdk/ by replacing .exe and .dll files to the newer versions. Best regards, Tamas 2010/11/10 Milena mgebr...@maxgeo.com Hi All, I really appricate any help on this. I am trying to create a WMS using mapserver and data from SQL 2008 R2. This is what my map file looks like. SIZE 600 800 PROJECTION init=epsg:4326 #latlon on WGS84 END EXTENT 113 -34 129 -14 # lon/lat extents of Spatial WEB IMAGEPATH /tmp/ms_tmp/ IMAGEURL /ms_tmp/ METADATA map C:/OSGeo4W/apps/Spatial/config.map ows_schemas_location http://schemas.opengeospatial.net; ows_title Sample WMS ows_abstract Sample WMS of Spatial ows_keywordlist Spatial,WMS,Maxwell ows_onlineresource http://localhost:8080//Spatial?map=C:/OSGeo4W/apps/Spatial/config.map; wms_srs EPSG:4326 #latlon wms_feature_info_mime_type text/plain wms_feature_info_mime_type text/html wms_server_version 1.1.1 wms_formatlist image/png,image/gif,image/jpeg wms_format image/gif END #metadata END #web LAYER NAME tenements CONNECTIONTYPE PLUGIN PLUGIN C:/OSGeo4W/specialplugins/msplugin_mssql2008.dll CONNECTION Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=SpatialDB;Data Source=AU-FRE-L0217//SQL_2008R2 DATA SP_GEOMETRY from dbo.tenements TYPE POLYGON STATUS ON METADATA ows_title tenements END #metadata PROJECTION init=epsg:4326 END END #Layer End #Map I am using msplugin_mssql2008.dll plugin. But I keep getting 500 internal error: I checked the even view and the error there says: Faulting application name: mapserv.exe, version: 0.0.0.0, time stamp: 0x4ab3c473 Faulting module name: libmap.dll, version: 0.0.0.0, time stamp: 0x4ab3c46e Exception code: 0xc005 Fault offset: 0x000a7815 Faulting process id: 0x178c Faulting application start time: 0x01cb80a63078252e Faulting application path: C:\OSGeo4W\bin\mapserv.exe Faulting module path: C:\OSGeo4W\bin\libmap.dll Report Id: 6f925ed2-ec99-11df-a20d-b8ac6f7484b2 Appache error log error message is: [Wed Nov 10 13:56:35 2010] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe [Wed Nov 10 13:59:04 2010] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe [Wed Nov 10 15:09:21 2010] [error] [client 127.0.0.1] Premature end of script headers: mapserv.exe Please help!! Thank you Milen -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapserver-SQL-Server-2008-R2-connection-tp5723789p5723789.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
Re: [mapserver-users] WMS 1.3.0 questions
Yves, About the version parameter value: it only says which version you want to, not the one the WMS serveur **should** use. If WMS server can't serve this version, it will try the higher it can if client version server version or the lower it can if client version server version. The client version is the version value in the url, asked by the client. Regards, Y. Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit : Hello Yves, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks - doc pointers: http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support ...specifically see the 2 working 1.3.0 example requests there -jeff Hi All, I tried to look for an answer to the question what do I have to do to get MapServer to serve a 1.3.0 WMS by default and I haven't found yet. Is there anything to do in the mapfile per se or is it just by the virtue of having a version = 5.4 ? I thought the latter but then I tried things like : http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.3.0CRS=EPSG%3A42304BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.1.1CRS=EPSG%3A42304BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and wondered if I'm getting back the response from a 1.3.0 in the first case and a 1.1.1 in the second case. Both images were the same, so I thought everything was fine until I tried an unexisting version number (e.g. 1.1.122) and still got back an image ! The only error message that made me think MS was indeed looking at the version number is when I submitted VERSION=abc. then MS complained it wanted x.y or x.y.z. So how can I tell I get a real WMS with my specified version number instead of what appears to be a default one ? Doc pointers appreciated. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : +41 21 619 1031 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS 1.3.0 questions
Yves, this is only true for the GetCapabilities operation. Not for operations such as GetMap. Best regards, Bart Yves, About the version parameter value: it only says which version you want to, not the one the WMS serveur **should** use. If WMS server can't serve this version, it will try the higher it can if client version server version or the lower it can if client version server version. The client version is the version value in the url, asked by the client. Regards, Y. Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit : Hello Yves, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks - doc pointers: http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support ...specifically see the 2 working 1.3.0 example requests there -jeff Hi All, I tried to look for an answer to the question what do I have to do to get MapServer to serve a 1.3.0 WMS by default and I haven't found yet. Is there anything to do in the mapfile per se or is it just by the virtue of having a version = 5.4 ? I thought the latter but then I tried things like : http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.3.0CRS=EPSG%3A42304BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.1.1CRS=EPSG%3A42304BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and wondered if I'm getting back the response from a 1.3.0 in the first case and a 1.1.1 in the second case. Both images were the same, so I thought everything was fine until I tried an unexisting version number (e.g. 1.1.122) and still got back an image ! The only error message that made me think MS was indeed looking at the version number is when I submitted VERSION=abc. then MS complained it wanted x.y or x.y.z. So how can I tell I get a real WMS with my specified version number instead of what appears to be a default one ? Doc pointers appreciated. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : +41 21 619 1031 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.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
Re: [mapserver-users] WMS 1.3.0 questions
Hum ok. Thanks Bart ! Y. Le mercredi 10 novembre 2010 15:32:50, Bart van den Eijnden (OSGIS) a écrit : Yves, this is only true for the GetCapabilities operation. Not for operations such as GetMap. Best regards, Bart Yves, About the version parameter value: it only says which version you want to, not the one the WMS serveur **should** use. If WMS server can't serve this version, it will try the higher it can if client version server version or the lower it can if client version server version. The client version is the version value in the url, asked by the client. Regards, Y. Le mercredi 10 novembre 2010 03:48:56, Jeff McKenna a écrit : Hello Yves, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks - doc pointers: http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support ...specifically see the 2 working 1.3.0 example requests there -jeff Hi All, I tried to look for an answer to the question what do I have to do to get MapServer to serve a 1.3.0 WMS by default and I haven't found yet. Is there anything to do in the mapfile per se or is it just by the virtue of having a version = 5.4 ? I thought the latter but then I tried things like : http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.3.0CRS=EPSG%3A42304; BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and http://toMapserv.cgi?...REQUEST=GetMapVERSION=1.1.1CRS=EPSG%3A42304; BBO X=-5175875.27581...WIDTH=1605HEIGHT=316 and wondered if I'm getting back the response from a 1.3.0 in the first case and a 1.1.1 in the second case. Both images were the same, so I thought everything was fine until I tried an unexisting version number (e.g. 1.1.122) and still got back an image ! The only error message that made me think MS was indeed looking at the version number is when I submitted VERSION=abc. then MS complained it wanted x.y or x.y.z. So how can I tell I get a real WMS with my specified version number instead of what appears to be a default one ? Doc pointers appreciated. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : +41 21 619 1031 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 79 26 57 98 Tel (Suisse) : +41 21 619 1031 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapserver stopped working - help needed
Hello all, Several years ago I built a mapping site called Roadlessland.org, which uses mapserver and google maps to map national forest roadless areas. I taught myself a lot of programming and built the site from the ground up. Suddenly this fall mapserver stopped functioning completely. All I get is the error below. The address for the mapserver http://thewildwoodstudios.com/cgi-bin/mapserv? Until now there have been few maintenance issues, and I have no idea what might have happened. As far as I know there haven't been any changes in the server. Does anybody have any idea what might have gone wrong? Thank you, Nelson Guda This is the returned error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmas...@thewildwoodstudios.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS 1.3.0 questions
I think it is a bad idea to default to a certain version in GetMap. Version is a required parameter and an exception should be thrown if a version is not known. Also to avoid issues that Yves M has raised. Bart Sent from my iPhone On Nov 10, 2010, at 4:18 PM, Yves Moisan yves.moi...@boreal-is.com wrote: Le 2010-11-09 21:48, Jeff McKenna a écrit : Hello Yves, Hi Jeff, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks I added myself in the cc list. The description of that ticket says For example in WMS if the version parameter is not set, MapServer usually defaults to the latest supported version (1.3.0). If I read this correctly, if I change MapServer from 5.2.x to 5.6 and I happen to be working with EPSG codes that have their axes flipped between 1.1.1 and 1.3.0, my WMS requests won't work anymore IF i didn't specify a version number. Ouch. Also, what happens if I specify a non existent, but valid, number like 1. ? I know an image is an image as Jukka mentioned, but how do I know how MapServer interpreted my faulty version number ? Does it default to the latest supported version too ? - doc pointers: http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support ...specifically see the 2 working 1.3.0 example requests there I've seen those. I can see the request parameters all right, it's just that I'm not sure how MapServer reacts. I know it chokes if I send VERSION=abc, but it will send me an image whatever I use for a version number as long as it is of the forms x.y or x.y.z. VERSION=1234.4567.890 will work ! Because I get only an image back, how do I know how MS handled the request ? Is there a response header I'm missing somewhere ? Thanx. Yves ___ 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
Re: [mapserver-users] WMS 1.3.0 questions
Let me try to clarify a few things: 1- The default version that is mentioned in ticekt 3444 would be only for GetCapabilities and would essentially be a hint for MapServer to give preference to that version in a GetCapabilities response if no version is specified. 2- There CANNOT be a default version applied to GetMap as this would be contrary to the spec. (And MapServer does not apply a default version in GetMap's case) 3- That may not be obvious, but MapServer honors the VERSION that you set in a GetMap request... it's just that it works with ranges of versions for each version-specific difference in the spec instead of discrete version numbers in an attempt to be forgiving of clients that support only intermediate versions that MapServer may not be explicitly built for. More specifically: (0.0.0 VERSION 1.0.7) is treated as 1.0.0 (1.0.7 = VERSION 1.1.0) is treated as 1.0.7 (1.1.0 = VERSION 1.1.1) is treated as 1.1.0 (1.1.1 = VERSION 1.3.0) is treated as 1.1.1 (VERSION = 1.3.0) is treated as 1.3.0 Now, while double-checking this I found that the GetCapabilities code that handles version negociation may not follow exactly this logic for the 1.3.0 case and this will need a review and fix, but other than that, that's how most of the logic works for the GetMap and other differences between WMS spec versions. That also explains why 1. works, your request should have been treated as 1.1.1 according to the rules above. 4- After seeing this thread, I would tend to lean towards producing an exception if version is not one of the explicitly supported values to prevent any confusion (i.e. anything not in the following list would produce an exception: 1.0.0, 1.0.6, 1.0.7, 1.1.0, 1.1.1 and 1.3.0) Daniel Bart van den Eijnden wrote: I think it is a bad idea to default to a certain version in GetMap. Version is a required parameter and an exception should be thrown if a version is not known. Also to avoid issues that Yves M has raised. Bart Sent from my iPhone On Nov 10, 2010, at 4:18 PM, Yves Moisan yves.moi...@boreal-is.com mailto:yves.moi...@boreal-is.com wrote: Le 2010-11-09 21:48, Jeff McKenna a écrit : Hello Yves, Hi Jeff, Some related thoughts: - related ticket for configuring default WMS version: http://trac.osgeo.org/mapserver/ticket/3444 ...please add yourself to the CC list of that ticket and join in the discussions and testing and feedback, thanks I added myself in the cc list. The description of that ticket says For example in WMS if the version parameter is not set, MapServer http://trac.osgeo.org/mapserver/wiki/MapServer usually defaults to the latest supported version (1.3.0). If I read this correctly, if I change MapServer from 5.2.x to 5.6 and I happen to be working with EPSG codes that have their axes flipped between 1.1.1 and 1.3.0, my WMS requests won't work anymore IF i didn't specify a version number. Ouch. Also, what happens if I specify a non existent, but valid, number like 1. ? I know an image is an image as Jukka mentioned, but how do I know how MapServer interpreted my faulty version number ? Does it default to the latest supported version too ? - doc pointers: http://www.mapserver.org/ogc/wms_server.html#wms-1-3-0-support ...specifically see the 2 working 1.3.0 example requests there I've seen those. I can see the request parameters all right, it's just that I'm not sure how MapServer reacts. I know it chokes if I send VERSION=abc, but it will send me an image whatever I use for a version number as long as it is of the forms x.y or x.y.z. VERSION=1234.4567.890 will work ! Because I get only an image back, how do I know how MS handled the request ? Is there a response header I'm missing somewhere ? Thanx. Yves ___ mapserver-users mailing list mapserver-users@lists.osgeo.org mailto: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 -- Daniel Morissette http://www.mapgears.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS 1.3.0 questions
Daniel Morissette wrote: That also explains why 1. works, your request should have been treated as 1.1.1 according to the rules above. Er... 1. should probably end up being treated as 1.3.0, but a value larger than 256 for any of the three digits of the WMS version string would overflow in the other digit in our implementation, so keep that in mind if you decide to play that game. -- Daniel Morissette http://www.mapgears.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver stopped working - help needed
On 11/10/2010 12:14 PM, nelson guda wrote: Hello all, Several years ago I built a mapping site called Roadlessland.org http://Roadlessland.org, which uses mapserver and google maps to map national forest roadless areas. I taught myself a lot of programming and built the site from the ground up. Suddenly this fall mapserver stopped functioning completely. All I get is the error below. The address for the mapserver http://thewildwoodstudios.com/cgi-bin/mapserv? Until now there have been few maintenance issues, and I have no idea what might have happened. As far as I know there haven't been any changes in the server. Does anybody have any idea what might have gone wrong? Thank you, Nelson Guda Can you check the Apache error log? More info about the problem should be in there, -Andy ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS 1.3.0 questions
3- That may not be obvious, but MapServer honors the VERSION that you set in a GetMap request... Hi Daniel, I would say it's confusing to see VERSION=1. going through ... it's just that it works with ranges of versions for each version-specific difference in the spec instead of discrete version numbers in an attempt to be forgiving of clients that support only intermediate versions that MapServer may not be explicitly built for. More specifically: (0.0.0 VERSION 1.0.7) is treated as 1.0.0 (1.0.7= VERSION 1.1.0) is treated as 1.0.7 (1.1.0= VERSION 1.1.1) is treated as 1.1.0 (1.1.1= VERSION 1.3.0) is treated as 1.1.1 (VERSION= 1.3.0) is treated as 1.3.0 A word from a coder is worth a thousand [GetMap] images ;-). That's really clear. But misleading for the client/map integrator IMO. 4- After seeing this thread, I would tend to lean towards producing an exception if version is not one of the explicitly supported values to prevent any confusion (i.e. anything not in the following list would produce an exception: 1.0.0, 1.0.6, 1.0.7, 1.1.0, 1.1.1 and 1.3.0) I think that's a very sensible solution. Especially since the VERSION parameter is required. Trying to push a GetMap request without a VERSION url parameter already generates an error : msWMSDispatch(): WMS server error. Incomplete WMS request: VERSION parameter missing. I think failing to find an explicit VERSION number in a set of allowed values should trigger a similar exception, something along the lines of msWMSDispatch(): WMS server error. Offending (or misformed or something) WMS request: VERSION parameter not in {1.0.0, 1.0.6, 1.0.7, 1.1.0, 1.1.1, 1.3.0}. That behaviour would at least comfort me as a user that the VERSION number I'm passing in is the one used, short of having a response header confirming that (which appears to be an impossible task anyways). Thanx, Yves ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] WMS identify within ArcGIS
Hello, I am trying to set up Mapserver as a WMS server. Currently I can draw maps. However, I am having trouble getting the server to support Identify, specifically within ArcGIS. Does anyone have an example map file and template that allows WMS Identify in ArcGIS. Thank You Mark Volz GIS Specialist Lyon County, MN ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] WMS identify within ArcGIS
It seems that ArcMap only supports text/plain output for WMS info_format even when requested otherwise. To my knowledge this format does not return attribute values but simply feature numbers (someone correct me if I am wrong). I have a support call into ESRI even as we speak so I will pass that information along when I get it. Till later, === David V. Hildebrand Agriculture Financial Services Corporation (403) 782-8239 www.afsc.ca about:www.afsc.ca http://www.afsc.ca http://www.afsc.ca/ This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and/or privileged information. Please contact Agriculture Financial Services Corporation immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. Please consider the environment before printing this email. _ From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz Sent: Wednesday, November 10, 2010 2:58 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WMS identify within ArcGIS Hello, I am trying to set up Mapserver as a WMS server. Currently I can draw maps. However, I am having trouble getting the server to support Identify, specifically within ArcGIS. Does anyone have an example map file and template that allows WMS Identify in ArcGIS. Thank You Mark Volz GIS Specialist Lyon County, MN ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] WMS identify within ArcGIS
Hi, Info_format does not have (much) to do with the information Mapserver sends. It is true that if mapfile is configured to send no attributes with GetFeatureInfo responses it is still sending the feature number if user makes a request with text/plain but not with other formats (someone correct me if I am wrong). Configuring GetFeatureInfo is a bit tricky in Mapserver because all the formats text/plain, text/html, and gml need a bit different manouvres. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: David Hildebrand Lähetetty: to 11.11.2010 2:02 Vastaanottaja: mapserver-users@lists.osgeo.org Kopio: Mark Volz Aihe: RE: [mapserver-users] WMS identify within ArcGIS It seems that ArcMap only supports text/plain output for WMS info_format even when requested otherwise. To my knowledge this format does not return attribute values but simply feature numbers (someone correct me if I am wrong). I have a support call into ESRI even as we speak so I will pass that information along when I get it. Till later, === David V. Hildebrand Agriculture Financial Services Corporation (403) 782-8239 www.afsc.ca about:www.afsc.ca http://www.afsc.ca http://www.afsc.ca/ This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and/or privileged information. Please contact Agriculture Financial Services Corporation immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. Please consider the environment before printing this email. _ From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Volz Sent: Wednesday, November 10, 2010 2:58 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WMS identify within ArcGIS Hello, I am trying to set up Mapserver as a WMS server. Currently I can draw maps. However, I am having trouble getting the server to support Identify, specifically within ArcGIS. Does anyone have an example map file and template that allows WMS Identify in ArcGIS. Thank You Mark Volz GIS Specialist Lyon County, MN ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users