<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">First thing to keep in mind is that
there are three places projections in play for any layer in a
typical GeoMooose install. One in GeoMoose, and two in MapServer.<br>
<br>
GeoMoose itself generally only deals with one projection at a
time. This is the projection that the data is presented in on the
map and is the projection that is set in the mapbook.
Consequently, other configurations parameters in the mapbook are
specified in this projection. Also, since requests for map
graphics from the map services (tiles/WMS/etc.) are all in this
projection, it means that your map services have to be able to
render in this projection. In order to use the standard tiled
basemaps (Google Maps, OpenStreet Maps, etc.), the demo uses
EPSG:3857 which is the only projection they generally support.
Note: You do not need to change this (and probably shouldn't
change this unless you know why you need to) to use local data
stored in a different projection.<br>
<br>
In a typical GeoMoose install, including the demo, the rendering
of local data (e.g. shapefiles) is handled by MapServer (which to
be clear is a completely separate project from GeoMoose).
MapServer uses ".map" files to tell it how to access and render
data. There are two places projections come into play in these
map files. First, there is a global map projection
(MAP->PROJECTION) that sets the default projection that
MapServer will render maps in (and there is also the list of
offered projections for WMS services under
MAP->WEB->METADATA->"wms_srs"). MAP->PROJECTION has
to match what is used in the GeoMoose mapbook if WMS is not used,
and the projection used in GeoMoose has to be one of the options
in the "wms_srs" list if WMS is used. Again, there is probably no
need to change this. Secondly, MapServer needs to know what
projection your data is stored in. This is set in
MAP->LAYER->PROJECTION. This needs to be set to match your
data (unless you data happens to be in the same projection as the
MAP->PROJECTION, then MAP->LAYER->PROJECTION can be left
out). (As a note: I have seen the QGIS Mapfile generator get
these projections wrong even when QGIS is displaying things
correctly. The proj.4 projection string used by QGIS for the
layer is the same format as what MapServer is expecting in
MAP->LAYER->PROJECTION.)<br>
<br>
It sounds to me like you don't have the projection set correctly
for your data in QGIS and in MapServer. (Also in QGIS, be sure
you have "Enable 'on the fly' CRS transformation" enabled
otherwise it will assume all your layers are in the same
projection. Also, it might help to set your QGIS project
projection to EPSG:3857.)<br>
<br>
<br>
On 2013/11/7 11:37 AM, Behr Mirfathali wrote:<br>
</div>
<blockquote
cite="mid:638DB9F1C1823449A3F5D4E91291361A4C03A8EDD8@mail.corp.actionnet.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (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:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
<div class="WordSection1">
<p class="MsoNormal">I am having an issue with getting my data
to show up using Geomoose demo.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I renamed my shape files to parcels and
edited mapbook.xml with the projection that was found using
QGIS. My data did not show up. I have Geomoose initial extent
proper according to the Google Earth layer.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I then compared my shape files with the
Geomoose demo parcels using AutoCad Map 2014 and they show up
placed correctly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I then did the same comparison using QGIS
and my parcels layer and the demo parcels layer do not show up
correctly. My parcels show up down and to the right many miles
from the demo parcels layer. Far away from the west coast of
Oregon.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am new to QGIS and Geomoose so I have no
idea what could be wrong as the data shows up perfectly in
AutoCad Map. Any help would be appreciated. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="color:#0066FF">Behr
Mirfathali</span></b> | Engineering Technician<o:p></o:p></p>
<p class="MsoNormal">Direct 360.326.5582 | Fax 541.265.8946| <o:p></o:p></p>
<p class="MsoNormal"><a class="moz-txt-link-abbreviated" href="mailto:behr@coastcom.net">behr@coastcom.net</a> | <a
moz-do-not-send="true" href="http://www.coastcom.net/">www.coastcom.net</a><o:p></o:p></p>
<p class="MsoNormal"><img id="Picture_x0020_1"
src="cid:part2.03020902.01080001@gmail.com" alt="signature"
border="0" height="41" width="165"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<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>