[GRASS-user] Interactive flood simulation
Maris Nartiss
maris.gis at gmail.com
Tue Aug 4 12:40:50 EDT 2009
This is really nice example of GRASS and whole OSGEO stack
flexibility. I love to see that r.lake is usefull module :)
One thing - I did not peaked into Your source, but it seems that You
are not validating user input data before passing to GRASS. GRASS
parser and r.lake can deal with various input garbage, but it's much
better idea to validate user input before passing values to GRASS. PHP
is flexible enough to do simple checks like is_float($seed) without
any problems.
Congratulations for good job,
Maris.
2009/8/4, Pavel Iacovlev <iacovlev.pavel at gmail.com>:
> Good day,
>
> I wrote a simple web flood simulation application. Posting here the
> source code, maybe it will be useful for someone who wants to use
> GRASS from PHP.
>
> Example: http://flood.iap.md/
> Source code: http://code.google.com/p/grass-flood/source/browse/#svn/trunk
> PHP Class for connecting to grass application:
> http://code.google.com/p/grass-flood/source/browse/trunk/Grass.php
>
> The example features GRASS, PHPMapscript, OpenLayers, PHP and how they
> can work together, based on http://grass.osgeo.org/wiki/GRASS_and_PHP
>
> --
> http://iap.md, The future is open
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
More information about the grass-user
mailing list