[Qgis-developer] QGIS MapServer and jQuery OpenLayer Client for
Mobile Devices
Andreas Neumann
a.neumann at carto.net
Wed Jun 15 02:09:06 EDT 2011
Hi Noli,
QGIS server and QGIS webclient can be regarded as two separate
projects. While we try to integrate the two better, there is no reason
why you cannot develop something in parallel with a different framework.
The reason why I went with ExtJS, GeoExt and OpenLayers is that there
is a community of governmental organizations around these frameworks in
Switzerland, where I work. This way we can share costs and knowledge.
As to mobile frameworks the same group decided to sponsor OpenLayers to
improve mobile device support. This is now available as part of
OpenLayers 2.11. We decided that we will be using the Sencha framework
(instead of jquery mobile), because it is from the same
company/community like ExtJS and also GeoExt will most likely be using
the Sencha framework.
I expect to start working on a mobile client in parallel to QGIS
webclient (we could name it QGIS mobile client) in autumn this year if
someone wants to join the effort.
Regarding the WMS layer of gis.uster.ch: you should see all you need in
the GetCapabilities request listed at http://gis.uster.ch/ - it really
contains all the information you need to later issue GetMap,
GetFeatureInfo, GetLegendGraphic or GetPrint requests. Note that this is
a raster based WMS - it is not a WFS. Here is one link to a
GetCapbilities request:
http://gis.uster.ch/cgi/qgis_mapserv.fcgi?map=/home/www/projekte/av/grundplan_av.qgs&service=WMS&Request=GetCapabilities
Hope this helps,
Andreas
On Wed, 15 Jun 2011 08:58:41 +1000, Noli Sicad wrote:
> Hi,
>
> The current QGIS webclient is for PC (i.e. desktop, laptop,
> netbook).
> I understand it is built using ExtJS, Geoexplorer hack.
>
> http://projects.opengeo.org/geoext/wiki/GeoExplorer
> http://blog.opengeo.org/2009/06/17/geoexplorer-preview/
> http://suite.opengeo.org/geoexplorer/composer
>
> I like to use QGIS Mapserver as server for Mobile Devices (i.e. iPad,
> Android tablet, Meego tablet, HP WebOS tablet, etc) using jQuery, not
> ExtJS (Sencha Touch) since I need local Spatialite support for these
> devices.
>
> Again, I like to use jQuery instead of ExtJS as webclient for QGIS
> Mapser.
>
> Now, how can I utilise QGIS Mapserver for these mobile webclients?
>
> Andreas, what would be the right access to WMS layer in QGIS
> Mapserver (WMS)?
>
> ~~~~~~~
> var base = new OpenLayers.Layer.WMS(
> "Medford Streets & Buildings",
> "/geoserver/wms",
> {layers: "medford"}
> ~~~~~~~~
>
> http://workshops.opengeo.org/openlayers-intro/vector/style.html
>
> Generic
> ~~~~~~~~
> map = new OpenLayers.Map('map');
> var wms = new OpenLayers.Layer.WMS(
> "OpenLayers WMS",
> "http://labs.metacarta.com/wms/vmap0",
> {layers: 'basic,ground_01'}
> );
> ~~~~~~~~
> http://vasir.net/blog/openlayers/openlayers-tutorial-part-2-layers/
>
> For example, this ZonePlan layer in http://gis.uster.ch/webgis/?
>
>
> http://gis.uster.ch/webgis/production/index.shtml?map=/home/www/projekte/raumplanung/raumplanung.qgs&format=image/jpeg&visibleLayers=Gestaltungspl%C3%A4ne%20Beschriftung,Gemeindegrenze,Sondernutzungen,Sondernutzungen%20Bauzonen%20mit%20Gestaltungsplanpflicht,Differenzierte%20L%C3%A4rmempfindlichkeitsstufe,Nutzungszonen,UEP%20%282009%29
>
> I just like to know the WMS layers, not the windowing ExtJS toolkit
> to
> render the whole thing.
>
> Thanks.
>
> Noli
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
More information about the Qgis-developer
mailing list