[pgrouting-users] pgr_analyzeGraph syntax error

I am building topology on a road dataset with pg_routing. When I try the analyzeGraph function, I get an error. Here is the input:

pgr_analyzeGraph(‘ng_roads’,1.0,the_geom:=‘geom_linestring’,id:=‘ogc_fid’,source:=‘sourceroute’,target:=‘targetroute’);

And here is the error message:

ERROR: syntax error at or near “pgr_analyzeGraph”

SQL state: 42601

Character: 316

Before that, pgr_createToology worked OK.

Postgis 2.1.5 and pgroutiung 2.1.0 are installed, Postgres9.3 database.

Any suggestions?

That looks like an error from postgresql query parser.

So I am parsing in my mind:

I dont see:

SELECT * FROM

Vicky

···

On Fri, Apr 22, 2016 at 10:00 AM, Bistrais, Bob <Bob.Bistrais@maine.gov> wrote:

I am building topology on a road dataset with pg_routing. When I try the analyzeGraph function, I get an error. Here is the input:

pgr_analyzeGraph(‘ng_roads’,1.0,the_geom:=‘geom_linestring’,id:=‘ogc_fid’,source:=‘sourceroute’,target:=‘targetroute’);

And here is the error message:

ERROR: syntax error at or near “pgr_analyzeGraph”

SQL state: 42601

Character: 316

Before that, pgr_createToology worked OK.

Postgis 2.1.5 and pgroutiung 2.1.0 are installed, Postgres9.3 database.

Any suggestions?


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users

Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@[georepublic.de](http://georepublic.de)
Web: [https://georepublic.info](https://georepublic.info)

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl