Ciao guys,
just sharing my 0,02 €.
There are a few open source projects playing with routing applications
one is pgrouting (which is IMHO the bes tone so far) but htere is also
something from 52 North (not so sure about its state). Therefore if I
had to look into something I'd give a look at pgrouting which seems to
be more mature and robust and which also builds right inside of
postgis.
Beside this, we (GeoSolutions) are interested as well in routing
functionalities hence we have investigated a bit how to implement
them. IMHO WFS is not the right place to do so because I think that if
you start putting functionalities into the data tier you end up with
stove pipes monoliths, I would rather suggest to go down the path of
a specific WPS profile which can just solve the routing problem and do
all sort of magic to cache results of complex calculations focusing
solely on the implementing and optimizing the business process of
"find the best route". Note however that using a WPS approach does not
mean that there is a function in the WPS spec that implements routing
(actually there should be something in OPenLS core services..). WPS
aims, IMHO, to provide a generic framework to expose geoprocessing
(well in fact nobody prevents us from expoing non geospatial
processing as well) capabilities to the web in an interoperable self
describing manner but it does not specify which functionalities you
can expose, that's up to you. In this specific case I guess the work
would be using a preexistent WPS framework and embed into it the
process of routing which would mean create a WPS profile for routing.
Anyway, as I said Andrea I would be interested in getting to know a
bit more about what you are trying to achieve since we are going to
work soon in that field hence I forsee the possibility to have some
sort of cooperation. Just in case you can find me anytime on gtalk.
Simone.
On Jan 25, 2008 4:39 PM, Andrea Maschio <andrea.maschio@anonymised.com> wrote:
Thanks Justin. Surely I will check out WebProcessingServer. Btw, yesterday
I thought at this workaround, please tell me if in your opinion it could
work:
A tomcat server with geoserver deployed as a war.
The geoserver WFS service gives me a map. I select two points, and memorize
it on two fields or js variables. Posting then all the information i need to
another servlet that has charge to do just the communication with postgis
(for example calling the shortest_path function and creating a set of
results in a table). Then the servlet sends me again to the map page that's
binded to the shortest_path feature, who is a view on the original data
joined with the results table reloading the changes in a layer over the
original layer.
I feel that this is more a workaround than a solution, and has some async
issues that have to be solved. But could this in your opinion work? Will WPS
do just this with a reasonable learning curve?
Thanks
Andrea
Justin Deoliveira ha scritto:
Hi Andrea,
You are correct, the WFS interface is not well suited for this sort of
application. The web service you need is called WPS (web processing
service), which GeoServer does not implement.
I have seen routing applications put together with pgrouting, a routing
extension to postgis. And actually it seems that WebProcessingServer has
routing capabilities which use pgrouting. It is probably worth you
checking it out.
-Justin
Andrea Maschio wrote:
Hi everybody. After a serie of strange configuration-related questions
and weird and bizarre errors i manage to solve mainly thanks to your
help, I am here to try asking the fatal question: is it possible to do
this in geoserver?
OK, here is what I have to do: my objective is summed up in two use cases.
1st A user select a point, then another point, then asks the system to
calculate the shortest path
2nd A user selects a set of features, and marks them as affected by a
certain level of traffic (for example, the 8th boulevard is at traffic
level 5, to make it fairly simple)
I thought that to be this should be nice WFS, but as I am getting near
to the protocol architecture, what is coming in front of me is the fact
that in WFS you have to configure the Features before, and cannot send
instructions to geoserver for calling e.g. a procedure in Postgis (that
could for example store the result in a table and then display the
results as a view that was configured before as a feature in geoserver).
Is this correct? I mean, WFS is only for serving Features instead that
creating a dialog with the database. Exception made for WFS-T, but
latter can only add, delete or edit the geometries, and not
communicating to the model layer to update an attribute. Is also this
correct?
Please forgive my confusion and my falls of questions, but i really have
no time for preparing a graduating thesis, so my develop time is
concentrated in two hours after dinner.
Thanks a lot for helping
Andrea Maschio
http://www.superandrew.it/>
!DSPAM:4007,4799058b79761030819293!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
!DSPAM:4007,4799058b79761030819293!
------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
!DSPAM:4007,4799058b79761030819293!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928
http://www.geo-solutions.it
-------------------------------------------------------