Layer Uploads
APIs to upload data
AddSourceLayerAccepted
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
from felt_python import (refresh_file_layer, refresh_url_layer)
refresh_file_layer(map_id, layer_id, file_name="features.geojson")
refresh_url_layer(map_id, layer_id)The ID of the map hosting the layer to refresh
The ID of the layer to refresh
Refresh response
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
from felt_python import upload_file
upload_file(map_id, file_name="features.geojson", layer_name="My new layer")The ID of the map to upload the layer to.
A public URL containing geodata to import, in place of uploading a file.
(Image uploads only) The latitude of the image center.
(Image uploads only) The longitude of the image center.
The display name for the new layer.
(Image uploads only) The zoom level of the image.
Upload layer response
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
Last updated
Was this helpful?