[Biogeosdi] Re: itineraries in openmodeller
![](https://secure.gravatar.com/avatar/a8178ad9ad309137ae4607b0d7fa2549.jpg?s=120&d=mm&r=g)
Hi Tim,
A new week and the rain has started again... time for :
Some paragraphs on itinerary modelling
With itineraries, we want to retrace the actual expedition route as accurately as possible. For this, we want to make use of all possible data sources, the first of which are of course the georeferenced specimen records (such as come from GBIF et al.).
Besides that, we are also looking for other information sources, for example field notes, old maps and the like. When properly encoded in some system of "boundaries", these extra information sources create a set of restrictions that can be used for quality control on the data. For example : if a point by its lat/lon values looks like an outlier of the general set, we could find clues in the other information sources about what is going on. Either some indication that, yes, the point is correct (e.g. its field number fits perfectly in the field number series) or some proof that, indeed, the point is incorrect (e.g. some notes about the camping sites, proving that the expedition was not near that place at the time).
Both the data set (points) and the "info set" are fed into the modeller tool, and two outputs are generated : 1/ a judgement about the points in the data set (+ visualisation, indication of faulty points) and 2/ a new "info set", if the points yielded some new information to be used in the future.
So, it would be a system that grows in knowledge as more data sets are processed, and more extra information is encoded.
In a first stage though, we'll be mostly looking at the internal coherence in the data set points - and that would make the process more "mainstream" and "OM-ready". Later on, the process will add more "semantics" to the geospatial aspect, and I don't see very clear yet how that would fit into OM.
The temporal aspect will, however, play a very important part from the beginning - an it's great news that OM will incorporate this. Have you seen the Mapbuilder timeseries demo :
http://geoservices.cgdi.ca/mapbuilder/demo/timeSeries/index.html
Basically, they perform as many WMS-requests as there are "time slices" on the WMS-server, then store the result and display one after the other in an animation.
Best regards,
Bart.
On Sat, 2007-05-05 at 22:43 -0300, Tim Sutton wrote:
Hi
Yes a couple of paragraphs of your ideas for itinerary modelling would probably make your requirements a bit clearer. Currently the openModeller library has no in built support for temporal analysis. In a future release of openModeller Desktop, I will add support for projection of niche models into multiple 'time slices' and producing an animation of the result. Typically we would use this when predicting changes in distribution in future climate scenarios.
PS I dont know if I mentioned the new linux binary thats available with the 1.0.5 release of openModeller.
Regardsbiogeosdi@lists.tdwg.org
Tim
2007/5/4, Meganck Bart bart.meganck@africamuseum.be:
Hi Tim,
- could OM take in data layers other than environmental data ?
It can use pretty much any raster layer - what did you have in mind?
Well, it would be a bit more difficult than just a raster layer : in fact, we try to gather extra information from the data as we
process
it, so there would have to be some kind of (temporary) storage.
Also, the data would be more time-oriented, not only spatially (as
rasters
are). I don't know if that would be feasible for OM - and if I'm expressing myself clearly here... ;-)
Perhaps I'll make a short text with some explanation of what exactly we would try to do ?
best regards,
Bart.
On Thu, 2007-05-03 at 13:21 -0300, Tim Sutton wrote:
Hi Bart!
2007/5/3, Meganck Bart bart.meganck@africamuseum.be:
Hi Tim,
I have been thinking about how to make the "itinerary" project a use-case for our GeoAppInter workflow.
It's clear that until now I've been working a bit too enclosed -
so
the
Campinas workshop was an eye-opener.
In fact the itinerary implementation would not be that different
from
the demo we did. It's just another way of looking at the modeling
part.
For that I have some questions about OpenModeler :
Cool it would be great to include itineray support.
- how easy or how difficult is it to make your own algorithms for
OM ?
In what language do they have to be implemented ?
Its pretty easy - requires a basic knowledge of C++ though.
- could OM take in data layers other than environmental data ?
It can use pretty much any raster layer - what did you have in mind?
Regards
Tim
best regards,
Bart.
-- Bart Meganck,
ICT & GIS engineer, African Zoology Department.
Royal Museum for Central Africa, Leuvensesteenweg 13, B-3080 Tervuren, Belgium.
Tel : +32(0)2 769 56 92 Fax : +32(0)2 767 02 42 Email : bart.meganck@africamuseum.be Website : www.africamuseum.be
###########################################
This message has been scanned by ICT - Africa Museum
3/5/2007 - Filtered through antispam by ICT
--
-- Bart Meganck,
ICT & GIS engineer, African Zoology Department.
Royal Museum for Central Africa, Leuvensesteenweg 13, B-3080 Tervuren, Belgium.
Tel : +32(0)2 769 56 92 Fax : +32(0)2 767 02 42 Email : bart.meganck@africamuseum.be Website : www.africamuseum.be
###########################################
This message has been scanned by ICT - Africa Museum
4/5/2007 - Filtered through antispam by ICT
--
![](https://secure.gravatar.com/avatar/a8178ad9ad309137ae4607b0d7fa2549.jpg?s=120&d=mm&r=g)
Hi all,
Some people from partner institutes are visiting us now for the EDIT project. I have shown them what we have done in Campinas, and they were really interested.
We got some nice interaction from them concerning Mapbuilder and other softwares, and they were asking specifically for how we went about to get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our code, once finished, will be available on the web as open source ? For the moment you have to log into the CVS server.
best regards,
Bart. ###########################################
This message has been scanned by ICT - Africa Museum
________________________________________ 15/5/2007 - Filtered through antispam by ICT
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the EDIT project. I have shown them what we have done in Campinas, and they were really interested.
We got some nice interaction from them concerning Mapbuilder and other softwares, and they were asking specifically for how we went about to get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our code, once finished, will be available on the web as open source ? For the moment you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers.
![](https://secure.gravatar.com/avatar/bbc81e820e6d0e0c37678a33c8aa7fbc.jpg?s=120&d=mm&r=g)
Hi Guys
Yes absolutely its all available as opensource already - they can get it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the EDIT project. I have shown them what we have done in Campinas, and they were really interested.
We got some nice interaction from them concerning Mapbuilder and other softwares, and they were asking specifically for how we went about to get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our code, once finished, will be available on the web as open source ? For the moment you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they can get it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and they were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our code, once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/bbc81e820e6d0e0c37678a33c8aa7fbc.jpg?s=120&d=mm&r=g)
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they can get it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and they were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our code, once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Hi Tim,
Uhmmm... the only difference between the two logs is that the second is more detailed and shows the variable not defined typical errors.
I am debugging right now... had an error in other file before getting there in the HTML part... I will commit later...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and
they
were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our
code,
once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/bbc81e820e6d0e0c37678a33c8aa7fbc.jpg?s=120&d=mm&r=g)
Hi
Ok great - if / once you get that sorted, I will validate all the rest of the modelling steps are working ok. If Bart can check that the map display stuff is working as mentioned in his last mail (hi Bart!) the demo should all be hunky dory! I think Pete will be out of contact for the next week or two as he is setttling into his new home in the US of A....
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Hi Tim,
Uhmmm... the only difference between the two logs is that the second is more detailed and shows the variable not defined typical errors.
I am debugging right now... had an error in other file before getting there in the HTML part... I will commit later...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and
they
were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our
code,
once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Hey, by the way, when did you implement the option to retrieve taxonomic info using the SPICE protocol?
Thats new :)
On 25/06/2007, at 20:15, Tim Sutton wrote:
Hi
Ok great - if / once you get that sorted, I will validate all the rest of the modelling steps are working ok. If Bart can check that the map display stuff is working as mentioned in his last mail (hi Bart!) the demo should all be hunky dory! I think Pete will be out of contact for the next week or two as he is setttling into his new home in the US of A....
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Hi Tim,
Uhmmm... the only difference between the two logs is that the second is more detailed and shows the variable not defined typical errors.
I am debugging right now... had an error in other file before getting there in the HTML part... I will commit later...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console
gives
me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File
does
not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and
you know
it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting
the
prototype completed yesterday and on and off this week.
Something
seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post
the
exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting
and
going through the emails.
> Some people from partner institutes are visiting us now
for the
EDIT > project. I have shown them what we have done in Campinas, and
they
> were > really interested. > > We got some nice interaction from them concerning
Mapbuilder and
other > softwares, and they were asking specifically for how we went about to > get the XMl from the OGC services, and pass it on to PHP. > > So, a quick check with all of the team : am I right that our
code,
> once > finished, will be available on the web as open source ?
For the
moment > you have to log into the CVS server.
From my side this is clearly the idea. And expect it really
soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/a8178ad9ad309137ae4607b0d7fa2549.jpg?s=120&d=mm&r=g)
Hi all,
Well, I'm spending a little time to get the correct WMS map displayed in the occurrences result window.
Still some things are not yet clear to me :
there are 3 possible types of occurrence sources :
* GBIF * WFS * TAPIR
Can somebody (backend team) tell me if for each of these sources a local (CRIA) WMS/WFS layer is made ?
If yes, where can I obtain the name of that layer ? It doesn't seem to come in the report/occurrences result object that we (frontend team) parse for finding the occurrences and GML and such...
I suspect the WMS needed will be something like :
wms=http%3A//omtest.cria.org.br/cgi-bin/ogctemp.cgi/
... but that still leaves the question of the layer name.
Can someone enlighten me ?
thanks,
Bart.
Hi
Ok great - if / once you get that sorted, I will validate all the rest of the modelling steps are working ok. If Bart can check that the map display stuff is working as mentioned in his last mail (hi Bart!) the demo should all be hunky dory! I think Pete will be out of contact for the next week or two as he is setttling into his new home in the US of A....
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Hi Tim,
Uhmmm... the only difference between the two logs is that the second is more detailed and shows the variable not defined typical errors.
I am debugging right now... had an error in other file before getting there in the HTML part... I will commit later...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console
gives
me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File
does
not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and
you know
it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting
the
prototype completed yesterday and on and off this week.
Something
seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post
the
exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com: > Hi all, > > I am trying to finish what we did in the biodgeosdi meeting
and
> going through the emails. > > > Some people from partner institutes are visiting us now
for the
> EDIT > > project. I have shown them what we have done in Campinas, and
they
> > were > > really interested. > > > > We got some nice interaction from them concerning
Mapbuilder and
> other > > softwares, and they were asking specifically for how we went > about to > > get the XMl from the OGC services, and pass it on to PHP. > > > > So, a quick check with all of the team : am I right that our
code,
> > once > > finished, will be available on the web as open source ?
For the
> moment > > you have to log into the CVS server. > > > From my side this is clearly the idea. And expect it really
soon.
> > Cheers. > _______________________________________________ > biogeosdi mailing list > biogeosdi@lists.tdwg.org > http://lists.tdwg.org/mailman/listinfo/biogeosdi >
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Hi Bart,
Still some things are not yet clear to me :
there are 3 possible types of occurrence sources :
- GBIF
- WFS
- TAPIR
Can somebody (backend team) tell me if for each of these sources a local (CRIA) WMS/WFS layer is made ?
Yes... Every time a getOccurrences method is called (with the source parameter set to gbif,wfs or tapir, see the docs) the data is collected from the source and puss to the dataProcessing service that, among other things, create a layer as you want.
If yes, where can I obtain the name of that layer ? It doesn't seem to come in the report/occurrences result object that we (frontend team) parse for finding the occurrences and GML and such...
In the report you get back there is an element called "datasetId" that is the FeatureType of the newly created dataset. The OGC web service end point (WMS/WFS/WCS) is found under the element "OWSurl". So therefore to generate a WMS requets for this dataset you would do something like:
{$OWSurl}wms?bbox=-180,90,180,90&SLD=someSLDsomehwhere&Format=image/ png&request=GetMap&layers=world_base,world_lb,world_adm0,{$datasetId} &width=550&height=250&srs=EPSG:4326
You have to use an SLD document stored somehwere else, if you want to register the SLD within the geoserver at the server then you can give it to me and it will become available locally there. You see that apart of the dataset, the layer you talk about, I included some other layers already existing in the server so that the map does not look empty with only the dots, but if you want only the dots to overlay it with something else you can just remove them.
In the report there are some examples (actually this is from where I got this)
I know the whole thing about the DPS is complicate, tell Dave!!, but I really dont know any other way... There is no OGC oficial way of pussing data to a server and create a new layer with it, all I have found is hacks like this DPS. So in general I would say that OGC lacks of a standard to create mapping service, somewhere where you can send points in XML and get back an image... anybody that knows something about this please enlighten me.
(I know a way trough SLD but is actually even more hacky and not enough flexible for what we want).
Cheers.
I suspect the WMS needed will be something like :
wms=http%3A//omtest.cria.org.br/cgi-bin/ogctemp.cgi/
... but that still leaves the question of the layer name.
Can someone enlighten me ?
thanks,
Bart.
Hi
Ok great - if / once you get that sorted, I will validate all the rest of the modelling steps are working ok. If Bart can check that the map display stuff is working as mentioned in his last mail (hi Bart!) the demo should all be hunky dory! I think Pete will be out of contact for the next week or two as he is setttling into his new home in the US of A....
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Hi Tim,
Uhmmm... the only difference between the two logs is that the second is more detailed and shows the variable not defined typical errors.
I am debugging right now... had an error in other file before getting there in the HTML part... I will commit later...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console
gives
me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File
does
not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/ nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and
you know
it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
> Hi Guys > > Yes absolutely its all available as opensource already - they can get > it using anonymouse svn account. I've been working on getting
the
> prototype completed yesterday and on and off this week.
Something
> seems to have been broken with the layer selection screen and Im > gettin g a strange error from nusoap at this point. Ill post
the
> exact message in a follow up email. > > Regards > > Tim > > 2007/5/30, Javier de la Torre jatorre@gmail.com: >> Hi all, >> >> I am trying to finish what we did in the biodgeosdi meeting
and
>> going through the emails. >> >>> Some people from partner institutes are visiting us now
for the
>> EDIT >>> project. I have shown them what we have done in Campinas, and they >>> were >>> really interested. >>> >>> We got some nice interaction from them concerning
Mapbuilder and
>> other >>> softwares, and they were asking specifically for how we went >> about to >>> get the XMl from the OGC services, and pass it on to PHP. >>> >>> So, a quick check with all of the team : am I right that our code, >>> once >>> finished, will be available on the web as open source ?
For the
>> moment >>> you have to log into the CVS server. >> >> >> From my side this is clearly the idea. And expect it really
soon.
>> >> Cheers. >> _______________________________________________ >> biogeosdi mailing list >> biogeosdi@lists.tdwg.org >> http://lists.tdwg.org/mailman/listinfo/biogeosdi >> > > > -- > -- > Tim Sutton > > Visit http://qgis.org for a great Open Source GIS > Home Page: http://linfiniti.com > Skype: timlinux > MSN: tim_bdworld@msn.com > Yahoo: tim_bdworld@yahoo.com > Jabber: timlinux > Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Bart Meganck,
ICT & GIS engineer, African Zoology Department.
Royal Museum for Central Africa, Leuvensesteenweg 13, B-3080 Tervuren, Belgium.
Tel : +32(0)2 769 56 92 Fax : +32(0)2 767 02 42 Email : bart.meganck@africamuseum.be Website : www.africamuseum.be
###########################################
This message has been scanned by ICT - Africa Museum
26/6/2007 - Filtered through antispam by ICT
biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
![](https://secure.gravatar.com/avatar/a8178ad9ad309137ae4607b0d7fa2549.jpg?s=120&d=mm&r=g)
Hi Javier,
Thanks, that explanation was very clear. I think that today I'll have a bit of time to work on it.
best regards,
Bart.
On Tue, 2007-06-26 at 18:23 +0200, Javier de la Torre wrote:
Hi Bart,
Still some things are not yet clear to me :
there are 3 possible types of occurrence sources :
- GBIF
- WFS
- TAPIR
Can somebody (backend team) tell me if for each of these sources a local (CRIA) WMS/WFS layer is made ?
Yes... Every time a getOccurrences method is called (with the source parameter set to gbif,wfs or tapir, see the docs) the data is collected from the source and puss to the dataProcessing service that, among other things, create a layer as you want.
If yes, where can I obtain the name of that layer ? It doesn't seem to come in the report/occurrences result object that we (frontend team) parse for finding the occurrences and GML and such...
In the report you get back there is an element called "datasetId" that is the FeatureType of the newly created dataset. The OGC web service end point (WMS/WFS/WCS) is found under the element "OWSurl". So therefore to generate a WMS requets for this dataset you would do something like:
{$OWSurl}wms?bbox=-180,90,180,90&SLD=someSLDsomehwhere&Format=image/png&re quest=GetMap&layers=world_base,world_lb,world_adm0,{$datasetId}&width=550& height=250&srs=EPSG:4326
You have to use an SLD document stored somehwere else, if you want to register the SLD within the geoserver at the server then you can give it to me and it will become available locally there. You see that apart of the dataset, the layer you talk about, I included some other layers already existing in the server so that the map does not look empty with only the dots, but if you want only the dots to overlay it with something else you can just remove them.
In the report there are some examples (actually this is from where I got this)
I know the whole thing about the DPS is complicate, tell Dave!!, but I really dont know any other way... There is no OGC oficial way of pussing data to a server and create a new layer with it, all I have found is hacks like this DPS. So in general I would say that OGC lacks of a standard to create mapping service, somewhere where you can send points in XML and get back an image... anybody that knows something about this please enlighten me.
(I know a way trough SLD but is actually even more hacky and not enough flexible for what we want).
Cheers.
I suspect the WMS needed will be something like :
wms=http%3A//omtest.cria.org.br/cgi-bin/ogctemp.cgi/
... but that still leaves the question of the layer name.
Can someone enlighten me ?
thanks,
Bart.
Hi
Ok great - if / once you get that sorted, I will validate all the rest of the modelling steps are working ok. If Bart can check that the map display stuff is working as mentioned in his last mail (hi Bart!) the demo should all be hunky dory! I think Pete will be out of contact for the next week or two as he is setttling into his new home in the US of A....
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Hi Tim,
Uhmmm... the only difference between the two logs is that the second is more detailed and shows the variable not defined typical errors.
I am debugging right now... had an error in other file before getting there in the HTML part... I will commit later...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console
gives
me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File
does
not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in
/Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on
line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com: > Give it to me!! I am the master of strange nusoap errors > and
you know
> it :D > > > > > On 06/06/2007, at 20:49, Tim Sutton wrote: > > > > Hi Guys > > > > > > Yes absolutely its all available as opensource already - > > they > can get > > it using anonymouse svn account. I've been working on > > getting
the
> > prototype completed yesterday and on and off this week.
Something
> > seems to have been broken with the layer selection > > screen and Im > > gettin g a strange error from nusoap at this point. Ill > > post
the
> > exact message in a follow up email. > > > > > > Regards > > > > > > Tim > > > > > > 2007/5/30, Javier de la Torre jatorre@gmail.com: > > > Hi all, > > > > > > > > > I am trying to finish what we did in the biodgeosdi > > > meeting
and
> > > going through the emails. > > > > > > > > > > Some people from partner institutes are visiting us > > > > now
for the
> > > EDIT > > > > project. I have shown them what we have done in > > > > Campinas, and > they > > > > were > > > > really interested. > > > > > > > > > > > > We got some nice interaction from them concerning
Mapbuilder and
> > > other > > > > softwares, and they were asking specifically for how > > > > we went > > > about to > > > > get the XMl from the OGC services, and pass it on to > > > > PHP. > > > > > > > > > > > > So, a quick check with all of the team : am I right > > > > that our > code, > > > > once > > > > finished, will be available on the web as open > > > > source ?
For the
> > > moment > > > > you have to log into the CVS server. > > > > > > > > > > > > > > > From my side this is clearly the idea. And expect it > > > really
soon.
> > > > > > > > > Cheers. > > > _______________________________________________ > > > biogeosdi mailing list > > > biogeosdi@lists.tdwg.org > > > http://lists.tdwg.org/mailman/listinfo/biogeosdi > > > > > > > > > > > > > > > > -- > > -- > > Tim Sutton > > > > > > Visit http://qgis.org for a great Open Source GIS > > Home Page: http://linfiniti.com > > Skype: timlinux > > MSN: tim_bdworld@msn.com > > Yahoo: tim_bdworld@yahoo.com > > Jabber: timlinux > > Irc: timlinux on #qgis at freenode.net > > > >
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Bart Meganck,
ICT & GIS engineer, African Zoology Department.
Royal Museum for Central Africa, Leuvensesteenweg 13, B-3080 Tervuren, Belgium.
Tel : +32(0)2 769 56 92 Fax : +32(0)2 767 02 42 Email : bart.meganck@africamuseum.be Website : www.africamuseum.be
###########################################
This message has been scanned by ICT - Africa Museum
26/6/2007 - Filtered through antispam by ICT
biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Hey,
This is very weird. I checked with another tool and the OMWS is working fine returning layers as it should... then I check on the NUSOAP library and it seems that the problem is that the call to the method
$omSoapService->document
which should return the document that the omws returned is truncated almost at the end and therefore the XML does not validate... accessing the response inna an object way seems to work so I am checking if I can solve that.
So... the difference from the workshop might be that there more layers now available under omws?
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and
they
were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our
code,
once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Aghh this **dh?!!!!!hj** nusoap library is truncating the message also on the object style... and is truncating it somehow randomly!
I have to sort this out...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and
they
were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our
code,
once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Aghhhhhhhhh finally I got it!!!!!
It took me 6 hours and at the end I realize I was stupid, like very often happens when you are debugging...
I thought nusoap was truncating the messages from the server and that was the reason the layers where not getting display... I though this because when doing error_logs I was seeing truncated messages... After hours looking at the nusoap library and getting used to manage how PHP read sockets I realize that the problem was that you can not trust on the error_log function because it truncates the messages!!! aghh
At the end the problem is quite simple, the method is just parsing incorrectly the result from the omws service. And the resoan for that is this line on the OmService class:
foreach ($xml->AvailableLayers->LayersGroup->LayersGroup->Layer as $layerelement) {
The simplexml parser we are using there is expecting the layers returned by OM exactly in this structure. Now that, I suppose, Tim has added the layers of the om repository into subversion the structure of the result xml is different and this really hacky and simple way of parsing the getLayers operation does not work. I could easily solve it by changing this line to
foreach ($xml->AvailableLayers->LayersGroup->LayersGroup[1]->Layer as $layerelement) {
But I am not sure what the best option here is... I think Open Modeller should, as I exposed in an earlier message, return only real layers on the server and not just look at the existing files on the server, or at least should not include on the list hidden unix files (like the .svn folders).
If you prefer to keep the layers under the repository the we have to tweak more the code...
In any case I have commited the code with the fix for the time being...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and
they
were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our
code,
once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/bbc81e820e6d0e0c37678a33c8aa7fbc.jpg?s=120&d=mm&r=g)
Hi Javi the master php uber hacker geek..
Well done! Yes at the workshop Aimee and I removed the .svn directory from teh layers dir but I guess whenever someone updates the problem returns. I will move the layers to an out of svn location. Well done! Bonus coconut for you!
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Aghhhhhhhhh finally I got it!!!!!
It took me 6 hours and at the end I realize I was stupid, like very often happens when you are debugging...
I thought nusoap was truncating the messages from the server and that was the reason the layers where not getting display... I though this because when doing error_logs I was seeing truncated messages... After hours looking at the nusoap library and getting used to manage how PHP read sockets I realize that the problem was that you can not trust on the error_log function because it truncates the messages!!! aghh
At the end the problem is quite simple, the method is just parsing incorrectly the result from the omws service. And the resoan for that is this line on the OmService class:
foreach ($xml->AvailableLayers->LayersGroup->LayersGroup->Layer as $layerelement) {
The simplexml parser we are using there is expecting the layers returned by OM exactly in this structure. Now that, I suppose, Tim has added the layers of the om repository into subversion the structure of the result xml is different and this really hacky and simple way of parsing the getLayers operation does not work. I could easily solve it by changing this line to
foreach ($xml->AvailableLayers->LayersGroup->LayersGroup[1]->Layer as $layerelement) {
But I am not sure what the best option here is... I think Open Modeller should, as I exposed in an earlier message, return only real layers on the server and not just look at the existing files on the server, or at least should not include on the list hidden unix files (like the .svn folders).
If you prefer to keep the layers under the repository the we have to tweak more the code...
In any case I have commited the code with the fix for the time being...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console gives me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File does not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor om end point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and you know it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting the prototype completed yesterday and on and off this week. Something seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post the exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting and going through the emails.
Some people from partner institutes are visiting us now for the
EDIT
project. I have shown them what we have done in Campinas, and
they
were really interested.
We got some nice interaction from them concerning Mapbuilder and
other
softwares, and they were asking specifically for how we went
about to
get the XMl from the OGC services, and pass it on to PHP.
So, a quick check with all of the team : am I right that our
code,
once finished, will be available on the web as open source ? For the
moment
you have to log into the CVS server.
From my side this is clearly the idea. And expect it really soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
If you move away the layers from the svn then you have to change back what I did...
And still there is the problem that omws is creating the XML structure for the getLayers operation based on the file structure where the real layers are stored. For example I saw that you had two folders there and our code is only getting the layers from first "group"/folder. Somehow I dont like recursive XML structures like this one, or HTML, because it makes parsing more difficult, but in the other hand I understand that you probably want this behavior.
If someone wanna try then using a SAX parser style, like Dave is doing with occurrences, will solve the problem and not take into consideration the XML structure... At the end it is a kind of theoretic problem, our code is trying to flat a non-flat XML structure.
Uff I really need holidays or I will become a ubersupermastergeek that noone understand, sorry.
Javi.
On 26/06/2007, at 18:54, Tim Sutton wrote:
Hi Javi the master php uber hacker geek..
Well done! Yes at the workshop Aimee and I removed the .svn directory from teh layers dir but I guess whenever someone updates the problem returns. I will move the layers to an out of svn location. Well done! Bonus coconut for you!
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Aghhhhhhhhh finally I got it!!!!!
It took me 6 hours and at the end I realize I was stupid, like very often happens when you are debugging...
I thought nusoap was truncating the messages from the server and that was the reason the layers where not getting display... I though this because when doing error_logs I was seeing truncated messages... After hours looking at the nusoap library and getting used to manage how PHP read sockets I realize that the problem was that you can not trust on the error_log function because it truncates the messages!!! aghh
At the end the problem is quite simple, the method is just parsing incorrectly the result from the omws service. And the resoan for that is this line on the OmService class:
foreach ($xml->AvailableLayers->LayersGroup->LayersGroup->Layer as $layerelement) {
The simplexml parser we are using there is expecting the layers returned by OM exactly in this structure. Now that, I suppose, Tim has added the layers of the om repository into subversion the structure of the result xml is different and this really hacky and simple way of parsing the getLayers operation does not work. I could easily solve it by changing this line to
foreach ($xml->AvailableLayers->LayersGroup->LayersGroup[1]->Layer as $layerelement) {
But I am not sure what the best option here is... I think Open Modeller should, as I exposed in an earlier message, return only real layers on the server and not just look at the existing files on the server, or at least should not include on the list hidden unix files (like the .svn folders).
If you prefer to keep the layers under the repository the we have to tweak more the code...
In any case I have commited the code with the fix for the time being...
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console
gives
me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File
does
not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and
you know
it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting
the
prototype completed yesterday and on and off this week.
Something
seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post
the
exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting
and
going through the emails.
> Some people from partner institutes are visiting us now
for the
EDIT > project. I have shown them what we have done in Campinas, and
they
> were > really interested. > > We got some nice interaction from them concerning
Mapbuilder and
other > softwares, and they were asking specifically for how we went about to > get the XMl from the OGC services, and pass it on to PHP. > > So, a quick check with all of the team : am I right that our
code,
> once > finished, will be available on the web as open source ?
For the
moment > you have to log into the CVS server.
From my side this is clearly the idea. And expect it really
soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
![](https://secure.gravatar.com/avatar/664d10ca0a6bf18cbf3c9999786ad0cb.jpg?s=120&d=mm&r=g)
Hi Javi,
And still there is the problem that omws is creating the XML structure for the getLayers operation based on the file structure where the real layers are stored.
This is not a problem, it's a feature. In our "official" instance of omws there are about 4.000 layers available, which are hierarchically organized in the file system. We wanted omws to represent the layers in the same way.
If someone wanna try then using a SAX parser style, like Dave is doing with occurrences, will solve the problem and not take into consideration the XML structure... At the end it is a kind of theoretic problem, our code is trying to flat a non-flat XML structure.
Although the strucure is recursive, yes, you can very easily get a flat representation of it using SAX. It's up to the client to ignore or not the hierarchy.
Best Regards, -- Renato
![](https://secure.gravatar.com/avatar/c284280780b9f2ccfab1a95ea0640675.jpg?s=120&d=mm&r=g)
Hey Renato!
And still there is the problem that omws is creating the XML structure for the getLayers operation based on the file structure where the real layers are stored.
This is not a problem, it's a feature.
Yes, yes! I know I did not express it correctly, is a problem in our side, not in omws. Altough I think it is a bug to show folders starting with a dot in the XML result. I would assume folders and files starting with a dot to be ignored.
In our "official" instance of omws there are about 4.000 layers available, which are hierarchically organized in the file system. We wanted omws to represent the layers in the same way.
Yes, and thats cool stuff.m For example in Flex I could easily bind this structure into an tree component and I would reproduce without code your file structure. In JS the same could be done with a JQuery component by the way.
If someone wanna try then using a SAX parser style, like Dave is doing with occurrences, will solve the problem and not take into consideration the XML structure... At the end it is a kind of theoretic problem, our code is trying to flat a non-flat XML structure.
Although the strucure is recursive, yes, you can very easily get a flat representation of it using SAX. It's up to the client to ignore or not the hierarchy.
Yes, and I think that is more than enough for this prototype. And actually I couldnt resist and implemented the sax parser on the train back to home. I also added an if to hack the problem with the .svn folders
Everything is commited.
Cheers.
PD: Hey Renato! How are you doing?
participants (4)
-
Javier de la Torre
-
Meganck Bart
-
Renato De Giovanni
-
Tim Sutton