Message: 4 Date: Thu, 19 Mar 2015 08:32:34 +0000 From: "Rahkonen Jukka (MML)" <[email protected]> To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Subject: Re: [mapserver-users] Is there a way to convert a QGIS layout into a ".map" file? Message-ID: <[email protected]>
The SLD output of QGIS can be good but I am not so sure how good Mapserver is with importing SLD. That could be tested through WMS GetMap and &SLD= or with &SLD_BODY= but there is no tool for converting SLD into layer styles as text which could be saved and used in static mapfiles, or is there? MapServer handles application of external SLD just fine. Original styling: http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=49.8639,-9.80586479568672,60.8622,2.92769479568672&WIDTH=1020&HEIGHT=881&LAYERS=UKCoShelf_BGS_1M_SBS& External SLD styling: http://ogc.bgs.ac.uk/cgi-bin/BGS_Bedrock_and_Superficial_Geology/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=49.8639,-9.80586479568672,60.8622,2.92769479568672&WIDTH=1020&HEIGHT=881&SLD=http%3A%2F%2Fogc.bgs.ac.uk%2Fsld%2FUKCoShelf_BGS_1M_SBS-original-mod3a.sld Not sure if this is what you meant though? James This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
