To activate a layer within a store, you need to configure it.  Now that
you've manually activated the layer, you can get a sample of the appropriate
XML from
/rest/workspaces/sde/coveragestores/sde3/coverages/sd3.xml

Via REST, you would activate such a layer by POSTing an XML document to
/rest/workspaces/sde/coveragestores/sde3/coverages/

(substituting in the proper workspace and coveragestore names in the URL)
Hope this helps.

--
David Winslow
OpenGeo - http://opengeo.org/

On Wed, Aug 25, 2010 at 12:44 PM, SIGFTS <[email protected]> wrote:

>
>
> As an update:
>
> I can create an ArcSDE Raster Store as follows;
>
> cov.xml
> <coverageStore>
>  <id>CoverageStoreInfoImpl--482c9dba:12aa5a86935:-7ff3</id>
>  <name>sde3</name>
>  <type>ArcSDE Raster</type>
>  <enabled>true</enabled>
>  <workspace>
>    <id>WorkspaceInfoImpl-4e0b98bf:12475d46fdd:-7ff9</id>
>  </workspace>
>  <url>sde://u:p...@sdeserverurl:5157/HGLPRD#SDE2.G6299_H3G4_1910_C3</url>
> </coverageStore>
>
> And then the following adds the store;
> curl -u admin:geoserver -XPOST -T cov.xml
> "http://host:8080/geoserver/rest/workspaces/sde/coveragestores"; -H
> 'Content-type: text/xml'
>
> However, the Store is there but the layer is not active. Using the UI I can
> make it active by Adding Layer, selecting my sde Store and the hitting the
> publish link.
>
> So, what's the next step using REST to add/publish the layer that's in the
> ArcSDE data store?
>
> Thanks
>
>
>
>
>
> --
> View this message in context:
> http://old.nabble.com/Using-REST-to-add-an-ArcSDE-raster-tp29527179p29534342.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to