Offering from an SOS

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Offering from an SOS

debard
Hi,
i'm a user of sos4r but i have a problem with getCapabilities from 52n-sos
application.
When i use command line in R:
testsos <- SOS("http://xxxxxxxxxxx/52n-sos-webapp/service/pox", dcpFilter =
list("POX" = "/pox"))
sosOfferings(testsos)

> sosOfferings(testsos)
[1] NA

but in my Capabilities i have: 14 offering  , is the same like procedure ...

Do you have a solution ?
Many thanks





--
Sent from: http://geostatistics.forum.52north.org/
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

Daniel Nüst-2
Hi!

On 04/10/17 13:22, debard wrote:

> i'm a user of sos4r but i have a problem with getCapabilities from 52n-sos
> application.
> When i use command line in R:
> testsos <- SOS("http://xxxxxxxxxxx/52n-sos-webapp/service/pox", dcpFilter =
> list("POX" = "/pox"))
> sosOfferings(testsos)
>
>> sosOfferings(testsos)
> [1] NA
>
> but in my Capabilities i have: 14 offering  , is the same like procedure ...
>
> Do you have a solution ?

Not out of the blue. Can you post a reproducible example?
Which SOS version, which sos4R version (sessionInfo() please), and do
you have the same error using a publicly available SOS?

/Daniel


> --
> Sent from: http://geostatistics.forum.52north.org/
> _______________________________________________
> Geostatistics mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geostatistics
> http://geostatistics.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>

--
Daniel Nüst
Institute for Geoinformatics (ifgi),   University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 31962
http://ifgi.uni-muenster.de/~d_nues01        http://o2r.info
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

debard
Hi,

i send you my sessioninfo(): and i completed my post

R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 10586)

Matrix products: default

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252  
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                  
[5] LC_TIME=French_France.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base    

other attached packages:
[1] sos4R_0.3      sp_1.2-5       RCurl_1.95-4.8 bitops_1.0-6   XML_3.98-1.9  

loaded via a namespace (and not attached):
 [1] httr_1.3.1      compiler_3.4.1  R6_2.2.2        tools_3.4.1    
 [5] withr_2.0.0     curl_2.8.1      memoise_1.1.0   grid_3.4.1    
 [9] git2r_0.19.0    digest_0.6.12   devtools_1.13.3 lattice_0.20-35


When i reload my getcapabilities in the server, i have offering NA. But
sometime, i have one or two offerings in the response of the request sos4R.
Not the complete offering ...
Not with other public server   ...
Many thanks
regards






--
Sent from: http://geostatistics.forum.52north.org/
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

debard

Hi,

My problem is :

When i delete my database and push another data and webapp sos application, the offering is read and ok, and after a reload capabilités i have [NA] again. Do you have an idea ?

Thank for your help..

 

De : [hidden email]
Envoyé le :jeudi 12 octobre 2017 09:42
À : [hidden email]
Objet :Re: [52N Geostatistics] Offering from an SOS

 

Hi,

 

i send you my sessioninfo(): and i completed my post

 

R version 3.4.1 (2017-06-30)

Platform: x86_64-w64-mingw32/x64 (64-bit)

Running under: Windows 10 x64 (build 10586)

 

Matrix products: default

 

locale:

[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252  

[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                 

[5] LC_TIME=French_France.1252   

 

attached base packages:

[1] stats     graphics  grDevices utils     datasets  methods   base    

 

other attached packages:

[1] sos4R_0.3      sp_1.2-5       RCurl_1.95-4.8 bitops_1.0-6   XML_3.98-1.9 

 

loaded via a namespace (and not attached):

[1] httr_1.3.1      compiler_3.4.1  R6_2.2.2        tools_3.4.1   

 [5] withr_2.0.0     curl_2.8.1      memoise_1.1.0   grid_3.4.1    

 [9] git2r_0.19.0    digest_0.6.12   devtools_1.13.3 lattice_0.20-35

 

 

When i reload my getcapabilities in the server, i have offering NA. But

sometime, i have one or two offerings in the response of the request sos4R.

Not the complete offering ...

Not with other public server   ...

Many thanks

regards

 

 

 

 

 

 

--

Sent from: http://geostatistics.forum.52north.org/

_______________________________________________

Geostatistics mailing list

[hidden email]

http://list.52north.org/mailman/listinfo/geostatistics

http://geostatistics.forum.52north.org

Please respect our mailing list guidelines:

http://52north.org/resources/mailing-lists-and-forums/guidelines

 

 

 

 

 


_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

Daniel Nüst-2
Hi Stephane,

can you post a reproducible example?

See

https://www.tidyverse.org/help/

and

http://52north.org/resources/mailing-lists-and-forums/guidelines

As of now, I cannot reproduce your error.

Thanks for your understanding.
/Daniel

On 03/11/17 19:16, [hidden email] wrote:

> Hi,
>
> My problem is :
>
> When i delete my database and push another data and webapp sos
> application, the offering is read and ok, and after a reload capabilités
> i have [NA] again. Do you have an idea ?
>
> Thank for your help..
>
>  
>
> *De : *debard <mailto:[hidden email]>
> *Envoyé le :*jeudi 12 octobre 2017 09:42
> *À : *[hidden email] <mailto:[hidden email]>
> *Objet :*Re: [52N Geostatistics] Offering from an SOS
>
>  
>
> Hi,
>
>  
>
> i send you my sessioninfo(): and i completed my post
>
>  
>
> R version 3.4.1 (2017-06-30)
>
> Platform: x86_64-w64-mingw32/x64 (64-bit)
>
> Running under: Windows 10 x64 (build 10586)
>
>  
>
> Matrix products: default
>
>  
>
> locale:
>
> [1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252  
>
> [3] LC_MONETARY=French_France.1252 LC_NUMERIC=C                 
>
> [5] LC_TIME=French_France.1252   
>
>  
>
> attached base packages:
>
> [1] stats     graphics  grDevices utils     datasets  methods   base    
>
>  
>
> other attached packages:
>
> [1] sos4R_0.3      sp_1.2-5       RCurl_1.95-4.8 bitops_1.0-6  
> XML_3.98-1.9 
>
>  
>
> loaded via a namespace (and not attached):
>
> [1] httr_1.3.1      compiler_3.4.1  R6_2.2.2        tools_3.4.1   
>
>  [5] withr_2.0.0     curl_2.8.1      memoise_1.1.0   grid_3.4.1    
>
>  [9] git2r_0.19.0    digest_0.6.12   devtools_1.13.3 lattice_0.20-35
>
>  
>
>  
>
> When i reload my getcapabilities in the server, i have offering NA. But
>
> sometime, i have one or two offerings in the response of the request sos4R.
>
> Not the complete offering ...
>
> Not with other public server   ...
>
> Many thanks
>
> regards
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
> --
>
> Sent from: http://geostatistics.forum.52north.org/
>
> _______________________________________________
>
> Geostatistics mailing list
>
> [hidden email]
>
> http://list.52north.org/mailman/listinfo/geostatistics
>
> http://geostatistics.forum.52north.org
>
> Please respect our mailing list guidelines:
>
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>
>  
>
>  
>
>  
>
>  
>
>  
>
>
>
> _______________________________________________
> Geostatistics mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geostatistics
> http://geostatistics.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>

--
Daniel Nüst
Institute for Geoinformatics (ifgi),   University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 31962
http://ifgi.uni-muenster.de/~d_nues01        http://o2r.info
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

debard
HI Daniel,

i send you my URL SOS and script to read the GetCpabilities. Maybe, is
better than my last posts to find a solution :

testsos <-
SOS("http://vmportailmd-dev.ird.fr:8080/52n-sos-webapp/service/pox",
dcpFilter = list("POX" = "/pox"))
testsosoffering <- sosOfferings(testsos)
testsosoffering


This VM is an exemple with a samples datasets to test the application.

thank you for your help
Stephane




--
Sent from: http://geostatistics.forum.52north.org/
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

Carsten Hollmann
In reply to this post by debard
Hi Stephane,

which version of the 52N SOS do you use?
There was an issue in the capabilities caching process which is fixed in
versions 4.4.1 and 4.3.16.

The new releases are provided here:

   https://github.com/52North/SOS/releases

Best,
Carsten
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

debard
Hi Carsten,
sorry but,
i used the https://github.com/52North/SOS/releases - of 52n sos server in
this test server.
Best
Stéphane






--
Sent from: http://geostatistics.forum.52north.org/
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

Daniel Nüst-2
In reply to this post by debard


On 06/11/17 09:50, debard wrote:
> HI Daniel,
>
> i send you my URL SOS and script to read the GetCpabilities. Maybe, is
> better than my last posts to find a solution :
>
> testsos <-
> SOS("http://vmportailmd-dev.ird.fr:8080/52n-sos-webapp/service/pox",
> dcpFilter = list("POX" = "/pox"))

Looking at the capabilities:
http://vmportailmd-dev.ird.fr:8080/52n-sos-webapp/service/kvp?service=SOS&request=GetCapabilities&acceptVersions=1.0.0&sections=All&acceptFormats=text/xml

<sos:Capabilities version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/sos/1.0
http://schemas.opengis.net/sos/1.0.0/sosAll.xsd
http://www.opengis.net/ows/1.1
http://schemas.opengis.net/ows/1.1.0/owsAll.xsd">

<ows:ServiceIdentification></ows:ServiceIdentification>
<ows:ServiceProvider></ows:ServiceProvider>
<ows:OperationsMetadata></ows:OperationsMetadata>
<sos:Filter_Capabilities></sos:Filter_Capabilities>

</sos:Capabilities>

The SOS does not have any offerings, so sos4R cannot find any.

How did you load the data? You might also find more help on the Sensor
Web community mailing list, since the error so far seems to be in the
SOS configuration.

/Daniel


> testsosoffering <- sosOfferings(testsos)
> testsosoffering
>
>
> This VM is an exemple with a samples datasets to test the application.
>
> thank you for your help
> Stephane
>
>
>
>
> --
> Sent from: http://geostatistics.forum.52north.org/
> _______________________________________________
> Geostatistics mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geostatistics
> http://geostatistics.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>

--
Daniel Nüst
Institute for Geoinformatics (ifgi),   University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 31962
http://ifgi.uni-muenster.de/~d_nues01        http://o2r.info
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

debard
This post was updated on .
In reply to this post by debard
Hi,
yes it's true, in fact is the result after a reload the Capabilities from
the server.

<sos:Contents>...</sos:Contents>     --   disappears

Before, the reload this tag is present in the capabilities. I try this on three different instances of VM and is the same result.

I used the SOSImporter to import data in my database.

thank for your time. Best
Stéphane



--
Sent from: http://geostatistics.forum.52north.org/
_______________________________________________
Geostatistics mailing list
Geostatistics@52north.org
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

debard
Hi,
maybe is better if i post my question in the SWE community forum but just
this message for completed my question: When i push anothers datas with
sosimporter my new offering appears in the capabilities. I don't understand
what happened.
Many thank
Best
Stéphane



--
Sent from: http://geostatistics.forum.52north.org/
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Offering from an SOS

Daniel Nüst-2


On 08/11/17 09:20, debard wrote:
> Hi,
> maybe is better if i post my question in the SWE community forum but just
> this message for completed my question: When i push anothers datas with
> sosimporter my new offering appears in the capabilities. I don't understand
> what happened.

For questions on the SOS importer please use the SWE community forum.

/Daniel

>
>
> --
> Sent from: http://geostatistics.forum.52north.org/
> _______________________________________________
> Geostatistics mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geostatistics
> http://geostatistics.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>

--
Daniel Nüst
Institute for Geoinformatics (ifgi),   University of Münster
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 31962
http://ifgi.uni-muenster.de/~d_nues01        http://o2r.info
_______________________________________________
Geostatistics mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geostatistics
http://geostatistics.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines