Tuesday, December 15, 2015

Conference: FOSS4G North America (FOSS4GNA) 2016, Raleigh, North Carolina

Be The First To Comment
Dear Everyone,
On behalf of the Organizing Team, we would like to invite you to submit talk & workshop proposals for FOSS4G North America 2016. The conference will run May 2-5, 2016 at the Raleigh Convention Center in Raleigh, North Carolina, U.S.A.. 
Like last year, we will be offering a free full access pass to speakers who have their talk or workshop accepted. The 2016 conference will be noticeably bigger than 2015. The list of topics include a number of mature areas as well as emerging ones. Please see the call for proposals for details and to submit a proposal. 
Also, public community voting on submissions has been enabled. Cast your vote for the presentations and workshops you would like to see! 
We wish you a safe and happy holiday season! 
The FOSS4G NA 2016 Team

Wednesday, December 9, 2015

Leaflet WMS layer custom projection on fly

Be The First To Comment
For most of the WMS mapping applications the Google Web Mercator (GWM) projection is sufficient. The GWM is default standard for web mapping and widley accepted by Bing, Google, OSM, OpenLayers(default), and Leaflets(default). However some mapping application required custom projection other than Google Mercator projection to display data. Then, how to project/re-project the data other than wms's default projection, GWM.

The following snippet shows the WMS layer custom projection in LEAFLET for  Albers equal area and UTM zone 13.

Step 1.

First of all include -
         proj4leaflet.js  in following order.    

     <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />  
     <script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet-src.js"></script>  
     <script src="//cdnjs.cloudflare.com/ajax/libs/proj4js/2.0.0/proj4.js"></script>  
     <script src="http://mapserv.utah.gov/cdn/examples/proj4leaflet.js"></script>  

Step 2: Create new Proj4Leaflet CRS

Find your desired custom projection type in http://spatialreference.org/ and punch the the projection variable in the following code snippet.


© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me