[GRASS-web] GRASS i.segment

Moritz Lennert mlennert at club.worldonline.be
Wed Apr 28 02:06:22 PDT 2021


Dear Guy,

[CCing Markus Metz who is the author of i.segment and has a better 
picture of its dependencies.]

On 28/04/21 07:36, Sinter Guy wrote:
> Hi Vaclav,
> 
> Thank you for replying ,
> 
> We are looking for a standalone python package of the i.segment that 
> could run as part of independent code without the need for the GRAA 
> installation,

Could you explain what exactly you mean by "standalone python package of 
the i.segment" ? i.segment is written in C. Are you looking for someone 
to port the code to a Python  ? Are you looking for python wrapper code 
around the C code ?

i.segment relies on many elements of the GRASS GIS core libraries, so 
porting as such would not be easy because it would mean rewriting large 
parts of the GRASS GIS raster libraries in Python.

> 
> Is this something that is on your road map ?

No, there is no plan to create standalone apps out of GRASS GIS modules.
There are however efforts to make GRASS GIS modules very easy to call 
even without the normal preparatory steps of creating a location, 
mapset, etc.

Vavlav has been very active providing the grass --exec interface.

However, this still means installing GRASS GIS, at least the core parts 
of it (no needs for the GUI components, for example), or, as mentioned, 
rewriting large parts of GRASS GIS.

> 
> Is this a feature we can support by paying for  ?

There might be developers willing to work on something like, this, but I 
think you will have to clarify your request a bit more.

Maybe a solution with the core, necessary elements of GRASS GIS 
libraries and a python wrapper around the i.segment module would be an 
acceptable solution for you ?


Best wishes,
Moritz


> 
> *From:*Vaclav Petras [mailto:wenzeslaus at gmail.com]
> *Sent:* יום ד 28 אפריל 2021 04:20
> *To:* Sinter Guy
> *Cc:* grass-web at lists.osgeo.org; Beeri Ofer; Pelta Ran
> *Subject:* Re: [GRASS-web] GRASS i.segment
> 
> *EMAIL FROM EXTERNAL SENDER: *Do not click links or open attachments 
> unless you know that the sender and the content are safe.
> 
> Hi Guy,
> 
> I don't know if you got a private answer, but the general answer from 
> the GRASS project is that we are interested in making the algorithms as 
> available as possible as long as they access the canonical 
> implementation in GRASS GIS.
> 
> In other words, if you aim at a better interface in Python to i.segment, 
> that is something which aligns well with the goals of the GRASS project. 
> The current Python interface is fine, but not the best imaginable. Same 
> goes for installation of GRASS GIS. It is fine, but there could be, for 
> example, more options. So, it depends what routes you are willing to take.
> 
> Please note that I'm a Project Steering Committee member and while 
> trying to represent the project here as best as I can, I'm ultimately 
> speaking from my point of view.
> 
> In any case, thank you for bringing this idea and offer to the community.
> 
> Best,
> 
> Vaclav
> 
> On Mon, Apr 19, 2021 at 7:59 AM Sinter Guy 
> <Guy.Sinter at manna-irrigation.com 
> <mailto:Guy.Sinter at manna-irrigation.com>> wrote:
> 
>     Hi Grass GIS team
> 
>     My name is Guy and I’m from Manna Irrigation we provide farmers with
>     irrigation recommendation and fields images,
> 
>     We are working on an algorithm to identify  point of interest within
>     field and for that our remote sensing team have used  your i.segment
>     as part of their algorithm,
> 
>     We would like to ask if you are planning to develop the i.segment
>     package as a standalone python package without the need for Grass
>     GIS installation ?
> 
>     If so can you share the details ? we are also willing to pay for
>     such development,
> 
>     Thanks Much ,
> 
>     *Guy Sinter*
> 
>     *Director, Software Engineering*
> 
>     +972 52 6433180 (Cell)
> 
>     www.manna-irrigation.com <http://www.manna-irrigation.com/>
> 
>     manna
> 
>     _______________________________________________
>     grass-web mailing list
>     grass-web at lists.osgeo.org <mailto:grass-web at lists.osgeo.org>
>     https://lists.osgeo.org/mailman/listinfo/grass-web
>     <https://lists.osgeo.org/mailman/listinfo/grass-web>
> 
> 
> _______________________________________________
> grass-web mailing list
> grass-web at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-web
> 



More information about the grass-web mailing list