<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">2.6.1 works fine too.<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
On 1/6/2015 8:57 AM, Brent Fraser wrote:<br>
</div>
<blockquote cite="mid:54AC05E0.3040000@geoanalytic.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<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>
<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
On 1/6/2015 8:03 AM, <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:geo.graefin@web.de">geo.graefin@web.de</a> wrote:<br>
</div>
<blockquote
cite="mid:trinity-13d7b0fd-ec73-4685-ad1e-0ecd6d30d7f9-1420556612653@3capp-webde-bs17"
type="cite">
<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 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> Dienstag,
06. Januar 2015 um 15:11 Uhr<br>
<b>Von:</b> "Brent Fraser" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:bfraser@geoanalytic.com"><bfraser@geoanalytic.com></a><br>
<b>An:</b> <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:geo.graefin@web.de">geo.graefin@web.de</a>,
<a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a><br>
<b>Betreff:</b> Re: [Geomoose-users] Change projection</div>
<div name="quoted-content">
<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 moz-do-not-send="true"
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>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
moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="tchaddad@gmail.com"
target="_parent"><tchaddad@gmail.com></a><br>
<b>An:</b> <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="geo.graefin@web.de"
target="_parent">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
moz-do-not-send="true">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
moz-do-not-send="true">tchaddad@gmail.com</a>><br>
<b>An:</b> <a
moz-do-not-send="true">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
moz-do-not-send="true" 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
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a
moz-do-not-send="true"
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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="Geomoose-users@lists.osgeo.org" target="_parent">Geomoose-users@lists.osgeo.org</a>
<a moz-do-not-send="true" 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>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Geomoose-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></pre>
</blockquote>
<br>
</body>
</html>