1

There are several discussion about implementing (or not implementing) WFS with .net from scratch.

However, if I do need to, how do I get started?

I know it's a broad question. I need help getting started. Any kind of walk through will be helpful.

I am looking for a step by step walkthrough with details assuming I'm just a GIS person with limited knowledge to a lot of programming concepts.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Garima V
  • 128
  • 1
  • 7

1 Answers1

2

Let me start by saying: This is a bad idea, please go and investigate any of the existing WFS server solutions that have been tested and developed for many years that will get you up and running in a day.

Still here then here's the plan:

  1. download and read the WFS Spec
  2. write C# code to handle all the request end points listed in the spec (the 1st 3 are mandatory)

    1. getCapabilities
    2. DescribeFeatureType
    3. GetFeature
    4. GetGmlObject
    5. Transaction
    6. LockFeature
  3. Write C# code to talk to the SQL spatial DB

  4. write C# code to convert SQL spatial objects to GML (don't forget to implement GML2 and GML3)
  5. write some tests (and then run and pass the CITE tests).
  6. futz about trying to understand how the ESRI guys implmented the client end (hint not quite the same as everyone else).

Seriously this is a bad plan

Ian Turton
  • 81,417
  • 6
  • 84
  • 185