[Qgis-user] QGIS Server and CSV-files
Marco Hugentobler
marco.hugentobler at sourcepole.ch
Mon Oct 29 13:28:44 PDT 2012
Tested it with a csv-file and there is indeed a bug in the server code.
Currently, QGIS server displays csv-files only if the project file is
set to absolute paths. I'm going to fill a ticket about that.
Regards,
Marco
On 29.10.2012 19:50, Marco Hugentobler wrote:
> Hi
>
> Delimited text provider should work with QGIS server like the other
> datasources (the plugin is only for the gui, the data reading is done
> in the provider code). But I didn't really try it yet (maybe tomorrow).
>
> Regards,
> Marco
>
>
> On 29.10.2012 16:47, Andreas Neumann wrote:
>> I don't know.
>>
>> CSV files are loaded with a plugin - they are not part of the core data
>> providers.
>>
>> Marco Hugentobler would have to answer this question. I can't answer it,
>> sorry.
>>
>> If you have the chance to use a database (SpatiaLite or Postgis) those
>> are much preferred over csv files. Performance would be better and
>> handling would be easier.
>>
>> Andreas
>>
>> Am 29.10.2012 15:42, schrieb Thomas Baumann:
>>> Hello,
>>>
>>> just a quick question concerning the qgis-server:
>>>
>>> Is it possible to use QGIS-project-files that contain csv-layers?
>>>
>>> I just tried to load a wms-service from such a project-file and get
>>> an "500
>>> Internal Server Error".
>>> If I use qgs-files in combination with shapefiles this error does
>>> not occur.
>>>
>>> In the apache-log I found:
>>>
>>> mod_fcgid: *error reading data*, FastCGI server closed connection,
>>>
>>> Premature end of script headers: qgis_mapserv.fcgi,
>>>
>>> [error] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(9137)
>>> exit(communication error), get unexpected signal 11
>>>
>>>
>>> best wishes,
>>>
>>> Thomas
>>>
>>>
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-user
mailing list