Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-09-13 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
-+--
  Reporter:  stu |   Owner:  grass-dev@…   
  Type:  defect  |  Status:  closed
  Priority:  major   |   Milestone:  7.0.0 
 Component:  wxGUI   | Version:  6.4.3 
Resolution:  fixed   |Keywords:  profile tool, r.profile, units, g.proj
  Platform:  All | Cpu:  x86-64
-+--
Changes (by annakrat):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  7.1.0 => 7.0.0


Comment:

 Backported fix for profiling tool in r61910. I created a new ticket #2417
 for r.profile.

 Reopen if needed.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-09-04 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@… 
 
 Type:  defect  |  Status:  new 
 
 Priority:  major   |   Milestone:  7.1.0   
 
Component:  wxGUI   | Version:  6.4.3   
 
 Keywords:  profile tool, r.profile, units, g.proj  |Platform:  All 
 
  Cpu:  x86-64  |  
+---
Changes (by wenzeslaus):

  * keywords:  profile tool r.profile => profile tool, r.profile, units,
   g.proj
  * version:  svn-trunk => 6.4.3


Comment:

 The foot/meter issue of profile (second originally reported problem) was
 reported also in #1273.

 If the first originally reported problem was fixed and the GUI works now
 fine, this should be closed and new ticket should be opened against
 r.profile and r61269.

 I'm closing #1273 as duplicate since most of the discussion is here.
 Reopen #1273 if scale in GUI is still not working.

 Changing version to reported one.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-29 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---

Comment(by annakrat):

 Replying to [comment:13 mlennert]:
 > Replying to [comment:11 annakrat]:
 > > I fixed this problem in GUI (r61269). Please test. Still it would be
 worth changing the behavior of r.profile (and then revert this commit).
 >
 > This immediately raises once again the question of whether such
 temporary workaround fixes are really a good idea, especially when we know
 that a fix is actually needed elsewhere. Now that this actually seems to
 work, the needed fix is in risk of oblivion.
 >
 > I personally would plead for not applying such temporary fixes...

 Any recommendation if I should backport r61269 for the upcoming beta3? I
 am not going to fix r.profile any time soon (I don't know how).

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-19 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---

Comment(by annakrat):

 Replying to [comment:13 mlennert]:
 >
 > This immediately raises once again the question of whether such
 temporary workaround fixes are really a good idea, especially when we know
 that a fix is actually needed elsewhere. Now that this actually seems to
 work, the needed fix is in risk of oblivion.

 Well, I tried to fix it in r.profile, but I failed. I couldn't find a
 correct way to get the meter-whateverfeet conversion. The problem is that
 in the US they apparently use FootUS instead of feet, so the standard
 grass mechanism for handling units fails to recognize it as feet. (Survey
 foot = 0.3048006096, international foot = 0.3048). g.proj, on the other
 hand, gives correct conversion.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-18 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---

Comment(by mlennert):

 Replying to [comment:11 annakrat]:
 > Replying to [comment:9 annakrat]:
 > > Replying to [comment:7 dadudeman]:
 > > > Used r.profile interactively in GRASS 7.1 SVN.  Same problems
 described by stu.  If I use horizontal and vertical units of meters, the
 plot is perfect.  If I change to horizontal and vertical units of feet,
 the Y axis of elevations is displayed correctly, but the X axis is
 squished to stop at the unit value in meters rather than feet.  Example:
 I had a 800 meter transect, but when reprojected to feet and profiled, the
 graph stops at 800 feet rather than the approximate 2600.  The endpoint
 triangle, however, is placed around the 2600 distance.  It's as if it
 thinks the units are meters horizontal.
 > >
 > > Yes, it's meters because meters come from r.profile and the GUI
 profiling tool just takes the values as they are. I wonder if this should
 be changed in r.profile rather than in the GUI?
 >
 > I fixed this problem in GUI (r61269). Please test. Still it would be
 worth changing the behavior of r.profile (and then revert this commit).

 This immediately raises once again the question of whether such temporary
 workaround fixes are really a good idea, especially when we know that a
 fix is actually needed elsewhere. Now that this actually seems to work,
 the needed fix is in risk of oblivion.

 I personally would plead for not applying such temporary fixes...

 Moritz

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-17 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---

Comment(by cmbarton):

 Yes. The proper place to fix this is in r.profile rather than a patch in
 the GUI, no matter how welcome.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-17 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---

Comment(by annakrat):

 Replying to [comment:9 annakrat]:
 > Replying to [comment:7 dadudeman]:
 > > Used r.profile interactively in GRASS 7.1 SVN.  Same problems
 described by stu.  If I use horizontal and vertical units of meters, the
 plot is perfect.  If I change to horizontal and vertical units of feet,
 the Y axis of elevations is displayed correctly, but the X axis is
 squished to stop at the unit value in meters rather than feet.  Example:
 I had a 800 meter transect, but when reprojected to feet and profiled, the
 graph stops at 800 feet rather than the approximate 2600.  The endpoint
 triangle, however, is placed around the 2600 distance.  It's as if it
 thinks the units are meters horizontal.
 >
 > Yes, it's meters because meters come from r.profile and the GUI
 profiling tool just takes the values as they are. I wonder if this should
 be changed in r.profile rather than in the GUI?

 I fixed this problem in GUI (r61269). Please test. Still it would be worth
 changing the behavior of r.profile (and then revert this commit).

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-17 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---

Comment(by annakrat):

 Replying to [comment:8 annakrat]:
 > Replying to [comment:7 dadudeman]:
 > > I get a seemingly related issue when I use the measure tool, as the
 distances are reported as units meters, but the values are reported
 correctly as feet.
 >
 > I actually fixed the measurement tool yesterday (r61132). The problem is
 I guess that the units are FootUSs which is not recognized  as feet. So
 now the original units are displayed as footuss which is still kind of
 weird but not wrong at least.
 >
 Backported in r61268.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-03 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  All  
  Cpu:  x86-64  |  
+---
Changes (by annakrat):

  * platform:  Linux => All


Comment:

 Replying to [comment:7 dadudeman]:
 > Used r.profile interactively in GRASS 7.1 SVN.  Same problems described
 by stu.  If I use horizontal and vertical units of meters, the plot is
 perfect.  If I change to horizontal and vertical units of feet, the Y axis
 of elevations is displayed correctly, but the X axis is squished to stop
 at the unit value in meters rather than feet.  Example:  I had a 800 meter
 transect, but when reprojected to feet and profiled, the graph stops at
 800 feet rather than the approximate 2600.  The endpoint triangle,
 however, is placed around the 2600 distance.  It's as if it thinks the
 units are meters horizontal.

 Yes, it's meters because meters come from r.profile and the GUI profiling
 tool just takes the values as they are. I wonder if this should be changed
 in r.profile rather than in the GUI?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-03 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  Linux
  Cpu:  x86-64  |  
+---

Comment(by annakrat):

 Replying to [comment:7 dadudeman]:
 > I get a seemingly related issue when I use the measure tool, as the
 distances are reported as units meters, but the values are reported
 correctly as feet.

 I actually fixed the measurement tool yesterday (r61132). The problem is I
 guess that the units are FootUSs which is not recognized  as feet. So now
 the original units are displayed as footuss which is still kind of weird
 but not wrong at least.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2014-07-03 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
+---
 Reporter:  stu |   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  major   |   Milestone:  7.1.0
Component:  wxGUI   | Version:  svn-trunk
 Keywords:  profile tool r.profile  |Platform:  Linux
  Cpu:  x86-64  |  
+---
Changes (by dadudeman):

  * priority:  normal => major
  * platform:  Unspecified => Linux
  * version:  6.4.3 RCs => svn-trunk
  * milestone:  6.4.3 => 7.1.0
  * keywords:  profile tool => profile tool r.profile
  * cpu:  OSX/Intel => x86-64


Comment:

 Used r.profile interactively in GRASS 7.1 SVN.  Same problems described by
 stu.  If I use horizontal and vertical units of meters, the plot is
 perfect.  If I change to horizontal and vertical units of feet, the Y axis
 of elevations is displayed correctly, but the X axis is squished to stop
 at the unit value in meters rather than feet.  Example:  I had a 800 meter
 transect, but when reprojected to feet and profiled, the graph stops at
 800 feet rather than the approximate 2600.  The endpoint triangle,
 however, is placed around the 2600 distance.  It's as if it thinks the
 units are meters horizontal.

 I get a seemingly related issue when I use the measure tool, as the
 distances are reported as units meters, but the values are reported
 correctly as feet.

 I also tested this with grass 6.4 binary.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-13 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
--+-
 Reporter:  stu   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  6.4.3
Component:  wxGUI | Version:  6.4.3 RCs
 Keywords:  profile tool  |Platform:  Unspecified  
  Cpu:  OSX/Intel |  
--+-

Comment(by martinl):

 Replying to [comment:5 stu]:

 > I downloaded and reinstalled the 6.4.3 binary and was able to replicate
 these errors.

 RC1 or latest SVN? Recently I have fixed several bugs in profile tool -
 see r53696.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-13 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
--+-
 Reporter:  stu   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  6.4.3
Component:  wxGUI | Version:  6.4.3 RCs
 Keywords:  profile tool  |Platform:  Unspecified  
  Cpu:  OSX/Intel |  
--+-

Comment(by stu):

 Replying to [comment:4 cmbarton]:
 > The error message reported in #1 doesn't make sense. Line 343 of
 profile.py is:
 >
 > pfile = path+'_'+str(r['name'])+'.csv'
 >
 > I also don't understand how a path on my computer is showing up in the
 error message since "path" in line 343 is defined by:
 >
 > path = dlg.GetPath()
 >
 > This doesn't at all look like GRASS 6.4.3

 Sorry to report that it is indeed 6.4.3

 I downloaded and reinstalled the 6.4.3 binary and was able to replicate
 these errors.

 The same function (Profile tool - save to csv) produces the following in
 GRASS 7.0 svn

 ''Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass70_dev/dist.x86_64
 -apple-darwin12.2.0/etc/gui/wxpython/wxplot/profile.py",
 line 340, in SaveProfileToFile

 ppt, pit, pet, pfn, pframe, pcur = rcur
 TypeError
 :
 string indices must be integers
 ''
 The plot itself has the same characteristics as reported in the bug report
 for 6.4.3

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-12 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
--+-
 Reporter:  stu   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  6.4.3
Component:  wxGUI | Version:  6.4.3 RCs
 Keywords:  profile tool  |Platform:  Unspecified  
  Cpu:  OSX/Intel |  
--+-

Comment(by cmbarton):

 The error message reported in #1 doesn't make sense. Line 343 of
 profile.py is:

 pfile = path+'_'+str(r['name'])+'.csv'

 I also don't understand how a path on my computer is showing up in the
 error message since "path" in line 343 is defined by:

 path = dlg.GetPath()

 This doesn't at all look like GRASS 6.4.3

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-12 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
--+-
 Reporter:  stu   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  6.4.3
Component:  wxGUI | Version:  6.4.3 RCs
 Keywords:  profile tool  |Platform:  Unspecified  
  Cpu:  OSX/Intel |  
--+-

Comment(by stu):

 Replying to [comment:2 martinl]:
 bad analysis on my part - I found an old 6.4.1 on my OS X side and the
 profile tool worked fine.  So it must be some time after 6.4.1 that it
 broke - at least on OS X 10.6.8

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-12 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
--+-
 Reporter:  stu   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  6.4.3
Component:  wxGUI | Version:  6.4.3 RCs
 Keywords:  profile tool  |Platform:  Unspecified  
  Cpu:  OSX/Intel |  
--+-
Changes (by martinl):

  * keywords:  => profile tool
  * component:  Default => wxGUI


-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-12 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
---+
 Reporter:  stu|   Owner:  grass-dev@…  
 Type:  defect |  Status:  new  
 Priority:  normal |   Milestone:  6.4.3
Component:  Default| Version:  6.4.3 RCs
 Keywords: |Platform:  Unspecified  
  Cpu:  OSX/Intel  |  
---+
Changes (by stu):

 * cc: stu (added)


Comment:

 This appears to be an OS X problem as it was not replicated using the same
 data set on 6.4.1 running on Ubuntu 12.04 through Parallels.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] #1787: Profile Analysis Tool Problems

2012-11-08 Thread GRASS GIS
#1787: Profile Analysis Tool Problems
---+
 Reporter:  stu|   Owner:  grass-dev@…  
 Type:  defect |  Status:  new  
 Priority:  normal |   Milestone:  6.4.3
Component:  Default| Version:  6.4.3 RCs
 Keywords: |Platform:  Unspecified  
  Cpu:  OSX/Intel  |  
---+
 The following bugs appear to exist in the Profile Analysis Tool when run
 in GRASS 6.4.3 on OS X 10.6.8 and 10.7.5:

 1.  Save Profile Data to csv file gives this error:

 Traceback (most recent call last):
   File "/Users/cmbarton/grass_dev/release_20121024_grass_6_4
 _3RC1/dist.x86_64-apple-
 darwin12.2.0/etc/wxpython/wxplot/profile.py", line 343, in
 SaveProfileToFile

 timings = self.timings
 TypeError
 :
 string indices must be integers

 2.  Plot display is incorrectly scaled.  The sampled DEM is in EPSG 3401
 (Ohio north SPC, US feet)

 Profile start and end points are plotted the correct distance apart, but
 the horizontal scale of the actual profile is plotted in meters (i.e. the
 plot is compressed in the first ~1/3 of the frame).

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev