Posted by: Shahjalal | May 2, 2012

Digital Path Planning Tool

The Path Planning Tool implemented with several Open Source programs and different language libraries.

This tool made a use of different software components, which refers to a total system. This system includes GIS application, data server, map server, software tools etc.

The data has collected from Open Street Map (OSM) 1 cloud network which is the main data source for this tool. OSM is a project to create a free editable map of the world. Then, data has processed through ArcGIS2 after getting data from data source.

ArcGIS is a very popular GIS application for managing and designing solutions for geographic spatial data. It enables deep analysis, gain a greater understanding of data. Then the spatially referenced data has put into the data server. A data server is a computer program which provides database services to other computer programs or computers. It stores data into its database system. This system serves as database server functionality such as data analysis and storage. The database system feeds data to its clients from the storage. Often a database system refers to a data source. Then a map server creates a development environment for building spatially-enabled web mapping applications and services from data source. There are some spatial software tools which are also used, such as Ogr2Ogr3. Ogr2Ogr is a command line tool especially for Linux environment that converts one Ogr distinct data format to another Ogr data format. Ogr supports multiple data formats including ESRI Shapefile, MapInfo Tab file, TIGER, s57, DGN, CSV, DBF, GML, KML, Interlis, SQLite, ODBC, ESRI GeoDatabase (MDB format), PostGIS/PostgreSQL, MySQL. It is used to convert from shapefile to GeoJSON4 format, which is very convenient to overlay the formatted data on map. GeoJSON (JavaScript Object Notation) is an open format for encoding a variety of geographic data structures. GeoJSON stores geographic data as human-readable format that is generally more compact than XML. GeoJSON supports spatial data format types including points, polygons, multi polygons, features, geometry collections, and bounding boxes etc. These are stored along with feature information and attributes. Then the drawing task is performed on GeoJSON formatted map through drawing tool.

This tool deployed on OSGeo-Live5. OSGeo-Live is an Open Source System which is built on Xubuntu. Xubuntu is recognized as a community maintained derivative of the Ubuntu (Linux) operating system, which is a stable, light and configurable desktop environment. OSGeo-Live provides a wide variety of pre-configured applications for a range of geospatial use cases, including storage, publishing, viewing, analysis and manipulation of data. It also contains sample datasets and documentation. So, this is very easy to go back and forth at the time of development with its different geospatial software specially Quantum GIS, PostgreSQL/PostGIS, Ogr2Ogr etc.

PostgreSQL is used for data storage which is a popular object-relational database management system (ORDBMS). PostGIS7 is an extension which adds support for geographic objects to the PostgreSQL. PostGIS “spatially enables” the PostgreSQL to be used as a backend spatial database for geographic information systems (GIS). This is similar to ESRI’s SDE or Oracle’s spatial extension. PostGIS follows the OpenGIS “Simple Features Specification for SQL” and certified as compliant with the “Types and Functions” profile.

OpenLayers is used for mapping, drawing, event handling etc like functionality. It is a pure JavaScript library for displaying map data in most modern web browsers, without any server-side dependencies. JavaScript is a prototype-based scripting language which is dynamic, general purpose programming language. It supports object-orientation, multi-paradigm, and it follows functional programming styles. OpenLayers implements a JavaScript API for building rich web-based geographic applications, similar to the Google Maps and MSN Virtual Earth APIs. OpenLayers is an Open Source Free Software, which is developed for and by the Open Source software community all over the world. OpenLayers has evolved to use of many geographic information science, especially in digital web mapping world.

The Path Planning Tool is a web-based application. For this reason HTML/CSS9 is the very basic building-blocks of this tool. For web pages, HyperText Markup Language (HTML) is the main markup language. And Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation semantics which helps to change the look and formatting of a document written in a markup language e.g. HTML.

This slideshow requires JavaScript.

Posted by: Shahjalal | January 3, 2012

New servlet file in maven web application with eclipse

Sometimes, creating a simple servlet class in maven web application may not be possible in eclipse. Then-

>Select< Project:Right Click > Properties > Project Facets >

>Check< Dynamic Web Module

>OK<

>Select< Project:New > Other > Web > Servlet
Package: …
Class Name: …
Super Class Name: …

Posted by: Shahjalal | December 13, 2011

Teaching Assistant of Java

I have worked in The Royal Institute of Technology (KTH) as Teaching Assistant of GIS  Architecture and Algorithm. Here I needed to teach my students how to solve GIS related problems and implement different GIS related algorithm using Java. I worked with different raster file and implement different algebraic operation such as focal, zonal etc. I also worked with reading and writing network data to implement routing e.g. shortest path.

Posted by: Shahjalal | December 7, 2011

Parcel Distribution System using PgRouting

Distributing parcel door to door is an area of increasing importance for parcel distribution companies. A parcel van cannot determine which road it should go first for easy parcel distribution, so that it could not travel same road twice and reduce distribution also. In this project we solved this problem using different open source software tools. For this project, I used a road network containing individual weight coordinate and spatial indices. In a practical scenario, every house has an address with road number. So, I assumed that road number represents single or multiple house addresses, for simplicity.
I  tried to solve this problem using open source database PostgreSQL, spatial database support PostGIS and pgRouting which is an extension of PostGIS / PostgreSQL for geospatial routing functionality. In pgRouting we used Traveling Sales Person (TSP) function. The TSP solution is based on ordering the points using straight line distance between nodes.

Posted by: Shahjalal | October 1, 2011

Bilingual Online Data Maps Reviewer

I worked as a contractor of Map data reviewer based on Sweden map. This was an online project of Google to fix Google Map data on Sweden. I needed to verify the data of located area based on particular query and identify the lacking of mapping data.

Posted by: Shahjalal | May 28, 2011

City Traffic Analysis

City traffic is a total solution of traffic analysis. There are two parts for this project. Part one is for data collecting and part two for data presentation.

Here, I implemented an interface for the bus, taxi and local users which can be run on any Android driven device. After collecting the location data using GPS, Android will store all data in a MySQL database using PHP.

Part 1: Data collecting

Part 1: Data collecting

In part 2, one KML file will be generated after getting all data from MYSQL using PHP. Afterwards this KML file will make a layer on Google Map and present it for the users who want to know the traffic condition of the city.

Part 2: Data presentation

Part 2: Data presentation

For this project I used, I used Android, GPS, Google Maps API, Google Maps API Extension, KML for overlay, PHP for server scripting, MySQL for database.

Sample output of the application is given bellow-

This slideshow requires JavaScript.

Posted by: Shahjalal | May 23, 2011

Storing Swedish characters in MySQL table

I was working on a project. At that time, I could not store my address in MySQL table. The addresses contains Swedish characters. After working few hours on this, I got the solution. Now, it is possible to store these characters as it is and easily can be retrieved. Use the following function before store MySQL table—

//UNICODE encoding problem in MySQL Insert statement using PHP
$address = mb_convert_encoding($address,”iso-8859-1″,”utf-8″);

Posted by: Shahjalal | May 23, 2011

Publishing my own generated kml file from my own server.

Before i could not publish my own generated kml file through my server. I solved this problem by the help of one Google Maps API Extention

Software used for server – BitNami WAMPStack (any WAMP Stack also can be possible)
A Google Maps API Extension – http://econym.org.uk/gmap/egeoxml.js (Need to save this js file in the same folder)

For detail go through – http://econym.org.uk/gmap/egeoxml.htm

//————————————————————————————————————————————————-
<script src=” http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA”
type=”text/javascript”></script>
<script src=”egeoxml.js” type=”text/javascript”></script>
<script type=”text/javascript”>

function initialize() {

var mmap=new GMap2(document.getElementById(“map_canvas”));
mmap.setCenter(new GLatLng(41.875696,-87.624207),11);
mmap.addControl(new GLargeMapControl());
mmap.addControl(new GMapTypeControl());

var exml = new EGeoXml(“exml”, mmap, “cta.kml”);
exml.parse();

}
</script>

//————————————————————————————————————————————————-

“cta.kml” is my kml file in the same folder. This will work if i work with my personal server even it is localhost.

Posted by: Shahjalal | April 7, 2011

Shortest Route to KTH Campus

This is a java program which is made for analysis the shortest route from different KTH accommodations to certain KTH campus and show all the distances. Dijkstra algorithm is used to solve this problem.

 

This slideshow requires JavaScript.

Posted by: Shahjalal | April 7, 2011

Showing Route

Showing Route is a distinct program which will show you the route from one city to other city. Just simply need to select the city name. This program show different way – Driving, Walking and Bicycling. Showing Route is coded by Google Map API V3. Bellow, I attach some screen shots–

 

This slideshow requires JavaScript.

Older Posts »

Categories

Follow

Get every new post delivered to your Inbox.