[Geoserver-users] Updating coveragestore URL - REST API

2018-02-28 Thread kralik
Hi!

I am trying to modify coveragestore URL (with Geoserver REST API), with
purpose of getting up-to-date coverage that's been created every 15 min,
but I end up getting:
< HTTP/1.1 405 Method Not Allowed
< Allow: DELETE, GET, PUT

This is my method (using PHP):

$filename = "GEOTIF_201802280845.tif" // This variable is changable, and I
always get it automatically in a form GEOTIF_mmddhmin.tif
...
// POST
$request = "rest/workspaces/ws_name/coveragestores";
...
//POST data
$xmlStr = "

coveragestorename
GeoTIFF
true
ws_name
 file:///path/to/the/file/". $filename . "

";

Can someone point out what am I doing wrong?

Thanks in advance!

Daria







--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Updating coveragestore URL - REST API

2018-02-28 Thread kralik
I apologize, correction to previous post:

// PUT request
$request = "rest/workspaces/ws_name/coveragestores/coveragestore_name;

// PUT data (its same as in POST)
$xmlStr = "

coveragestorename
GeoTIFF
true
ws_name
 file:///path/to/the/file/". $filename . "

";

> Hi!
>
> I am trying to modify coveragestore URL (with Geoserver REST API), with
> purpose of getting up-to-date coverage that's been created every 15 min,
> but I end up getting:
> < HTTP/1.1 405 Method Not Allowed
> < Allow: DELETE, GET, PUT
>
> This is my method (using PHP):
>
> $filename = "GEOTIF_201802280845.tif" // This variable is changable, and I
> always get it automatically in a form GEOTIF_mmddhmin.tif
> ...
> // POST
> $request = "rest/workspaces/ws_name/coveragestores";
> ...
> //POST data
> $xmlStr = "
> 
> coveragestorename
> GeoTIFF
> true
> ws_name
>  file:///path/to/the/file/". $filename . "
> 
> ";
>
> Can someone point out what am I doing wrong?
>
> Thanks in advance!
>
> Daria
>
>
>
>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] NetCDF-4 library not present on GeoServer start-up

2018-02-28 Thread Maria Krommyda via Geoserver-users
Hello everyone, 
Let me start be giving you the current status of my installation progress. I 
have installed on a Ubuntu 16.04 machine with openjdk version 1.8.0_151 the 
Geoserver 2.12.2 using the Jetty server.I have successfully installed the WPS, 
importer and geomesa-accumulo extentions.I am currently trying to install the 
NetCDF extention.I have downloaded the correct jar for the GeoServer version, 
added them to the lib folder in the geoserver_path/webapps/geoserver/WEB-INF 
and I can see the NetCDF option under Create new data source->Raster data 
source-> NetCDF.
I have also tried, but apparently failed, to install the NetCDF-4 native 
libraries as I need to import NetCDF-4 data files. I have followed the 
instruction 
http://docs.geoserver.org/stable/en/user/extensions/netcdf-out/nc4.html but 
upon starting the GeoServer I get the error:
WARN [serverStartup] - Nc4Iosp: NetCDF-4 C library not present 
(jna_path='/usr/local/lib/', libname='netcdf').
Please note that the jna_path is not null, as it is implied in the installation 
instructions, in the error that I get, however it is not set by me and running 
echo $jna_path from the same terminal, before and after starting the GeoServer 
returns the expected null.I think that the error might come from step 5 in the 
installation instructions where it say "Make sure to add the lib folder of the 
package you have extracted, to the PATH environment variable."I am not sure to 
which extracted package is referred, given that none of the zlib, hdf5 and 
NetCDF-4 downloads include a lib folder. What I did instead was add the lib 
folder of my installation directory, based on the example 
/work/libs/nc4libs/lib, to the PATH environment.I have also tried to install 
the NetCDF-4 library at the /usr/local/lib/ path but that didn't change the 
behavior.
Any help and ideas of what might cause such error are highly appreciated. If 
you need any additional information please let me.
Thank you very much for you time, Maria.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] How to update/delete postgis tables via REST

2018-02-28 Thread viriato
I am interested! And I've read the guidelines posted in one of the replies,
but I'm also not sure how useful this might be for the community in general,
at the moment (considering the replies meanwhile). 
I have no doubt that if a rest api already exists and have a logic behind
each HTTP request, to make it actually do what is documented  is the minimum
one expects. Regarding databases, it could simply forbid operations but, at
the moment, it does half the job by updating only xml metadata files and
making geoserver incoherent with data itself (which, in consequence, makes
the layer not usable anymore).
As a workaround, as I control both frontend and backend, I was able to build
a separate piece of software to do these updates on database, on request
(alter and drop table, which were plain simple to make). What took a bit
more time to do was related to user authentication. Nothing of this would be
needed if put and delete behave properly on DB:)



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Mosaic with different SRID 25830 and 25831

2018-02-28 Thread Joako78
Thanks a lot Brad. Sorry for being late in answering. There must have been
some troubles in the mailing list because i haven´t received your answer by
email. I noticed it searching by google. I´ll try to use the new
functionality you comment.

Thanks again!




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] NetCDF-4 library not present on GeoServer start-up

2018-02-28 Thread Ben Caradoc-Davies

Maria,

the easiest way to install the NetCDF-4 native libraries on Ubuntu 16.04 
is to install the binary package provided by your distribution with:


sudo update
sudo apt-get install libnetcdf11

Restart Jetty and everything should just work.

The GeoServer documentation should suggest using distribution packages 
where available, rather than building from source.


Kind regards,
Ben.

On 01/03/18 01:56, Maria Krommyda via Geoserver-users wrote:

Hello everyone,
Let me start be giving you the current status of my installation progress. I have 
installed on a Ubuntu 16.04 machine with openjdk version 1.8.0_151 the Geoserver 
2.12.2 using the Jetty server.I have successfully installed the WPS, importer and 
geomesa-accumulo extentions.I am currently trying to install the NetCDF extention.I 
have downloaded the correct jar for the GeoServer version, added them to the lib 
folder in the geoserver_path/webapps/geoserver/WEB-INF and I can see the NetCDF 
option under Create new data source->Raster data source-> NetCDF.
I have also tried, but apparently failed, to install the NetCDF-4 native 
libraries as I need to import NetCDF-4 data files. I have followed the 
instruction 
http://docs.geoserver.org/stable/en/user/extensions/netcdf-out/nc4.html but 
upon starting the GeoServer I get the error:
WARN [serverStartup] - Nc4Iosp: NetCDF-4 C library not present 
(jna_path='/usr/local/lib/', libname='netcdf').
Please note that the jna_path is not null, as it is implied in the installation 
instructions, in the error that I get, however it is not set by me and running echo 
$jna_path from the same terminal, before and after starting the GeoServer returns the 
expected null.I think that the error might come from step 5 in the installation 
instructions where it say "Make sure to add the lib folder of the package you have 
extracted, to the PATH environment variable."I am not sure to which extracted 
package is referred, given that none of the zlib, hdf5 and NetCDF-4 downloads include a 
lib folder. What I did instead was add the lib folder of my installation directory, based 
on the example /work/libs/nc4libs/lib, to the PATH environment.I have also tried to 
install the NetCDF-4 library at the /usr/local/lib/ path but that didn't change the 
behavior.
Any help and ideas of what might cause such error are highly appreciated. If 
you need any additional information please let me.
Thank you very much for you time, Maria.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Mosaic with different SRID 25830 and 25831

2018-02-28 Thread Ben Caradoc-Davies
SourceForge had an up to 10 day outage of mailing lists after they ran 
into problems migrating their data centre and then suffered a DDOS attack.


On 01/03/18 04:56, Joako78 wrote:

Thanks a lot Brad. Sorry for being late in answering. There must have been
some troubles in the mailing list because i haven´t received your answer by
email. I noticed it searching by google. I´ll try to use the new
functionality you comment.

Thanks again!




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Geowebcache-devel] [Geoserver-devel] SourceForge mailing lists unstable

2018-02-28 Thread Jody Garnett
I would be willing to migrate to OSGeo mailman, if we can somehow get our
history out of SF. Or I guess even if we cannot...

--
Jody Garnett

On 27 February 2018 at 21:02, Ben Caradoc-Davies  wrote:

> Well, mail is getting through, after ten days. Snail mail, anyone? At
> least it is nice to know that mail was not lost (as far as I can tell).
>
> Kind regards,
> Ben.
>
>
> On 20/02/18 07:02, Torben Barsballe wrote:
>
>> This is a general warning that the SourceForge mailing lists currently
>> appear to be unstable, with mail not being delivered in a timely manner,
>> or
>> simply being lost.
>> If you are not getting replies, it is possible that know one has seen your
>> message.
>>
>> A ticket for this issue has been opened here:
>> https://sourceforge.net/p/forge/site-support/16501/
>>
>> Torben
>>
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>
>>
>>
>> ___
>> Geoserver-devel mailing list
>> geoserver-de...@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
> --
> Ben Caradoc-Davies 
> Director
> Transient Software Limited 
> New Zealand
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Geowebcache-devel mailing list
> geowebcache-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geowebcache-devel
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Σχετ: NetCDF-4 library not present on GeoServer start-up

2018-02-28 Thread Maria Krommyda via Geoserver-users
Dear Ben, 
Thank you for your response.Unfortunately this did not solve my problem.
I even tried a clean built, on a fresh VM, with only GeoSerever 2.12.2, 
NetCDF-4 and the library installation as you suggested, fearing that my 
multiple attempts to install the library in the previous VM had resulted in 
some conflicts, but I still get the same error.
Is it possible that I am missing an additional package?
Best regards, Maria.

 

Στις 10:48 μ.μ. Τετάρτη, 28 Φεβρουαρίου 2018, ο/η Ben Caradoc-Davies 
 έγραψε:
 

 Maria,

the easiest way to install the NetCDF-4 native libraries on Ubuntu 16.04 
is to install the binary package provided by your distribution with:

sudo update
sudo apt-get install libnetcdf11

Restart Jetty and everything should just work.

The GeoServer documentation should suggest using distribution packages 
where available, rather than building from source.

Kind regards,
Ben.

On 01/03/18 01:56, Maria Krommyda via Geoserver-users wrote:
> Hello everyone,
> Let me start be giving you the current status of my installation progress. I 
> have installed on a Ubuntu 16.04 machine with openjdk version 1.8.0_151 the 
> Geoserver 2.12.2 using the Jetty server.I have successfully installed the 
> WPS, importer and geomesa-accumulo extentions.I am currently trying to 
> install the NetCDF extention.I have downloaded the correct jar for the 
> GeoServer version, added them to the lib folder in the 
> geoserver_path/webapps/geoserver/WEB-INF and I can see the NetCDF option 
> under Create new data source->Raster data source-> NetCDF.
> I have also tried, but apparently failed, to install the NetCDF-4 native 
> libraries as I need to import NetCDF-4 data files. I have followed the 
> instruction 
> http://docs.geoserver.org/stable/en/user/extensions/netcdf-out/nc4.html but 
> upon starting the GeoServer I get the error:
> WARN [serverStartup] - Nc4Iosp: NetCDF-4 C library not present 
> (jna_path='/usr/local/lib/', libname='netcdf').
> Please note that the jna_path is not null, as it is implied in the 
> installation instructions, in the error that I get, however it is not set by 
> me and running echo $jna_path from the same terminal, before and after 
> starting the GeoServer returns the expected null.I think that the error might 
> come from step 5 in the installation instructions where it say "Make sure to 
> add the lib folder of the package you have extracted, to the PATH environment 
> variable."I am not sure to which extracted package is referred, given that 
> none of the zlib, hdf5 and NetCDF-4 downloads include a lib folder. What I 
> did instead was add the lib folder of my installation directory, based on the 
> example /work/libs/nc4libs/lib, to the PATH environment.I have also tried to 
> install the NetCDF-4 library at the /usr/local/lib/ path but that didn't 
> change the behavior.
> Any help and ideas of what might cause such error are highly appreciated. If 
> you need any additional information please let me.
> Thank you very much for you time, Maria.
> 
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> 
> 
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 

-- 
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand


   --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users