Integration of QGIS mapserver to svn?

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Integration of QGIS mapserver to svn?

Marco Hugentobler-4
Hi all

The QGIS mapserver project implements a WMS server on top of the QGIS
libraries (funded by the EU projects Orchestra, Sany and the city of Uster).

With the recent additions in the QGIS mapserver project, the server is now
very convenient to use and to configure. Jürgen therefore suggested to include
the server code directly into the QGIS subversion repository, and I too think
this is a good idea.

The patch that includes the integration is attached to ticket 2959,
http://trac.osgeo.org/qgis/ticket/2959 (thanks to Jürgen Fischer and Pirmin
Kalberer!).
The mapserver introduces one new dependency (libfcgi), but it is optional and
the mapserver will just not be built without it.

What is your opinion about an integration?


Regards,
Marco


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Webereistrasse 66, 8134 Adliswil, Switzerland
[hidden email] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

pcav
Il 20/08/2010 10:08, Marco Hugentobler ha scritto:
> What is your opinion about an integration?

That would be great. +1 for me.
Thanks!
--
Paolo Cavallini: http://www.faunalia.it/pc
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Alexander Bruy
In reply to this post by Marco Hugentobler-4
2010/8/20 Marco Hugentobler <[hidden email]>:
> What is your opinion about an integration?

This is another great addition from you
+1 from me too


--
Alexander Bruy
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Martin Dobias
In reply to this post by Marco Hugentobler-4
On Fri, Aug 20, 2010 at 10:08 AM, Marco Hugentobler
<[hidden email]> wrote:

> Hi all
>
> The QGIS mapserver project implements a WMS server on top of the QGIS
> libraries (funded by the EU projects Orchestra, Sany and the city of Uster).
>
> With the recent additions in the QGIS mapserver project, the server is now
> very convenient to use and to configure. Jürgen therefore suggested to include
> the server code directly into the QGIS subversion repository, and I too think
> this is a good idea.
>
> [...]
>
> What is your opinion about an integration?

Hi Marco

yes I think this would be a nice addition!

Martin
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Borys Jurgiel-2
In reply to this post by Marco Hugentobler-4
> What is your opinion about an integration?

Time for the server market! :) In the present state it was totally invisible
and underestimated.

+1 of course!
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Tim Sutton-4
+1 from me too!

Regards

Tim

On Fri, Aug 20, 2010 at 11:54 AM, Borys Jurgiel <[hidden email]> wrote:

>> What is your opinion about an integration?
>
> Time for the server market! :) In the present state it was totally invisible
> and underestimated.
>
> +1 of course!
> _______________________________________________
> Qgis-developer mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Andreas Neumann-4
In reply to this post by Borys Jurgiel-2
  +1

We think that QGIS mapserver has a great potential because it can now be
fully graphically configured, without having to manually write map files
or SLDs.

It certainly will improve our own productivity since we can now leverage
existing Desktop-GIS projects also for the web.

I also hope that it can be continuously improved in the future (e.g.
towards SVG and PDF output, using existing map layouts for printing also
on the web), etc.

Being part of the official SVN source will certainly help.

Thanks,
Andreas

On 8/20/10 11:54 AM, Borys Jurgiel wrote:
>> What is your opinion about an integration?
> Time for the server market! :) In the present state it was totally invisible
> and underestimated.
>
> +1 of course!
> _______________________________________________
> Qgis-developer mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Richard Duivenvoorde
In reply to this post by Marco Hugentobler-4
Marco Hugentobler wrote:

> Hi all
>
> The QGIS mapserver project implements a WMS server on top of the QGIS
> libraries (funded by the EU projects Orchestra, Sany and the city of Uster).
>
> With the recent additions in the QGIS mapserver project, the server is now
> very convenient to use and to configure. Jürgen therefore suggested to include
> the server code directly into the QGIS subversion repository, and I too think
> this is a good idea.
>
> The patch that includes the integration is attached to ticket 2959,
> http://trac.osgeo.org/qgis/ticket/2959 (thanks to Jürgen Fischer and Pirmin
> Kalberer!).
> The mapserver introduces one new dependency (libfcgi), but it is optional and
> the mapserver will just not be built without it.
>
> What is your opinion about an integration?

Hi Marco,

+5 ;-)

I already tried the git version a few months ago, and I think it's
really really promising!

A good/easy configurable mapserver was really missing in the foss4g
landscape.

The 'QGIS mapserver' should make it easy for people/governments to use
qgis to easily deploy maps on inter/intranet sites! What I see now that
governents often decide to use arcgisserver just because the few people
around knowing how to style a map can do that only in arcgis... The step
from a mxd to a map- or sld-file is often too big...

You are showing it off in barcelona don't you?

By the way should you not give it an more 'snappier' name, so there is
no confusion with (minnesota) mapserver or the 'QGIS mapserver plugin'?
Paolo (as our 'marketing'-hotshot) any comments on this?
... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
Quantumserver, Quantumserver ... whatever

Regards,

Richard Duivenvoorde

_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Horst Düster
Am 21.08.2010 16:45, schrieb Richard Duivenvoorde:

> Marco Hugentobler wrote:
>> Hi all
>>
>> The QGIS mapserver project implements a WMS server on top of the QGIS
>> libraries (funded by the EU projects Orchestra, Sany and the city of
>> Uster).
>>
>> With the recent additions in the QGIS mapserver project, the server
>> is now very convenient to use and to configure. Jürgen therefore
>> suggested to include the server code directly into the QGIS
>> subversion repository, and I too think this is a good idea.
>>
>> The patch that includes the integration is attached to ticket 2959,
>> http://trac.osgeo.org/qgis/ticket/2959 (thanks to Jürgen Fischer and
>> Pirmin Kalberer!).
>> The mapserver introduces one new dependency (libfcgi), but it is
>> optional and the mapserver will just not be built without it.
>>
>> What is your opinion about an integration?
>
> Hi Marco,
>
> +5 ;-)
>
> I already tried the git version a few months ago, and I think it's
> really really promising!
>
> A good/easy configurable mapserver was really missing in the foss4g
> landscape.
>
> The 'QGIS mapserver' should make it easy for people/governments to use
> qgis to easily deploy maps on inter/intranet sites! What I see now
> that governents often decide to use arcgisserver just because the few
> people around knowing how to style a map can do that only in arcgis...
> The step from a mxd to a map- or sld-file is often too big...
>
> You are showing it off in barcelona don't you?
>
> By the way should you not give it an more 'snappier' name, so there is
> no confusion with (minnesota) mapserver or the 'QGIS mapserver plugin'?
> Paolo (as our 'marketing'-hotshot) any comments on this?
> ... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
> Quantumserver, Quantumserver ... whatever
>
> Regards,
>
> Richard Duivenvoorde
>
> _______________________________________________
> Qgis-developer mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

Hi Marco, Richard

+1 for the QGIS mapserver

and

+1 for Richards remarks related to the name. Maybe we can set up a name
polling on qgis.org?

Regards
Horst
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Marco Hugentobler-4
Hi all

Thank you for the feedback, the mapserver sources are now in svn.

> > By the way should you not give it an more 'snappier' name, so there is
> > no confusion with (minnesota) mapserver or the 'QGIS mapserver plugin'?
> > Paolo (as our 'marketing'-hotshot) any comments on this?
> > ... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
> > Quantumserver, Quantumserver ... whatever

> +1 for Richards remarks related to the name. Maybe we can set up a name
> polling on qgis.org?

+1 from me too. So until now we have 'Qserver', 'Qgisserver', 'Quantumserver'.
Any other suggestions for a snappy name?

Regards,
Marco



--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Webereistrasse 66, 8134 Adliswil, Switzerland
[hidden email] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Jean-Roc Morreale
Le 23/08/2010 15:50, Marco Hugentobler a écrit :

> Hi all
>
> Thank you for the feedback, the mapserver sources are now in svn.
>
>>> By the way should you not give it an more 'snappier' name, so there is
>>> no confusion with (minnesota) mapserver or the 'QGIS mapserver plugin'?
>>> Paolo (as our 'marketing'-hotshot) any comments on this?
>>> ... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
>>> Quantumserver, Quantumserver ... whatever
>
>> +1 for Richards remarks related to the name. Maybe we can set up a name
>> polling on qgis.org?
>
> +1 from me too. So until now we have 'Qserver', 'Qgisserver', 'Quantumserver'.
> Any other suggestions for a snappy name?
>
> Regards,
> Marco

I have to admit that I didn't gave a try previously because I thought it
was MapServer embedded into QGIS

I would go with QGIS Server so the filiation and the purpose are
explicit. Let's build on the QGIS's brand !
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Tim Sutton-4
Hi

QGIS Server gets a +1 from me too.....maybe we should call 'QGIS'
'QGIS Desktop' now too.

Regards

Tim


On Mon, Aug 23, 2010 at 6:02 PM, MORREALE Jean Roc
<[hidden email]> wrote:

> Le 23/08/2010 15:50, Marco Hugentobler a écrit :
>>
>> Hi all
>>
>> Thank you for the feedback, the mapserver sources are now in svn.
>>
>>>> By the way should you not give it an more 'snappier' name, so there is
>>>> no confusion with (minnesota) mapserver or the 'QGIS mapserver plugin'?
>>>> Paolo (as our 'marketing'-hotshot) any comments on this?
>>>> ... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
>>>> Quantumserver, Quantumserver ... whatever
>>
>>> +1 for Richards remarks related to the name. Maybe we can set up a name
>>> polling on qgis.org?
>>
>> +1 from me too. So until now we have 'Qserver', 'Qgisserver',
>> 'Quantumserver'.
>> Any other suggestions for a snappy name?
>>
>> Regards,
>> Marco
>
> I have to admit that I didn't gave a try previously because I thought it was
> MapServer embedded into QGIS
>
> I would go with QGIS Server so the filiation and the purpose are explicit.
> Let's build on the QGIS's brand !
> _______________________________________________
> Qgis-developer mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Borys Jurgiel-2
Dnia poniedziałek 23 sierpnia 2010 o 18:07:55 Tim Sutton napisał(a):
> Hi
>
> QGIS Server gets a +1 from me too.....maybe we should call 'QGIS'
> 'QGIS Desktop' now too.

+1 from me too.
qgisserver as a dir/class/key/etc name and QGIS Sever (==QuantumGIS Server) as
a trademark ;)
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Qgis-developer] Integration of QGIS mapserver to svn?

motta.luiz@gmail.com
Hi,

QGIS Server.

+1

The trademark is QGIS, we have Desktop, is coming soon Server, the next can be QGIS mobile!



Em 23/08/2010 13:33, Borys Jurgiel <[hidden email]> escreveu:

> Dnia poniedziałek 23 sierpnia 2010 o 18:07:55 Tim Sutton napisał(a):
>
> > Hi
>
> >
>
> > QGIS Server gets a +1 from me too.....maybe we should call 'QGIS'
>
> > 'QGIS Desktop' now too.
>
>
>
> +1 from me too.
>
> qgisserver as a dir/class/key/etc name and QGIS Sever (==QuantumGIS Server) as
>
> a trademark ;)
>
> _______________________________________________
>
> Qgis-developer mailing list
>
> [hidden email]
>
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
lmotta
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Andreas Neumann-4
In reply to this post by Tim Sutton-4
  +0 for QGIS Server and +1 for QGIS Mobile.

While I like "QGIS Server" as a name, there may be different "QGIS
Servers" in the future? Maybe a QGIS WFS server? Or a QGIS WPS or
geoprocessing server? Or a QGIS printserver?

I would see "QGIS Server" as a family of upcoming potential servers and
"QGIS WMS server" for the great work that Marco just did. I also still
like "QGIS Mapserver" or "QGIS Webmap Server" which actually describes
what it is - serving styled maps for web-connected devices and applications.

Any other opinions?
Andreas

On 8/23/10 6:07 PM, Tim Sutton wrote:

> Hi
>
> QGIS Server gets a +1 from me too.....maybe we should call 'QGIS'
> 'QGIS Desktop' now too.
>
> Regards
>
> Tim
>
>
> On Mon, Aug 23, 2010 at 6:02 PM, MORREALE Jean Roc
> <[hidden email]>  wrote:
>> Le 23/08/2010 15:50, Marco Hugentobler a écrit :
>>> Hi all
>>>
>>> Thank you for the feedback, the mapserver sources are now in svn.
>>>
>>>>> By the way should you not give it an more 'snappier' name, so there is
>>>>> no confusion with (minnesota) mapserver or the 'QGIS mapserver plugin'?
>>>>> Paolo (as our 'marketing'-hotshot) any comments on this?
>>>>> ... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
>>>>> Quantumserver, Quantumserver ... whatever
>>>> +1 for Richards remarks related to the name. Maybe we can set up a name
>>>> polling on qgis.org?
>>> +1 from me too. So until now we have 'Qserver', 'Qgisserver',
>>> 'Quantumserver'.
>>> Any other suggestions for a snappy name?
>>>
>>> Regards,
>>> Marco
>> I have to admit that I didn't gave a try previously because I thought it was
>> MapServer embedded into QGIS
>>
>> I would go with QGIS Server so the filiation and the purpose are explicit.
>> Let's build on the QGIS's brand !
>> _______________________________________________
>> Qgis-developer mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>
>
>

_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Jean-Roc Morreale
Le 23/08/2010 21:08, Andreas Neumann a écrit :

> +0 for QGIS Server and +1 for QGIS Mobile.
>
> While I like "QGIS Server" as a name, there may be different "QGIS
> Servers" in the future? Maybe a QGIS WFS server? Or a QGIS WPS or
> geoprocessing server? Or a QGIS printserver?
>
> I would see "QGIS Server" as a family of upcoming potential servers
> and "QGIS WMS server" for the great work that Marco just did. I also
> still like "QGIS Mapserver" or "QGIS Webmap Server" which actually
> describes what it is - serving styled maps for web-connected devices
> and applications.
>
> Any other opinions? Andreas
>

mapserver is a word to avoid as it will be very difficult to search for
it in google withouth getting all the results concerning th UMN
MapServer, the MapServer extension in QGIS, etc.

ps : sorry for the doublon andreas, wrong button
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Tim Sutton-4
In reply to this post by Andreas Neumann-4
Hi

On Mon, Aug 23, 2010 at 9:08 PM, Andreas Neumann <[hidden email]> wrote:
>  +0 for QGIS Server and +1 for QGIS Mobile.
>
> While I like "QGIS Server" as a name, there may be different "QGIS Servers"
> in the future? Maybe a QGIS WFS server? Or a QGIS WPS or geoprocessing
> server? Or a QGIS printserver?

Wouldnt they all be the same server just with different service type
requests? Would be nicer than needing to deploy 4 server binaries....


>
> I would see "QGIS Server" as a family of upcoming potential servers and
> "QGIS WMS server" for the great work that Marco just did. I also still like
> "QGIS Mapserver" or "QGIS Webmap Server" which actually describes what it is
> - serving styled maps for web-connected devices and applications.
>

I love how we discuss names more than the actual thing Marco made :-)
For those who are interested, here is a quick guide to getting
started:

http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/
(docs team you are welcome to reappropriate that for the next manual
if it is useful to you...)

Regards

Tim


> Any other opinions?
> Andreas
>
> On 8/23/10 6:07 PM, Tim Sutton wrote:
>>
>> Hi
>>
>> QGIS Server gets a +1 from me too.....maybe we should call 'QGIS'
>> 'QGIS Desktop' now too.
>>
>> Regards
>>
>> Tim
>>
>>
>> On Mon, Aug 23, 2010 at 6:02 PM, MORREALE Jean Roc
>> <[hidden email]>  wrote:
>>>
>>> Le 23/08/2010 15:50, Marco Hugentobler a écrit :
>>>>
>>>> Hi all
>>>>
>>>> Thank you for the feedback, the mapserver sources are now in svn.
>>>>
>>>>>> By the way should you not give it an more 'snappier' name, so there is
>>>>>> no confusion with (minnesota) mapserver or the 'QGIS mapserver
>>>>>> plugin'?
>>>>>> Paolo (as our 'marketing'-hotshot) any comments on this?
>>>>>> ... Qserver.... Qgisserver .... (mmq, qmapper already used ...)..
>>>>>> Quantumserver, Quantumserver ... whatever
>>>>>
>>>>> +1 for Richards remarks related to the name. Maybe we can set up a name
>>>>> polling on qgis.org?
>>>>
>>>> +1 from me too. So until now we have 'Qserver', 'Qgisserver',
>>>> 'Quantumserver'.
>>>> Any other suggestions for a snappy name?
>>>>
>>>> Regards,
>>>> Marco
>>>
>>> I have to admit that I didn't gave a try previously because I thought it
>>> was
>>> MapServer embedded into QGIS
>>>
>>> I would go with QGIS Server so the filiation and the purpose are
>>> explicit.
>>> Let's build on the QGIS's brand !
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> [hidden email]
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>
>>
>
> _______________________________________________
> Qgis-developer mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Ending edit shapefile in Python plugin

Benoit de Cabissole-2
In reply to this post by Andreas Neumann-4
Hi Developers,

I'm playing with a plugin that allows editing of a shapefile.
When editing is finished, I want to save (commit) the changes to disk, so I
use:

  if self.theLayer.startEditing():

     #do edits here

     if self.theLayer.commitChanges():
         #all ok
         showOKMessage()
     else:
         #error
         showErrorMessage()
     self.iface.mapCanvas().refresh()

Now, the OK message is displayed and the icon of the vector, in the legend,
is changed from "in edit mode" (little black pen)  to "normal mode" (points
icon in my case). So far so good. BUT, the edit toolbar stays in "edit mode"
and I have to press twice the "toggle edit" button to sync the toolbar and
the legend.

Question is: is there a way to sync the edit toolbar on successful
commitChanges()?

I've also tried not to use commitChanges() but instead use
beginEditCommand/endEditCommand/mapCanvas().refresh() but those leave the
legend and edit toolbar in "edit mode" and I have to commit the changes
manually by clicking on the "toggle edit" button.


Any hints?

Chers,
Benoit


_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Andreas Neumann-4
In reply to this post by Tim Sutton-4
  Hi,

On Mon, Aug 23, 2010 at 9:08 PM, Andreas Neumann <[hidden email]>
wrote:
>>   +0 for QGIS Server and +1 for QGIS Mobile.
>>
>> While I like "QGIS Server" as a name, there may be different "QGIS Servers"
>> in the future? Maybe a QGIS WFS server? Or a QGIS WPS or geoprocessing
>> server? Or a QGIS printserver?
> Wouldnt they all be the same server just with different service type
> requests? Would be nicer than needing to deploy 4 server binaries....

indeed it would be nicer to have just one binary handling different
services. If this doesn't make the thing bloated and if it is
technically feasible.

>> I would see "QGIS Server" as a family of upcoming potential servers and
>> "QGIS WMS server" for the great work that Marco just did. I also still like
>> "QGIS Mapserver" or "QGIS Webmap Server" which actually describes what it is
>> - serving styled maps for web-connected devices and applications.
>>
> I love how we discuss names more than the actual thing Marco made :-)
> For those who are interested, here is a quick guide to getting
> started:
>
> http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/
> (docs team you are welcome to reappropriate that for the next manual
> if it is useful to you...)
thanks for this first documentation.

Here are a few notes you  could  add to your blog:

* QGIS Mapserver (or however it will be called) implements WMS 1.3 only
(not WMS 1.1.1)

* GetFeatureInfo should support: text, html, xml

* GetFeatureInfo honors some of the attribute settings of a QGIS layer:
hidden attributes are suppressed, column aliases are used if present.

* When doing the GetCapabilities, the answer can be very slow and big,
because for every layer, QGIS will return all available CRS. You can
limit this list by using adding the following XML elements to the
properties section:
<properties>
<WMSEpsgList type="QStringList">
<value>21781</value>
<value>4326</value>
</WMSEpsgList>
</properties>
QGIS will not remove these settings from the .qgs file after saving it
from the desktop version, but currently there is no GUI to do the WMS
settings.

* By default, QGIS Mapserver will advertise the maximum extent of all
involved layers. This can be overridden by the following setting, again
in the <properties> section of a .qgs file; replace with your own
min/max settings:
<properties>
<WMSExtent type="QStringList">
<value>692000</value>
<value>241500</value>
<value>700100</value>
<value>249000</value>
</WMSExtent>
</properties>

* GetLegendGraphics should work, e.g.
http://yourserver/cgi/qgis_mapserv.fcgi?map=/home/qgisprojects/myproject.qgs&SERVICE=WMS&REQUEST=GetLegendGraphics&FORMAT=image/png&LAYERS=hydrology&WIDTH=400

* QGIS Mapserver can handle multiple project files with one fcgi binary.
On a first request of a newly started Apache server, the request will be
slower, because the .qgs file has to be parsed, later requests are fast,
because there is a cache for more .qgs files. You can use the
"map=/home/path/to/your/project.qgs" parameter to specify which project
you want to access

It would be nice if we could expose some of the "hidden" WMS properties
in a GUI, somewhere in the QGIS project properties. Maybe a
Server-Settings tab.

Andreas
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Integration of QGIS mapserver to svn?

Pirmin Kalberer
In reply to this post by Tim Sutton-4
Am Montag, 23. August 2010, um 22.25:27 schrieb Tim Sutton:
> Hi
>
> On Mon, Aug 23, 2010 at 9:08 PM, Andreas Neumann <[hidden email]>
wrote:
> >  +0 for QGIS Server and +1 for QGIS Mobile.
> >
> > While I like "QGIS Server" as a name, there may be different "QGIS
> > Servers" in the future? Maybe a QGIS WFS server? Or a QGIS WPS or
> > geoprocessing server? Or a QGIS printserver?
>
> Wouldnt they all be the same server just with different service type
> requests? Would be nicer than needing to deploy 4 server binaries....

+1 for QGIS Server
It's possible that a future server type won't fit into Marco's and Ionut's FCGI
server. But then I propose to write a dispatcher which delegates to the
corresponding QGIS XY server (similar to ArcGIS server, btw).

>
> > I would see "QGIS Server" as a family of upcoming potential servers and
> > "QGIS WMS server" for the great work that Marco just did. I also still
> > like "QGIS Mapserver" or "QGIS Webmap Server" which actually describes
> > what it is - serving styled maps for web-connected devices and
> > applications.
>
> I love how we discuss names more than the actual thing Marco made :-)
> For those who are interested, here is a quick guide to getting
> started:
>
> http://linfiniti.com/2010/08/qgis-mapserver-a-wms-server-for-the-masses/
> (docs team you are welcome to reappropriate that for the next manual
> if it is useful to you...)

I've added one missing thing as a comment, and Andreas listed all others...
Thanks for the article.

Regards
Pirmin

--
Pirmin Kalberer
Sourcepole  -  Linux & Open Source Solutions
http://www.sourcepole.com
_______________________________________________
Qgis-developer mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
12