Curl is a tool and libcurl is a library for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TFTP, SCP, SFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP.

learn more… | top users | synonyms

0
votes
0answers
53 views

Error to add store through cURL REST API too geoserver

I have problem with adding raster layer to geoserver automatically. I need, that geoserver add layer without person job, only script action and i saw that it may be done with cURL REST API but, i ...
2
votes
1answer
51 views

POST to CartoDB Maps API via NodeJS

We are attempting to port a Python-based CartoDB authentication sample app to NodeJS: The example, "Basic auth middleware with CartoDB," was created by CartoDB labs. We have sucessfully replaced one ...
2
votes
2answers
48 views

How to remove cache from GWC for a specific layer

I am trying to remove the cache from a specific layer using curl so far i got to curl -v -u user:password -XPOST -H "Content-type: text/xml" -d ...
0
votes
1answer
79 views

Building GDAL with libcurl support on Debian Linux

Does anyone know how to build GDAL with libcurl support on Debian Linux (specifically LinuxMint and/or Ubuntu)? After following build instructions here and tip from @EvilGenius below, I'm specifying ...
1
vote
2answers
46 views

Use GeoServer's REST API on feature names with special characters

By default, GeoServer comes preconfigured with some example workspaces, datastores and layers. One of these workspaces is called it.geosolutions. If I try to delete this workspace via cUrl and the ...
1
vote
2answers
84 views

How to request paginated or filtered data from WFS 2.0?

I want to download a data set from a WFS 2.0 server via HTTP GET, with curl for instance. $ curl -X GET http://example.com/wfs/?service=WFS&request=GetFeature ...
0
votes
1answer
52 views

Can you force cartoDB to read a file as a synced table

I'm writing a script that downloads from a data source every hour. I then do some processing on it and convert it to a kml saved in my google drive. As the data is updating every hour I want to be ...
1
vote
0answers
234 views

How to publish layer on geoserver using rest api with PHP CURL

I'm working in a project that I need to publish a layer automatically on geoserver. Searching I discover that the REST API can help me. Studying the REST API I saw that I need to use cURL to do ...
0
votes
0answers
87 views

How to configure feature type and publish layers in Geoserver via REST interface?

I used the parameter ?configure=all at the end of my http request but I noticed that cURL hangs, data are published but cURL does not get back with the response, so what I would like to achieve now is ...
3
votes
3answers
285 views

Geoserver : add extra style (SLD) with Curl

In my geoserver I have a layer with a default style (SLD) and i want to add another style to this layer with Curl. I tried command below with <style></style> instead of ...
0
votes
1answer
125 views

CartoDB import api: upload data from stdin instead of file

I am trying to upload data using the CartoDB import api. Uploading a regular file works but my attempts to upload data from stdin are failing. The example of uploading a file works perfect. curl -F ...
1
vote
1answer
277 views

I converted a KML file into a PostGIS db using ogr2ogr. How do I publish all the tables as seperate layers?

As the title says I converted/imported a KML file into my PostGIS database using the ogr2ogr command. Now I am trying to publish each table as a seperate layer onto a GeoServer. I know about cURL, but ...
0
votes
0answers
1k views

SSL certificate problem: unable to get local issuer certificate with gdal and curl

* Connected to ascendxyzdatastagingweu.blob.core.windows.net (168.61.57.78) port 443 (#0) * libcurl is now using a weak random seed! * SSL certificate problem: unable to get local issuer certificate * ...
0
votes
0answers
248 views

Geoserver2.6. REST cURL automation to add GeoTIFFs (batch)

I would like to add and publish hundreds of GeoTIFFs to my GeoServer datastore. I have started to write a batch file to manage GeoServer by REST API. I have finally figured out how to create a new ...
0
votes
0answers
78 views

vsicurl on shapefile is requesting data outside file size range

ogrinfo --debug on --config CPL_CURL_VERBOSE YES -ro -al -so "/vsicurl/http://ascendxyzdatastagingweu.blob.core.windows.net/915295c046e0428e8f4fc94ce9188133-upload9/JORDSTYKKE.shp" given the above ...
1
vote
1answer
123 views

Geowebcache is does not seed from rest and web UI

I am trying CURL to seed geowebcache: curl -v -u USERNAME:PASSWORD -XPOST -H "Content-type: text/xml" -d ...
2
votes
1answer
478 views

How to delete a GeoServer coveragestore using REST API?

I was wondering if there is any example of using REST API with curl to delete a coverage store? I looked at the examples at the boundless website ...
0
votes
2answers
301 views

Create a named map in CartoDB

I'm trying to create a template map following this tutorial from the cartoDB's maps API. My template.json file { version: "0.0.1", name: "template_1", // embedded authorization certificate ...
2
votes
2answers
565 views

How we can get output for os.system() in python?

I wrote the following command in Geoserver rest-api using curl: cmd=curl -v -u admin:geoserver -XGET -H "Accept: text/xml" ...
4
votes
1answer
2k views

Geoserver WFS - Can I Pass in Filter Parameters via the URL?

I'm trying to use PHP's CURL function to fetch geoJSON information from a GeoServer instance. I'm doing this using url variables rather than trying to construct a full xml GetFeature request. ...
1
vote
1answer
228 views

How to set up a Workspace setting in Geoserver using Curl

I have successfully created a workspace + store + raster layer in Geoserver using Curl in PHP. If I go back to Geoserver's UI and enter the Workspace that I have just created, the Settings: 'Enable' ...
1
vote
0answers
37 views

How to publish a layer with standalone geowebchache in geoserver?

I have a multiple geoservers on two different systems with same port(one is backup for another) and geowebcache in on of the system with different port . Now i want to publish my layers in geoserver ...
2
votes
1answer
204 views

Geoserver projection recognize problem

I'm publishing shape files in geoserver through curl,my problem is that geoserver didn't recognizing the projection which is in ESRI WKT format(layer was publishing).I searched for this problem i ...
0
votes
1answer
139 views

Bounding Box in CuRL Tool(REST API)

I have set my time interval using CuRL tool for automatic Geowebcache.. How to set bounding box in curl command?
0
votes
0answers
14 views

GeoServer - set declared SRS using curl [duplicate]

Can someone give me full syntax of updating the declared srs of a layer that is already present in the geoserver using curl
0
votes
1answer
51 views

GeoServer REST - Applying Style to Multiple layers

I have a bunch of rasters in GeoServer that need to have the same style applied to them as their default style. Is there any way to do this?
0
votes
0answers
175 views

Is it possible to select a service (WMS / WFS) through the Geoserver REST-API?

Is it possible to select a service (WMS / WFS) through the Geoserver REST-API? I know how to add a workspace through the REST-API, like this curl -v -u admin:geoserver -XPOST -H "Content-type: ...
1
vote
0answers
83 views

How to post an existing shapefile datastore using cURL?

I read geoserver doc, and already Uploaded a shapefile to geoserver using cURL. But I can't change layer name by REST. So I think that there is another way to post a layer. If I can post an existing ...
1
vote
2answers
621 views

How to upload a NETCDF to Geoserver using cURL?

I'm trying to upload a NETCDF file (.nc) to Geoserver Store of Coverage ImageMosaic The command is this: curl -v -u admin:geoserver -XPOST -H "Content-type: text/plain" -d ...
1
vote
2answers
481 views

Where can I programmatically download SRTM_V4.1 data?

SRTM v4 is an effort by the folks at CIAT-CSI to scrub, polish, and remove gaps in the raw SRTM data released by NASA (SRTM 3). One userfriendly interface : http://dwtkns.com/srtm/ provides ...
1
vote
0answers
161 views

SLD style definition from GeoServer to Drupal

I've been experimenting with the SLD style definitions in both GeoServer and Drupal. What I want to achieve is to create a new style in GeoServer (by a curl operation, but I know how that works) and ...
2
votes
1answer
418 views

Creating a geoserver layer with curl (but with a bounding box)

I'm attemping to load a layer into Geoserver from a PostGIS database using cURL. It works, but I also need to set the bounding box to -180,-90,180,90. Does anyone know how to add the bounding box to ...
3
votes
1answer
897 views

How to pragmatically upload a shapefile to geoserver using cURL? I'm having problems

I'm building the curl command in a python script, but when I run the script I get this error: * Connected to localhost (127.0.0.1) port 8081 * Server auth using Basic with user 'admin' > PUT ...