<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">No need to sorry.<br>
<br>
<font size="3">> I have already done the fuction to modify the
node,add a barrier and delete the graphhopper-gh <br>
> folder (they are made in a different java file)</font><br>
<br>
This does not look like the solution you are after. You probably
want to introduce this per query, probably in realtime and
probably even independent for every user, right?<br>
<br>
The first two requirements are relative easy to solve when you
just modify the graph in-memory, no need to drop the folder or
even recompile the project.<br>
<br>
Regarding your Javascript issue: look into ghrequest.js where the
parameters are grabbed from URL (init) and when submitted they are
sent to the GraphHopperServlet (createPath, doRequest). See this
servlet method 'writePath' how to recieve&handle the external
query.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote cite="mid:14478465fcb.marcosi66@virgilio.it" type="cite"><font
size="3">Sorry for the question, I am a beginner to
client-server application so I want to modify graphhopper query
adding a variable that is set 0 or 1 by an user's query , to
explain is simple but to do It for me is something that I don't
know how to do it...<br>
I understand that in graphhopper you do a query adding some
parameter in an url, <br>
but I don't understand how you set this parameters or variables
and do the query, or if is possible (how to) to take the
paramenter of the client's query and add to graphhoper's query
and how to have the query's answer...<br>
<br>
I want to modify the query beacuse when an user send me a
signal(the variable that he set at 0 or 1) I want to modify a
node in my graphhopper.osm (my map) adding a barrier, delete the
graphhopper-gh and recalculate the graph and the route.<br>
I have already done the fuction to modify the node,add a barrier
and delete the graphhopper-gh folder (they are made in a
different java file).... even If I don't know how to lay
together all this java file in my graphhopper project.</font><br>
<font size="3"><br>
I wish you have understand what I have wrote :')</font><br>
</blockquote>
<br>
</body>
</html>