[postgis-users] Cost weighted distance raster

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Tue Mar 7 08:23:31 PST 2017

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<mailto: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.


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/bd62456a/attachment.html>

More information about the postgis-users mailing list