bjornharrtell / corewms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoreWms

CircleCI Nuget

A WMS implementation in .NET 6 using SkiaSharp as the rendering engine.

Supports PostgreSQL/PostGIS and FlatGeobuf as data sources and SLD 1.0 as styling language.

Subproject folders WebApp and Function are intended to be starting points for hosting an instance with ASP.NET Core and Azure Function respectively, but can essentially be used as is.

Open source under the BSD 2-Clause License.

Performance

Early results indicate that CoreWms can produce a layered style 500x500 pixel PNG from 100 000 road segments from OpenStreetMap in approximately half the amount of time compared to GeoServer.

TODO

  • Schema validated capabilities document output
  • Complete non spatial filter support
  • Complete symbolizer support
  • More usage documentation

Stretch goals

  • Dynamic styling support
  • Spatial filtering support (other than bbox)
  • SLD 1.1 support

Non goals

  • Remote sources
  • Reprojection
  • Raster sources

How to run / usage

Should be runnable out of the box with dotnet run --project WebApp.

See WebApp/appsettings.json for a configuration example. SLD files corresponding to layer name is expected to be found at DataPath (default is current path) in a subfolder named sld.

Example requests

About

License:BSD 2-Clause "Simplified" License


Languages

Language:C# 98.6%Language:Scheme 1.4%