<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="">
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Sep 22, 2015, at 7:56 PM, <a href="mailto:grass-dev-request@lists.osgeo.org" class="">
grass-dev-request@lists.osgeo.org</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">
<span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">From:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Anna
Petrášová <<a href="mailto:kratochanna@gmail.com" class="">kratochanna@gmail.com</a>><br class="">
</span></div>
<div style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">
<span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">Re:
[GRASS-dev] importing & projecting</b><br class="">
</span></div>
<div style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">
<span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Date:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">September
22, 2015 at 2:46:26 PM MST<br class="">
</span></div>
<div style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">
<span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Markus
Neteler <<a href="mailto:neteler@osgeo.org" class="">neteler@osgeo.org</a>><br class="">
</span></div>
<div style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">
<span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Cc:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Paulo
van Breugel <<a href="mailto:p.vanbreugel@gmail.com" class="">p.vanbreugel@gmail.com</a>>, Martin Landa <<a href="mailto:landa.martin@gmail.com" class="">landa.martin@gmail.com</a>>, GRASS developers email list <<a href="mailto:grass-dev@lists.osgeo.org" class="">grass-dev@lists.osgeo.org</a>><br class="">
</span></div>
<br style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div dir="ltr" style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Tue, Sep 22, 2015 at 4:18 PM, Markus Neteler<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:neteler@osgeo.org" target="_blank" class="">neteler@osgeo.org</a>></span><span class="Apple-converted-space"> </span>wrote:<br class="">
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">
<span class="">On Tue, Sep 22, 2015 at 8:37 PM, Martin Landa <<a href="mailto:landa.martin@gmail.com" class="">landa.martin@gmail.com</a>> wrote:<br class="">
> Hi,<br class="">
><br class="">
> 2015-09-22 18:25 GMT+02:00 Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" class="">mlennert@club.worldonline.be</a>>:<br class="">
>> IMHO, the best solution, as Paulo already said, would be to have<br class="">
>> r.in.gdal/v.in.ogr as the default import modules used by the import dialog.<br class="">
>> A checkbox (unchecked by default) could propose to "Reproject maps to<br class="">
>> current projection system before import" or something like that.<br class="">
<br class="">
</span>yes<br class="">
<span class=""><br class="">
>> For now, I propose to revert import_export.py to r65634 and to see if<br class="">
>> everyone agrees with the above proposal of how to integrate the *.import<br class="">
>> modules.<br class="">
><br class="">
> instead of simply reverting I would be happier if anyone here would<br class="">
> implement the suggestion above.<br class="">
<br class="">
</span>+1 .. I agree with Martin<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">Disasters happened when people were trying to import data in different projection and because it "didn't work", they just checked override projection. So I am convinced it should stay there but just improved. What is currently missing is the choice
of which reprojection method to use. So we could dynamically (based on if it's needed or not) add there a widget for selecting the reprojection method. And maybe also the output resolution which is by default estimated. I am not sure whether the import dialog
should be still associated with r.in.gdal (when you open r.in.gdal from gui command line, it opens this custom dialog). Does something like that sounds better?</div>
<div class=""><br class="">
</div>
<div class="">Anna</div>
</div>
</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
<div>This all rings true in a number of ways. I may have missed part of the earlier thread, and if this has already been discussed please forgive. </div>
<div><br class="">
</div>
<div>r.in.gdal and v.in.ogr have options to create a location based on a dataset's embedded/attached projection info and import the data into the new location. These options have been left out of the current import wrapper. However, they could be used and enhanced. </div>
<div><br class="">
</div>
<div>If an imported dataset does not match the current location projection, a popup dialog could offer to create a location that does match the dataset's projection, import it into that location (r.in.gdal and v.in.ogr), and then reproject it into the current
location (r.proj and v.proj). That maintains the robusticity and reliability of the current GRASS projection framework and simplifies import of data from different CRS. </div>
<div><br class="">
</div>
<div>Michael</div>
<div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="font-family: Helvetica; font-size: 12px;" class="">____________________</div>
<div class=""><font face="Helvetica" size="3" class="">C. Michael Barton</font></div>
<div class=""><font face="Helvetica" size="3" class="">Director, Center for Social Dynamics & Complexity </font></div>
<div class=""><font face="Helvetica" size="3" class="">Professor of Anthropology, School of Human Evolution & Social Change</font></div>
<div class=""><font face="Helvetica" size="3" class="">Head, Graduate Faculty in Complex Adaptive Systems Science</font></div>
<div class=""><font face="Helvetica" size="3" class="">Arizona State University</font></div>
<div style="font-family: Helvetica; font-size: 12px;" class=""><br class="">
</div>
<font face="Helvetica" size="3" class="">voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)<br class="">
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)<br class="">
</font>
<div class=""><font face="Helvetica" size="3" class="">www: <a href="http://www.public.asu.edu/~cmbarton" class="">
http://www.public.asu.edu/~cmbarton</a>, <a href="http://csdc.asu.edu" class="">http://csdc.asu.edu</a></font></div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
</div>
</div>
</div>
<div><br class="">
</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div dir="ltr" style="font-family: BitstreamVeraSerif-Roman; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
Markus<br class="">
</font></span>
<div class="HOEnZb">
<div class="h5">_______________________________________________<br class="">
grass-dev mailing list<br class="">
<a href="mailto:grass-dev@lists.osgeo.org" class="">grass-dev@lists.osgeo.org</a><br class="">
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank" class="">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
<br class="Apple-interchange-newline">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>