I could successfully add oracle georaster layers in geoserver using
ImageMosaicJDBC plugin. But now I need to do it dynamically. I suppose REST
is the best way to do it...

I created datastore using rest and curl as follows:

curl -u admin:geoserver -XPOST -v -T "D:\csSAT2.xml" -H 'Content-type:
text/xml'
http://localhost:8084/geoserver/rest/workspaces/Apna/coveragestores

csSAT2.xml is as follows:

                SAT2
                true
                Apna
                ImageMosaicJDBC
                file:data/SAT2.xml


SAT2.xml as follows:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

        
        
        
        
                        
                        
                
                    
                    
                
        
        
                                
                                                

                
                                
                
                
                 
                
                                
        


Datastore is created successfully. For adding layer, i tried following:

curl -u admin:geoserver -XPOST -v -H 'Content-Type: application/xml' -d
"SAT2"
http://localhost:8084/geoserver/rest/workspaces/Apna/coveragestores/SAT2/coverages/

On geoserver Layers page, it displays layer SAT2 but unable to preview it.
When i examined after, layer SAT2 does not contained any information about
projection, bounding box etc.

Can anyone tell me how to add this layer??? Or is there any other way to add
oracle georaster images in geoserver dynamically?


--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Oracle-Georaster-Layer-Configuration-using-REST-api-tp6260294p6260294.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to