Prosjekt i programmering i Geomatikk
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hosted
images
js
libs
oving-filer
workers
.gitattributes
.gitignore
README.md
background.js
calculator-128.png
calculator-16.png
cow_head.png
cow_head.svg
demodata.zip
grass_eating_cow.png
grass_eating_cow.svg
index.html
jquery-ui-1.10.3.custom.min.css
kugis-kilde.zip
manifest.json
oving.htm
rapport.pdf
style.css
underscore.js

README.md

KuGIS

##About

KuGIS (Temporary name and logo for now. Ku=Cow in norwegian) is a simple GIS intended for introductory courses in GIS at NTNU, Trondheim, Norway. It was a developed as a project in the course "Programming in Geomatics" in the fall of 2013., there have been some continuing development this spring. The goal of the course is to develop a simple GIS software with the most basic spatial operations (buffers and overlays).

It's meant to work on prepared datasets for a smaller region. Larger regions and more detailed datasets can be used but the interface and the geoprocessing will go slow. Also the memory usage will be very high.

It's mostly drag and drop based, so to start a tool you first click on it and then you drag the layer you want to perform operations on to it.

###Tools currently implemented are

  • Buffering
  • Dissolve
  • Union
  • Intersection
  • Difference
  • Simple queries (FeatureExtractor)

The development version of Leaflet is used for presentation. So while Leaflet-0.8 is still in development there may be some bugs, especially during initial loading. Refresh a couple of times if the map doesn't load. JSTS is used for most spatial operations. Every geographic operation happens client side in a Web Worker so we don't lock up the UI during processing.

##Usage

Live version is available at: http://torbjvi.github.io/kugis/ There are some introductory videos here: https://www.youtube.com/playlist?list=PL1EiXGcwRKmAsWwRlyN-YUytrhNw-qvyo&feature=mh_lolz. Titles are in norwegian but the interface is in English so it should be OK to follow the steps that are done.

The application support drag and drop loading of local GeoJSON , shapefiles and files in the norwegian format SOSI. Shapefiles must be placed in a zip-file containing at least the three files *.shp, *.prj and *.dbf. For shapefile support I'm using the library shapefile-js and for SOSI I'm using the library SOSI.js

There's an introductory tutorial for some of the tools here http://translate.google.com/translate?hl=no&sl=no&tl=en&u=http%3A%2F%2Ftorbjvi.github.io%2Fkugis%2Foving.htm (Google translated so there are some errors, feet should be meters for example)

##Limitations

  • Buffering are currently done in UTM N33 so there may be some distortions and scale errors in other parts of the world. This will be fixed soon.
  • Dissolve is very slow in the last steps of the operation
  • Detailed and large datasets should be prepared (generalized)
  • GeoJSON files containing more than one type of geometries are not supported yet.
  • FeatureExtractor gets the property keys for only the first Feature

There are probably more.