Hamish | 1 Mar 2009 02:13
Picon
Favicon
Gravatar

Re: grass wiki on RST troubleshooting


Mark wrote:
> http://grass.osgeo.org/wiki/RST_Spline_Surfaces#Troubleshooting
> >
> > I'm not sure I understand where this is to make the change for
> > MAXPOINTS?

Moritz:
> This is in the source code and you have to recompile v.surf.rst.

wiki updated.

Hamish

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hamish | 1 Mar 2009 02:37
Picon
Favicon
Gravatar

Re: grass wiki on RST troubleshooting


Maris wrote:
> > Sorry for interuption, but I could not find place where in v.surf.rst
> > MAXPOINTS is used for anything else than printing a warning. URL to
> > line in SVN? If I'm correct, no need to recompile anything.

I think you are right for v.surf.rst.
but v.vol.rst seems to use it.

Markus:
> You see that MAXPOINTS is assigned to KMAX2 and then used.

.... but that part of the source is commented out and the KMAX2 setting
is the same on both sides of the if/else.

> Here at Trento, we are currently trying to see how to
> - either dynamically define MAXPOINTS/KMAX2
> - or minimize the overhead while maximising MAXPOINTS.

great!

Hamish

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Ken | 1 Mar 2009 02:38

Java Web application with GRASS

Hello all, 
I am evaluating grass.  Can i use grass in a j2ee web application deployed to an
application server.  ie.. Can it be used similar to esri gis server that will
hand you a url of the map to display in a jsp??
Thanks in advance 
ken

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Alex Mandel | 1 Mar 2009 03:40

Re: Java Web application with GRASS

Ken wrote:
> Hello all, 
> I am evaluating grass.  Can i use grass in a j2ee web application deployed to an
> application server.  ie.. Can it be used similar to esri gis server that will
> hand you a url of the map to display in a jsp??
> Thanks in advance 
> ken
> 

Theoretically, maybe. GRASS is an analysis package though, rendering
maps for web display is best done by something meant for that like
mapserver, geoserver, mapnik, featureserver, etc.

For serving maps from datasets I recommend you look at those options. If
you want to run some grass tools based on user input and show the
results you would setup a workflow of web interface->grass->map
service->web display.

You may also consider using libgeos in java to perform spatial
operations on your data and return you objects that can be displayed
with the above mentioned tools or you're own custom graphic widget.

Alex
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hamish | 1 Mar 2009 08:28
Picon
Favicon
Gravatar

Re: Long post - Remote Sensing - Classifications


> > > > For the Tcl/Tk GIS.m GUI now fixed in svn, rev 36103.
> > > > 
> > > > cd gui/tcltk/
> > > > svn up
> > > > make
...
> I know Himish that you are not here to baby-sit me but these lines make
> no sense for me :-(
> "cut&paste from the command line from the svn checkout source code dir"

assuming you were working from development code downloaded directly from
our source code management server. If using a debian package that magic
won't work. ("svn up" updates the source code, which is stored by the
Subversion software)

the idea at this end is to leave the minimum number of breadcrumbs needed
to follow the path, to save me keystrokes. ok, more needed...

> I downloaded the snapshot from here
> http://grass.osgeo.org/grass64/source/snapshot/
> do I have to re-install the sw?..How do I fix just
> something (what you fixed I think) without re-install everything?

for C code that would not be possible. for TclTk code and Python code
it is possible, but slightly messy.

well maybe not that bad.
as root (or sudo) you can edit the files in /usr/lib/grass/etc/gm/ or
/usr/lib/grass/etc/wxpython directly if you like.
(Continue reading)

Illidan | 1 Mar 2009 08:44
Picon

How to make a conversion of ERSI Grid ASCII==>USGS DEM?

Hi List,

I'm trying a conversion of from ERSI Grid ASCII(e00) to legacy USGS
DEM that one old piece of software I'm using supports. I searched the
web and only got results about the reverse conversion, i.e. USGS
DEM==> e00. So I ask for help here. I appreciate any feasible work
flow or hint on an existing conversion software. Thanks in advance.

--

-- 
Illidan
Networking System Modeler
Northern Capital, Republic of Pandaren
http://illidan.go.3322.org
_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hamish | 1 Mar 2009 09:05
Picon
Favicon
Gravatar

Re: How to make a conversion of ERSI Grid ASCII==>USGS DEM?


Illidan wrote:
> I'm trying a conversion of from ERSI Grid ASCII(e00) to legacy USGS
> DEM that one old piece of software I'm using supports. I searched the
> web and only got results about the reverse conversion, i.e. USGS
> DEM==> e00. So I ask for help here. I appreciate any feasible work
> flow or hint on an existing conversion software.

$ gdalinfo --formats | grep USGS
  DOQ1 (ro): USGS DOQ (Old Style)
  DOQ2 (ro): USGS DOQ (New Style)
  ISIS3 (ro): USGS Astrogeology ISIS cube (Version 3)
  ISIS2 (ro): USGS Astrogeology ISIS cube (Version 2)
  USGSDEM (rw): USGS Optional ASCII DEM (and CDED)

(see gdal.org)

hopefully you want USGSDEM? if so import to GRASS with v.in.e00 and
do what you have to do to get into raster format before running
"r.out.gdal format=USGSDEM". what is the nature of the e00 file?
contour lines? TIN? points? ascii-grid of some sort?

Hamish

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

(Continue reading)

Hamish | 1 Mar 2009 10:41
Picon
Favicon
Gravatar

Re: Calculating eigen values and % varianceexplainedafter PCA analysis


Nikos wrote:
> It should be the case with i.pca as well since eigen_VALUES_ (=represent
> the variances of the original dimensions that are "kept" in each
> component) are important for the interpretation of what exactly are each
> of the components. But, i.pca just does not report the eigen_VALUES_.
> 
> At some point some C-expert needs to have a look in the code (i.pca) and
> correct the "bug" which does not let the eigen_VALUES_ from being
> printed.

done in devbr6 (6.5svn) please test, I'm not a multivariate stats guru
and may have done something dumb so didn't port to other branches yet.

I changed the i.pca output to be like:

Eigen (vectors) and values:
PC1 ( -0.63 -0.65 -0.43 ) 88.07
PC2 ( 0.23 0.37 -0.90 ) 11.48
PC3 ( 0.75 -0.66 -0.08 ) 0.45

As it was previously sent to stderr via G_message() I don't feel bad about
breaking output text compatibility. I wanted to add "%" to the values but
due to the sprintf()+strcat() method in the code that was a pain, so I
didn't.

> >  If this is the case then both methods still differ significantly. Is
> > this possible, and which should I use.
> 
> Please have a look at my comments/questions in link [2].
(Continue reading)

Hamish | 1 Mar 2009 10:59
Picon
Favicon
Gravatar

Re: Calculating eigen values and % varianceexplainedafter PCA analysis


Hamish wrote:
> # 'automatic method'
> imagery60:G6.5svn> i.pca in=spot.ms.1,spot.ms.2,spot.ms.3 out=spot_pca
> 
> Eigen (vectors) and values:
> PC1 ( -0.63 -0.65 -0.43 ) 88.07
> PC2 ( 0.23 0.37 -0.90 ) 11.48
> PC3 ( 0.75 -0.66 -0.08 ) 0.45

changed to:
Eigen values, (vectors), and [percent importance]:
Eigenvalue 1: 1170.12 ( -0.63 -0.65 -0.43 ) [88.07%]
Eigenvalue 2: 152.49 ( 0.23 0.37 -0.90 ) [11.48%]
Eigenvalue 3: 6.01 ( 0.75 -0.66 -0.08 ) [0.45%]

comments welcome.

Hamish

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Hamish | 1 Mar 2009 11:52
Picon
Favicon
Gravatar

Re: output tables


Matthew Mulbrandon wrote:
> I just want to output all my data in file tenn_county_all
> into a comma delimited file with all variables. 
> 
> I have done 
> 
> v.out.ascii format=standard
> 
> it works but I only get x,y coord and the ID but I need all
> variables.
> 
> -84.28851567|35.99395611|1
> -84.25999586|36.01053534|2
> -84.25146063|35.95974559|3
> -84.24508926|36.01258551|4
> -84.20325976|36.00941242|5

try v.out.ascii.db from wiki addons or v.out.ascii's new column= option
in GRASS 6.4.

also v.db.select or db.select might help.

Hamish

_______________________________________________
grass-user mailing list
grass-user <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

(Continue reading)


Gmane