Re: [GRASS-dev] [GRASS GIS] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-07-03 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.4  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+

Comment(by hamish):

 re. cs2cs + grid paths, it is still a problem with the latest nightly
 build.
 if you are on wingrass and using grass 6.x and using a datum transform
 grid file in your projection definition, m.proj fails. (and so r.in.wms.sh
 too)

 two issues:
 - the path to the +nadgrids file should be quoted (see proj4 ticket # 218)
 - msys is messing up the path string (the "g.message '/'" expansion
 problem).

 possible aid for the second issue in init.sh and r.in.wms.sh's wms_request
 with "dos2unix_path()", but I don't know if that helps here or not until
 the quoting issue gets fixed.


 Hamish

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-06-18 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.4  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+
Changes (by hamish):

  * milestone:  6.4.3 => 6.4.4


Comment:

 Replying to [comment:49 hamish]:
 > It fails anytime when `xml2` is not available, so not a wingrass bug
 > per se, xml2.exe just happens to be missing there (see #1952).
 ...
 > attempt to catch that and abort with an informative error message added
 > to devbr6 in r56743 for testing.

 tested ok and backported to 6.4svn with r56783.

 cs2cs + grid paths is likely still a problem, more testing needed. On the
 other hand basic functionality is present so changing the milestone to
 6.4.4.

 TBC ...


 Hamish

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-06-16 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.3  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+

Comment(by hamish):

 It fails anytime when `xml2` is not available, so not a wingrass bug per
 se, xml2.exe just happens to be missing there (see #1952).

 The output of 'r.in.wms -l' changes depending on if xml2 is de-xml'ing the
 capabilities file or if r.in.wms.sh is trying to do it.

 attempt to catch that and abort with an informative error message added to
 devbr6 in r56743 for testing.


 Hamish

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-05-20 Thread Dr Colin Hindmarch
Hi,

Processing PNG files in i.maxlik (Windows-based GRASS), I got (and keep 
getting) the 
following message:

  "(Mon May 20 09:22:53 2013)
  i.maxlik group=sattar@user1 subgroup=subgroup sigfile=unsupervised_signature 
  class=unsupervised_map
  ERROR: Unable to open signature file 
  (Mon May 20 09:22:53 2013) Command finished (0 sec)"

I am trying to produce an unsupervised classification, but keep getting hung 
up in 'i.maxlik'. I have tried reloading the latest version of Grass along 
with the 'visual' software, but no luck - I seem to be stuck! I can see from 
the email exchanges that you are all very busy, but I would be grateful if 
someone could help me to move on.

Many thanks,

Colin.

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

Re: [GRASS-dev] [GRASS GIS] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-05-13 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.3  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+

Comment(by hamish):

 Replying to [comment:47 hamish]:
 ...
 > trying to run r.in.wms[.py] from the wxGUI (`File > Import raster >
 > WMS Import`) fails with:
  {{{
  ...
  title = data[layer]['title']
  KeyError
  :
  'title'
  }}}

 that is #1163.

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-05-13 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.3  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+

Comment(by hamish):

 various quoting and spaces-in-pathnames fixes from the last 2 days
 backported to relbr64 in r56231; r.in.wms[.sh] in grass 6 now works on
 wingrass.

 ... at least when it is run from a ll/wgs84 loc'n (eg man-page example for
 NC landcover).  gdalwarp may still have issues (see #1166), but I don't
 have many known-good cases to test (see #1495). the
 flightgear/telascience/osgeo.org mapserver site is super slow, so not a
 great example; local testing & other open-server examples with NC or
 Spearfish coverage would be very welcome.


 -
 trying to run r.in.wms[.py] from the wxGUI (`File > Import raster > WMS
 Import`) fails with:
 {{{
 Traceback (most recent call last):
   File "c:\Program Files\GRASS GIS
 6.5.svn\etc\wxpython\modules\ogc_services.py", line 204, in
 OnConnect

 self.list.LoadData(layers)
   File "c:\Program Files\GRASS GIS
 6.5.svn\etc\wxpython\modules\ogc_services.py", line 259, in
 LoadData

 title = data[layer]['title']
 KeyError
 :
 'title'
 }}}

 after you paste in the server ("http://mapserver.flightgear.org/ms";) and
 click [Connect].


 Hamish

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-05-11 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.3  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+

Comment(by hamish):

 latest 6.5 nightly wingrass build:

  * GDAL_DATA now set in $GISBASE/etc/env.bat, points to
 $GISBASE/share/gdal/

  * xml2.exe and wget.exe are still not installed with wingrass, but
 curl.exe is there so minimum requirements for r.in.wms[.sh] are fulfilled.

  * script-called-from-script path problem fixed in #1727.

  * r.in.wms examples still need a bit more refreshing work. #1495


 from the msys command prompt:
  `r.in.wms -l mapserver="http://mapserver.flightgear.org/ms"`
 seems to work now, but the parsing is a bit messed up (linux too), if
 xml2.exe was installed that would be a lot better.


 .. work in progress ..


 Hamish

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2013-05-02 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.3  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+
Changes (by hamish):

  * milestone:  6.4.2 => 6.4.3


Comment:

 suggestion: for 6.4.4 let's consider packaging r.in.wms2.py in with
 gui/scripts/, and have it as the menu item from the wxGUI. the shell
 version can still be there from the command line, but I don't see it
 getting much more than maintenance fixes at this point.

 I know the wheel is already invented a number of times, but I'd also
 suggest to try and make more use of OWSLib, to outsource the OGC protocol
 stuff to an existing library/team.
http://geopython.github.io/OWSLib/


 todo: test current state of r.in.wms(.sh) in grass6 after the script-
 called-from-a-script patches have been applied (#1727).


 Hamish

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2012-10-04 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
---+
 Reporter:  ddalimonte |   Owner:  hamish 
 Type:  defect |  Status:  new
 Priority:  major  |   Milestone:  6.4.2  
Component:  Projections/Datums | Version:  svn-releasebranch64
 Keywords:  r.in.wms, wingrass, cs2cs  |Platform:  MSWindows XP   
  Cpu:  All|  
---+

Comment(by martinl):

 Please try `r.in.wms2` from GRASS Addons.

-- 
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] #820: r.in.wms doesn't work in WinGRASS installer distribution

2009-11-20 Thread GRASS GIS
#820: r.in.wms doesn't work in WinGRASS installer distribution
-+--
 Reporter:  ddalimonte   |   Owner:  grass-dev@lists.osgeo.org
 Type:  defect   |  Status:  new  
 Priority:  normal   |   Milestone:  6.4.0
Component:  Packaging| Version:  svn-releasebranch64  
 Keywords:   |Platform:  MSWindows XP 
  Cpu:  Unspecified  |  
-+--
 The MSys environment included with WinGRASS (WinGRASS-6.4.0svn-
 r39740-2-Setup.exe) does not include the bc command used by the r.in.wms
 script. This causes the module to fail when trying to import maps from a
 WMS service.

 {{{
 GRASS 6.4.0svn (AoCWMS):C:/GRASS/msys/home/Dan > r.in.wms output=roads_15m
 \
 mapserver=http://atlas.gc.ca/cgi-bin/atlaswms_en? \
 layers=roads_15m format=png maxcols=1024 maxrows=1024 method=bilinear
 which: wget: unknown command
 which: bc: unknown command
 ERROR: 'bc' is required, please install it first
 }}}

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