-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from PDOK/validation-test
major refactor
- Loading branch information
Showing
45 changed files
with
4,418 additions
and
3,189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
module github.com/pdok/ogc-specifications | ||
|
||
go 1.13 | ||
go 1.14 | ||
|
||
require ( | ||
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99 // indirect | ||
github.com/ianlancetaylor/demangle v0.0.0-20200715173712-053cf528c12f // indirect | ||
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae // indirect | ||
gopkg.in/yaml.v2 v2.3.0 | ||
) | ||
require gopkg.in/yaml.v2 v2.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<mxfile host="ffd562a7-3b88-44f1-8042-1855deb27ea2" modified="2020-08-05T07:26:25.991Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.47.3 Chrome/78.0.3904.130 Electron/7.3.2 Safari/537.36" etag="RhS-coRVlT8jDarhV28o" version="13.1.3" pages="2"> | ||
<diagram id="6hGFLwfOUW9BJ-s0fimq" name="Interfaces"> | ||
<mxGraphModel dx="1683" dy="893" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="0"/> | ||
<mxCell id="1" parent="0"/> | ||
<mxCell id="8" value="validate against" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="5" target="2" edge="1"> | ||
<mxGeometry relative="1" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="13" value="used by" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="2" target="7" edge="1"> | ||
<mxGeometry relative="1" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="2" value="Capabilities" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> | ||
<mxGeometry x="370" y="440" width="120" height="70" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="5" value="OperationRequest" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> | ||
<mxGeometry x="290" y="320" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="7" value="OperationResponse" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"> | ||
<mxGeometry x="530" y="290" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="11" value="INTERFACES" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"> | ||
<mxGeometry x="130" y="140" width="80" height="20" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="14" target="5"> | ||
<mxGeometry relative="1" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="17" value="proxies" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="16"> | ||
<mxGeometry x="-0.2167" y="-2" relative="1" as="geometry"> | ||
<mxPoint as="offset"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="14" value="OperationRequestKVP" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1"> | ||
<mxGeometry x="160" y="220" width="150" height="60" as="geometry"/> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
<diagram id="upT7JopI6jNTdr680uCO" name="WMS"> | ||
<mxGraphModel dx="1683" dy="893" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="1ZcEmNP2XnzkbwVKSMnx-0"/> | ||
<mxCell id="1ZcEmNP2XnzkbwVKSMnx-1" parent="1ZcEmNP2XnzkbwVKSMnx-0"/> | ||
<mxCell id="22YBPdbhmI1sAbwN2nd--0" value="Capabilities" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="330" y="630" width="120" height="70" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-0" value="GetCapabilities" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="250" y="270" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-1" value="GetFeatureInfo" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="250" y="470" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-2" value="GetMap" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="250" y="370" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeWidth=3;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="220" y="230" width="180" height="330" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-5" value="OperationRequest" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="255" y="240" width="110" height="20" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-6" value="GetCapabilities" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="570" y="270" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-7" value="GetFeatureInfo" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="570" y="470" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-8" value="GetMap" style="rounded=0;whiteSpace=wrap;html=1;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="570" y="370" width="120" height="60" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-9" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;strokeWidth=3;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="540" y="230" width="180" height="330" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="8w07LZEVmTztw3cIHKnJ-10" value="OperationResponse" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1ZcEmNP2XnzkbwVKSMnx-1" vertex="1"> | ||
<mxGeometry x="575" y="240" width="110" height="20" as="geometry"/> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package ows | ||
|
||
// Capabilities interface | ||
// return an error, if needed, not a Exception | ||
// because this isn't a true OWS object only a base | ||
// from which GetCapabilities can build and OperationRequest | ||
// and OperationResponse can be validated against | ||
type Capabilities interface { | ||
ParseXML([]byte) error | ||
ParseYAMl([]byte) error | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.