<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; } @font-face { font-family: "Cambria Math"; } @font-face { font-family: Calibri; } p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; } a:link, span.MsoHyperlink { color: rgb(5, 99, 193); text-decoration: underline; } a:visited, span.MsoHyperlinkFollowed { color: rgb(149, 79, 114); text-decoration: underline; } span.EmailStyle17 { font-family: Calibri, sans-serif; color: windowtext; } .MsoChpDefault { font-family: Calibri, sans-serif; } @page WordSection1 { margin: 72pt; } div.WordSection1 { }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>​Hi,<br>
</p>
<p><br>
</p>
<p>You can define your custom appsetup that has the projection you want to use. The best way to do this is using the oskari-server-extension template (https://github.com/oskariorg/oskari-server-extension-template). Here's are examples for sites we maintain:<br>
</p>
<p>- paikkatietoikkuna: <a href="https://github.com/nls-oskari/kartta.paikkatietoikkuna.fi">https://github.com/nls-oskari/kartta.paikkatietoikkuna.fi</a><br>
</p>
<p>- arctic-sdi: <a href="https://github.com/arctic-sdi/oskari-server-extensions">https://github.com/arctic-sdi/oskari-server-extensions</a><br>
</p>
<p>- elf: <a href="https://github.com/elf-oskari/oskari-server-extensions">https://github.com/elf-oskari/oskari-server-extensions</a><br>
</p>
<p><br>
</p>
<p>The things you want to modify are under app-resources/src/main/resources​ for most of these like <a href="https://github.com/nls-oskari/kartta.paikkatietoikkuna.fi/tree/master/app-resources/src/main/resources">https://github.com/nls-oskari/kartta.paikkatietoikkuna.fi/tree/master/app-resources/src/main/resources</a><br>
</p>
<p><br>
</p>
<p>You can define the custom appsetup like this (map options like projection setting is highlighted): <a href="https://github.com/oskariorg/oskari-server-extension-template/blob/master/app-resources/src/main/resources/json/views/myapp-geoportal.json#L17-L25">https://github.com/oskariorg/oskari-server-extension-template/blob/master/app-resources/src/main/resources/json/views/myapp-geoportal.json#L17-L25</a>.
 This JSON lists the functionalities (== bundles) that will be used in the application and the optional configurations that can be tuned to fit the application like the projection. Note that
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
changing th</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">e JSON </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">does
 nothing</span> after the application has been initialized (Jetty has been started with the custom app). So if you don't get it right the first time you need to drop the database, change the json and start Jetty again. Here's also a some notes for manually
 updating the map options in the database for existing appsetups: <a href="http://oskari.org/documentation/configuring_map_projection">http://oskari.org/documentation/configuring_map_projection</a><br>
</p>
<p><br>
</p>
<p>If you want to support user generated content like my places, userlayers and analysis features you also need to configure GeoServer. There's an app for that ;) Check the last part on this page <a href="http://oskari.org/documentation/configuring_map_projection">http://oskari.org/documentation/configuring_map_projection</a>
 for using the setup webapp to automatically configure GeoServer. It will generate the oskari namespace/workspace, configure stores and layers and inject the SLD styles to GeoServer using GeoServer REST API.<br>
</p>
<p><br>
</p>
<p>So what you want to do is:<br>
</p>
<p>1) setup an oskari-server-extension for your application<br>
</p>
<p>2) define the appsetup.json for initial database content that has the projection, extent, zoom levels you want<br>
</p>
<p>3) run the setup.war and give it EPSG:3067 as input<br>
</p>
<p><br>
</p>
<p>Let me know if there something that needs to be clarified. This probably doesn't make everything clear for you, but guess it helps asking some follow-up questions.<br>
</p>
<p><br>
</p>
<p>         Sami<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Lähettäjä:</b> Oskari-user <oskari-user-bounces@lists.osgeo.org> käyttäjän puolestaPetri Linna <petri.linna@tut.fi><br>
<b>Lähetetty:</b> 8. marraskuuta 2018 13:01<br>
<b>Vastaanottaja:</b> oskari-user@lists.osgeo.org<br>
<b>Aihe:</b> [Oskari-user] Geospatial 4326 to 3067</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Hi</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">My question is related to how to change oskari’s geospatial EPSG:4326 to 3067? Which settings files I need to modify? And do I need to do changes also in database?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal">Terveisin, Petri Linna</p>
<p class="MsoNormal">---</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Tampereen teknillinen yliopisto</p>
<p class="MsoNormal"><span lang="EN-US">PL300, 28100 PORI</span></p>
<p class="MsoNormal"><span lang="EN-US">work: +358 408262720</span></p>
<p class="MsoNormal"><a href="http://www.tut.fi/pori"><span lang="EN-US" style="color:blue">www.tut.fi/pori</span></a><span lang="EN-US"></span></p>
<p class="MsoNormal"><span style="">@petrilinna</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">Droonit maa- ja metsätaloudessa 29-30.11.2018:</span></p>
<p class="MsoNormal"><span style=""><a href="http://drones2018.utu.fi/"><span style="color:blue">http://drones2018.utu.fi/</span></a></span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">Tampereen yliopisto ja Tampereen teknillinen yliopisto yhdistyvät 1.1.2019 uudeksi Tampereen yliopisto -nimiseksi säätiöyliopistoksi. Yhdessä Tampereen ammattikorkeakoulun kanssa ne muodostavat uuden korkeakouluyhteisön,
 jonka osaamiskärjet ovat tekniikka, terveys ja yhteiskunta. </span><span style="font-family:"Arial",sans-serif"></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</body>
</html>