Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE][QGIS-Server] Add Web Coverage Service support : funded Ifremer #1025

Merged
merged 1 commit into from
Dec 16, 2013

Conversation

rldhont
Copy link
Contributor

@rldhont rldhont commented Dec 12, 2013

QGIS-Server already supports standards : Web Map Service (WMS version 1.3.0
and 1.1.1) and Web Feature Service (WFS version 1.0.0) and Web Feature
Service with Transaction (WFS-T).
The French Research Institute, Ifremer, would like that QGIS-Server supports
all the OGC standards.
We (3Liz) are implementing the Web Coverage Service (WCS version 1.0.0)
support in QGIS-Server.

QGIS-Server already supports standards : Web Map Service (WMS version 1.3.0
and 1.1.1) and Web Feature Service (WFS version 1.0.0) and Web Feature
Service with Transaction (WFS-T).
The French Research Institute, Ifremer, would like that QGIS-Server supports
all the OGC standards.
We (3Liz) are implementing the Web Coverage Service (WCS version 1.0.0)
support in QGIS-Server.
@gioman
Copy link
Contributor

gioman commented Dec 13, 2013

Very nice news! Thanks!

@mhugent
Copy link
Contributor

mhugent commented Dec 16, 2013

QGIS as a WCS server, that's really cool!

mhugent added a commit that referenced this pull request Dec 16, 2013
[FEATURE][QGIS-Server] Add Web Coverage Service support : funded Ifremer
@mhugent mhugent merged commit c034a4d into qgis:master Dec 16, 2013
@rldhont rldhont deleted the wcs branch December 16, 2013 14:16
@slarosa
Copy link
Member

slarosa commented Jan 9, 2014

Hi René,
I am trying this great feature but unfortunately getting a segfault. I am not sure whether it depend from your changes, but in stacktrace (below) I see something related to WCS stuff, it occurs when I change CRS in project properties dialog QGIS crashes:

Program received signal SIGSEGV, Segmentation fault.
0x000000000079df7f in QgsProjectProperties::apply (this=0x58aac30)
    at /home/sam/pacchetti_gis/QGIS/src/app/qgsprojectproperties.cpp:841
841     QString id = twWCSLayers->item( i, 0 )->data( Qt::UserRole ).toString();
(gdb) bt
#0  0x000000000079df7f in QgsProjectProperties::apply (this=0x58aac30)
    at /home/sam/pacchetti_gis/QGIS/src/app/qgsprojectproperties.cpp:841
#1  0x000000000092c70e in QgsProjectProperties::qt_static_metacall (_o=0x58aac30, _c=QMetaObject::InvokeMetaMethod, _id=4, 
    _a=0x7fffffffa3b0) at /home/sam/pacchetti_gis/QGIS/build-master/src/app/moc_qgsprojectproperties.cxx:126
#2  0x00007ffff353054f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007ffff353054f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007ffff353054f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007ffff2f29f32 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x00007ffff2c7e06e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007ffff2c7e8a0 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007ffff2c7eb0c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#9  0x00007ffff2913e10 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007ffff28c470c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ffff28c93eb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff49b0a48 in QgsApplication::notify (this=0x7fffffffd920, receiver=0x57953b0, event=0x7fffffffaff0)
    at /home/sam/pacchetti_gis/QGIS/src/core/qgsapplication.cpp:229
#13 0x00007ffff351ab5e in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4

Steps:

  • load postgis layer (32633)
  • load raster layer (32633)
  • change crs to 4326
  • QGIS crashes

Also, I noticed that when add a new layer, which is different from Raster, it adds a new empty row into table (see image)

schermata del 2014-01-07 15 10 31

Please, could you check out it ?

Thanks!

slarosa referenced this pull request Jan 9, 2014
In the project properties OWS tab, the user can select the layers he
would like to publish in a Web Coverage Service.
@rldhont
Copy link
Contributor Author

rldhont commented Jan 10, 2014

Hi Salvatore,

My steps to the crash :

  • add a raster layer
  • add a vector layer
  • open project properties
  • change the project CRS, automatic reprojection is already active
  • save the changes
  • navigate in the map
  • open the project properties -> CRASH

I'll investigate

@rldhont
Copy link
Contributor Author

rldhont commented Jan 10, 2014

I corrected it
commit 443a416

@slarosa
Copy link
Member

slarosa commented Jan 10, 2014

Works fine now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants