Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a homebrew spatial feature data format, and using Python to write it's API.

It occoured to me that use some tool like QGIS to display my data would be very nice to have, for debug/test purpose.

Though based on QGIS's mail archive this and this, QGIS's Python binding to data provider is access-only, not something can be extended.

And I have not dig deep into OGR DataSource Implementation, but it seems extending that is not very hack-friendly either, and limited to c++.

Then I found Web Feature Service (WFS) is something can be done in Python, but the spec is complicated.

The most decent Python WFS Server I found is featureserver, for now my best try would be hacking featureserver.

Is there any other shortcut that can achieve my goal (custom python datasource to qgis layer) out there that I missed?

Please don't tell me to dump my data to postgis/GeoJson/Shapefile, I'm aware of that and that's not my point...


share|improve this question

migrated from Mar 8 '13 at 13:02

This question came from our site for professional and enthusiast programmers.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.