RE: [mapserver-users] wms layer query

2010-05-12 Thread Eric Weisbender
Thanks Dave,

I have tried a direct getFeatureInfo request and it works great... 
http://rmgsc.cr.usgs.gov/arcgis/services/nhss_haz/MapServer/WMSServer?service=WMSversion=1.1.1request=GetFeatureInfoSRS=EPSG:4326BBOX=-159.845000,20.809000,-72.815000,67.239000query_layers=1WIDTH=1HEIGHT=1X=1Y=1info_format=text/html;.
  When I query it through my MapServer I get the following error...  
msQueryByRect(): Search returned no results. No matching record(s) found.  I 
am using MapServer Version 5.2.2 and the WMS service is a USGS service 
available in both WMS Version 1.1.1 and 1.3.0.  I'm wondering if there are some 
compatibility issues and if anyone has a working example I might take a look 
at.  Again, thanks in advance.

EW

 Fawcett, David (MPCA) david.fawc...@state.mn.us 5/10/2010 7:33 AM 
Have you tried a direct getFeatureInfo request from a browser?  

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eric Weisbender
Sent: Friday, May 07, 2010 2:19 PM
To: mapserver-users@lists.osgeo.org 
Subject: [mapserver-users] wms layer query

Hello,

I have a wms layer defined in my map file coming from a USGS service that is 
supposed to be queryable  but when I query it I get nothing in return.  It 
draws fine and the GetCapabilities request says Layer queryable=1.  I 
wondering if it's my layer definition or if you just can't do this in basic 
mapserver.  Below is my layer def and any help is beer worthy.  Thanks in 
advance.


LAYER
  NAME firetest
  METADATA
wms_srs EPSG:4326
wms_name1
wms_server_version  1.1.1
wms_format  image/png
wms_title 1
wfs_title 1
wms_metadataurl_format text/html
 gml_include_items all
 wms_include_items all
 END
  STATUS OFF
  TYPE RASTER
  #MINSCALE 3800
  CONNECTIONTYPE WMS
  CONNECTION 
http://rmgsc.cr.usgs.gov/arcgis/services/nhss_haz/MapServer/WMSServer?service=WMSversion=1.1.1request=GetMaplayers=1styles=defaluttransparent=TRUEformat=image/png;
  PROJECTION
  init=epsg:4326
  END
  CLASS
NAME fire wms test
KEYIMAGE '/data/gis/www/html/ms_common/fire.png'
  END
  TEMPLATE http://gis.hq.wapa.gov/ms_common/fires.html;
  HEADER http://gis.hq.wapa.gov/ms_common/fires_header.html;
  FOOTER http://gis.hq.wapa.gov/ms_common/fires_footer.html;
  TOLERANCE 10
END



___
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 layer query

2010-05-12 Thread Rahkonen Jukka
Hi,

I fear I cannot help with the problem itself but I suppose there are two 
non-standard things in the GetFeatureInfo query:

- WMS layer names must not start with a number
- layers should be included also in GetFeatureInfo (not sure about this)

-Jukka Rahkonen-

Eric Weisbender wrote:

 
 Thanks Dave,

 I have tried a direct getFeatureInfo request and it works great... 
 http://rmgsc.cr.usgs.gov/arcgis/services/nhss_haz/MapServer/WMSServer?service=WMSversion=1.1.1request=GetFeatureInfoSRS=EPSG:4326BBOX=-159.845000,20.809000,-72.815000,67.239000query_layers=1WIDTH=1HEIGHT=1X=1Y=1info_format=text/html;.
   When I query it through my MapServer I get the following error...  
 msQueryByRect(): Search returned no results. No matching record(s) found.  I 
 am using MapServer Version 5.2.2 and the WMS service is a USGS service 
 available in both WMS Version 1.1.1 and 1.3.0.  I'm wondering if there are 
 some compatibility issues and if anyone has a working example I might take a 
 look at.  Again, thanks in advance.

EW

 Fawcett, David (MPCA) david.fawc...@state.mn.us 5/10/2010 7:33 AM 
Have you tried a direct getFeatureInfo request from a browser?  

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eric Weisbender
Sent: Friday, May 07, 2010 2:19 PM
To: mapserver-users@lists.osgeo.org 
Subject: [mapserver-users] wms layer query

Hello,

I have a wms layer defined in my map file coming from a USGS service that is 
supposed to be queryable  but when I query it I get nothing in return.  It 
draws fine and the GetCapabilities request says Layer queryable=1.  I 
wondering if it's my layer definition or if you just can't do this in basic 
mapserver.  Below is my layer def and any help is beer worthy.  Thanks in 
advance.


LAYER
  NAME firetest
  METADATA
wms_srs EPSG:4326
wms_name1
wms_server_version  1.1.1
wms_format  image/png
wms_title 1
wfs_title 1
wms_metadataurl_format text/html
 gml_include_items all
 wms_include_items all
 END
  STATUS OFF
  TYPE RASTER
  #MINSCALE 3800
  CONNECTIONTYPE WMS
  CONNECTION 
http://rmgsc.cr.usgs.gov/arcgis/services/nhss_haz/MapServer/WMSServer?service=WMSversion=1.1.1request=GetMaplayers=1styles=defaluttransparent=TRUEformat=image/png;
  PROJECTION
  init=epsg:4326
  END
  CLASS
NAME fire wms test
KEYIMAGE '/data/gis/www/html/ms_common/fire.png'
  END
  TEMPLATE http://gis.hq.wapa.gov/ms_common/fires.html;
  HEADER http://gis.hq.wapa.gov/ms_common/fires_header.html;
  FOOTER http://gis.hq.wapa.gov/ms_common/fires_footer.html;
  TOLERANCE 10
END



___
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

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] wms layer query

2010-05-10 Thread Fawcett, David (MPCA)
Have you tried a direct getFeatureInfo request from a browser?  

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eric Weisbender
Sent: Friday, May 07, 2010 2:19 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] wms layer query

Hello,

I have a wms layer defined in my map file coming from a USGS service that is 
supposed to be queryable  but when I query it I get nothing in return.  It 
draws fine and the GetCapabilities request says Layer queryable=1.  I 
wondering if it's my layer definition or if you just can't do this in basic 
mapserver.  Below is my layer def and any help is beer worthy.  Thanks in 
advance.


LAYER
  NAME firetest
  METADATA
wms_srs EPSG:4326
wms_name1
wms_server_version  1.1.1
wms_format  image/png
wms_title 1
wfs_title 1
wms_metadataurl_format text/html
 gml_include_items all
 wms_include_items all
 END
  STATUS OFF
  TYPE RASTER
  #MINSCALE 3800
  CONNECTIONTYPE WMS
  CONNECTION 
http://rmgsc.cr.usgs.gov/arcgis/services/nhss_haz/MapServer/WMSServer?service=WMSversion=1.1.1request=GetMaplayers=1styles=defaluttransparent=TRUEformat=image/png;
  PROJECTION
  init=epsg:4326
  END
  CLASS
NAME fire wms test
KEYIMAGE '/data/gis/www/html/ms_common/fire.png'
  END
  TEMPLATE http://gis.hq.wapa.gov/ms_common/fires.html;
  HEADER http://gis.hq.wapa.gov/ms_common/fires_header.html;
  FOOTER http://gis.hq.wapa.gov/ms_common/fires_footer.html;
  TOLERANCE 10
END



___
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


[mapserver-users] wms layer query

2010-05-07 Thread Eric Weisbender
Hello,

I have a wms layer defined in my map file coming from a USGS service that is 
supposed to be queryable  but when I query it I get nothing in return.  It 
draws fine and the GetCapabilities request says Layer queryable=1.  I 
wondering if it's my layer definition or if you just can't do this in basic 
mapserver.  Below is my layer def and any help is beer worthy.  Thanks in 
advance.


LAYER
  NAME firetest
  METADATA
wms_srs EPSG:4326
wms_name1
wms_server_version  1.1.1
wms_format  image/png
wms_title 1
wfs_title 1
wms_metadataurl_format text/html
 gml_include_items all
 wms_include_items all
 END
  STATUS OFF
  TYPE RASTER
  #MINSCALE 3800
  CONNECTIONTYPE WMS
  CONNECTION 
http://rmgsc.cr.usgs.gov/arcgis/services/nhss_haz/MapServer/WMSServer?service=WMSversion=1.1.1request=GetMaplayers=1styles=defaluttransparent=TRUEformat=image/png;
  PROJECTION
  init=epsg:4326
  END
  CLASS
NAME fire wms test
KEYIMAGE '/data/gis/www/html/ms_common/fire.png'
  END
  TEMPLATE http://gis.hq.wapa.gov/ms_common/fires.html;
  HEADER http://gis.hq.wapa.gov/ms_common/fires_header.html;
  FOOTER http://gis.hq.wapa.gov/ms_common/fires_footer.html;
  TOLERANCE 10
END



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users