Differences

This shows you the differences between two versions of the page.

dev:gsoc2008_gis_map_edit [2008/08/17 20:11]
hasitha
dev:gsoc2008_gis_map_edit [2009/07/06 20:36] (current)
Line 18: Line 18:
UMN Map Server is targeted at this phase and front end for creating map files will be given to the GIS administrator. WMS capabilities are also a part of the administration done via the specific map file. Module developers are armed with a API to use powerful mapping capabilities of the map server. UMN Map Server is targeted at this phase and front end for creating map files will be given to the GIS administrator. WMS capabilities are also a part of the administration done via the specific map file. Module developers are armed with a API to use powerful mapping capabilities of the map server.
 +
==== Extending Sahana GIS module with map serving capabilities ==== ==== Extending Sahana GIS module with map serving capabilities ====
Line 30: Line 31:
-Currently Sahana GIS module relies upon the Google Maps as the major mapping source. GIS module provides a module independent API for other Sahana modules to build custom mapping functionalities. GIS frame work and administration with Plugin architecture is implemented and evolving to date. (http://wiki.sahana.lk/doku.php?id=dev:gis_infra)+Currently Sahana GIS module relies upon the Google Maps as the major mapping source. GIS module provides a module independent API for other Sahana modules to build custom mapping functionalities. GIS framework and administration with Plugin architecture is implemented and evolving to date. (http://wiki.sahana.lk/doku.php?id=dev:gis_infra)
Not only that Map viewing client based on the open layers is almost complete and I found form the mailing lists that the map services catalogue is also on its way. Thus, Sahana GIS module can view maps from different sources, such that utilize Web Map Services (WMS), GeoRSS facilities as well as through commercial API's such as Google Maps, MS visual Earth, Yahoo maps. From the GIS Catalogue module it gets the capability to look for different Web Map Services (WMS), Web Feature Srvices(WFS), Geo RSS etc. to be used. But up to now Sahana GIS framework is lack of its own map serving capabilities. Not only that Map viewing client based on the open layers is almost complete and I found form the mailing lists that the map services catalogue is also on its way. Thus, Sahana GIS module can view maps from different sources, such that utilize Web Map Services (WMS), GeoRSS facilities as well as through commercial API's such as Google Maps, MS visual Earth, Yahoo maps. From the GIS Catalogue module it gets the capability to look for different Web Map Services (WMS), Web Feature Srvices(WFS), Geo RSS etc. to be used. But up to now Sahana GIS framework is lack of its own map serving capabilities.
Line 37: Line 38:
-Requirement for its own map serving capabilities and its benefits has been risen in to discussion time to time on the Sahana mailing lists. Thus it would be another huge step taken towards the success of the project, if Sahana is armed with map serving capabilities as well.+Requirement for its own map serving capabilities and its benefits has arisen in discussions on the Sahana mailing lists. Thus it would be another huge step taken towards the success of the project, if Sahana is armed with map serving capabilities as well.
In a disaster situation detailed maps are a great resource to manage the disaster in every aspect. Thus, Google maps do not provide that much of detailed maps publicly accessible on most of the regions of the world. On the other hand most of the countries cannot afford big amount of money to get mapping services from the popular commercial GIS application vendors. But most of the countries who are concerned with the importance of the geographic information have detailed maps either vector or raster formats in digital forms or paper form. Thus this situation is an ideal candidate to be addressed by collaborating FOSS GIS tools via Sahana GIS frame work. In a disaster situation detailed maps are a great resource to manage the disaster in every aspect. Thus, Google maps do not provide that much of detailed maps publicly accessible on most of the regions of the world. On the other hand most of the countries cannot afford big amount of money to get mapping services from the popular commercial GIS application vendors. But most of the countries who are concerned with the importance of the geographic information have detailed maps either vector or raster formats in digital forms or paper form. Thus this situation is an ideal candidate to be addressed by collaborating FOSS GIS tools via Sahana GIS frame work.
Line 49: Line 50:
-All the modules which use mapping features will be able to work flexibly with the API given to the map server on their mapping applications. Situation mapping, Camp Registry, as well as the upcoming Disaster Surveillance and Social Networking modules will be greatly benefited by this project by using powerful and flexible and easily customizable mapping capabilities of a mapping server.+All the modules which use mapping features will be able to work flexibly with the API given to the map server on their mapping applications. Situation mapping, Camp Registry, as well as the upcoming Disaster Surveillance and Social Networking modules will be greatly benefitted by this project by using powerful and flexible and easily customizable mapping capabilities of a mapping server.
=== What map server to use? === === What map server to use? ===
Line 56: Line 57:
Of course as you think, developing a map server from the scratch is not a summer project. Its where the power of FOSS comes to save us. There are several potential projects as UMN Map Server, GeoServer, Deegree. (http://wiki.sahana.lk/doku.php?id=dev:gis_infra) Of course as you think, developing a map server from the scratch is not a summer project. Its where the power of FOSS comes to save us. There are several potential projects as UMN Map Server, GeoServer, Deegree. (http://wiki.sahana.lk/doku.php?id=dev:gis_infra)
-Thus it is reasonable to rely upon a existing map server for our project.+Thus it is reasonable to rely upon an existing map server for our project.
I thought of UMN Map Server to the top, a map server developed by the University of Minnesota, because it is a very popular and robust map server and from the comments I have gone through. Not only that it’s with OGS standards and has cross platform support, supports multiple raster and vector data formats, wide variety of map projections support, advanced cartographic out put features and support for number of scripting languages including php, perl and java for development environments. More details can be obtained from http://mapserver.gis.umn.edu I thought of UMN Map Server to the top, a map server developed by the University of Minnesota, because it is a very popular and robust map server and from the comments I have gone through. Not only that it’s with OGS standards and has cross platform support, supports multiple raster and vector data formats, wide variety of map projections support, advanced cartographic out put features and support for number of scripting languages including php, perl and java for development environments. More details can be obtained from http://mapserver.gis.umn.edu
Line 69: Line 70:
Specification is the map file which we have to create according to our needs and situation where we are going to use it. Specification is the map file which we have to create according to our needs and situation where we are going to use it.
-I am focused in creating this specification (map file) on behalf of the Sahana module developers who are eagerly anticipating the rising of new mapping capabilities. This can be achieved with the use of the php map scripts to communicate with the UMN Map Server API.+I am focused in creating this specification (map file) on behalf of the Sahana module developers who are eagerly anticipating the development of new mapping capabilities. This can be achieved with the use of the php map scripts to communicate with the UMN Map Server API.
-Map file can be considered as a map object and you can access the specific underlying details and manipulate them with the map scripting support provided by the UMN Map Server via the php map scripts.+Map file can be considered as a map object and you can access the specific underlying details and manipulate them with the map scripting support provided by the UMN Map Server via PHP Mapscript.
By that GIS administrator or the developers can have the freedom to create their own maps. By that GIS administrator or the developers can have the freedom to create their own maps.
Line 87: Line 88:
-From the initial survey I have found some projects that seems to be useful in accomplishing this task. The most interested one is maplab which supports you to create mapping applications. (http://www.maptools.org/maplab)+From the initial survey I have found some projects that seems to be useful in accomplishing this task. The most interested one is maplab which supports creation of mapping applications. (http://www.maptools.org/maplab)
The other one is Chameleon. (http://chameleon.maptools.org) The other one is Chameleon. (http://chameleon.maptools.org)
Line 133: Line 134:
===== Map Server Module - GSOC 2008  ===== ===== Map Server Module - GSOC 2008  =====
 +
Line 159: Line 161:
-The main functionalities of the Map Server modules is exposed via the Create map, +The main functionalities of the Map Server module is exposed via the Create map, 
-Add layer, Edit layer, Manage maps and Search maps forms. With these user will be allowed to +Add layer, Edit layer, Manage maps and Search maps forms. With these, a user will be allowed to 
-create maps maps by manipulating the map objects via PHP Map Scripts, through the form itself.+create maps by manipulating the map objects via PHP Map Scripts, through the form itself.
== Create map  == == Create map  ==
-User will be able to create a map with relevant to his need, thus the .map file+User will be able to create a map relevant to their need, thus the .map file
created will be saved in maps directory, which is created through the administration created will be saved in maps directory, which is created through the administration
section, with the purpose of holding user created files and files created by the system. section, with the purpose of holding user created files and files created by the system.
Line 172: Line 174:
After creating the map, user is allowed to add layers into his map accordingly. User is allowed to After creating the map, user is allowed to add layers into his map accordingly. User is allowed to
-build the map from the scratch with this data needs.+build the map from scratch with this data needs.
== Edit layer == == Edit layer ==
Line 192: Line 194:
=== API === === API ===
   
-API will allow the developers to use the generated maps within there modules by calling this API.+API will allow the developers to use the generated maps within their modules by calling this API.

Navigation
  • Navigate