Archiv der Kategorie: GIS

Tipps, Tricks, GIS, Geographical Information Systems, ArcGIS, ArcMap, QGIS

Python ArcGIS 10 – list all FeatureClasses in SDE-FeatureDataset (to txt-File)

If you want to list  and write to a txt-File all featureClasses (in a FetaureDataset) stored in SDE/Oracle, it is done with a few line Python.

import arcpy
from arcpy import env
import os

# Set the workspace for the ListFeatureClass function
env.workspace = "Database Connections/VECTOR.arcsde01.sde/FEATURE_DATASET"

# Use the ListFeatureClasses function to return a list of 
#  all shapefiles.
fcList = arcpy.ListFeatureClasses()

print str(fcList)

# setting up output-file and write to file
file = open("sdelayers.txt", "w")

Use BaseMap-Austria ( with QGIS 2.x and ArcGIS 10.2.x

The Austrian  govermental geodata-departments offer a free Basemap for Austria – ( – similar to GoogleMaps or OSM, based on official governmental data.

You can access this map via QGIS too – add a WMS/WMTS-Layer and use the following URL


… for the best rendering-quality (no distortions) choose Google’s Pseudo Mercator as Project(Display)-CRS: EPSG 3857 (in QGIS 2.x: Settings – Project properties)

Choosing EPSG 3857 in QGIS 2.2
Choosing EPSG 3857 in QGIS 2.2



QGIS 2.0.1 on Fedora 20: Problems with „Raster-Menu“

After having QGIS 2.x successfully installed on Fedora 20 (yum install qgis) only the QGIS itself seems to be installed. You may get errors when trying to fetch new Plug-ins (Python!) or you have an nearly empty Raster-menu (without the GDAL-Tools).


In these cases install the following packages with YUM:

  • qgis-python
  • gtatool-gdal
  • gdal

Screenshot-example (error): Missing GDAL-Lib – although the menu-items are in place:


After installation of the above mentioned packages everything works fine 🙂 – e.g. hillshade and contour-lines



From Google Tracks (Android Smartphone) to QGIS

The app GoogleTracks for Android-Smartphones is an easy to use  tool for logging GPS-Tracks with your phone – & it allows you to export the Tracks to GPS and KML. So it’s no problem to get your tracks in your GIS-Software.

How-To with QGIS 1.8

  • Export your Track to GPX in GoogleTracks on your phone
  • Copy the *.gpx on your computer (or by the way mail it from your phone 🙂 )
  • You can directly open the GPX in QGIS with „Add vector“
  • Attention: GPS-Data is saved in GCS WGS84 ! If you combine it with layers in your national CRS be aware of using the correct transformation-parameters !

Google Tracks in PlayStore: Link

On-the-fly CRS-Transformation in QGIS 1.8

Quantum GIS has the option to perform on-the-fly transformation between geodata with different coordinate systems within the data-frame.

When to use it ?
You have geodata referenced in different CRS (Coordinate reference systems) in one project (data frame).

Be aware !
Be aware that every data-layer has a coorect CRS defined and the CRS of the data-frame has to be defined !

Also keep attention whether the correct transformation (parameters!) ist performed.