Description Usage Arguments Value
publish a sp object to geoserver using RESTful API via curl
1 | dt_publishSP2GeoServer(spobj, layerprefix = "my_")
|
spobj |
A sp object. IMPORTANT: Each column of spobj MUST NOT have attribute name exceeding length (int)10, failed to do so may result in NO Style being generated on GeoServer |
layerprefix |
a prefix for layer name, will make the generated data layers in GeoServer more identifiable |
A wfs url string of successfully published data layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.