I am trying to write a script using pysal for point pattern analysis. From their manual, “PySAL contains a new file input-output API that should be used for all file IO operations” (pysal.readthedocs.io/en/latest/users/tutorials/fileio.html).
Does anybody know or has suggestions how to get a grass vector layer ready for further analysis with pysal within a grass script using this I/O api?
I am trying to write a script using pysal for point pattern analysis. From
their manual, "PySAL contains a new file input-output API that should be
used for all file IO operations" (
pysal.readthedocs.io/en/latest/users/tutorials/fileio.html).
Does anybody know or has suggestions how to get a grass vector layer ready
for further analysis with pysal within a grass script using this I/O api?
Paulo
_______________________________________________
grass-dev mailing list
On 23 December 2016 3:26:58 pm Helmut Kudrnovsky hellik@web.de wrote:
pvanbosgeo wrote
I am trying to write a script using pysal for point pattern analysis. From
their manual, “PySAL contains a new file input-output API that should be
used for all file IO operations” ( pysal.readthedocs.io/en/latest/users/tutorials/fileio.html).
Does anybody know or has suggestions how to get a grass vector layer ready
for further analysis with pysal within a grass script using this I/O api?
Cheers
Stefan
________________________________________
Von: grass-dev [grass-dev-bounces@lists.osgeo.org] im Auftrag von Paulo van Breugel [p.vanbreugel@gmail.com]
Gesendet: Freitag, 23. Dezember 2016 22:34
An: Helmut Kudrnovsky; grass-dev@lists.osgeo.org
Betreff: Re: [GRASS-dev] pysal file I/O
On 23 December 2016 3:26:58 pm Helmut Kudrnovsky <hellik@web.de> wrote:
pvanbosgeo wrote
I am trying to write a script using pysal for point pattern analysis. From
their manual, "PySAL contains a new file input-output API that should be
used for all file IO operations" (
pysal.readthedocs.io/en/latest/users/tutorials/fileio.html).
Does anybody know or has suggestions how to get a grass vector layer ready
for further analysis with pysal within a grass script using this I/O api?
Paulo
_______________________________________________
grass-dev mailing list
I am looking to use the Moran I and related statistics available in pysal in a grass script to look at point patterns, and possibly write a small addon for it (there used to be an grass addon to compute moran I, would be nice to have it again). Pysal expects as import a shapefile, csv or a few other formats. So I can export a grass vector layer to e.g., shapefile, and read that in Pysal and run my analysis. However, I thought perhaps there is a more direct way to write a grass vector layer to pysal format that people know of. If not, I'll use the grass-shapefile-pysal route.
Cheers
Stefan
________________________________________
Von: grass-dev [grass-dev-bounces@lists.osgeo.org] im Auftrag von Paulo van Breugel [p.vanbreugel@gmail.com]
Gesendet: Freitag, 23. Dezember 2016 22:34
An: Helmut Kudrnovsky; grass-dev@lists.osgeo.org
Betreff: Re: [GRASS-dev] pysal file I/O
On 23 December 2016 3:26:58 pm Helmut Kudrnovsky <hellik@web.de> wrote:
pvanbosgeo wrote
I am trying to write a script using pysal for point pattern analysis. From
their manual, "PySAL contains a new file input-output API that should be
used for all file IO operations" (
pysal.readthedocs.io/en/latest/users/tutorials/fileio.html).
Does anybody know or has suggestions how to get a grass vector layer ready
for further analysis with pysal within a grass script using this I/O api?
However, I
thought perhaps there is a more direct way to write a grass vector >layer
to pysal format that people know of. If not, I'll use the
grass-shapefile-pysal route.
no idea if pysal is able to read from pipe, if it's about point maybe it's
possible to feed the pipe by some v.report/v.db.select/pygrass output?
On Sat, Dec 24, 2016 at 3:17 PM, Helmut Kudrnovsky <hellik@web.de> wrote:
>However, I
>thought perhaps there is a more direct way to write a grass vector >layer
>to pysal format that people know of. If not, I'll use the
>grass-shapefile-pysal route.
no idea if pysal is able to read from pipe, if it's about point maybe it's
possible to feed the pipe by some v.report/v.db.select/pygrass output?
I'll look into it, thanks
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.
nabble.com/pysal-file-I-O-tp5301192p5301268.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev