[postgis-users] Cost weighted distance raster
Spencer Gardner
spencergardner at gmail.com
Tue Mar 7 09:34:36 PST 2017
I didn't see any code for the Cost Distance function, only the Euclidean
Distance. Did I miss something? Or is it located on a different website
that I haven't found?
Thanks,
Spencer
On Tue, Mar 7, 2017 at 10:23 AM, Pierre Racine <Pierre.Racine at sbf.ulaval.ca>
wrote:
> There is no .sql. just copy the functions into a .sql text file and
> execute.
>
>
>
> *From:* Spencer Gardner [mailto:spencergardner at gmail.com]
> *Sent:* 7 mars 2017 11:16
> *To:* Pierre Racine <Pierre.Racine at sbf.ulaval.ca>
> *Cc:* postgis-users at lists.osgeo.org
> *Subject:* Re: Cost weighted distance raster
>
>
>
> On Tue, Mar 7, 2017 at 7:07 AM, Pierre Racine <Pierre.Racine at sbf.ulaval.ca>
> wrote:
>
> Hi Spencer,
>
>
>
> Integrating something in the main PostGIS core is hard work. That’s why I
> started the PostGIS Addons: to quickly gather PLpgSQL-only functions into
> an easy to install .SQL file. Why I did not integrate those functions in
> the Addons yet? Lack of time, not much work involving PostGIS since a
> while, not sure the code is working properly.
>
>
>
> Did you get time to test it? If it work fine, I might take time to add it
> to the Addons before FOSS4G 2017.
>
>
>
> Pierre
>
>
>
> That makes sense. I don't see a master .sql file to use for adding the
> functions to the database. The GSOC proposal I linked to previously has
> code for the Euclidean Distance function, but not for the Cost-Weighted
> Distance function. Is there a single .sql file somewhere that I can use to
> create both functions? I'd love to take a look and see if I can get them
> both working.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20170307/a59515d4/attachment.html>
More information about the postgis-users
mailing list