I'm building pgRouting 1.05 in a CentOS 6.3 box, but I'm noting that
in some .sql files (eg. routing_core_wrappers.sql) is missing 'ST_'
prefix in functions such as:
*length
*srid
*x
*y
Should I fix these manually or download its current source?
I’m building pgRouting 1.05 in a CentOS 6.3 box, but I’m noting that
in some .sql files (eg. routing_core_wrappers.sql) is missing ‘ST_’
prefix in functions such as:
*length
*srid
*x
*y
Should I fix these manually or download its current source?
You’re right. There are several places where the ST_ prefix is missing.
Mario has started some time ago to cleanup the wrapper functions, adding the prefix where it was missing but also getting rid of unused code and renaming and cleaning up the functions: https://github.com/mbasa/pgrouting/commits/master
This just affects the wrappers as far as I know, so maybe you want to take a look and try it out.
I’m building pgRouting 1.05 in a CentOS 6.3 box, but I’m noting that
in some .sql files (eg. routing_core_wrappers.sql) is missing ‘ST_’
prefix in functions such as:
*length
*srid
*x
*y
Should I fix these manually or download its current source?
There are two more which you might find relevant;
/usr/share/postgresql/9.1/contrib/postgis-2.0/rtpostgis_legacy.sql
/usr/share/postgresql/9.1/contrib/postgis-2.0/uninstall_legacy.sql
I think it was enough to load the minimal set.
It might not be wise to encourage use of these because it might postpone the real solution, but for us in a hurry - it might be the right way ™.
You’re right. There are several places where the ST_ prefix is missing.
Mario has started some time ago to cleanup the wrapper functions, adding the prefix where it was missing but also getting rid of unused code and renaming and cleaning up the functions: https://github.com/mbasa/pgrouting/commits/master
This just affects the wrappers as far as I know, so maybe you want to take a look and try it out.
I’m building pgRouting 1.05 in a CentOS 6.3 box, but I’m noting that
in some .sql files (eg. routing_core_wrappers.sql) is missing ‘ST_’
prefix in functions such as:
*length
*srid
*x
*y
Should I fix these manually or download its current source?