[Mapbender-users] Help using wfs download ...

Armin Retterath armin.retterath at gmail.com
Sun Aug 4 09:51:00 PDT 2013


hello charles,

what kind of download do you need? we have different modules to allow a
download of data via wfs. the normal way is the wfs gazetter module, which
is documented and can be seen in some of the standard guis (gui2 and gui
digitize). another module, which can be seen as wfs - 'download' module was
made for geoportal.rlp and is also part of mapbender. the third possibility
is to use 'standardized' way of the European SDI project INSPIRE. In this
SDI the access of data is managed thru 'download services' which may be
feeded by wfs, wms or simple direct links. To see how this work, please
have a look at
http://www.geoportal.rlp.de/portal/en/information/inspire-katalog.html.
This can be seen as a good example for the implementation of the European
SDI.
E.g. the download of protected sites (a special theme of the INSPIRE) can
be achieved on the follwing page:
http://www.geoportal.rlp.de/mapbender/plugins/mb_downloadFeedClient.php?url=http%3A%2F%2Fwww.geoportal.rlp.de%2Fmapbender%2Fphp%2Fmod_inspireDownloadFeed.php%3Fid%3De9d22d13-e045-f0e0-25cc-1f146d681216%26type%3DSERVICE%26generateFrom%3Dwfs%26wfsid%3D216
In the backend we use simple wfs 1.1.0 which are registrated in mapbender.
If you will a list of download options for a single metadata record there
are some good webservices:
http://www.geoportal.rlp.de/mapbender/php/mod_getDownloadOptions.php?id=545eb1fe-9dee-502a-97a8-c932388a54d7
Actually mapbender is the only catalogue software which is able to allow
such things ;-).
But this is a way of interoperable implementation. If you only need a good
way to download data via a simple wfs client, we have implemented a
download client, which is automatically generated when you fill out the
relevant columns in your wfs-conf. I think, that the wfs_gazetter client is
also able to handle this, but only in the current trunk version (coming
2.7.4). In 2.7.3 you have to use the wfs_tree module as we use it in our
geoportal. there you have a tree representation of the different
wfs-configurations (similar to the layer tree). If you wan't the sql,
please ask me again.
the wfs-confs which are apriori in the wfs-conf tree, has to be defined as
element var of the current mapframe. you can add more wfs-conf modules via
a simple get interface to load them dynamically via catalogue search.
maybe a complete implementation of our portal is an alternative for you?
you can download it here:
http://www.geoportal.rlp.de/redmine/news/6
It is a virtual machine based in debian squeeze, with typo3 as a cms and
mapbender_trunk as catalogue/viewer/user management engine.
with this vm it may be easier to test all things, cause there are all
configs already done for productive use (geoserver/geonetwork/mapserver are
implemented also)
but the download size is 9.5GB :-( .
greetings from germany
armin
wfs conf tree:
INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
e_title, e_element, e_src, e_attributes, e_left, e_top, e_width, e_height,
e_z_index, e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod,
e_target, e_requires, e_url)
VALUES('Geoportal-RLP','wfsConfTree',1,1,'','Search- and download
modules','ul','','',10,400,1,1,NULL
,'','','ul','../plugins/wfsConfTree.js','','mapframe1','','');
INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
context, var_type) VALUES('Geoportal-RLP', 'wfsConfTree',
'wfs_spatial_request_conf_filename', 'wfs_default.conf', '' ,'php_var');

you need also the resultList modules: resultList, resultList_Highlight,
resultList_DetailPopup, resultList_Zoom, the element var of mapframe is
wfsConfIdString as in the gazetteer module.


2013/8/2 Charles Nievas <cnievas-npm at adinet.com.uy>

> Hello, i ll apreciate your help. I'm using Mapbender 2.7 and i couldnt
> configure a wfs download. I was looking for that in the forum but i couldnt
> find.
>
> Thanks you very much.
> Cheers
>
> Charles
> ______________________________**_________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.**org <Mapbender_users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/mapbender_**users<http://lists.osgeo.org/mailman/listinfo/mapbender_users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20130804/e0abe662/attachment.html>


More information about the Mapbender_users mailing list