[Geoserver-users] A question

Hello,dear Andrea,
Thank you for your help last time.In your guidance,I know how to query with a polygons bbox.But I also have a question.I want to konw whether there is a way in that we can calculate a shortest path by GML.I hope you can spare your time to see my problem during your busy time.Thank you very much.Best wishes for you.
Sincerely yours,
Yang.


免费试玩2006中国最佳网络游戏–梦幻西游

yangzhaohui ha scritto:

Hello,dear Andrea,
   Thank you for your help last time.In your guidance,I know how to query with a polygons bbox.But I also have a question.I want to konw whether there is a way in that we can calculate a shortest path by GML.

Hmmm... no. Geoserver does not have shorted path computation capabilities, you should look for a WPS implementation that has it.
Otherwise, and maybe a little more practical, have a PostGIS database
behind your server, install pgdijkstra and interact directly with
postgres to do the routing.
I know there is an alternative to pgdijkstra which has another name,
but I can find it (but I would look for it, having two candidates to
test is better than one).

Finally, if you're in java coding, you can use the geotools gt2-graph
module to do shortest path computation.

Just some ideas, I don't have details because I never tried using
the above packages.

Hope this helps
Cheers
Andrea