-
Notifications
You must be signed in to change notification settings - Fork 2
APIs
https://documents.geoportal.rlp.de/mediawiki/index.php/GET-Parameter
- name: NONEDEFAULTWMC
- description: Mapbender supports the management of application metadata as a combination GUI/WMC. If such an application should load another WMC instead of the default one, this parameter should be used.
- type: integer
- default:
- example: https://www.geoportal.rlp.de/mapbender/frames/index.php?gui_id=StaLA-Geo&WMC=32754&NONEDEFAULTWMC=33196
flowchart TD
A["javascripts/initWmcObj.php"] -->|"get GUI & WMC from session"| C{"if \n elementVar \n loadFromSession \n == 1"}
C --> D["Load from session WMC \n wmc->createFromXml"]
C --> E["Load from application \n wmc->createFromApplication"]
D --> F["Mapbender WMC Object"]
E --> F
F --> G["Evaluate GET Parameter: \n WMC \n LAYER \n ZOOM \n GEOJSON \n ..."]
G --> H["Merge WMS / Layer / WMC"]
H --> I["Handle Constraints: \n Permissions \n Conditions \n Availability"]
I --> J["Export javascript Object \n wmc->wmsToJavaScript()"]
https://documents.geoportal.rlp.de/mediawiki/index.php/Mobilemap2
https://documents.geoportal.rlp.de//mediawiki/index.php/Mod_wmc2ol.php
https://documents.geoportal.rlp.de//mediawiki/index.php/SearchInterface
https://www.geoportal.rlp.de/mapbender/php/mod_showCswList.php
https://www.geoportal.rlp.de/mapbender/php/mod_exportIso19139.php?languageCode=en&url=https%3A%2F%2Fwww.geoportal.rlp.de%2Fmapbender%2Fphp%2Fmod_dataISOMetadata.php%3FoutputFormat%3Diso19139%26id%3D2b009ae4-aa3e-ff21-870b-49846d9561b2 https://www.geoportal.rlp.de/mapbender/php/mod_exportIso19139.php?languageCode=en&url=https%3A%2F%2Fvocabulary.geoportal.rlp.de%2Fgeonetwork%2Fsrv%2Feng%2Fcsw%3Frequest%3DGetRecordById%26service%3DCSW%26version%3D2.0.2%26Id%3D4ff6f9fc-d57a-6f6a-bcc2-c1cbaef4e414%26ElementSetName%3Dfull%26OUTPUTSCHEMA%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&resolveCoupledResources=true
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/php/mod_updateOwsRoot.php
- name: serviceType
- type: codelist - ["wms","wfs"]
- example: https://www.geoportal.rlp.de/mapbender/php/mod_updateOwsRoot.php?serviceId=15&serviceType=wfs
- description: Type of the OWS to update
- name: serviceId
- type: integer - "15"
- example: https://www.geoportal.rlp.de/mapbender/php/mod_updateOwsRoot.php?serviceId=15&serviceType=wfs
- description: Internal database id of the service which should be updated
The webservice is used to update many services via batch like this is done by the update scheduler, which normally run as a simple cronjob. It can only be invoked from the server itself, or by the authenticated root user of the instance. If the update is invoked, the configuration of an existing scheduler is used. The scheduler defines how the service should be updated. The configuration of the scheduler may be overwritten, if this is wished! Simply add scheduler_conf Parameters with the values "true" or "false". Example: https://www.geoportal.rlp.de/mapbender/php/mod_updateOwsRoot.php?serviceId=15&serviceType=wfs&schedulerOverwrite=true
The result is given back as a simple json object with further information about the update process:
{"success":true,"result":{"service_title":"INSPIRE-WFS SL Verwaltungseinheiten ALKIS","service_id":"15","overwrite":true,"number_of_resources":3,"service_type":"WFS","duration_time":6.481965065002441,"scheduler_conf":{"schedulerPublish":null,"schedulerSearchable":null,"schedulerOverwrite":null,"schedulerOverwriteCategories":null}},"message":"Service with id 15 updated!"}Used to generate Organization view. It also shows how many resources are published.
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/php/mod_showOrganizationList.php
- name: orderBy
- type: codelist - ["rank","id","title"]
- default: rank
- example: https://www.geoportal.rlp.de/mapbender/php/mod_showOrganizationList.php?orderBy=id
- description: Used to generate Organization view. It also shows how many resources are published.
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/php/mod_showOrganizationInfo.php
- name: id
- type: integer
- default:
- example: https://www.geoportal.rlp.de/mapbender/php/mod_showOrganizationInfo.php?id=61
- name: uuid
- type: uuid
- default:
- example: https://www.geoportal.rlp.de/mapbender/php/mod_showOrganizationInfo.php?uuid=b3ec97ba-34ad-459f-96be-074a6a0641fe
- name: outputFormat
- type: codelist - ["iso19139","ckan"]
- default: "iso19139"
- example: https://www.geoportal.rlp.de/mapbender/php/mod_showOrganizationInfo.php?id=61&outputFormat=ckan
- name: showOnlyDatasetMetadata
- type: boolean
- default: true
- example: https://www.geoportal.rlp.de/mapbender/php/mod_showOpenDataOrganizations.php?showOnlyDatasetMetadata=true
- description: Filter the resources to those that have real dataset metadata. Otherwise dataset metadata will also be synthesized from layer metadata.
- name: showOnlyUnlinkedOrganizations
- type: boolean
- default: false
- example: https://www.geoportal.rlp.de/mapbender/php/mod_showOpenDataOrganizations.php?showOnlyUnlinkedOrganizations=true
- description: Filter the organizations to those that have no corresponding ckan orga. This organizations have to be created before the metadata can be synchronized.
Used to sync organizations and resources from mapbender to connected ckan-instance. Is also invoked from webinterface (Admin Metadata). The synchronization maybe started by the owner of the metadata or by mapbenders root user. Syncing organizations is only possible logged in as root. Normally only the synchronization of organizations is invoked by simple http-requests. Therefor only this parameter is described bellow. If the organization does not exists in the ckan-instance, it will be created. Also an editor account will be created. The metadata, which will be exchanged later, will be owned by this editor account ("spatial data editor").
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/php/mod_syncCkan_server.php
- name: operation
- type: codelist - ["syncCkanOrganizations","..."]
- default: false
- example: https://www.geoportal.rlp.de/mapbender/php/mod_syncCkan_server.php?operation=syncCkanOrganizations
- description:
https://github.com/mrmap-community/Mapbender2.8/blob/master/http/php/syncCkanRoot.php
- name: syncDepartment
- type: integer
- default: false
- example: https://www.geoportal.rlp.de/mapbender/php/syncCkanRoot.php?syncDepartment=1458
- description: Webservice to start a synchronisation between mapbender metadata and coupled ckan metadata for one organization. The webservice must be invoked by the root user (login before to get session)