{"guid":"df1aa7be-14be-5fa5-ac91-b5323f0fde3e","title":"Konfiguration eines WFS-T mit MapServer und TinyOWS","subtitle":null,"slug":"fossgis2021-9037-konfiguration-eines-wfs-t-mit-mapserver-und-tinyows","link":"https://pretalx.com/fossgis2021/talk/KR7VJQ/","description":"MapServer selbst kann keinen transaktionalen WFS bereit stellen. Mit dem Partner-Projekt TinyOWS ist das auf einfache Weise möglich. Dabei kann der TinyOWS aiuch über eine Map-Datei konfiguriert werden. Die Demo-Session zeigt wie das funktioniert.\n\nMapServer selbst kann keinen transaktionalen WFS bereit stellen. Mit dem Partner-Projekt TinyOWS ist das auf einfache Weise möglich. Dabei kann der TinyOWS auch über eine Map-Datei konfiguriert werden. Die Demo-Session zeigt wie das funktioniert. Darüber hinaus wird gezeigt wie TinyOWS als stand-alone-Anwendung über kurze XML-Dateien konfiguriert werden kann und wie über die Konfiguration des Webservers mehrere WFS parallel betrieben werden können.\nEin WFS-T mit XML-Konfiguration benötigt nur wenige Zeilen:\n\u003ctinyows online_resource=\"http://schulung.foss.academy/cgi-bin/tinyows\"\n  schema_dir=\"/usr/local/tinyows/schema/\" check_schema=\"0\"\u003e\n\n  \u003cpg host=\"localhost\" user=\"xxxx\" password=\"xxxx\" dbname=\"mapserver\" port=\"5432\"/\u003e\n  \u003cmetadata name=\"TinyOWS Server\" title=\"TinyOWS Server - Demo Service\" /\u003e\n         \n  \u003clayer retrievable=\"1\" writable=\"1\"  ns_prefix=\"tows\" ns_uri=\"http://www.tinyows.org\"\n         name=\"ne_10m_urban_areas\" title=\"World Administrative Urban Areas\" /\u003e\n\u003c/tinyows\u003e\n\nAuch für eine TinyOWS-Konfiguration innerhalb einer Mapdatei sind nur wenige Einträge notwendig:\nMAP\n    NAME \"TinyOWS\"\n    WEB\n         METADATA\n            \"tinyows_schema_dir\" \"/usr/local/share/tinyows/schema/\"\n            \"tinyows_onlineresource\" \"http://schulung.foss.academy/cgi-bin/tinyowsmapfile\"\n            \"tinyows_check_schema\" \"0\"\n            ...\n         END\n    END\n    LAYER\n        ...\n        METADATA\n            'wfs_title' 'Urban Areas'\n            'wfs_namespace_prefix' 'towsmap'\n            'wfs_namespace_uri' 'http://www.mapserver.org/tinyows/'\n            'wfs_srs' 'EPSG:4326'\n            'tinyows_table'  'ne_10m_urban_areas'\n            'tinyows_writable' '1'\n            'tinyows_retrievable' '1'\n        END\n    END\nEND\n\nQuellen\n[1] https://mapserver.org/tinyows/\n[2] https://github.com/MapServer/tinyows\n[3] https://www.fossgis-konferenz.de/2012/programm/attachments/353_fossgis2012_tinyows.pdf","original_language":"deu","persons":["Jörg Thomsen"],"view_count":125,"promoted":false,"date":"2021-06-07T14:00:00.000+02:00","release_date":"2021-06-08T00:00:00.000+02:00","updated_at":"2025-06-26T22:30:05.531+02:00","tags":["fossgis2021","9037","2021","Grundlagen Open-Source-GIS und OpenStreetMap","Geo","OpenStreeetMap","FOSS","Online"],"length":2926,"duration":2926,"thumb_url":"https://static.media.ccc.de/media/events/fossgis/2021/9037-df1aa7be-14be-5fa5-ac91-b5323f0fde3e.jpg","poster_url":"https://static.media.ccc.de/media/events/fossgis/2021/9037-df1aa7be-14be-5fa5-ac91-b5323f0fde3e_preview.jpg","timeline_url":"https://static.media.ccc.de/media/events/fossgis/2021/9037-df1aa7be-14be-5fa5-ac91-b5323f0fde3e.timeline.jpg","thumbnails_url":"https://static.media.ccc.de/media/events/fossgis/2021/9037-df1aa7be-14be-5fa5-ac91-b5323f0fde3e.thumbnails.vtt","frontend_link":"https://media.ccc.de/v/fossgis2021-9037-konfiguration-eines-wfs-t-mit-mapserver-und-tinyows","url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_title":"FOSSGIS 2021","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021","related":[],"recordings":[{"size":278,"length":2926,"mime_type":"video/webm","language":"deu","filename":"fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_webm-hd.webm","state":"new","folder":"webm-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2021-06-08T09:16:42.652+02:00","recording_url":"https://cdn.media.ccc.de/events/fossgis/2021/webm-hd/fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_webm-hd.webm","url":"https://api.media.ccc.de/public/recordings/53435","event_url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021"},{"size":119,"length":2926,"mime_type":"video/webm","language":"deu","filename":"fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_webm-sd.webm","state":"new","folder":"webm-sd","high_quality":false,"width":720,"height":576,"updated_at":"2021-06-08T08:25:08.024+02:00","recording_url":"https://cdn.media.ccc.de/events/fossgis/2021/webm-sd/fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_webm-sd.webm","url":"https://api.media.ccc.de/public/recordings/53430","event_url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021"},{"size":85,"length":2926,"mime_type":"video/mp4","language":"deu","filename":"fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_sd.mp4","state":"new","folder":"h264-sd","high_quality":false,"width":720,"height":576,"updated_at":"2021-06-08T08:00:19.105+02:00","recording_url":"https://cdn.media.ccc.de/events/fossgis/2021/h264-sd/fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_sd.mp4","url":"https://api.media.ccc.de/public/recordings/53419","event_url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021"},{"size":31,"length":2916,"mime_type":"audio/opus","language":"deu","filename":"fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_opus.opus","state":"new","folder":"opus","high_quality":false,"width":0,"height":0,"updated_at":"2021-06-08T07:59:51.706+02:00","recording_url":"https://cdn.media.ccc.de/events/fossgis/2021/opus/fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_opus.opus","url":"https://api.media.ccc.de/public/recordings/53418","event_url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021"},{"size":44,"length":2916,"mime_type":"audio/mpeg","language":"deu","filename":"fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_mp3.mp3","state":"new","folder":"mp3","high_quality":false,"width":0,"height":0,"updated_at":"2021-06-08T07:59:26.944+02:00","recording_url":"https://cdn.media.ccc.de/events/fossgis/2021/mp3/fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_mp3.mp3","url":"https://api.media.ccc.de/public/recordings/53417","event_url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021"},{"size":212,"length":2926,"mime_type":"video/mp4","language":"deu","filename":"fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_hd.mp4","state":"new","folder":"h264-hd","high_quality":true,"width":1920,"height":1080,"updated_at":"2021-06-08T07:49:58.717+02:00","recording_url":"https://cdn.media.ccc.de/events/fossgis/2021/h264-hd/fossgis2021-9037-deu-Konfiguration_eines_WFS-T_mit_MapServer_und_TinyOWS_hd.mp4","url":"https://api.media.ccc.de/public/recordings/53407","event_url":"https://api.media.ccc.de/public/events/df1aa7be-14be-5fa5-ac91-b5323f0fde3e","conference_url":"https://api.media.ccc.de/public/conferences/fossgis2021"}]}