Re: [GRASS-dev] r.tileset and cs2cs / cct

2018-09-21 Thread Markus Metz
On Fri, Sep 21, 2018 at 3:44 PM Stefan Blumentrath <
stefan.blumentr...@nina.no> wrote:
>
> Hi,
>
> On my Ubuntu 16.04 box I get the following error message in GRASS 7.4.1
(package install from UbuntuGIS) with r.tileset:
>
> r.tileset sourceproj=+init=epsg:25833 maxrows=1 maxcols=1 | wc -l
>
> ERROR: cs2cs program not found, install PROJ.4 first:
>http://proj.maptools.org
> ERROR: cs2cs failed
> 0
>
> And locate tells me that there indeed is no cs2cs on my PATH/system…
>
> Is that related to the move to Proj.5?
>
> Can GRASS even be installed without Proj?

No, it needs libproj. However, this provides only the libraries, for cs2cs
/ cct you also need proj-bin (on Debian-based systems).
>
> Is that a GRASS issue, a packaging issue or simply an installation issue?
>
> r.tileset should probably be updated to use cct
https://proj4.org/development/migration.html (yet, I cannot find cct on my
system either)…

Yes, r.tileset should use cct if available, otherwise cs2cs.

Can you please open a ticket for this issue?

Markus M
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3651: Missing classification from v.lidar.edgedetection

2018-09-21 Thread GRASS GIS
#3651: Missing classification from v.lidar.edgedetection
+--
  Reporter:  balagates  |  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:
 Component:  Vector |Version:  7.4.0
Resolution: |   Keywords:  lidar, edgedetection
   CPU:  OSX/Intel  |   Platform:  MacOSX
+--

Comment (by mmetz):

 Replying to [ticket:3651 balagates]:
 > The man page for v.lidar.edgedetection describes
 >
 >  The output will be a vector map in which points has been classified as
 TERRAIN, EDGE or UNKNOWN.
 >
 > On the "output" I see a database table named _edge_interpolation
 with columns
 >
 >  Column 1: ID:INTEGER:20
 >  Column 2: Interp:REAL:20

 This table is attached to layer 3 holding interpolation results for
 internal use.
 >
 > I do not see a table for output= nor do I see the following
 >
 >  TERRAIN (cat = 1, layer = 1)
 >  EDGE (cat = 2, layer = 1)
 >  UNKNOWN (cat = 3, layer = 1)
 >

 This is correct, there is no table attached to layer 1. Category values
 are stored with the geometries. You can display points classified as
 terrain with `d.vect layer=1 cats=1`.

 > Later steps in the workflow at the bottom of the man page do not provide
 all the output I expect, presumable because this classification is
 missing.

 The classification is not missing, it is stored as category values without
 an attribute table.

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #3651: Missing classification from v.lidar.edgedetection

2018-09-21 Thread GRASS GIS
#3651: Missing classification from v.lidar.edgedetection
+--
  Reporter:  balagates  |  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:
 Component:  Vector |Version:  7.4.0
Resolution: |   Keywords:  lidar, edgedetection
   CPU:  OSX/Intel  |   Platform:  MacOSX
+--
Changes (by balagates):

 * component:  Default => Vector


-- 
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #3652: Map display exception when switching to vector digitizer mode

2018-09-21 Thread GRASS GIS
#3652: Map display exception when switching to vector digitizer mode
---+-
 Reporter:  balagates  |  Owner:  grass-dev@…
 Type:  defect | Status:  new
 Priority:  minor  |  Milestone:
Component:  wxGUI  |Version:  7.4.0
 Keywords: |CPU:  OSX/Intel
 Platform:  MacOSX |
---+-
 If you have a vector drawn in the map window the first time you change the
 mode from "2D View" to "Vector digitizer" it clears the map window and in
 the console I see an exception:


 {{{
 Traceback (most recent call last):
   File
 "/opt/local/share/grass-7.4.0/gui/wxpython/core/gthread.py",
 line 117, in OnDone

 event.ondone(event)
   File
 "/opt/local/share/grass-7.4.0/gui/wxpython/core/render.py",
 line 442, in OnRenderDone

 self.updateProgress.emit(layer=self.layer)
   File "/opt/local/share/grass-7.4.0/etc/python/grass/pydisp
 atch/signal.py", line 229, in emit

 dispatcher.send(signal=self, *args, **kwargs)
   File "/opt/local/share/grass-7.4.0/etc/python/grass/pydisp
 atch/dispatcher.py", line 349, in send

 **named
   File "/opt/local/share/grass-7.4.0/etc/python/grass/pydisp
 atch/robustapply.py", line 60, in robustApply

 return receiver(*arguments, **named)
   File
 "/opt/local/share/grass-7.4.0/gui/wxpython/core/render.py",
 line 717, in ReportProgress

 self.renderDone.emit()
   File "/opt/local/share/grass-7.4.0/etc/python/grass/pydisp
 atch/signal.py", line 229, in emit

 dispatcher.send(signal=self, *args, **kwargs)
   File "/opt/local/share/grass-7.4.0/etc/python/grass/pydisp
 atch/dispatcher.py", line 349, in send

 **named
   File "/opt/local/share/grass-7.4.0/etc/python/grass/pydisp
 atch/robustapply.py", line 60, in robustApply

 return receiver(*arguments, **named)
   File
 "/opt/local/share/grass-7.4.0/gui/wxpython/core/render.py",
 line 623, in OnRenderDone

 raise GException(_("Rendering failed: %s" % msg))
 core.gcmd
 .
 GException
 :
 Rendering failed: Expecting 825x586 image but got 825x622
 image.

 }}}

 One workaround after the exception is to click on the "Render Map" icon.

 I suspect the problem is that the switch to "Vector digitizer" mode adds a
 row of toolbar icons reducing the area to draw the image but the size
 change has not propogated to everything that needs it.  Interestingly
 switching modes back to "2D View" and then to "Vector digitizer" a second
 time does not produce the error even though the vector digitizer toolbar
 disappears and then is re-added.

-- 
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #3651: Missing classification from v.lidar.edgedetection

2018-09-21 Thread GRASS GIS
#3651: Missing classification from v.lidar.edgedetection
--+-
 Reporter:  balagates |  Owner:  grass-dev@…
 Type:  defect| Status:  new
 Priority:  normal|  Milestone:
Component:  Default   |Version:  7.4.0
 Keywords:  lidar, edgedetection  |CPU:  OSX/Intel
 Platform:  MacOSX|
--+-
 The man page for v.lidar.edgedetection describes

  The output will be a vector map in which points has been classified as
 TERRAIN, EDGE or UNKNOWN.

 On the "output" I see a database table named _edge_interpolation
 with columns

  Column 1: ID:INTEGER:20
  Column 2: Interp:REAL:20

 I do not see a table for output= nor do I see the following

  TERRAIN (cat = 1, layer = 1)
  EDGE (cat = 2, layer = 1)
  UNKNOWN (cat = 3, layer = 1)

 Later steps in the workflow at the bottom of the man page do not provide
 all the output I expect, presumable because this classification is
 missing.

 The database for my project is SQLITE.  The import of the Lidar data
 appears to have a complete list of columns including x, y, z, intensity,
 return, n_returns, scan, edge, etc.

 This is the first time I have run through this workflow so I could have
 messed something up.  It would be nice if someone could verify they get
 similar results.

-- 
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] r.tileset and cs2cs / cct

2018-09-21 Thread Stefan Blumentrath
Hi,

On my Ubuntu 16.04 box I get the following error message in GRASS 7.4.1 
(package install from UbuntuGIS) with r.tileset:

r.tileset sourceproj=+init=epsg:25833 maxrows=1 maxcols=1 | wc -l
ERROR: cs2cs program not found, install PROJ.4 first:
   http://proj.maptools.org
ERROR: cs2cs failed
0

And locate tells me that there indeed is no cs2cs on my PATH/system...

Is that related to the move to Proj.5?
Can GRASS even be installed without Proj?

Is that a GRASS issue, a packaging issue or simply an installation issue?

r.tileset should probably be updated to use cct 
https://proj4.org/development/migration.html (yet, I cannot find cct on my 
system either)...

Cheers
Stefan
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev