Compare commits

...

2 Commits

26 changed files with 116 additions and 115 deletions

View File

@ -2160,6 +2160,7 @@ namespace QgsWms
QString attributeName = layer->attributeDisplayName( attributeIndex ); QString attributeName = layer->attributeDisplayName( attributeIndex );
QDomElement attributeElement = doc.createElement( QStringLiteral( "Attribute" ) ); QDomElement attributeElement = doc.createElement( QStringLiteral( "Attribute" ) );
attributeElement.setAttribute( QStringLiteral( "name" ), attributeName ); attributeElement.setAttribute( QStringLiteral( "name" ), attributeName );
attributeElement.setAttribute( QStringLiteral( "attrname" ), fields.at( attributeIndex ).name() );
const QgsEditorWidgetSetup setup = layer->editorWidgetSetup( attributeIndex ); const QgsEditorWidgetSetup setup = layer->editorWidgetSetup( attributeIndex );
attributeElement.setAttribute( QStringLiteral( "value" ), QgsExpression::replaceExpressionText( replaceValueMapAndRelation( layer, attributeIndex, featureAttributes[attributeIndex] ), &renderContext.expressionContext() ) ); attributeElement.setAttribute( QStringLiteral( "value" ), QgsExpression::replaceExpressionText( replaceValueMapAndRelation( layer, attributeIndex, featureAttributes[attributeIndex] ), &renderContext.expressionContext() ) );
featureElem.appendChild( attributeElement ); featureElem.appendChild( attributeElement );

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="json" name="json"> <Layer title="json" name="json">
<Feature id="2"> <Feature id="2">
<Attribute value="2" name="pk"/> <Attribute value="2" name="pk" attrname="pk"/>
<Attribute value="{&#xa; &quot;a&quot;: 1,&#xa; &quot;b&quot;: 2&#xa;}&#xa;" name="jvalue"/> <Attribute value="{&#xa; &quot;a&quot;: 1,&#xa; &quot;b&quot;: 2&#xa;}&#xa;" name="jvalue" attrname="jvalue"/>
<Attribute value="{&#xa; &quot;c&quot;: 4,&#xa; &quot;d&quot;: 5&#xa;}&#xa;" name="jbvalue"/> <Attribute value="{&#xa; &quot;c&quot;: 4,&#xa; &quot;d&quot;: 5&#xa;}&#xa;" name="jbvalue" attrname="jbvalue"/>
</Feature> </Feature>
</Layer> </Layer>
</GetFeatureInfoResponse> </GetFeatureInfoResponse>

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="json" name="json"> <Layer title="json" name="json">
<Feature id="1"> <Feature id="1">
<Attribute value="1" name="pk"/> <Attribute value="1" name="pk" attrname="pk"/>
<Attribute value="[&#xa; 1,&#xa; 2,&#xa; 3&#xa;]&#xa;" name="jvalue"/> <Attribute value="[&#xa; 1,&#xa; 2,&#xa; 3&#xa;]&#xa;" name="jvalue" attrname="jvalue"/>
<Attribute value="[&#xa; 4,&#xa; 5,&#xa; 6&#xa;]&#xa;" name="jbvalue"/> <Attribute value="[&#xa; 4,&#xa; 5,&#xa; 6&#xa;]&#xa;" name="jbvalue" attrname="jbvalue"/>
</Feature> </Feature>
</Layer> </Layer>
</GetFeatureInfoResponse> </GetFeatureInfoResponse>

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="testlayer2" name="testlayer2"> <Layer title="testlayer2" name="testlayer2">
<Feature id="2"> <Feature id="2">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="2"> <Feature id="2">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,11 +5,11 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="testlayer_thousands" name="testlayer_thousands"> <Layer title="testlayer_thousands" name="testlayer_thousands">
<Feature id="2"> <Feature id="2">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="123456" name="long_int"/> <Attribute value="123456" name="long_int" attrname="long_int"/>
<Attribute value="123456.8900" name="long_float"/> <Attribute value="123456.8900" name="long_float" attrname="long_float"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,21 +5,21 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer0" name="layer0"> <Layer title="layer0" name="layer0">
<Feature id="1"> <Feature id="1">
<Attribute value="1" name="id"/> <Attribute value="1" name="id" attrname="id"/>
<Attribute value="one" name="name"/> <Attribute value="one" name="name" attrname="name"/>
<Attribute value="First Value" name="utf8nameè"/> <Attribute value="First Value" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="Second Value" name="utf8nameè"/> <Attribute value="Second Value" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
<Feature id="3"> <Feature id="3">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="Third èé↓" name="utf8nameè"/> <Attribute value="Third èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,23 +5,23 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer1" name="layer1"> <Layer title="layer1" name="layer1">
<Feature id="1"> <Feature id="1">
<Attribute value="Id no. 1 value" name="id"/> <Attribute value="Id no. 1 value" name="id" attrname="id"/>
<Attribute value="one_value" name="name"/> <Attribute value="one_value" name="name" attrname="name"/>
<Attribute value="one èé" name="utf8nameè"/> <Attribute value="one èé" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
<Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/> <Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="Id no. 2 value" name="id"/> <Attribute value="Id no. 2 value" name="id" attrname="id"/>
<Attribute value="two_val" name="name"/> <Attribute value="two_val" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
<Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/> <Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/>
</Feature> </Feature>
<Feature id="3"> <Feature id="3">
<Attribute value="Id número 3 value" name="id"/> <Attribute value="Id número 3 value" name="id" attrname="id"/>
<Attribute value="three_val" name="name"/> <Attribute value="three_val" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
<Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/> <Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/>
</Feature> </Feature>

View File

@ -5,23 +5,23 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer name="layer2"> <Layer name="layer2">
<Feature id="1"> <Feature id="1">
<Attribute value="value PE 1000 PN6" name="id"/> <Attribute value="value PE 1000 PN6" name="id" attrname="id"/>
<Attribute value="one" name="name"/> <Attribute value="one" name="name" attrname="name"/>
<Attribute value="one èé" name="utf8nameè"/> <Attribute value="one èé" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
<Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/> <Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="value PE" name="id"/> <Attribute value="value PE" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
<Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/> <Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/>
</Feature> </Feature>
<Feature id="3"> <Feature id="3">
<Attribute value="value PE 1000 PN8" name="id"/> <Attribute value="value PE 1000 PN8" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
<Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/> <Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/>
</Feature> </Feature>

View File

@ -5,20 +5,20 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer3" name="layer3"> <Layer title="layer3" name="layer3">
<Feature id="1"> <Feature id="1">
<Attribute value="1" name="id"/> <Attribute value="1" name="id" attrname="id"/>
<Attribute value="Id no. 1 value, Id no. 2 value, Id número 3 value" name="location"/> <Attribute value="Id no. 1 value, Id no. 2 value, Id número 3 value" name="location" attrname="location"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
<Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/> <Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="" name="location"/> <Attribute value="" name="location" attrname="location"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
<Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/> <Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/>
</Feature> </Feature>
<Feature id="3"> <Feature id="3">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="" name="location"/> <Attribute value="" name="location" attrname="location"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
<Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/> <Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/>
</Feature> </Feature>

View File

@ -5,26 +5,26 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer4" name="layer4"> <Layer title="layer4" name="layer4">
<Feature id="1"> <Feature id="1">
<Attribute value="one èé" name="utf8nameè"/> <Attribute value="one èé" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="Id no. 1 value" name="j_value_id"/> <Attribute value="Id no. 1 value" name="j_value_id" attrname="j_value_id"/>
<Attribute value="Id no. 1 value" name="id"/> <Attribute value="Id no. 1 value" name="id" attrname="id"/>
<Attribute value="one_value" name="name"/> <Attribute value="one_value" name="name" attrname="name"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
<Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/> <Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="Id no. 2 value" name="j_value_id"/> <Attribute value="Id no. 2 value" name="j_value_id" attrname="j_value_id"/>
<Attribute value="Id no. 2 value" name="id"/> <Attribute value="Id no. 2 value" name="id" attrname="id"/>
<Attribute value="two_val" name="name"/> <Attribute value="two_val" name="name" attrname="name"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
<Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/> <Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/>
</Feature> </Feature>
<Feature id="3"> <Feature id="3">
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="Id número 3 value" name="j_value_id"/> <Attribute value="Id número 3 value" name="j_value_id" attrname="j_value_id"/>
<Attribute value="Id número 3 value" name="id"/> <Attribute value="Id número 3 value" name="id" attrname="id"/>
<Attribute value="three_val" name="name"/> <Attribute value="three_val" name="name" attrname="name"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
<Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/> <Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/>
</Feature> </Feature>

View File

@ -5,23 +5,23 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer3" name="layer3"> <Layer title="layer3" name="layer3">
<Feature id="1"> <Feature id="1">
<Attribute value="one èé" name="utf8nameè"/> <Attribute value="one èé" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="Id no. 1 value" name="id"/> <Attribute value="Id no. 1 value" name="id" attrname="id"/>
<Attribute value="one_value" name="name"/> <Attribute value="one_value" name="name" attrname="name"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
<Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/> <Attribute type="derived" value="Point (913209.0358 5606025.2373)" name="geometry"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="Id no. 2 value" name="id"/> <Attribute value="Id no. 2 value" name="id" attrname="id"/>
<Attribute value="two_val" name="name"/> <Attribute value="two_val" name="name" attrname="name"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
<Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/> <Attribute type="derived" value="Point (913214.6741 5606017.8743)" name="geometry"/>
</Feature> </Feature>
<Feature id="3"> <Feature id="3">
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<Attribute value="Id número 3 value" name="id"/> <Attribute value="Id número 3 value" name="id" attrname="id"/>
<Attribute value="three_val" name="name"/> <Attribute value="three_val" name="name" attrname="name"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
<Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/> <Attribute type="derived" value="Point (913204.9128 5606011.4565)" name="geometry"/>
</Feature> </Feature>

View File

@ -6,9 +6,9 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/> <BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -6,9 +6,9 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/> <BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/>
<Layer title="testlayer èé" name="testlayer èé"> <Layer title="testlayer èé" name="testlayer èé">
<Feature id="2"> <Feature id="2">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -6,9 +6,9 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="44.90143568" maxx="8.20354699" miny="44.90143568" CRS="EPSG:4326" minx="8.20354699"/> <BoundingBox maxy="44.90143568" maxx="8.20354699" miny="44.90143568" CRS="EPSG:4326" minx="8.20354699"/>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" CRS="EPSG:4326" minx="8.2035"/> <BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" CRS="EPSG:4326" minx="8.2035"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -6,9 +6,9 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/> <BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606017.87425818" CRS="EPSG:3857" minx="913214.67407005"/>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -6,15 +6,15 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606011.45647302" CRS="EPSG:3857" minx="913204.91280263"/> <BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606011.45647302" CRS="EPSG:3857" minx="913204.91280263"/>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -6,15 +6,15 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606011.45647302" CRS="EPSG:3857" minx="913204.91280263"/> <BoundingBox maxy="5606017.87425818" maxx="913214.67407005" miny="5606011.45647302" CRS="EPSG:3857" minx="913204.91280263"/>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/> <BoundingBox maxy="5606011.4565" maxx="913204.9128" miny="5606011.4565" CRS="EPSG:3857" minx="913204.9128"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -6,9 +6,9 @@ Content-Type: text/xml; charset=utf-8
<BoundingBox maxy="44.90143568" maxx="8.20354699" miny="44.90143568" CRS="EPSG:4326" minx="8.20354699"/> <BoundingBox maxy="44.90143568" maxx="8.20354699" miny="44.90143568" CRS="EPSG:4326" minx="8.20354699"/>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="two" name="name"/> <Attribute value="two" name="name" attrname="name"/>
<Attribute value="two àò" name="utf8nameè"/> <Attribute value="two àò" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" CRS="EPSG:4326" minx="8.2035"/> <BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" CRS="EPSG:4326" minx="8.2035"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute name="id" value="2"/> <Attribute name="id" attrname="id" value="2"/>
<Attribute name="name" value="two"/> <Attribute name="name" attrname="name" value="two"/>
<Attribute name="utf8nameè" value="two àò"/> <Attribute name="utf8nameè" attrname="utf8nameè" value="two àò"/>
<BoundingBox CRS="EPSG:4326" minx="8.2035" maxx="8.2035" miny="44.9014" maxy="44.9014"/> <BoundingBox CRS="EPSG:4326" minx="8.2035" maxx="8.2035" miny="44.9014" maxy="44.9014"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="A test vector layer" name="testlayer èé"> <Layer title="A test vector layer" name="testlayer èé">
<Feature id="1"> <Feature id="1">
<Attribute name="id" value="2"/> <Attribute name="id" attrname="id" value="2"/>
<Attribute name="name" value="two"/> <Attribute name="name" attrname="name" value="two"/>
<Attribute name="utf8nameè" value="two àò"/> <Attribute name="utf8nameè" attrname="utf8nameè" value="two àò"/>
<BoundingBox CRS="EPSG:3857" minx="913214.6741" maxx="913214.6741" miny="5606017.8743" maxy="5606017.8743"/> <BoundingBox CRS="EPSG:3857" minx="913214.6741" maxx="913214.6741" miny="5606017.8743" maxy="5606017.8743"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,7 +5,7 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="ls2d" name="ls2d"> <Layer title="ls2d" name="ls2d">
<Feature id="1"> <Feature id="1">
<Attribute value="1" name="id"/> <Attribute value="1" name="id" attrname="id"/>
<BoundingBox maxy="111325.1429" maxx="111319.4908" miny="0" CRS="EPSG:3857" minx="0"/> <BoundingBox maxy="111325.1429" maxx="111319.4908" miny="0" CRS="EPSG:3857" minx="0"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,9 +5,9 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="A test vector layer" name="layer0"> <Layer title="A test vector layer" name="layer0">
<Feature id="2"> <Feature id="2">
<Attribute value="3" name="id"/> <Attribute value="3" name="id" attrname="id"/>
<Attribute value="three" name="name"/> <Attribute value="three" name="name" attrname="name"/>
<Attribute value="three èé↓" name="utf8nameè"/> <Attribute value="three èé↓" name="utf8nameè" attrname="utf8nameè"/>
<BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" SRS="EPSG:4326" minx="8.2035"/> <BoundingBox maxy="44.9014" maxx="8.2035" miny="44.9014" SRS="EPSG:4326" minx="8.2035"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,8 +5,8 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer3" name="layer3"> <Layer title="layer3" name="layer3">
<Feature id="2"> <Feature id="2">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="" name="location"/> <Attribute value="" name="location" attrname="location"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,13 +5,13 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="layer3" name="layer3"> <Layer title="layer3" name="layer3">
<Feature id="1"> <Feature id="1">
<Attribute value="1" name="id"/> <Attribute value="1" name="id" attrname="id"/>
<Attribute value="Id no. 1 value, Id no. 2 value, Id número 3 value" name="location"/> <Attribute value="Id no. 1 value, Id no. 2 value, Id número 3 value" name="location" attrname="location"/>
<BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/> <BoundingBox maxy="5606025.2373" maxx="913209.0358" miny="5606025.2373" CRS="EPSG:3857" minx="913209.0358"/>
</Feature> </Feature>
<Feature id="2"> <Feature id="2">
<Attribute value="2" name="id"/> <Attribute value="2" name="id" attrname="id"/>
<Attribute value="" name="location"/> <Attribute value="" name="location" attrname="location"/>
<BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/> <BoundingBox maxy="5606017.8743" maxx="913214.6741" miny="5606017.8743" CRS="EPSG:3857" minx="913214.6741"/>
</Feature> </Feature>
</Layer> </Layer>

View File

@ -5,7 +5,7 @@ Content-Type: text/xml; charset=utf-8
<GetFeatureInfoResponse> <GetFeatureInfoResponse>
<Layer title="p2d" name="p2d"> <Layer title="p2d" name="p2d">
<Feature id="1"> <Feature id="1">
<Attribute value="1" name="id"/> <Attribute value="1" name="id" attrname="id"/>
<BoundingBox maxy="111325.1429" maxx="111319.4908" miny="0" CRS="EPSG:3857" minx="0"/> <BoundingBox maxy="111325.1429" maxx="111319.4908" miny="0" CRS="EPSG:3857" minx="0"/>
</Feature> </Feature>
</Layer> </Layer>