<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I tried to follow the installation notes for the demoPlugin add-on :<br>
<br>
First I think it may have few typo in the manual section
"1.2.4.2.2. Graph Importation", first step:<br>
<blockquote>You wrote: <br>
<pre class="screen">$ CREATE TABLE roads_europe (gid int UNIQUE, source_id int, target_id int);
$ SELECT AddGeometryColumn('roads_europe', 'the_geom', -1, 'MULTILINESTRING', 2 );
$ INSERT INTO roads_europe (gid, the_geom) (SELECT gid, the_geom FROM roads_europe);</pre>
<br>
To avoid some errors during the nexts steps, I had to launch:<br>
<pre class="screen">$ CREATE TABLE roads_europe (gid int UNIQUE, source_id int, target_id int);
$ SELECT AddGeometryColumn('roads_europe', 'the_geom', -1, 'MULTILINESTRING', 2 );
$ INSERT INTO roads_europe (gid, the_geom) (SELECT gid, the_geom FROM roads_europe<font
color="#ff0000"><b>_tmp</b></font>); <<
<b><font color="#ff0000">$ ALTER TABLE roads_europe ADD COLUMN edge_id int; <font
color="#000000"><<</font></font></b>
</pre>
</blockquote>
<br>
But after the whole process, I have the following failure message under
CartoWeb:<br>
<br>
<blockquote>Userinfo: SELECT txt, geom_id FROM roads_europe_vertices
WHERE txt != '' ORDER BY txt [nativecode=ERROR: column "txt" does not
exist]
<br>
</blockquote>
<br>
It seems that the create_graph_tables creates the table
roads_europe_vertices with no txt column...!!!<br>
<blockquote><tt>demo_plugins=# \d roads_europe_vertices;<br>
Table "public.roads_europe_vertices"<br>
Column | Type |
Modifiers <br>
---------+-------------------+-----------------------------------------------------------------------<br>
id | integer | not null default
nextval('public.roads_europe_vertices_id_seq'::text)<br>
geom_id | integer | not null<br>
txt | character varying | <br>
Indexes:<br>
"roads_europe_vertices_geom_id_key" UNIQUE, btree (geom_id)<br>
"roads_europe_vertices_id_idx" btree (id)<br>
</tt><tt></tt><br>
</blockquote>
<br>
Any idea?<br>
<br>
Thanks in advance.<br>
<pre class="moz-signature" cols="72">--
Franck
</pre>
</body>
</html>