Hi Alex,
try this if you have the file on your local computer:
curl -u "user:password" -XPUT -H 'Content-type: image/tiff' \
--data-binary @"$LOCAL_GEOTIFF"\
"http://$HOSTNAME:$PORT/geoserver/rest/workspaces/$WORKSPACE/coveragestores/$STORE_NAME/file.geotiff
where variables are the
It worked! Thanks so much!
On Jan 13, 2016 2:58 AM, "Peter Kovac" wrote:
> Hi Alex,
>
> try this if you have the file on your local computer:
>
> curl -u "user:password" -XPUT -H 'Content-type: image/tiff' \
> --data-binary @"$LOCAL_GEOTIFF"\
>
HTTP PUT to
http://localhost:8080/geoserver/rest/workspaces/myworkspace/datastores/test/external.shp
with the content text/plain
file://data_dir/maps/xyz.tiff
fails with "unable to configure datastore, bad parameters. I'm
assuming this is from the .shp extension.
Changing the extension of the
Fantastic, can you point me towards the documentation or any where
with more info?
On Wed, Jan 6, 2016 at 12:36 PM, Jody Garnett wrote:
> The REST API can be used to load and configure raster content. The importer
> can also be pointed at a directory of spatial files and
The REST API can be used to load and configure raster content. The importer
can also be pointed at a directory of spatial files and do a bulk import
... and the importer is also available via a REST API :)
--
Jody Garnett
On 6 January 2016 at 09:24, Alex O'Ree wrote:
> I
I have a large collection of geotiff files, is there a process to
getting them all bulk imported into geoserver? Any kind of script or
command line interface I can use? Perhaps a rest api?
--
Found it here, http://docs.geoserver.org/stable/en/user/rest/api/datastores.html
thanks for the pointer!
On Wed, Jan 6, 2016 at 12:54 PM, Alex O'Ree wrote:
> Fantastic, can you point me towards the documentation or any where
> with more info?
>
> On Wed, Jan 6, 2016 at