Amsterdam / django-gisserver

Django speaking WFS 2.0 to expose geo data
Mozilla Public License 2.0
38 stars 10 forks source link

Non GeoDjango usage? #22

Open pablodegrande opened 1 year ago

pablodegrande commented 1 year ago

Hi. I have a spatial database (it's mysql, but I could port to postgress), and would like to deploy/migrate the beautiful OGC server you've made to my open source app.

Do you think such thing would be possible? What are the main changes or modifications would you point at as preffered to achieve such goal? I want to rehuse all the WFS work you've done, coding the queries to the database if necessary (it's not clear to me in the code how I could wire your code the specific spatial tables I do already have).

Thanks a lot, Pablo.

vdboor commented 10 months ago

Hi! GeoDjango supports both MySQL and PostgreSQL. However, we haven't tested this package on MySQL at all, so you may run into some bugs. Everything we do, is built on top of the Django ORM, and that includes all database-compatibility logic too. So who knows, it might actually work.