26.02.2013 Views

MapInfo Spatial Server Web Map Service - Product Documentation ...

MapInfo Spatial Server Web Map Service - Product Documentation ...

MapInfo Spatial Server Web Map Service - Product Documentation ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Output<br />

Input<br />

INFO_FORMAT=output_format<br />

FEATURE_COUNT=number<br />

X=pixel_column<br />

Y=pixel_row<br />

I=pixel_column<br />

J=pixel_row<br />

Required<br />

No<br />

No<br />

Yes for<br />

1.1.1<br />

Yes for<br />

1.1.1<br />

Yes for<br />

1.3.0<br />

Yes for<br />

1.3.0<br />

Description<br />

Return format of feature information (MIME type).<br />

The maximum number of features about which to return information.<br />

X-coordinate in pixels of feature (measured from the upper<br />

left corner which is 0).This parameter is only used for 1.1.1<br />

versions of the OGC specification.<br />

Y-coordinate in pixels of feature (measured from the upper<br />

left corner which is 0).This parameter is only used for 1.1.1<br />

versions of the OGC specification.<br />

I-coordinate in pixels of feature (measured from the upper left<br />

corner which is 0).This parameter is only used for 1.3.0 versions<br />

of the OGC specification.<br />

J-coordinate in pixels of feature (measured from the upper<br />

left corner which is 0).This parameter is only used for 1.3.0<br />

versions of the OGC specification.<br />

The request parameters are always sent as an HTTP query string. The following are sample GetFeature-<br />

Info requests:<br />

WMS version 1.3:<br />

http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/WMS/?VERSION=1.1.1&SERVICE=WMS&RE-<br />

QUEST=GetFeatureInfo<br />

&SRS=EPSG:4326&BBOX=-100,0,90,100&WIDTH=400&HEIGHT=300&LAYERS=World&QUERY_LAY-<br />

ERS=World&X=1&Y=1<br />

WMS version 1.1.1:<br />

http://localhost:8080/rest/Enterprise<strong>Map</strong>ping/WMS/?VERSION=1.3.0&SERVICE=WMS&RE-<br />

QUEST=GetFeatureInfo<br />

&CRS=EPSG:4326&BBOX=-100,0,90,100&WIDTH=400&HEIGHT=300&LAYERS=World&QUERY_LAY-<br />

ERS=World&I=1&J=1<br />

Note:<br />

Output<br />

26<br />

The code above should all be on a single line with no breaks. Due to space limitations, we cannot<br />

display the request in such a way in this document.<br />

After a successful GetFeatureInfo request, the service returns a GetFeatureInfo response. A GetFeature-<br />

Info response is an XML file. The returned file includes information about the layers in the map, the<br />

queryable attributes of those layers, and the bounding box and SRS information of the map.<br />

<strong><strong>Map</strong>Info</strong> <strong>Spatial</strong> <strong>Server</strong> 1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!