Skip to content

Commit

Permalink
Merge pull request #12 from lat-lon/updateHTMLconfig8337
Browse files Browse the repository at this point in the history
Added new HTML encoding configuration for each dataset
  • Loading branch information
copierrj authored Nov 9, 2022
2 parents 5279521 + 01598e1 commit 0072564
Show file tree
Hide file tree
Showing 8 changed files with 255 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ogcapi-workspace/html/htmlview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deegree.org/ogcapi/htmlview http://schemas.deegree.org/ogcapi/3.4.0/htmlview.xsd">

<CssFile>../html/lgv.css</CssFile>
<CssFile>../html/landingpage.css</CssFile>
<LegalNoticeUrl>https://lat-lon.de/en/Imprint.html</LegalNoticeUrl>
<PrivacyPolicyUrl>https://lat-lon.de/en/Privacy.html</PrivacyPolicyUrl>
<Map>
Expand Down
112 changes: 112 additions & 0 deletions ogcapi-workspace/html/kitaeinrichtungen.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/* Header */

.navbar {
background-color: #56900b;
}

/* Logo */

.navbar-brand {
display:none;
/*
background: url("https://localhost:8080/logo.png") center / contain no-repeat;
width: 110px;
height: 110px;
*/
}

/* Breadcrump */
nav .breadcrumb-item.active {
color: #6c757d;
}

nav .breadcrumb-item a:link {
color: #ffffff;
}

nav .breadcrumb-item a:visited {
color: #ffffff;
}

nav .breadcrumb-item a:hover {
color: #6c757d;
text-decoration: underline;
}

nav .breadcrumb-item a:active {
}

/* Formats */
nav .nav-link.disabled:link {
color: #6c757d;
}
nav .nav-link:link {
color: #ffffff;
}
nav .nav-link:visited {
color: #ffffff;
}
nav .nav-link:hover {
color: #6c757d;
text-decoration: underline;
}
nav .nav-link:active {
}

/* Table with data */
.propertylist {
list-style-type:none;
padding-left: 0;
}

/* Footer */
html {
height: 100%;
}

body {
position: relative;
margin: 0;
padding-bottom: 6rem;
min-height: 100%;
}

.page-footer{
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
background-color: #56900b;
text-align: right;
color: #ffffff;
}

/* Link Legal Notice */
#legalNotice:link {
color: #ffffff;
}
#legalNotice:visited {
color: #ffffff;
}
#legalNotice:hover {
color: #6c757d;
text-decoration: underline;
}
#legalNotice:active {
}

/* Link Privacy */
#legalNotice:link {
color: #ffffff;
}
#privacy:visited {
color: #ffffff;
}
#privacy:hover {
color: #6c757d;
text-decoration: underline;
}
#privacy:active {
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deegree.org/ogcapi/htmlview http://schemas.deegree.org/ogcapi/3.4.0/htmlview.xsd">

<CssFile>../html/lgv.css</CssFile>
<CssFile>../html/kitaeinrichtungen.css</CssFile>
<LegalNoticeUrl>https://lat-lon.de/en/Imprint.html</LegalNoticeUrl>
<PrivacyPolicyUrl>https://lat-lon.de/en/Privacy.html</PrivacyPolicyUrl>
<DocumentationUrl>https://cite.deegree.org/deegree-ogcapi-1.3/documentation/index.html#_usage</DocumentationUrl>
Expand Down
File renamed without changes.
112 changes: 112 additions & 0 deletions ogcapi-workspace/html/strassenbaumkataster.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
/* Header */

.navbar {
background-color: #8f092d;
}

/* Logo */

.navbar-brand {
display:none;
/*
background: url("https://localhost:8080/logo.png") center / contain no-repeat;
width: 110px;
height: 110px;
*/
}

/* Breadcrump */
nav .breadcrumb-item.active {
color: #6c757d;
}

nav .breadcrumb-item a:link {
color: #ffffff;
}

nav .breadcrumb-item a:visited {
color: #ffffff;
}

nav .breadcrumb-item a:hover {
color: #6c757d;
text-decoration: underline;
}

nav .breadcrumb-item a:active {
}

/* Formats */
nav .nav-link.disabled:link {
color: #6c757d;
}
nav .nav-link:link {
color: #ffffff;
}
nav .nav-link:visited {
color: #ffffff;
}
nav .nav-link:hover {
color: #6c757d;
text-decoration: underline;
}
nav .nav-link:active {
}

/* Table with data */
.propertylist {
list-style-type:none;
padding-left: 0;
}

/* Footer */
html {
height: 100%;
}

body {
position: relative;
margin: 0;
padding-bottom: 6rem;
min-height: 100%;
}

.page-footer{
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 1rem;
background-color: #8f092d;
text-align: right;
color: #ffffff;
}

/* Link Legal Notice */
#legalNotice:link {
color: #ffffff;
}
#legalNotice:visited {
color: #ffffff;
}
#legalNotice:hover {
color: #6c757d;
text-decoration: underline;
}
#legalNotice:active {
}

/* Link Privacy */
#legalNotice:link {
color: #ffffff;
}
#privacy:visited {
color: #ffffff;
}
#privacy:hover {
color: #6c757d;
text-decoration: underline;
}
#privacy:active {
}
18 changes: 18 additions & 0 deletions ogcapi-workspace/html/strassenbaumkatasterview.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<HtmlView configVersion="3.4.0"
xmlns="http://www.deegree.org/ogcapi/htmlview"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deegree.org/ogcapi/htmlview http://schemas.deegree.org/ogcapi/3.4.0/htmlview.xsd">

<CssFile>../html/strassenbaumkataster.css</CssFile>
<LegalNoticeUrl>https://lat-lon.de/en/Imprint.html</LegalNoticeUrl>
<PrivacyPolicyUrl>https://lat-lon.de/en/Privacy.html</PrivacyPolicyUrl>
<DocumentationUrl>https://cite.deegree.org/deegree-ogcapi-1.3/documentation/index.html#_usage</DocumentationUrl>
<Map>
<WMSUrl version="1.3.0">https://sgx.geodatenzentrum.de/wms_topplus_open</WMSUrl>
<WMSLayers>web_grau</WMSLayers>
<CrsProj4Definition code="EPSG:25832">+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
</CrsProj4Definition>
<Source><![CDATA[© <a href="https://sg.geodatenzentrum.de/web_public/Datenquellen_TopPlus_Open.pdf" target="_new">Datenquellen</a>]]></Source>
</Map>

</HtmlView>
11 changes: 10 additions & 1 deletion ogcapi-workspace/ogcapi/kitaeinrichtung.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
<deegreeOAF xmlns="http://www.deegree.org/ogcapi/features" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" configVersion="3.4.0" xsi:schemaLocation="http://www.deegree.org/ogcapi/features http://schemas.deegree.org/ogcapi/features/3.4.0/features.xsd">
<deegreeOAF configVersion="3.4.0"
xmlns="http://www.deegree.org/ogcapi/features"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deegree.org/ogcapi/features http://schemas.deegree.org/ogcapi/features/3.4.0/features.xsd">

<FeatureStoreId>kitaeinrichtung/datasource_kita_kitaeinrichtungen</FeatureStoreId>

<!-- First CRS must be http://www.opengis.net/def/crs/OGC/1.3/CRS84 to be conform to OGC API Features Core -->
<QueryCRS>http://www.opengis.net/def/crs/OGC/1.3/CRS84</QueryCRS>
<QueryCRS>http://www.opengis.net/def/crs/EPSG/0/4326</QueryCRS>
<QueryCRS>http://www.opengis.net/def/crs/EPSG/0/25832</QueryCRS>

<HtmlViewId>kitaeinrichtungview</HtmlViewId>

<Metadata>
<ProviderLicense>
<Name>Datenlizenz Deutschland Namensnennung 2.0</Name>
Expand All @@ -21,4 +29,5 @@
<MetadataURL format="application/xml">https://metaver.de/csw?Service=CSW&amp;Request=GetRecordById&amp;Version=2.0.2&amp;id=C1AC42B2-C104-45B8-91F9-DA14C3C88A1F&amp;outputSchema=http://www.isotc211.org/2005/gmd&amp;elementSetName=full</MetadataURL>
<MetadataURL format="text/html">https://metaver.de/trefferanzeige?docuuid=C1AC42B2-C104-45B8-91F9-DA14C3C88A1F</MetadataURL>
</Metadata>

</deegreeOAF>
2 changes: 1 addition & 1 deletion ogcapi-workspace/ogcapi/strassenbaumkataster.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</DateTimeProperty>
</DateTimeProperties>

<HtmlViewId>oaf</HtmlViewId>
<HtmlViewId>strassenbaumkatasterview</HtmlViewId>

<Metadata>
<ProviderLicense>
Expand Down

0 comments on commit 0072564

Please sign in to comment.