<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
All,
<div class=""><br class="">
</div>
<div class="">Should we use the same data in both projections, or two different datasets?  I would need to search around for another dataset complete with attributes for searching on.
<div class=""><br class="">
</div>
<div class="">I think it would be better to have an entirely separate dataset with another projection as an example.</div>
<div class=""><br class="">
</div>
<div class="">The current Parcel dataset is already vetted for redistribution, and adding more data to it may take a bit to get going.  Another chunk of data alongside of it would be nice, use a different color, different projection for sourcing, etc.</div>
<div class=""><br class="">
</div>
<div class="">bobb</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 27, 2015, at 12:38 PM, Brent Fraser <<a href="mailto:bfraser@geoanalytic.com" class="">bfraser@geoanalytic.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">Bobb,<br class="">
<br class="">
  Yes! Change the parcel data to EPSG:4326 and test the rendering, Identify, Select Features, Search Parcels, Printing,  and Feature Report functions (that would likely decrease my support workload by 80%).<br class="">
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<div class="moz-cite-prefix">On 7/27/2015 8:17 AM, Basques, Bob (CI-StPaul) wrote:<br class="">
</div>
<blockquote cite="mid:04861DA6-AE82-4E90-BADD-5877D16D19BF@ci.stpaul.mn.us" type="cite" class="">
All,
<div class=""><br class="">
</div>
<div class="">I wonder if it wouldn’t be prudent to include data from more than one projection in order to insure that all reprojection conversions are working.
<div class=""><br class="">
</div>
<div class="">bobb</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Jul 26, 2015, at 12:37 PM, TC Haddad <<a moz-do-not-send="true" href="mailto:tchaddad@gmail.com" class=""></a><a class="moz-txt-link-abbreviated" href="mailto:tchaddad@gmail.com">tchaddad@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">
<div class=""><br class="">
</div>
Just as an overall comment, there are 2 very distinct user groups for the demo - people who only care about Web Mercator stuff working, and people who are trying to work in a local projection.<br class="">
<br class="">
</div>
What we have in the demo is working pretty well for the first group, and it is a bit unfriendly to beginners in the second group, as projections show up in multiple places where beginners are likely to run into trouble (e.g. even setting up your zoom levels
 in the Mapbook.xml). It's compounded if a user runs into a bug, and doesn't know it's a bug.<br class="">
<br class="">
</div>
Probably worth a review of the docs to see how we might improve in this area...<br class="">
<br class="">
</div>
Tanya<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Sun, Jul 26, 2015 at 10:12 AM, Brent Fraser <span dir="ltr" class="">
<<a moz-do-not-send="true" href="mailto:bfraser@geoanalytic.com" target="_blank" class="">bfraser@geoanalytic.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000" class="">Tanya,<br class="">
<br class="">
  Just by looking at the code in Github I see that there is still no re-projection of the extent before the query call, so i expect that is is still broken (but I will try v2.8).  Now that I'm getting results back I ran into the "zoom to results" bug you've
 referenced, so that saved me some time.  Thanks!<br class="">
<br class="">
Personally, I think the parcel data in our demo should be in EPSG:4326 so we can discover these problems in our testing before release.<br class="">
<pre cols="72" class="">Best Regards,
Brent Fraser</pre>
<div class="">
<div class="h5">
<div class="">On 7/26/2015 10:57 AM, TC Haddad wrote:<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class=""><br class="">
</div>
There was a bug that was fixed recently that may relate:<br class="">
<br class="">
<a moz-do-not-send="true" href="https://github.com/geomoose/geomoose/issues/90" target="_blank" class="">https://github.com/geomoose/geomoose/issues/90</a><br class="">
<br class="">
</div>
You could try grabbing the relevant changes to query.php:<br class="">
<br class="">
<a moz-do-not-send="true" href="https://github.com/geomoose/geomoose-services/commit/dacfa7e2648c5bcd3ec38308cb1199621a07c390" target="_blank" class="">https://github.com/geomoose/geomoose-services/commit/dacfa7e2648c5bcd3ec38308cb1199621a07c390</a><br class="">
<br class="">
</div>
Or you could try a 2.8 install to see if the same problem is present (before filing a new issue...).<br class="">
<br class="">
<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Sun, Jul 26, 2015 at 9:32 AM, Brent Fraser <span dir="ltr" class="">
<<a moz-do-not-send="true" href="mailto:bfraser@geoanalytic.com" target="_blank" class="">bfraser@geoanalytic.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
Hi Developers (and others),<br class="">
<br class="">
  While debugging a user's problem with using his data with query.php, I see that line 376 in github (or line 420-ish in GM 2.7.1):<br class="">
<br class="">
    $ext = $queryLayer->getExtent();<br class="">
<br class="">
then the layer's extent is used for the query a little later:<br class="">
<br class="">
    $queryLayer->queryByRect($ext);<br class="">
<br class="">
This fails to find any features since in my case the coordinate systems of the map and layer are different, and the queryByrect must be done using a rectangle in the MAP's SRS not the LAYER's SRS.  I did a little hack to re-project the extent just before the
 queryByRect:<br class="">
<br class="">
                    // re-project the layer's extent into the map SRS for querying:<br class="">
                    $map_projection_def = $map->getProjection();<br class="">
                    $map_projection_obj = ms_newProjectionObj($map_projection_def);<br class="">
<br class="">
                    if($queryLayer->getProjection() != NULL) {<br class="">
                        $projection = $queryLayer->getProjection();<br class="">
                    }<br class="">
                    if($projection != NULL) {<br class="">
                        # reproject the query shape as available.<br class="">
                        $projection = ms_newProjectionObj($projection);<br class="">
                    }<br class="">
                    if($projection) {<br class="">
                        $ext->project($projection, $map_projection_obj);<br class="">
                    }<br class="">
                    if($DEBUG) {<br class="">
                        error_log(implode(',', array($ext->minx,$ext->miny,$ext->maxx,$ext->maxy)));<br class="">
                        error_log("<br/>extent for query in map SRS.<br/>");<br class="">
                    }<br class="">
<br class="">
I thought I would get comments before filing an Issue.<br class="">
<br class="">
So any comments?<span class=""><font class="" color="#888888"><br class="">
<br class="">
-- <br class="">
Best Regards,<br class="">
Brent Fraser<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Geomoose-users mailing list<br class="">
<a moz-do-not-send="true" href="mailto:Geomoose-users@lists.osgeo.org" target="_blank" class="">Geomoose-users@lists.osgeo.org</a><br class="">
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br class="">
</font></span></blockquote>
</div>
<br class="">
</div>
</blockquote>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
Geomoose-users mailing list<br class="">
<a moz-do-not-send="true" href="mailto:Geomoose-users@lists.osgeo.org" class="">Geomoose-users@lists.osgeo.org</a><br class="">
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>