└── README.md /README.md: -------------------------------------------------------------------------------- 1 | Fisbroker How-To 2 | ============== 3 | 4 | How to download geodata from a fis broker wfs (web feature server) via qgis and save it as a shapefile. 5 | 6 | 7 | #### Find dataset 8 | 9 | 1. Go to [fis broker](http://fbinter.stadt-berlin.de/fb/index.jsp) 10 | 2. Choose one of the data sets. For example 'Hausumringe'. 11 | 3. Click 'Zum Downloadlink (WFS)' 12 | 4. Look for the 'Rechneradresse' point. Its an url like this one for the house-shapes in Berlin: http://fbinter.stadt-berlin.de/fb/wfs/geometry/senstadt/re_hausumringe 13 | 14 | #### Load data with QGis 15 | 16 | 1. **Download WFS client plugin.** You can install it via QGis by this steps: 'Plugins' -> 'Manage and Install Plugins...' -> search for 'wfs' -> choose 'WFS 2.0 Client' -> 'Install Plugin' 17 | 2. **Download Geodata.** Open the plugin by clicking on 'Web' -> 'WFS 2.0 Client' -> 'WFS 2.0 Client'. Type in an url of a WFS. For example : http://fbinter.stadt-berlin.de/fb/wfs/geometry/senstadt/re_hausumringe. Click on 'Get Capabilities'. After that you can define a bounding box, a feature limit and a SRS (spatial reference system). For the datasets of houses you must choose featureCount = 550000 and SRS = EPSG:4258. SRS = EPSG:25833 should always work for the Berlin datasets. 18 | 3. **Save as shapefile** 19 | 20 | If you need to convert the srs of the shapefile you can do it with the help of ogr2ogr: 21 | This command converts `input.shp`(SRS = EPSG:25833) to `output.shp`(SRS = EPSG:4326). 22 | ``` 23 | $ ogr2ogr -t_srs EPSG:4326 -s_srs EPSG:25833 output.shp input.shp 24 | ``` 25 | 26 | Get information of the different spatial reference systems at http://epsg.io/ 27 | --------------------------------------------------------------------------------