All Projects → gicait → geoserver-rest

gicait / geoserver-rest

Licence: MIT license
Python library for management for geospatial data in GeoServer. The geoserver-rest docs is available here,

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to geoserver-rest

interpies
A collection of functions for reading, displaying, transforming and analyzing geophysical data.
Stars: ✭ 26 (-78.15%)
Mutual labels:  raster, gdal
awesome-geospatial-list
A curated list of geospatial tools, data, tutorials, information, and more
Stars: ✭ 32 (-73.11%)
Mutual labels:  raster, gdal
XArrayAndRasterio
Experimental code for loading/saving XArray DataArrays to Geographic Rasters using rasterio
Stars: ✭ 21 (-82.35%)
Mutual labels:  raster, gdal
GDAL.jl
Thin Julia wrapper for GDAL - Geospatial Data Abstraction Library
Stars: ✭ 78 (-34.45%)
Mutual labels:  raster, gdal
Earthenterprise
Google Earth Enterprise - Open Source
Stars: ✭ 2,425 (+1937.82%)
Mutual labels:  raster, gdal
gismanager
Publish Your GIS Data(Vector Data) to PostGIS and Geoserver
Stars: ✭ 45 (-62.18%)
Mutual labels:  geoserver, gdal
Geocube
Tool to convert geopandas vector data into rasterized xarray data.
Stars: ✭ 87 (-26.89%)
Mutual labels:  raster, gdal
Datacube Core
Open Data Cube analyses continental scale Earth Observation data through time
Stars: ✭ 285 (+139.5%)
Mutual labels:  raster, gdal
Titiler
A dynamic Web Map tile server
Stars: ✭ 153 (+28.57%)
Mutual labels:  raster, gdal
Rioxarray
geospatial xarray extension powered by rasterio
Stars: ✭ 148 (+24.37%)
Mutual labels:  raster, gdal
Rasterio
Rasterio reads and writes geospatial raster datasets
Stars: ✭ 1,643 (+1280.67%)
Mutual labels:  raster, gdal
GeoArrays.jl
Simple geographical raster interaction built on top of ArchGDAL, GDAL and CoordinateTransformations
Stars: ✭ 42 (-64.71%)
Mutual labels:  raster, gdal
Rio Tiler
Rasterio plugin to create web map tiles from raster datasets.
Stars: ✭ 221 (+85.71%)
Mutual labels:  raster, gdal
GeoFuse
Thematic Engine for Dynamic CSV or Tab Delimited Data
Stars: ✭ 15 (-87.39%)
Mutual labels:  geoserver, sld
NetCDF.jl
NetCDF support for the julia programming language
Stars: ✭ 102 (-14.29%)
Mutual labels:  raster
30DayMapChallenge
My contributions to the #30DayMapChallenge 2019, a daily challenge focusing on spatial visualizations happening throughout November.
Stars: ✭ 170 (+42.86%)
Mutual labels:  raster
terraform-google-group
Manages Google Groups
Stars: ✭ 28 (-76.47%)
Mutual labels:  workspace
vscode-powertools
A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
Stars: ✭ 44 (-63.03%)
Mutual labels:  workspace
enmSdm
Faster, better, smarter ecological niche modeling and species distribution modeling
Stars: ✭ 39 (-67.23%)
Mutual labels:  raster
geospatial-storytelling
Visualization of gps tracking data
Stars: ✭ 20 (-83.19%)
Mutual labels:  gdal

Downloads License: MIT

Full documentation

The documentation for this project is moved here: https://geoserver-rest.readthedocs.io/.

Overview

The geoserver-rest package is useful for the management of geospatial data in GeoServer. The package is useful for the creating, updating and deleting geoserver workspaces, stores, layers, and style files.

Installation

conda install -c conda-forge geoserver-rest

For the pip installation, check the official documentation of geoserver-rest

Some examples

Please check the https://geoserver-rest.readthedocs.io/ for full documentation.

# Import the library
from geo.Geoserver import Geoserver

# Initialize the library
geo = Geoserver('http://127.0.0.1:8080/geoserver', username='admin', password='geoserver')

# For creating workspace
geo.create_workspace(workspace='demo')

# For uploading raster data to the geoserver
geo.create_coveragestore(layer_name='layer1', path=r'path\to\raster\file.tif', workspace='demo')

# For creating postGIS connection and publish postGIS table
geo.create_featurestore(store_name='geo_data', workspace='demo', db='postgres', host='localhost', pg_user='postgres',
                        pg_password='admin')
geo.publish_featurestore(workspace='demo', store_name='geo_data', pg_table='geodata_table_name')

# For uploading SLD file and connect it with layer
geo.upload_style(path=r'path\to\sld\file.sld', workspace='demo')
geo.publish_style(layer_name='geoserver_layer_name', style_name='sld_file_name', workspace='demo')

# For creating the style file for raster data dynamically and connect it with layer
geo.create_coveragestyle(raster_path=r'path\to\raster\file.tiff', style_name='style_1', workspace='demo',
                         color_ramp='RdYiGn')
geo.publish_style(layer_name='geoserver_layer_name', style_name='raster_file_name', workspace='demo')

# delete workspace
geo.delete_workspace(workspace='demo')

# delete layer
geo.delete_layer(layer_name='agri_final_proj', workspace='demo')

# delete style file
geo.delete_style(style_name='kamal2', workspace='demo')

Citation

Full paper is available here: https://doi.org/10.5194/isprs-archives-XLVI-4-W2-2021-91-2021

@Article{isprs-archives-XLVI-4-W2-2021-91-2021,
      AUTHOR = {Tek Bahadur Kshetri, Angsana Chaksana and Shraddha Sharma},
      TITLE = {THE ROLE OF OPEN-SOURCE PYTHON PACKAGE GEOSERVER-REST IN WEB-GIS DEVELOPMENT},
      JOURNAL = {The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
      VOLUME = {XLVI-4/W2-2021},
      YEAR = {2021},
      PAGES = {91--96},
      URL = {https://www.int-arch-photogramm-remote-sens-spatial-inf-sci.net/XLVI-4-W2-2021/91/2021/},
      DOI = {10.5194/isprs-archives-XLVI-4-W2-2021-91-2021}
  }

Contribution

Geoserver-rest is the open source library written in python and contributors are needed to keep this library moving forward. Any kind of contributions are welcome. Here are the basic rule for the new contributors:

  1. Please use the request library for the http request.
  2. One feature per pull request (If the PR is huge, you need to create a issue and discuss).
  3. Please add the update about your PR on the change log documentation as well.

Acknowledgements

Created and managed by Tek Bahadur Kshetri for the activites of Geoinformatics Center of Asian Institute of Technology, Thailand.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].