[Qgis-user] 2.5d webmaps with qgis2web

Anita Graser anitagraser at gmx.at
Thu Mar 10 10:32:27 PST 2016


Just updated to 1.2.1 and now neither OpenLayers nor Leaflet work.

Best wishes,
Anita



On Thu, Mar 10, 2016 at 7:27 PM, Anita Graser <anitagraser at gmx.at> wrote:

> Hi,
>
> Openlayers prints:
>
> Traceback (most recent call last):
>   File "C:/Users/anita/.qgis2/python/plugins\qgis2web\utils.py", line 122,
> in exportLayers
>     symbol = layer.rendererV2().symbolForFeature(feat)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments
>
>
> ... and Leaflet prints:
>
> Traceback (most recent call last):
>   File
> "C:/Users/anita/.qgis2/python/plugins\qgis2web\leafletLayerScripts.py",
> line 32, in exportJSONLayer
>     symbol = i.rendererV2().symbolForFeature(feat)
> TypeError: Qgs25DRenderer.symbolForFeature(QgsFeature, QgsRenderContext):
> not enough arguments
>
> Reprojected0: 2.5d
>
>
>
> ... so there is this extra "Reprojected0: 2.5d" in the case Leaflet is
> selected.
>
> Best wishes,
> Anita
>
>
>
>
>
> On Thu, Mar 10, 2016 at 2:07 PM, Luigi Pirelli <luipir at gmail.com> wrote:
>
>> I never investigated this problems deeply... happen only on win, and
>> seems that stdout is not available by default (=> bad file descriptor)
>>
>> Anita, did you check if the problem disappear with the qgis python
>> console opened?
>>
>> cheers
>> Luigi Pirelli
>>
>>
>> **************************************************************************************************
>> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
>> * GitHub: https://github.com/luipir
>> * Mastering QGIS:
>> https://www.packtpub.com/application-development/mastering-qgis
>>
>> **************************************************************************************************
>>
>>
>> On 10 March 2016 at 13:46, Tom Chadwin <tom.chadwin at nnpa.org.uk> wrote:
>> > Really? print causes an error in Windows if the console is not open?
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5255594.html
>> > Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>> > _______________________________________________
>> > Qgis-user mailing list
>> > Qgis-user at 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 at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160310/43823975/attachment.html>


More information about the Qgis-user mailing list