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
import os | |
import argparse | |
import xml.etree.ElementTree as ET | |
def get_published_layers(workspace_dir): | |
published_layers = set() | |
for root, dirs, files in os.walk(workspace_dir): | |
for file in files: | |
if file.endswith('.xml'): |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<StyledLayerDescriptor version="1.0.0" | |
xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" | |
xmlns="http://www.opengis.net/sld" | |
xmlns:ogc="http://www.opengis.net/ogc" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<NamedLayer> | |
<Name>16bit_greyscale</Name> | |
<UserStyle> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld | |
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0"> | |
<NamedLayer> | |
<Name>geonode_RLM_14160_RLM_14209_mosaik_georef</Name> | |
<UserStyle> | |
<Title>A raster style</Title> | |
<FeatureTypeStyle> | |
<Rule> | |
<RasterSymbolizer> |
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
import os | |
import subprocess | |
import platform | |
import re | |
import threading | |
from qgis.PyQt import QtWidgets, uic, QtCore | |
from qgis.core import QgsProject, QgsVectorLayer, QgsFeature, QgsField, QgsMessageLog, Qgis, QgsApplication, QgsWkbTypes | |
from qgis.utils import iface |
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
Traceback (most recent call last): | |
File "/usr/local/lib/python3.10/dist-packages/importer/celery_tasks.py", line 235, in publish_resource | |
_publisher.publish_resources(data) | |
File "/usr/local/lib/python3.10/dist-packages/importer/publisher.py", line 69, in publish_resources | |
result = self.handler.publish_resources( | |
File "/usr/local/lib/python3.10/dist-packages/importer/handlers/common/vector.py", line 146, in publish_resources | |
raise e | |
File "/usr/local/lib/python3.10/dist-packages/importer/handlers/common/vector.py", line 134, in publish_resources | |
catalog.publish_featuretype( | |
File "/usr/local/lib/python3.10/dist-packages/geoserver/catalog.py", line 935, in publish_featuretype |
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
adf |
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
import IIIF from 'ol/source/IIIF.js'; | |
import IIIFInfo from 'ol/format/IIIFInfo.js'; | |
import Map from 'ol/Map.js'; | |
import TileLayer from 'ol/layer/Tile.js'; | |
import View from 'ol/View.js'; | |
import { fromLonLat } from 'ol/proj.js'; | |
const map = new Map({ | |
target: 'map', |
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
[ | |
{ | |
"domain_content": false, | |
"domain_data": false, | |
"domain_software": false, | |
"family": "", | |
"id": "notspecified", | |
"is_generic": true, | |
"maintainer": "", | |
"od_conformance": "not reviewed", |
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
"113": { | |
"id": 113, | |
"name": "occipital-bone", | |
"label": "Occipital bone", | |
"svgid": "bone379", | |
"amount": "<75%", | |
"section": "cranial_district" | |
}, | |
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
Occipital bone | |
https://dai-gn-test.csgis.de/daard/boneimage?copy_id=1&show_help=1&bones={"affected":["379"]} | |
Frontal bone | |
https://dai-gn-test.csgis.de/daard/boneimage?copy_id=1&show_help=1&bones={"affected":["152"]} | |
Temporal Bone right | |
https://dai-gn-test.csgis.de/daard/boneimage?copy_id=1&show_help=1&bones={"affected":["200","171"]} | |
Temporal Bone left |
NewerOlder