Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is publishWMSLayer? #195

Open
icemagno opened this issue Jul 3, 2016 · 0 comments
Open

Where is publishWMSLayer? #195

icemagno opened this issue Jul 3, 2016 · 0 comments

Comments

@icemagno
Copy link

icemagno commented Jul 3, 2016

I have a URL from a Layer in other Geoserver and trying to add it as a WMS layer in my Geoserver. I can't find any examples to do this.

The URL is something like http://www.geoservicos.ibge.gov.br/geoserver/CREN/wms?service=WMS&version=1.1.0&request=GetMap&layers=HidrogeologiaRegiaoNE

My Maven include is:

  <dependency>
    <groupId>it.geosolutions</groupId>
    <artifactId>geoserver-manager</artifactId>
    <version>1.7.0</version>
  </dependency> 

Looking in 764c3d3 I see a publishWMSLayer method in the GeoServerRESTPublisher class but in my code I can't find this method.

        GeoServerRESTReader reader = new GeoServerRESTReader(restUrl, username, password);
        GeoServerRESTPublisher publisher = new GeoServerRESTPublisher(restUrl, username, password);

        publisher.publish ??????

What I'm doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant