Hi Dave,
If it is just the point-in-polygon overlay - then I believe QGIS server
may be overkill for what you want. As others mentioned I would do a
simple python Script and use GEOS or Postgis to do the overlay. You
could create a microservice for that with the above mentioned tools.
Most likely, QGIS server also would be slightly slower than GEOS or
Postgis, for the overlay operation. However, if you insist on QGIS
server, you could try with a WPS service or a QGIS server plugin. I
believe there is an ongoing project to support QGIS processing models as
a WPS service.
So if you plan to add more such services in the future, you may want to
explore this project
(http://www.3liz.com/blog/rldhont/index.php?post/2015/09/07/wps4server%3A-QGIS-Processing-to-Web-Processing-Service)
Andreas
On 26.02.2016 23:26, Dave Tobias wrote:
I'm new to QGIS and have been a very long time user of a commercial
GIS solution. Their fee to deploy a mapservice has opened my eyes to
other options. I use the term mapservice loosely because what I want
to deploy won't even have a map GUI. It is quite simple actually:
I would like to deploy QGIS such that multiple non--GIS users can use
their individual secure logins to upload a .txt file (in a prescribed
format) which will contain a feature ID, latitude and longitude
coordinate for each row. Then in batch mode, the program would then
overlay the points with a polygon layer I maintain on that server. The
output would be a .txt file containing the input attributes plus 1
attribute added to each row from the polygon layer. No map display
needed, no other user interaction. This is a simple geospatial
operation for which they will pay a nominal fee.
I was able to do this same operation manually with QGIS desktop and I
see there is an API to perform the operation as a script. So...are
there any barriers to me doing this with QGIS/QGIS Server? Is there
support for this use-case already? I searched but didn't come up with
any concrete examples in the forums already - a few were interactive
apps, but I need mine to run in batch mode.
Thanks in advance - hopefully I'm sending to the correct forum!
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user