<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Now the map file is fixed. With the tool shp2img the png shows the points.</div>
<div>But still I have problems with the right projection in GeoMOOSE.</div>
<div> </div>
<div>1. In my map file the layer has EPSG:4326.</div>
<div>2. In the mapbook.xml I have entered EPSG:4326 as the projection too and the following coordinates:</div>
<div><em><param name="max_extent">5,40,10,70</param></em></div>
<div><em><param name="initial_extent">9,48,18,55</param></em></div>
<div>
<div>3. In settings.ini and local_settings.ini I have entered EPSG:4326 too.</div>
<div>4. The references in geomoose.html are the two:</div>
<div><em><script type="text/javascript" src="projections/EPSG3857.js"></script></em></div>
<div><em><script type="text/javascript" src="projections/EPSG4326.js"></script></em></div>
<div>5. I have the two js files of EPSG:3857 and EPSG:4326.</div>
<div> </div>
<div>Result:</div>
<div>The map in GeoMOOSE shows the zero point (is this correct in English?) in the Atlantic and in the status bar there is the following message:</div>
<div><em>must be between in (-90,90) ... no playing at the poles, yet</em></div>
<div> </div>
<div><span class="short_text" id="result_box" lang="en"><span class="hps">Obviously</span></span> I did a mistake, but which one?</div>
<div> </div>
<div>Thank you again for helping!</div>
<div> </div>
<div>Greetings, Geograefin</div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Mittwoch, 07. Januar 2015 um 17:04 Uhr<br/>
<b>Von:</b> "Brent Fraser" <bfraser@geoanalytic.com><br/>
<b>An:</b> geo.graefin@web.de, geomoose-users@lists.osgeo.org<br/>
<b>Betreff:</b> Re: Aw: Re: [Geomoose-users] Change projection</div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix">That's because you've set you display projection to something other than EPSG:3857 (likely EPSG:25833?). It is NOT necessary to change the display projection just to display your own data. If you want to use standard basemap tiles like OSM, Google, etc, then you MUST use a display projection of EPSG:3857.
<pre class="moz-signature">Best Regards,
Brent Fraser</pre>
On 1/7/2015 7:14 AM, <a class="moz-txt-link-abbreviated" href="geo.graefin@web.de" target="_parent">geo.graefin@web.de</a> wrote:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Sorry, I have forgotten the appendix with the screenshot of GeoMOOSE.
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Mittwoch, 07. Januar 2015 um 14:46 Uhr<br/>
<b>Von:</b> <a class="moz-txt-link-abbreviated" href="geo.graefin@web.de" target="_parent">geo.graefin@web.de</a><br/>
<b>An:</b> "Brent Fraser" <a class="moz-txt-link-rfc2396E" href="bfraser@geoanalytic.com" target="_parent"><bfraser@geoanalytic.com></a>, <a class="moz-txt-link-abbreviated" href="geomoose-users@lists.osgeo.org" target="_parent">geomoose-users@lists.osgeo.org</a><br/>
<b>Betreff:</b> Aw: Re: [Geomoose-users] Change projection</div>
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Thank you for checking. But the new projection still doesn't work, see appendix. It is showing the area somewhere over France, actually it has to show the east of Germany.</div>
<div> </div>
<div>Greetings, Geograefin</div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Dienstag, 06. Januar 2015 um 17:40 Uhr<br/>
<b>Von:</b> "Brent Fraser" <a class="moz-txt-link-rfc2396E" href="bfraser@geoanalytic.com" target="_parent"><bfraser@geoanalytic.com></a><br/>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="geo.graefin@web.de" target="_parent">geo.graefin@web.de</a>, "GeoMOOSE Users List" <a class="moz-txt-link-rfc2396E" href="geomoose-users@lists.osgeo.org" target="_parent"><geomoose-users@lists.osgeo.org></a><br/>
<b>Betreff:</b> Re: [Geomoose-users] Change projection</div>
<div>
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix">2.6.1 works fine too.
<pre class="moz-signature">Best Regards,
Brent Fraser</pre>
On 1/6/2015 8:57 AM, Brent Fraser wrote:</div>
<blockquote>
<div class="moz-cite-prefix">Geograefin,<br/>
<br/>
I don't think 2.6 is very different with the way it handles coordinate systems, but I will try it to make sure.<br/>
<br/>
Your web mapping site can have only one display coordinate system (e.g. EPSG:3857, or EPSG:25833) at a time, but each of your local data sets can be in any coordinate system. Mapserver can re-project them to the target display coordinate system if you give enough information in your Mapserver map files.<br/>
<br/>
I used your estimates for the extents in the mapbook.xml<br/>
<param name="max_extent">100000,1000000,999999,9999999</param><br/>
<param name="initial_extent">295743,5511505,709358,5755456</param><br/>
<pre class="moz-signature">Best Regards,
Brent Fraser</pre>
On 1/6/2015 8:03 AM, <a class="moz-txt-link-abbreviated">geo.graefin@web.de</a> wrote:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Dear Brant Fraser,</div>
<div> </div>
<div>
<div>thank you for your answer!</div>
<div> </div>
<div>I use GeoMOOSE 2.6. Does this make a difference?</div>
<div>Cannot I use several coordinate systems (EPSG:25833 and EPSG:3857)?</div>
<div>What have you entered as the max_extent in mapbook.xml?</div>
<div> </div>
<div>Sincerely, Geograefin</div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Dienstag, 06. Januar 2015 um 15:11 Uhr<br/>
<b>Von:</b> "Brent Fraser" <a class="moz-txt-link-rfc2396E"><bfraser@geoanalytic.com></a><br/>
<b>An:</b> <a class="moz-txt-link-abbreviated">geo.graefin@web.de</a>, <a class="moz-txt-link-abbreviated">geomoose-users@lists.osgeo.org</a><br/>
<b>Betreff:</b> Re: [Geomoose-users] Change projection</div>
<div>
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix">Geograephin,<br/>
<br/>
I followed the instructions and got something reasonable:<br/>
<br/>
<deleted image><br/>
<br/>
How can you tell your setup is not working properly?<br/>
<br/>
(Note that only the ArcGIS server will return tiles in the EPSG:25833 coordinate system for the Background group).
<pre class="moz-signature">Best Regards,
Brent Fraser</pre>
On 1/6/2015 6:06 AM, <a class="moz-txt-link-abbreviated">geo.graefin@web.de</a> wrote:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Hello,</div>
<div> </div>
<div>here more in detail what I did:</div>
<div> </div>
<div>
<div>1. I created a new js file including the declaration of the EPSG code from spatialreference.org and deleted the one of EPSG:26915.</div>
<div><em>Proj4js.defs["EPSG:25833"] = "+proj=utm +zone=33 +ellps=GRS80 +units=m +no_defs";</em></div>
<div> </div>
<div>2. I referenced this new js file in geomoose.html. Beside there is another projection for the geographic coordinates (EPSG:3857). I deleted the reference of EPSG:26915.</div>
<div><em><script type="text/javascript" src="projections/EPSG3857.js"></script><br/>
<script type="text/javascript" src="projections/EPSG25833.js"></script></em></div>
<div> </div>
<div>3. I changed the parameters projection, max_extent and initial_extent in mapbook.xml.</div>
<div><em><param name="projection">EPSG:25833</param><br/>
<param name="zoomto"><![CDATA[<br/>
{<br/>
"Zoom To:" : {<br/>
"Sachsen und Niederschlesien" : [295743,5511505,709358,5755456]<br/>
}<br/>
}<br/>
]]></param><br/>
<param name="max_extent">100000,1000000,999999,9999999</param><br/>
<param name="initial_extent">295743,5511505,709358,5755456</param><br/>
<param name="measure_tool.show_area_segments">false</param><br/>
<param name="layer_controls.legend.on">false</param><br/>
<param name="layer_controls.up.on">false</param><br/>
<param name="layer_controls.down.on">false</param><br/>
<param name="layer_controls.metadata.on">false</param><br/>
<param name="layer_controls.legend.on">true</param><br/>
<param name="group_checkboxes">false</param><br/>
<param name="default_tab">Catalog</param><br/>
<param name="ground_units">m</param><br/>
<param name="maxResolution">156543.03390625</param><br/>
<param name="numZoomLevels">20</param><br/>
<param name="coordinate_display.usng">false</param><br/>
<param name="jumpto_scales"><![CDATA[<br/>
{<br/>
"1:100000" : 100000,<br/>
"1:50000" : 50000,<br/>
"1:24000" : 24000,<br/>
"1:10000" : 10000,<br/>
"1:5000" : 5000<br/>
}<br/>
]]></param></em></div>
<div> </div>
<div>When I change the coordinates of max_extent then GeoMOOSE shows another area. Maybe there is the problem? When I set the fractional_zoom to true, the osm tiles will be displayed pink.</div>
<div> </div>
<div>4. I changed the projection of the map in local_settings.ini and settings.ini:</div>
<div>
<div><em>[map]<br/>
projection=EPSG:25833</em></div>
<div> </div>
<div>That is what I have done. Is there anywhere a reference to the "old" projection of EPSG:26915? Anything I have missing?</div>
<div>Unfortunately I have no own data, that I can proof, because there is a mistake in the map file of the data's source.</div>
<div> </div>
<div>Thanks a lot for your help!</div>
<div> </div>
<div>Greetings, Geograefin</div>
</div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Montag, 05. Januar 2015 um 22:16 Uhr<br/>
<b>Von:</b> "TC Haddad" <a class="moz-txt-link-rfc2396E"><tchaddad@gmail.com></a><br/>
<b>An:</b> <a class="moz-txt-link-abbreviated">geo.graefin@web.de</a><br/>
<b>Betreff:</b> Re: Re: [Geomoose-users] Change projection</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div> </div>
Let's back up - can you describe your symptoms in more detail?<br/>
</div>
- You started from the demo</div>
- You made your projection changes and something didn't work<br/>
</div>
- is your data displaying correctly in the map?</div>
- do you get a pink screen when you try to view your data?
<div>- are the coordinates displaying below the map incorrect? or duplicated in 2 projections?<br/>
</div>
<div>More items to double check or try:<br/>
</div>
<div>- Did you set appropriate initial and maximum extent values in the Mapbook?</div>
<div>ie. <param name="max_extent">7110968,-610403,9234765,956456</param><br/>
<param name="initial_extent">7296650,228568,7570144,408049</param></div>
<div>- Did you set the correct units in the Mapbook?<br/>
<param name="ground_units">ft</param></div>
<div>- Did you set appropriate zoom levels in the Mapbook?<br/>
<param name="fractional_zoom">true</param><br/>
<param name="scales">0.25,0.5,1,2,4,8,16,32,64,128,256,512,1024,2048</param><br/>
</div>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Jan 5, 2015 at 11:14 AM, <span><<a>geo.graefin@web.de</a>></span> wrote:
<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<div>Thank you for your answer,</div>
<div> </div>
<div>I did all the steps, including the both of your answer. I really have no idea, what is wrong. Maybe the local_settings.ini could not overwrite the settings.ini?</div>
<div>
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Montag, 05. Januar 2015 um 18:10 Uhr<br/>
<b>Von:</b> "TC Haddad" <<a>tchaddad@gmail.com</a>><br/>
<b>An:</b> <a>geo.graefin@web.de</a><br/>
<b>Betreff:</b> Re: [Geomoose-users] Change projection</div>
<div>
<div class="h5">
<div>
<div>Some ideas to check if you started from the Demo file:
<ul>
<li>Did you place the epsg25833.js file that you created in Step 2 in the projections directory?</li>
<li>Did you remove the reference to the old projection from your HTML? ie.<br/>
delete <script type=”text/javascript” src=”projections/EPSG26915.js”></script><br/>
insert <script type=”text/javascript” src=”projections/EPSG25833.js”></script></li>
</ul>
</div>
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Jan 5, 2015 at 8:35 AM, <span><<a href="http://geo.graefin@web.de" target="_blank">geo.graefin@web.de</a>></span> wrote:
<blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex;border-left: 1.0px rgb(204,204,204) solid;padding-left: 1.0ex;">
<div>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Dear community,</div>
<div> </div>
<div>I have problems with changing the projection of my GeoMOOSE project. I have followed the instructions at the GeoMOOSE site [<a href="http://docs.geomoose.org/2.7/docs/projections.html" target="_blank">http://docs.geomoose.org/2.7/docs/projections.html</a>]. In addition to all these steps I changed the EPSG code in local_settings.ini. But there is no effect. It still shows the projection (EPSG code 26915) of the demo, as well as the coordinates x,y at the status bar. The "new" epsg code is 25833.</div>
<div>Do you have any ideas, what instructions are missing or what i did wrong?</div>
<div> </div>
<div>I would be very grateful for help! Thank you in advance!</div>
<div> </div>
<div>Greetings, Geograefin</div>
</div>
</div>
<br/>
_______________________________________________<br/>
Geomoose-users mailing list<br/>
<a href="http://Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br/>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<pre>_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<fieldset class="mimeAttachmentHeader"> </fieldset>
<pre>_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div></div></body></html>