Posts

CSS hack for Firefox/ IE compatibility

Image
I really like Mike's hack for firefox/ IE compatibility and posted from his blog .

How to connect spatial database(PostGIS) with QGIS?

Image
In this section, I am showing the 3 basic steps to connect PostGIS database with a widely used open source desktop based gis, QGIS.  Step1: Install PostGIS with Spatial database support extension i.                     If PostgreSQL is already installed è Launch ‘Application stack builder’ from startup menu in windows 7. ii.                   Select the appropriate instance of PGSQL from dropdown list and Click NEXT. iii.                 Expand ‘Categories’ è Expand ‘Spatial Extensions’ è Select appropriate PostGIS version(1.5)  for the already installed PGSQL version(8.4). iv.                     Follow the instructions to inst...

Solved: AutomationException 0x80004005 - Unspecified error

I was writing ArcGIS extension for Geoprocessing using JAVA and ArcObjects 10. My need was to process about 1000 PRISM raster datasets globally to compute various environments. My application did work up to 45- 50 raster files without any problems in loop, then if fails with “ AutomationException 0x80004005 - Unspecified error ”. If I restarted the application again works for next 45-50 raster files and then crashes with the same error. I still couldn’t figure out what was the exact cause for application failure-my guess is it may be due to memory management/garbage collection problem among ArcGIS COM objects and JAVA objects. Fortunately, I solved this issue by reinitializing ArcGIS engine (hope re-initialization breaks the locks and flushes the garbage) after 20 raster files processing. Now, the application works well without any breaks but little bit slower while initializing the ArcGIS engine after 20 raster files processing.

v.rast.stats - ERROR: No categories found in raster map

Image
I was  experiencing "ERROR: No categories found in raster map" during v.rast.stats computation (Zonal statistics in terms of ESRI, ArcMap). From the GRASS documentation, I learned that v.rast.stats is only designed for vector areas, not for lines, points,face,centroid,boundary, etc. Therefore, I  unchecked all the properties of vector layer except area as in figure 2, and run the v.rast.stats- worked like charm..

Interesting cheat sheets for R beginner

To clear the console: CTRL + L To seek help: ?command_name To view type:class(object_name) To maximize the console print view: Options(max.print=999999) To list active objects in R: ls() To Remove single object:rm(object_name) To Remove all Objects in R: rm(list=ls()) To remove all the objects - except 'a': rm(list = ls()[-a])

An Interactive Visualization using Geoserver & Openlayers

Image
From last couples of week, I have been involving to develop a interactive web interface for West Nile virus incidence dissemination across the conterminous US from 1999-2011. The image on the right shows one of my accomplishment using Geoserver,Openlayers,jQuery, PostgreGIS,and Google API. The project is about to launch online, then I will post a complete link of the project to let you guys play around it. Click to visit: Web application I am willing to help any one who is stuck with web maps/visualization and also seek constructive criticism on web stuffs.

An introduction to Opensource GIS and Geoserver

Image
Open Source software has come a long way in recent years for storing, manipulating and presenting spatial data. The Openstreetmap (www.openstreetmap.org) project is a great example of what can be achieved using open software and open data. This presentation will look at using a combination of postgis, geoserver and openlayers to process, store and present vector and raster map data. The presentation will also demonstrate OGC web mapping protocols, map projections, spatial toolkits (including uDig, gdal and ogr) and sources of free geospatial data. Gavin Jackson is a software engineer working in the Spatial Team on the Atlas of Living Australia project (www.ala.org.au). Bio: A software engineer with 10 years experience (BInfTech ANU, Msc UNSW), he has worked in a variety of environments, including Department of Defence (IT Security), CPT Global (Stress and Volume Testing), Les Mills (Software Engineer) and, currently, CSIRO (Spatial Software Engineer).  He has long been an advocat...