[Geoserver-devel] About REST Extension

Hi all,

I’m newbie to GEOSERVER. I want to know about REST Extension of GEOSERVER, how to use it, how to call it. I try to call REST API through curl in Window XP but it always response in html and also I only can call GET method, not PUT, DELETE… I installed GEOSERVER 1.7.3 and restconfig 1.7.3 extension. Please help me.

Thanks,

Tuan Son

I assume you found the docs? I think this kind of question should be
sent to the user list - this devel list is mostly for people hacking
on geoserver.
Jody

On Sat, Mar 21, 2009 at 3:39 AM, Nguyen Tuan Son <tuanson@anonymised.com> wrote:

Hi all,

I’m newbie to GEOSERVER. I want to know about REST Extension of GEOSERVER,
how to use it, how to call it. I try to call REST API through curl in Window
XP but it always response in html and also I only can call GET method, not
PUT, DELETE… I installed GEOSERVER 1.7.3 and restconfig 1.7.3 extension.
Please help me.

Thanks,

Tuan Son

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

If you tell curl to display headers from the result, ("curl -D -" is the
way I usually do that) you should see you're getting a permissions
error. Non-GET operations against the REST API are disabled for
unauthenticated users, so you should include user info in your request;
you can do this by including user:pass@ in the URL
(http://admin:passwd@anonymised.com:8080/geoserver/…)

Hope this helps.
--
David Winslow
OpenGeo - http://opengeo.org/

On Fri, 2009-03-20 at 17:13 +1100, Jody Garnett wrote:

I assume you found the docs? I think this kind of question should be
sent to the user list - this devel list is mostly for people hacking
on geoserver.
Jody

On Sat, Mar 21, 2009 at 3:39 AM, Nguyen Tuan Son <tuanson@anonymised.com> wrote:
> Hi all,
>
>
>
> I’m newbie to GEOSERVER. I want to know about REST Extension of GEOSERVER,
> how to use it, how to call it. I try to call REST API through curl in Window
> XP but it always response in html and also I only can call GET method, not
> PUT, DELETE… I installed GEOSERVER 1.7.3 and restconfig 1.7.3 extension.
> Please help me.
>
>
>
> Thanks,
>
> Tuan Son
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi Tuan Son,

This query is better made on the users list. Here are some docs that help you though:

http://gridlock.openplans.org/geoserver/1.7.x/doc/user/extensions/rest/

-Justin

Nguyen Tuan Son wrote:

Hi all,

I’m newbie to GEOSERVER. I want to know about REST Extension of GEOSERVER, how to use it, how to call it. I try to call REST API through curl in Window XP but it always response in html and also I only can call GET method, not PUT, DELETE… I installed GEOSERVER 1.7.3 and restconfig 1.7.3 extension. Please help me.

Thanks,

Tuan Son

------------------------------------------------------------------------

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Hi Tuan Son,

If you could keep the discussion on the public mailing list that would be appreciated.

Afaik netcdf will now work properly with the current REST extensions. Others will have to clarify but the reason is that netCDF does not operate like a regular coverage stores. Support for it historically has more or less been a workaround afaik.

-Justin

Nguyen Tuan Son wrote:

Thanks so much,

I can call the REST API now. But now I want to know how can I use NetCDF data file with GEOSERVER. Can
you help me or do you have any suggestion for that ?

Best Regards,
Tuan Son

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.