django-gisserver 2.1__py3-none-any.whl → 2.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_gisserver-2.1.dist-info → django_gisserver-2.1.2.dist-info}/METADATA +2 -1
- {django_gisserver-2.1.dist-info → django_gisserver-2.1.2.dist-info}/RECORD +23 -22
- gisserver/__init__.py +1 -1
- gisserver/conf.py +23 -1
- gisserver/crs.py +84 -33
- gisserver/db.py +7 -1
- gisserver/features.py +18 -13
- gisserver/geometries.py +1 -1
- gisserver/output/gml32.py +47 -8
- gisserver/parsers/ast.py +8 -5
- gisserver/parsers/fes20/operators.py +1 -1
- gisserver/parsers/gml/geometries.py +7 -1
- gisserver/parsers/wfs20/adhoc.py +3 -1
- gisserver/static/gisserver/bootstrap-5.3.6.min.css +6 -0
- gisserver/static/gisserver/index.css +21 -5
- gisserver/templates/gisserver/base.html +4 -1
- gisserver/templates/gisserver/index.html +1 -1
- gisserver/templates/gisserver/service_description.html +1 -1
- gisserver/templates/gisserver/wfs/feature_type.html +11 -2
- gisserver/types.py +2 -1
- {django_gisserver-2.1.dist-info → django_gisserver-2.1.2.dist-info}/WHEEL +0 -0
- {django_gisserver-2.1.dist-info → django_gisserver-2.1.2.dist-info}/licenses/LICENSE +0 -0
- {django_gisserver-2.1.dist-info → django_gisserver-2.1.2.dist-info}/top_level.txt +0 -0
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{% if wfs_features %}
|
|
13
13
|
<h2>{% translate "WFS Feature Types" %}</h2>
|
|
14
14
|
{% for feature_type in wfs_features %}
|
|
15
|
-
<article>{% include "gisserver/wfs/feature_type.html" %}</article>
|
|
15
|
+
<article class="wfs-feature-type">{% include "gisserver/wfs/feature_type.html" %}</article>
|
|
16
16
|
{% endfor %}
|
|
17
17
|
{% endif %}
|
|
18
18
|
{% endblock %}
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
{% if connect_url %}
|
|
19
19
|
<h2>{% translate "Using This WFS" %}</h2>
|
|
20
20
|
<p>{% translate "Add the following URL to your GIS application:" %}</p>
|
|
21
|
-
<p class="connect-url"><
|
|
21
|
+
<p class="connect-url"><samp>{{ connect_url }}</samp></p>
|
|
22
22
|
{% endif %}
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
<dt>{% translate "Supported CRS" %}:</dt>
|
|
14
14
|
<dd>
|
|
15
15
|
{% if GISSERVER_SUPPORTED_CRS_ONLY %}
|
|
16
|
-
{% blocktranslate with default_crs=feature_type.crs
|
|
16
|
+
{% blocktranslate trimmed with default_crs=feature_type.crs supported_crs=feature_type.supported_crs|join:", " %}
|
|
17
|
+
{{ supported_crs }}, and all others. Source data uses {{ default_crs }}.
|
|
18
|
+
{% endblocktranslate %}
|
|
17
19
|
{% else %}
|
|
18
|
-
{
|
|
20
|
+
{% blocktranslate trimmed with default_crs=feature_type.crs supported_crs=feature_type.supported_crs|join:", " %}
|
|
21
|
+
{{ supported_crs }}. Source data uses {{ default_crs }}.
|
|
22
|
+
{% endblocktranslate %}
|
|
19
23
|
{% endif %}
|
|
20
24
|
</dd>
|
|
21
25
|
{% if wfs_output_formats %}
|
|
@@ -35,6 +39,11 @@
|
|
|
35
39
|
{% block fields %}
|
|
36
40
|
<p>{% translate "The following fields are available:" %}</p>
|
|
37
41
|
<table class="table table-striped">
|
|
42
|
+
<colgroup>
|
|
43
|
+
<col class="field-name" />
|
|
44
|
+
<col class="field-type" />
|
|
45
|
+
<col class="field-description" />
|
|
46
|
+
</colgroup>
|
|
38
47
|
<thead><tr><th>{% translate "Field Name" %}</th><th>{% translate "Type" %}</th><th>{% translate "Description" %}</th></tr></thead>
|
|
39
48
|
<tbody>
|
|
40
49
|
{% for field in feature_type.fields %}
|
gisserver/types.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
These types are the internal schema definition, and the foundation for all output generation.
|
|
4
4
|
|
|
5
5
|
The end-users of this library typically create a WFS feature type definition by using
|
|
6
|
-
the :class
|
|
6
|
+
the :class:`~gisserver.features.FeatureType` / :class:`~gisserver.features.FeatureField` classes.
|
|
7
7
|
|
|
8
8
|
The feature type classes use the model metadata to construct the internal XMLSchema structure.
|
|
9
9
|
Nearly all WFS requests are handled by walking this structure (like ``DescribeFeatureType``
|
|
@@ -57,6 +57,7 @@ __all__ = [
|
|
|
57
57
|
"GeometryXsdElement",
|
|
58
58
|
"GmlIdAttribute",
|
|
59
59
|
"GmlNameElement",
|
|
60
|
+
"GmlBoundedByElement",
|
|
60
61
|
"ORMPath",
|
|
61
62
|
"XPathMatch",
|
|
62
63
|
"XsdAnyType",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|