{
	"modules":
	{
		"menu": true,
		"layertree": true,
		"map": true,
		"controls": true,
		"attribution": true,
		"info": true,
		"searchplace": true,
		"searchparcel": true,
		"toolbox": true,
		"import": true,
		"export": true
	},
	"menu":
	{
		"header": "",
		"items":
		[
			{ "id": "searchplace", "title": "<i class='fas fa-search'></i><span>Suche</span>" },
			{ "id": "searchparcel", "title": "<i class='fas fa-vector-square'></i><span>Flurstücke</span>" },
			{ "id": "toolbox", "title": "<i class='fas fa-tools'></i><span>Werkzeuge</span>" },
			{ "id": "layertree", "title": "<i class='fas fa-layer-group'></i><span>Inhalte</span>" }
		]
	},
	"projections":
	[
		[ "EPSG:25832", "+proj=utm +zone=32 +ellps=GRS80 +units=m +no_defs" ]
	],
	"map":
	{
		"projection": "EPSG:25832",
		"center_lonlat": [ 7.0, 50.0 ],
		"zoom": 9,
		"min_zoom": 5,
		"max_zoom": 24,
		"scalebar": true,
		"move_tolerance": 5
	},
	"folders":
	[
		{ "id": "bg", "title": "Hintergrund", "parent": null , "radio":  true},
		{ "id": "alkis", "parent": null, "title": "ALKIS Liegenschaften" },
		{ "id": "verwaltung", "parent": null, "title": "Verwaltungsgrenzen" },
		{ "id": "fachdaten", "parent": null, "title": "Geofachdaten" },
		{ "id": "ksp", "parent": "fachdaten", "title": "Kompensationsverzeichnis"},
		{ "id": "schutzgebiet", "parent": "fachdaten", "title": "Schutzgebiete"},
		{ "id": "nationalpark", "parent": "schutzgebiet", "title": "Nationalparke"},
		{ "id": "naturraum", "parent": "schutzgebiet", "title": "Naturräume" },
		{ "id": "kom", "parent": "ksp", "title": "Kompensationen" },
		{ "id": "eiv", "parent": "ksp", "title": "Eingriffe" },
		{ "id": "oek", "parent": "ksp", "title": "Ökokonten" },
		{ "id": "ema", "parent": "ksp", "title": "EMA" },
		{ "id": "mae", "parent": "ksp", "title": "MAE" }
	],
	"layers":
	[
		{ "id": "webatlas_farbe", "folder": "bg", "type": "WMS", "order": -1, "title": "WebatlasRP farbig", "attribution": "LVermGeo", "url": "https://maps.service24.rlp.de/gisserver/services/RP/RP_WebAtlasRP/MapServer/WmsServer?", "name": "RP_WebAtlasRP", "active": true},
		{ "id": "webatlas_grau", "folder": "bg", "type": "WMS", "order": -1, "title": "WebatlasRP grau", "attribution": "LVermGeo", "url": "https://maps.service24.rlp.de/gisserver/services/RP/RP_ETRS_Gt/MapServer/WmsServer?", "name": "0", "active": false },
		{ "id": "luftbilder", "folder": "bg", "type": "WMS", "order": -1, "title": "Luftbilder", "attribution": "LVermGeo", "url": "https://geo4.service24.rlp.de/wms/rp_dop20.fcgi?", "name": "rp_dop20", "active": false },
		{ "id": "basemap_farbe", "folder": "bg", "type": "WMS", "order": -1, "title": "BasemapDE farbig", "attribution": "BKG", "url": "https://sgx.geodatenzentrum.de/wms_basemapde?", "name": "de_basemapde_web_raster_farbe", "active": false },
		{ "id": "basemap_grau", "folder": "bg", "type": "WMS", "order": -1, "title": "BasemapDE grau", "attribution": "BKG", "url": "https://sgx.geodatenzentrum.de/wms_basemapde?", "name": "de_basemapde_web_raster_grau", "active": false },
		{ "id": "dtk_farbe", "folder": "bg", "type": "WMS", "order": -1, "title": "DTK5 farbig", "attribution": "LVermGeo", "url": "https://geo4.service24.rlp.de/wms/dtk5_rp.fcgi?", "name": "rp_dtk5", "active": false },
		{ "id": "dtk_grau", "folder": "bg", "type": "WMS", "order": -1, "title": "DTK5 grau", "attribution": "LVermGeo", "url": "https://geo4.service24.rlp.de/wms/dtk5_rp.fcgi?", "name": "rp_dtk5_grau", "active": false },

		{ "id": "kom", "folder": "kom", "type": "WMS", "title": "KOM", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=kom_recorded&", "name": "kom_recorded" },
		{ "id": "kom_rec", "folder": "kom", "type": "WMS", "title": "KOM - In Bearbeitung", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=kom_unrecorded&", "name": "kom_unrecorded" },
		{ "id": "kom_rec_unfinished", "folder": "kom", "type": "WMS", "title": "KOM - Unvollständige Altfälle", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=kom_unrecorded_old_entries&", "name": "kom_unrecorded_old_entries" },

		{ "id": "eiv", "folder": "eiv", "type": "WMS", "title": "EIV", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=eiv_recorded&", "name": "eiv_recorded" },
		{ "id": "eiv_rec", "folder": "eiv", "type": "WMS", "title": "EIV - In Bearbeitung", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=eiv_unrecorded&", "name": "eiv_unrecorded" },
		{ "id": "eiv_rec_unfinished", "folder": "eiv", "type": "WMS", "title": "EIV - Unvollständige Altfälle", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=eiv_unrecorded_old_entries&", "name": "eiv_unrecorded_old_entries" },

		{ "id": "oek", "folder": "oek", "type": "WMS", "title": "OEK", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=oek_recorded&", "name": "oek_recorded" },
		{ "id": "oek_rec", "folder": "oek", "type": "WMS", "title": "OEK - In Bearbeitung", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=oek_unrecorded&", "name": "oek_unrecorded" },

		{ "id": "ema", "folder": "ema", "type": "WMS", "title": "EMA", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=ema_recorded&", "name": "ema_recorded" },
		{ "id": "ema_rec", "folder": "ema", "type": "WMS", "title": "EMA - In Bearbeitung", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=ema_unrecorded&", "name": "ema_unrecorded" },

		{ "id": "mae", "folder": "mae", "type": "WMS", "title": "MAE", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=mae&", "name": "mae" },

		{ "id": "nsg", "folder": "schutzgebiet", "type": "WMS", "title": "Naturschutzgebiete", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=naturschutzgebiet&", "name": "naturschutzgebiet" },
		{ "id": "npz", "folder": "schutzgebiet", "type": "WMS", "title": "Naturparkzonen", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=naturparkzonen&", "name": "naturparkzonen" },
		{ "id": "lsg", "folder": "schutzgebiet", "type": "WMS", "title": "Landschaftsschutzgebiete", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=landschaftsschutzgebiet&", "name": "landschaftsschutzgebiet" },
		{ "id": "vsg", "folder": "schutzgebiet", "type": "WMS", "title": "Vogelschutzgebiete", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=vogelschutzgebiet&", "name": "vogelschutzgebiet" },
		{ "id": "ffh", "folder": "schutzgebiet", "type": "WMS", "title": "FFH Gebiete", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=ffh&", "name": "ffh" },

		{"id": "ntpz", "folder": "nationalpark", "type": "WMS", "title": "Nationalpark Zonen", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=nationalpark_zonen&", "name": "nationalpark_zonen" },
		{"id": "ntpg", "folder": "nationalpark", "type": "WMS", "title": "Nationalpark Grenzen", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=nationalpark_grenze&", "name": "nationalpark_grenze" },

		{ "id": "natraum_g", "folder": "naturraum", "type": "WMS", "title": "Naturräume Grenzen", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=natraum_lkompvo_grenzen&", "name": "natraum_lkompvo_grenzen" },
		{ "id": "natraum_f", "folder": "naturraum", "type": "WMS", "title": "Naturräume Flächen", "url": "https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_ogc/wms_getmap.php?mapfile=natraum_lkompvo&", "name": "natraum_lkompvo" },

		{ "id": "lagebezeichnung", "folder": "alkis", "type": "WMS", "title": "Lagebezeichnungen", "url": "https://geo5.service24.rlp.de/wms/liegenschaften_rp.fcgi?", "name": "Lagebezeichnungen" },
		{ "id": "flurstueck_wms", "folder": "alkis", "type": "WMS", "title": "Flurstücke (WMS)", "url": "https://geo5.service24.rlp.de/wms/liegenschaften_rp.fcgi?", "name": "Flurstueck", "active":  true},
		{ "id": "flurstueck_wfs", "folder": "alkis", "type": "WFS", "title": "Flurstücke (WFS; ab hoher Zoomstufe)", "url": "/client/proxy/wfs?", "name": "ave:Flurstueck", "minZoom": 17},
		{ "id": "gebaeude", "folder": "alkis", "type": "WMS", "title": "Gebäude / Bauwerke", "url": "https://geo5.service24.rlp.de/wms/liegenschaften_rp.fcgi?", "name": "GebaeudeBauwerke" },
		{ "id": "nutzung", "folder": "alkis", "type": "WMS", "title": "Nutzung", "url": "https://geo5.service24.rlp.de/wms/liegenschaften_rp.fcgi?", "name": "Nutzung" },

		{ "id": "lk", "folder": "verwaltung", "type": "WMS", "title": "Landkreise", "url": "https://geo5.service24.rlp.de/wms/verwaltungsgrenzen_rp.fcgi?", "name": "Landkreise" },
		{ "id": "vg", "folder": "verwaltung", "type": "WMS", "title": "Verbandsgemeinden", "url": "https://geo5.service24.rlp.de/wms/verwaltungsgrenzen_rp.fcgi?", "name": "Verbandsgemeinden" },
		{ "id": "gmd", "folder": "verwaltung", "type": "WMS", "title": "Gemeinden", "url": "https://geo5.service24.rlp.de/wms/verwaltungsgrenzen_rp.fcgi?", "name": "Gemeinden" }
	],
	"layertree":
	{
		"open": false,
		"title": "Inhalte",
		"buttons":
		[
			{ "id": "import_layer", "title": "<i class='netgis-icon fas fa-plus' style='font-size: 1em;'></i><span>Hinzufügen...</span>" }
		]
	},
	"controls":
	{
		"buttons":
		[
			{ "id": "zoom_in", "icon": "<i class='fas fa-plus'></i>", "title": "Zoom +" },
			{ "id": "zoom_out", "icon": "<i class='fas fa-minus'></i>", "title": "Zoom -" },
			{ "id": "zoom_home", "icon": "<i class='fas fa-home'></i>", "title": "Anfangsausdehung" }
		]
	},
	"searchplace":
	{
		"title": "Adresse...",
		"url": "/client/proxy?https://www.geoportal.rlp.de/mapbender/geoportal/gaz_geom_mobile.php?outputFormat=json&resultTarget=web&searchEPSG={epsg}&maxResults=5&maxRows=5&featureClass=P&style=full&searchText={query}&name_startsWith={query}",
		"zoom": 17,
		"marker_color": "darkgray",
		"marker_title": "Such-Ergebnis"
	},
	"searchparcel":
	{
		"open": false,
		"name_url": "/client/proxy?https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_alkis/gem_search.php?placename={q}",
		"parcel_url": "/client/proxy?https://geodaten.naturschutz.rlp.de/kartendienste_naturschutz/mod_alkis/flur_search.php?gmk_gmn={district}&fln={field}&fsn_zae={parcelA}&fsn_nen={parcelB}&export=json",
		"districts_service":
		{
			"type": "WFS",
			"url": "https://geo5.service24.rlp.de/wfs/verwaltungsgrenzen_rp.fcgi?",
			"name": "vermkv:gemarkungen_rlp",
			"format": "application/json; subtype=geojson",
			"min_zoom": 12
		},
		"fields_service":
		{
			"url": "https://geo5.service24.rlp.de/wfs/verwaltungsgrenzen_rp.fcgi?",
			"name": "vermkv:fluren_rlp",
			"filter_property": "gmkgnr"
		}
	},
	"toolbox":
	{
		"open": false,
		"items":
		[
			{ "id": "view", "title": "<i class='netgis-icon netgis-text-a fas fa-hand-paper'></i><span>Betrachten</span>" },
			{ "id": "zoom_box", "title": "<i class='netgis-icon netgis-text-a fas fa-expand'></i><span>Zoom-Rechteck</span>" },
			{ "id": "view_prev", "title": "<i class='netgis-icon netgis-text-a fas fa-step-backward'></i><span>Vorherige Ansicht</span>" },
			{ "id": "view_next", "title": "<i class='netgis-icon netgis-text-a fas fa-step-forward'></i><span>Nächste Ansicht</span>" },
			{ "id": "measure_line", "title": "<i class='netgis-icon netgis-text-a fas fa-ruler'></i><span>Strecke messen</span>" },
			{ "id": "measure_area", "title": "<i class='netgis-icon netgis-text-a fas fa-ruler-combined'></i><span>Fläche messen</span>" },
			{ "id": "measure_clear", "title": "<i class='netgis-icon netgis-text-a fas fa-trash-alt'></i><span>Messung löschen</span>" },
			{ "id": "draw_points", "title": "<i class='netgis-icon netgis-text-a fas fa-map-marker-alt'></i><span>Punkte zeichnen</span>" },
			{ "id": "draw_lines", "title": "<i class='netgis-icon netgis-text-a fas fa-minus'></i><span>Linien zeichnen</span>" },
			{ "id": "draw_polygons", "title": "<i class='netgis-icon netgis-text-a fas fa-vector-square'></i><span>Polygone zeichnen</span>" },
			{ "id": "modify_features", "title": "<i class='netgis-icon netgis-text-a fas fa-arrows-alt'></i><span>Verschieben</span>" },
			{ "id": "delete_features", "title": "<i class='netgis-icon netgis-text-a fas fa-eraser'></i><span>Löschen</span>" },
			{ "id": "buffer_features", "title": "<i class='netgis-icon netgis-text-a far fa-dot-circle'></i><span>Puffern</span>" },
			{ "id": "cut_features", "title": "<i class='netgis-icon netgis-text-a fas fa-cut'></i><span>Ausschneiden</span>" },
			{ "id": "import_layer", "title": "<i class='netgis-icon netgis-text-a fas fa-upload'></i><span>Importieren</span>" },
			{ "id": "export", "title": "<i class='netgis-icon netgis-text-a fas fa-save'></i><span>Exportieren</span>" }
		],
		"options":
		{
			"buffer_features":
			{
				"title": "Puffern",
				"items":
				[
					{ "id": "buffer_radius", "type": "integer", "title": "Radius (Meter)" },
					{ "id": "buffer_segments", "type": "integer", "title": "Segmente" },
					{ "id": "buffer_submit", "type": "button", "title": "<i class='netgis-icon netgis-text-a fas fa-arrow-circle-right'></i><span>Akzeptieren</span>" }
				]
			}
		}
	},
	"import":
	{
		"title": "Ebene hinzufügen",
		"preview": true,
		"editable": true,
		"wms_options": [ "https://sgx.geodatenzentrum.de/wms_topplus_open" ],
		"wfs_options": [ "http://213.139.159.34:80/geoserver/uesg/wfs" ],
		"wfs_proxy": "/client/proxy?",
		"geopackage_lib": "/static/libs/geopackage/4.2.3/"
	},
	"export":
	{
		"title": "Exportieren",
		"logo": "/static/assets/logo.png",
		"gif_worker": "/static/libs/gifjs/0.2.0/gif.worker.js",
		"default_filename": "Export",
		"default_margin": 10
	},
	"measure":
	{
		"line_color": "rgba( 255, 0, 0, 1.0 )",
		"line_width": 3.0,
		"line_dash": [ 5, 10 ],
		"area_fill": "rgba( 255, 0, 0, 0.3 )",
		"point_radius": 4.0,
		"point_fill": "rgba( 255, 255, 255, 1.0 )",
		"point_stroke": "rgba( 0, 0, 0, 1.0 )",
		"text_color": "#871d33",
		"text_back": "rgba( 255, 255, 255, 0.7 )"
	},
	"tools":
	{
		"editable": true,
		"interactive_render": true,
		"buffer":
		{
			"default_radius": 5,
			"default_segments": 3
		},
		"snapping":
		{
			"show": true,
			"active": true,
			"tolerance": 35
		},
		"bounds_message": "Ausserhalb des erlaubten Bereichs!",
		"show_bounds": true
	},
	"output":
	{
		"id": "netgis-storage"
	},
	"attribution":
	{
		"prefix": "LANIS"
	},
	"styles":
	{
		"draw":
		{
			"fill": "rgba( 135, 29, 51, 0.5 )",
			"stroke": "#871d33",
			"width": 3,
			"radius": 6,
			"viewport_labels": true
		},
		"non_edit":
		{
			"fill": "rgba( 135, 29, 51, 0.5 )",
			"stroke": "#871d33",
			"width": 3,
			"radius": 6,
			"viewport_labels": true
		},
		"select":
		{
			"fill": "rgba( 0, 127, 255, 0.5 )",
			"stroke": "#007fff",
			"width": 3,
			"radius": 6
		},
		"sketch":
		{
			"fill": "rgba( 29, 135, 113, 0.5 )",
			"stroke": "#1D8771",
			"width": 3,
			"radius": 6
		},
		"error":
		{
			"fill": "rgba( 255, 0, 0, 0.5 )",
			"stroke": "#ff0000",
			"width": 3,
			"radius": 6
		},
		"bounds":
		{
			"fill": "rgba( 0, 0, 0, 0.0 )",
			"stroke": "#000000",
			"width": 3,
			"radius": 6
		},
		"modify":
		{
			"fill": "rgba( 29, 135, 113, 0.5 )",
			"stroke": "#1D8771",
			"width": 3,
			"radius": 6
		},
		"parcel":
		{
			"fill": "rgba( 127, 0, 0, 0.2 )",
			"stroke": "rgba( 127, 0, 0, 1.0 )",
			"width": 2.5
		},

		"import":
		{
			"fill": "rgba( 0, 127, 255, 0.2 )",
			"stroke": "rgba( 0, 127, 255, 1.0 )",
			"width": 1.5
		}
	}
}
