<div dir="ltr">I'll repeat once more that it doesn't matter (to me and thus I believe to consumers of the data) how earth positioning data is stored inside the functioning system. If there are data-format standards in use that require a certain format, then use it. My point only relates to our display of that data on screens viewed by human consumers of the information.  <div><br></div><div>Oops, one more requirement: if users are required to, or have the option to, enter earth-positioning data (as part of a search request, say), then we should expect to receive data from them in LAT/LONG (and we should reinforce that in any forms we create that ask them to input data).  </div><div><br></div><div>Dave</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David M. Oliver | <a href="mailto:david@olivercoady.com" target="_blank">david@g</a><a href="http://uardianproject.info" target="_blank">uardianproject.info</a> | <a href="http://olivercoady.com" target="_blank">http://g</a><a href="http://uardianproject.info" target="_blank">uardianproject.info</a> | @davidmoliver | +1 970 368 2366</div></div>
<br><div class="gmail_quote">On Thu, Oct 30, 2014 at 2:18 PM, Harlo Holmes <span dir="ltr"><<a href="mailto:harlo.holmes@gmail.com" target="_blank">harlo.holmes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">elasticsearch is the tool we use to index & search submissions.  this has been in the stack since version 1.<div><br></div><div>while the data can be munged a few ways on intake, the geoJSON notation is the one I chose: <a href="http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-filter.html#_lat_lon_as_array_4" target="_blank">http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-filter.html#_lat_lon_as_array_4</a><div><br></div><div>currently, the mobile client sends data in the standard lat/lng float array; on intake, i reverse those points to subscribe to the geoJSON model.  another option could be to change the float array into an object {'lat' : lat, 'lng' : lng}, but that is not what we do currently, and it might be best to make that change on the mobile client rather than on the server.</div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 1:54 PM, David Oliver <span dir="ltr"><<a href="mailto:david@guardianproject.info" target="_blank">david@guardianproject.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Harlo, <div><br></div><div>I think it would be wise to distinguish between what is a standard in our internal data representation from what is displayed to users. I've emailed a friend of mine with 30 years of experience in geographic information systems (including ESRI, the most prominent commercial GIS) and, as I suspected, his views align with the majority of things you see on the web related to display of earth-positioning data: lat/long is the order people are used to seeing.  </div><div><br></div><div>I looked at the GeoJSON website and see that they use terminology not familiar to most normal people, but probably ingrained in actual working cartographers (because it maps well to the idea of the Cartesian plane): "easting" and "northing". In an absolutely hilarious error, this page on Wikipedia describes the meaning, and how to display.....then get's it backwards because....well, because that's what people expect: latitude, followed by longitude:</div><div><br></div><div><a href="http://en.wikipedia.org/wiki/Easting_and_northing" target="_blank">http://en.wikipedia.org/wiki/Easting_and_northing</a><br></div><div><br></div><div>By the way, who are "Elastic Search" and why is that of overriding importance to us?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div>David M. Oliver | <a href="mailto:david@olivercoady.com" target="_blank">david@g</a><a href="http://uardianproject.info" target="_blank">uardianproject.info</a> | <a href="http://olivercoady.com" target="_blank">http://g</a><a href="http://uardianproject.info" target="_blank">uardianproject.info</a> | @davidmoliver | <a href="tel:%2B1%20970%20368%202366" value="+19703682366" target="_blank">+1 970 368 2366</a></div></div>
<br></span><div><div><div class="gmail_quote">On Thu, Oct 30, 2014 at 11:53 AM, Harlo Holmes <span dir="ltr"><<a href="mailto:harlo.holmes@gmail.com" target="_blank">harlo.holmes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Actually, the order is Lon, Lat, to conform to GeoJSON standards (which is required by Elasticsearch.)</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Oct 30, 2014 at 11:52 AM, David Oliver <span dir="ltr"><<a href="mailto:david@guardianproject.info" target="_blank">david@guardianproject.info</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Agreed - the order is LAT, LONG<div><br></div><div>more info:Â <a href="http://www.geomidpoint.com/latlon.html" target="_blank">http://www.geomidpoint.com/latlon.html</a></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div>David M. Oliver |Â <a href="mailto:david@olivercoady.com" target="_blank">david@g</a><a href="http://uardianproject.info" target="_blank">uardianproject.info</a>Â |Â <a href="http://olivercoady.com" target="_blank">http://g</a><a href="http://uardianproject.info" target="_blank">uardianproject.info</a>Â | @davidmoliver |Â <a href="tel:%2B1%20970%20368%202366" value="+19703682366" target="_blank">+1 970 368 2366</a></div></div>
<br><div class="gmail_quote"><div><div>On Thu, Oct 30, 2014 at 10:53 AM, Svetlana Chirkova <span dir="ltr"><<a href="mailto:schirkova@gmail.com" target="_blank">schirkova@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div><div><div>Hi guys, just wanted to confirm that standard/convention of gps coordinates ordering (lat,lon vs lon,lat)<br><br></div>i always thought it was lat, lon (<a href="http://stackoverflow.com/questions/7309121/preferred-order-of-writing-latitude-longitude-tuples" target="_blank">http://stackoverflow.com/questions/7309121/preferred-order-of-writing-latitude-longitude-tuples</a>)<br><br></div>but j3m is lon,lat at the moment.<br><br></div>just wanted to confirm that:<br></div>- it's suppuposed to be 'long,lat'<br></div>- j3m will continie to be 'long,lat'<br><br>?<br><br></div>where am i...<br><br>Thanks!<br></div>
<br></div></div>_______________________________________________<br>
Ssc-dev mailing list<br>
<br>
Post: <a href="mailto:Ssc-dev@lists.mayfirst.org" target="_blank">Ssc-dev@lists.mayfirst.org</a><br>
List info: <a href="https://lists.mayfirst.org/mailman/listinfo/ssc-dev" target="_blank">https://lists.mayfirst.org/mailman/listinfo/ssc-dev</a><br>
<br>
To Unsubscribe<br>
    Send email to: <a href="mailto:Ssc-dev-unsubscribe@lists.mayfirst.org" target="_blank">Ssc-dev-unsubscribe@lists.mayfirst.org</a><br>
    Or visit: <a href="https://lists.mayfirst.org/mailman/options/ssc-dev/david%40guardianproject.info" target="_blank">https://lists.mayfirst.org/mailman/options/ssc-dev/david%40guardianproject.info</a><br>
<br>
You are subscribed as: <a href="mailto:david@guardianproject.info" target="_blank">david@guardianproject.info</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Ssc-dev mailing list<br>
<br>
Post: <a href="mailto:Ssc-dev@lists.mayfirst.org" target="_blank">Ssc-dev@lists.mayfirst.org</a><br>
List info: <a href="https://lists.mayfirst.org/mailman/listinfo/ssc-dev" target="_blank">https://lists.mayfirst.org/mailman/listinfo/ssc-dev</a><br>
<br>
To Unsubscribe<br>
    Send email to: <a href="mailto:Ssc-dev-unsubscribe@lists.mayfirst.org" target="_blank">Ssc-dev-unsubscribe@lists.mayfirst.org</a><br></div></div>
    Or visit: <a href="https://lists.mayfirst.org/mailman/options/ssc-dev/harlo.holmes%40gmail.com" target="_blank">https://lists.mayfirst.org/mailman/options/ssc-dev/harlo.holmes%40gmail.com</a><br>
<br>
You are subscribed as: <a href="mailto:harlo.holmes@gmail.com" target="_blank">harlo.holmes@gmail.com</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>