<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.Shkpostityyli20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FI link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I removed the contents of the geoserver_data folder and set the coordinate system to EPSG:3067 using <a href="http://localhost:8080/setup">http://localhost:8080/setup</a>. After that Geoserver’s native SRS is set to EPSG:3067. Thank you.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Keijo Kangas<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif;background:white'>+358 40 480 9035<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'>Sovelluskehittäjä<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><a href="http://www.kuntotekniikka.fi/"><span style='color:windowtext'>www.kuntotekniikka.fi</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Arial",sans-serif'><a href="http://www.facebook.com/kuntotekniikka"><span style='color:windowtext'>www.facebook.com/kuntotekniikka</span></a><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><img border=0 width=310 height=52 style='width:3.2291in;height:.5416in' id="Kuva_x0020_1" src="cid:image001.png@01D42D76.7172B240" alt=kt><o:p></o:p></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Lähettäjä:</b> Mäkinen Sami (MML) <sami.makinen@maanmittauslaitos.fi> <br><b>Lähetetty:</b> 6. elokuuta 2018 10:54<br><b>Vastaanottaja:</b> Sanna Jokela <sanna@gispo.fi>; Keijo Kangas <keijo.kangas@kuntotekniikka.fi><br><b>Kopio:</b> Oskari-user@lists.osgeo.org<br><b>Aihe:</b> VS: [Oskari-user] Installing Oskari Map Application using EPSG:3067 as a default coordinate system<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-size:12.0pt;color:black'>Hi,<o:p></o:p></span></p><p><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;color:black'>If you have the GeoServer address and credentials setup in oskari-ext.properties you can delete the contents of the geoserver_data folder under Jetty to get rid of the pre-populated configuration. Then after starting Jetty go to <a href="http://localhost:8080/setup">http://localhost:8080/setup</a>. You will see one text field and a button. Type in </span><span style='font-size:12.0pt;color:#212121;background:white'>EPSG:3067</span><span style='font-size:12.0pt;color:black'> and click the button. This will configure GeoServer with everything Oskari needs and set the native projection. It will also advice you if you need to change something in oskari-ext.properties regarding myplaces, analysis or userlayers.<o:p></o:p></span></p><p><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;color:black'>Note that after you have done this you will want to move the setup.war from under Jetty webapps so users won't be able to access it. The setup webapp is a bit experimental and not very pretty but it's the simplest way to configure GeoServer for Oskari and it's included in the download from oskari.org. Also note that it uses the GeoServer REST API for configuration and probably won't work with other GeoServer versions than the bundled one as the GS API has changed since.<o:p></o:p></span></p><p><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;color:black'>Would be nice if someone developed the setup further for other aspects of Oskari as well :)<o:p></o:p></span></p><p><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;color:black'>BR,<o:p></o:p></span></p><p><span style='font-size:12.0pt;color:black'>       Sami<o:p></o:p></span></p><div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:12.0pt;color:#212121'><hr size=2 width="98%" align=center></span></div><div id=divRplyFwdMsg><p class=MsoNormal><b><span style='color:black'>Lähettäjä:</span></b><span style='color:black'> Sanna Jokela <<a href="mailto:sanna@gispo.fi">sanna@gispo.fi</a>><br><b>Lähetetty:</b> 6. elokuuta 2018 7:55<br><b>Vastaanottaja:</b> Keijo Kangas; Mäkinen Sami (MML)<br><b>Kopio:</b> <a href="mailto:Oskari-user@lists.osgeo.org">Oskari-user@lists.osgeo.org</a><br><b>Aihe:</b> Re: [Oskari-user] Installing Oskari Map Application using EPSG:3067 as a default coordinate system</span><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p></div></div><div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>Good morning!  <o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>Has Sami some ideas on this? I have been on on vacation, so sorry for the delay in answering. I have also heard some similar problems with projections in another case, so it would be great to document this better.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>Br,<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>Sanna<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>On 2 August 2018 at 11:23, Keijo Kangas <<a href="mailto:keijo.kangas@kuntotekniikka.fi" target="_blank">keijo.kangas@kuntotekniikka.fi</a>> wrote:<o:p></o:p></span></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'>Hello,<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'>I am installing Oskari Map Application using pre-installed environment with these instructions: <a href="http://oskari.org/documentation/backend/setup-jetty" target="_blank">http://oskari.org/documentation/backend/setup-jetty</a><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'>However, I want to set default coordinate system to EPSG:3067 and set it to oskari-ext.properties before starting the start.jar (java -jar start.jar) but when I log in to pre-installed Geoserver I can see that the Native SRS is EPSG:4326. How can I set the default coordinate system to EPSG:3067 so that Oskari Map installation process creates oskaridb database tables and geoserver Layers compatible to EPSG:3067 coordinate system? Thank you for your help!<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121'> </span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121'>Keijo Kangas</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121;background:white'>+358 40 480 9035</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121'>Software developer</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121'><a href="http://www.kuntotekniikka.fi/" target="_blank"><span style='color:windowtext'>www.kuntotekniikka.fi</span></a></span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:#212121'><a href="http://www.facebook.com/kuntotekniikka" target="_blank"><span style='color:windowtext'>www.facebook.com/kuntotekniikka</span></a></span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;color:#212121'> <o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:12.0pt;color:#212121'><br>_______________________________________________<br>Oskari-user mailing list<br><a href="mailto:Oskari-user@lists.osgeo.org">Oskari-user@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/oskari-user" target="_blank">https://lists.osgeo.org/mailman/listinfo/oskari-user</a><o:p></o:p></span></p></blockquote></div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>-- <o:p></o:p></span></p><div><div><div><p class=MsoNormal><span style='font-size:12.0pt;color:#212121'>Sanna Jokela<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;color:#212121'>paikkatietoasiantuntija</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;color:#212121'>Gispo Oy</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;color:#212121'>0407664607</span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:7.5pt;color:#212121'><a href="http://www.gispo.fi" target="_blank">www.gispo.fi</a> </span><span style='font-size:12.0pt;color:#212121'><o:p></o:p></span></p></div></div></div></div></div></div></div></body></html>