[mapguide-commits] r9241 - in sandbox/jng/ogc: Server/src/Wfs UnitTest/WebTier/MapAgent/MapAgentForms
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Oct 2 08:36:26 PDT 2017
Author: jng
Date: 2017-10-02 08:36:26 -0700 (Mon, 02 Oct 2017)
New Revision: 9241
Modified:
sandbox/jng/ogc/Server/src/Wfs/OgcWfsService.config.awd
sandbox/jng/ogc/UnitTest/WebTier/MapAgent/MapAgentForms/getfeaturewfsform.html
Log:
Preparatory work to support GeoJSON output for WFS:
- Advertise application/json as a supported output format for GetFeatures in capabilities response
- Add application/json as an output format to the WFS GetFeature test form
Modified: sandbox/jng/ogc/Server/src/Wfs/OgcWfsService.config.awd
===================================================================
--- sandbox/jng/ogc/Server/src/Wfs/OgcWfsService.config.awd 2017-10-02 12:15:17 UTC (rev 9240)
+++ sandbox/jng/ogc/Server/src/Wfs/OgcWfsService.config.awd 2017-10-02 15:36:26 UTC (rev 9241)
@@ -158,6 +158,7 @@
<item>text/xml; subtype=gml/2.1.2</item>
<item>GML3</item>
<item>text/xml; subtype=gml/3.1.1</item>
+ <item>application/json</item>
</Define>
<Define item="Formats.GetFeature.default.1.0.0">text/xml; subtype=gml/2.1.2</Define>
Modified: sandbox/jng/ogc/UnitTest/WebTier/MapAgent/MapAgentForms/getfeaturewfsform.html
===================================================================
--- sandbox/jng/ogc/UnitTest/WebTier/MapAgent/MapAgentForms/getfeaturewfsform.html 2017-10-02 12:15:17 UTC (rev 9240)
+++ sandbox/jng/ogc/UnitTest/WebTier/MapAgent/MapAgentForms/getfeaturewfsform.html 2017-10-02 15:36:26 UTC (rev 9241)
@@ -30,6 +30,7 @@
<select name="OUTPUTFORMAT">
<option value="GML3">GML3</option>
<option value="GML2">GML2</option>
+<option value="application/json">application/json</option>
</select>
<p>
<input type="submit" value="Submit" onclick="SetActionTarget()"> <input type="reset">
More information about the mapguide-commits
mailing list