Hi, About adding new SRS into WMS give a list like here for the Web Mercator and the Finnish GK zones "wms_srs" "EPSG:3067 EPSG:3857 EPSG:3873 EPSG:3874 EPSG:3875 EPSG:3876 EPSG:3877 EPSG:3878 EPSG:3879 EPSG:3880 EPSG:3881 EPSG:3882 EPSG:3883 EPSG:3884 EPSG:3885 EPSG:4326 EPSG:3045"
Mapserver has a set of default outputformats and normally they all appear in the GetCapabilities. For giving your own list use wms_getmap_formatlist Description: (Optional) A comma-separated list of valid formats for a WMS GetMap request as documented in https://mapserver.gis.umn.edu/ogc/wms_server.html. -Jukka Rahkonen- -----Alkuperäinen viesti----- Lähettäjä: MapServer-users <[email protected]> Puolesta Stefan Gofferje Lähetetty: torstai 13. lokakuuta 2022 10.21 Vastaanottaja: [email protected] Aihe: [MapServer-users] Projection confusion and output image format Good morning all! thanks to some extra free time and some good pointers from this list, I got my mapserver up and running from zero within 6 or so hours yesterday. What's left is some detail work, writing some scripts, creating a docker file and so on. And... projection confusion... So my data is in EPSG:3067. At the moment, I have it configured so in MAP and in LAYER: PROJECTION "init=epsg:3067" END I also have the wms config set to EPSG:3067 only: "wms_srs" "EPSG:3067" EXTENT in MAP is set to: EXTENT 20000.000000 6594000.000000 740000.000000 7794000.000000 So, if I want to offer EPSG:3857 in addition to EPSG:3067 what do I change? The other thing is that in MAP I have set IMAGETYPE PNG8 mostly to speed things up and reduce file size. However, in a GetCapabilities reply, I get <GetMap> <Format>image/png; mode=8bit</Format> <Format>image/png</Format> <Format>image/jpeg</Format> <Format>image/vnd.jpeg-png</Format> <Format>image/vnd.jpeg-png8</Format> <Format>application/x-pdf</Format> <Format>image/svg+xml</Format> <Format>image/tiff</Format> <Format>application/vnd.google-earth.kml+xml</Format> <Format>application/vnd.google-earth.kmz</Format> <Format>application/vnd.mapbox-vector-tile</Format> <Format>application/x-protobuf</Format> <Format>application/json</Format> <DCPType> ... </DCPType> </GetMap> WHat am I missing here? -Stefan -- (o_ Stefan Gofferje | SCLT, MCP, CCSA //\ Reg'd Linux User #247167 | VCP #2263 V_/_ https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.gofferje.net%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C854929e934b349c7575008daaceb8906%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638012424873234098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=D%2BIHtncNkd%2FhNh%2FvBZ4eRJp7FqMlUL2JgjhTawX1tyM%3D&reserved=0 | https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.saakeskus.fi%2F&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C854929e934b349c7575008daaceb8906%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638012424873234098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mrKcqosVlAXFCRuqUq17%2BavecPoahq59a3x272inS08%3D&reserved=0 _______________________________________________ MapServer-users mailing list [email protected] https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C854929e934b349c7575008daaceb8906%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638012424873390379%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=79Trwkvfi12x6Lp7cpWXmeeGkDFsoCQnyQopd9A%2F9QU%3D&reserved=0 _______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
