Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
Welcome to the Open Source for Geography developers training.
This week we will learn about the basic building blocks for web based gis systems and desktop analysis tools. We will cover topics such as Git/Github, Postgis, GeoServer, Tilemill, GeoNode, QGIS and Inasafe. During the training, there will be tutorials on each of the tools and will work together on a prototype for a web based flood impact analysis tool.
This gist will be both our agenda and minutes document. It contains links to the training materials as well as the description of each activity.
Welcome to the Open Source for Geography developers training.
This week we will learn about the basic building blocks for web based gis systems and desktop analysis tools. We will cover topics such as Git/Github, Postgis, GeoServer, Tilemill, GeoNode, QGIS and Inasafe. During the training, there will be tutorials on each of the tools and will work together on a prototype for a web based flood impact analysis tool.
This gist will be both our agenda and minutes document. It contains links to the training materials as well as the description of each activity.
| geonode importlayers . | |
| sudo service tomcat6 restart | |
| geonode cleardeadlayers | |
| >>> for layer in Layer.objects.all(): | |
| ... layer.title = layer.title.title() | |
| ... layer.save() |
| Download links for Geoserver, OpenGeo Suite | |
| GeoNode GeoServer: Log out using GeoNode | |
| Support: | |
| JAI makes image processing faster? Resources? Links? | |
| #Alternate upload | |
| Add data to GeoNode | |
| GeoNode updatelayers |
| from django.db import models | |
| from django.dispatch import receiver | |
| from django.conf import settings | |
| from django.contrib.gis.gdal import DataSource | |
| import zipfile | |
| import os, errno | |
| import glob | |
| import tempfile | |
| class Layer(models.Model): |
| from django.db import models | |
| from django.dispatch import receiver | |
| from django.conf import settings | |
| from django.contrib.gis.gdal import DataSource | |
| import zipfile | |
| import os, errno | |
| import glob | |
| class Layer(models.Model): |
| class MediaFileSystemStorage(FileSystemStorage): | |
| def get_available_name(self, name): | |
| return name | |
| def _save(self, name, content): | |
| if self.exists(name): | |
| # if the file exists, do not call the superclasses _save method | |
| return name | |
| # if the file is new, DO call it | |
| return super(MediaFileSystemStorage, self)._save(name, content) |
| ... | |
| url(r'^v1/tiles/(?P<tile_user>([^/]+))/(?P<tile_layer>([^/]+))/(?P<tile_zoom>(\d+))/(?P<tile_column>(\d+))/(?P<tile_row>(\d+))\.(?P<tile_format>([a-z]+))$', TileManager.as_view(), name='tile_manager'), | |
| ... |
| $(function(){ | |
| var formUrl = '/* ex: https://docs.google.com/a/developmentseed.org/spreadsheet/formResponse?formkey=... */'; | |
| // Set up map | |
| var m = mapbox.map('map').addLayer(mapbox.layer().id(' /* mapbox-account.id */ ')); | |
| // Set up map ui features with point selector | |
| var ui = mapbox.ui().map(m).auto().pointselector(function(d) { | |
| // Remove all points except the most recent |