Commit bab0bc64 authored by ahocevar's avatar ahocevar
Browse files

Merge pull request #1 from calvinmetcalf/first-touchups

First touchups
parents c2db72ad 7c287a39
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+3 −0
Original line number Diff line number Diff line
*~
node_modules
.c9revisions
 No newline at end of file

Gruntfile.js

0 → 100644
+30 −0
Original line number Diff line number Diff line
module.exports = function(grunt) {
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		concat:{
			full:{
				src:[ './src/Proj4js.js','./src/Proj.js','./src/defs.js','./src/common.js','./src/datum.js','./src/Point.js','./src/constants.js','./src/projCode/*.js','./src/defs/*.js'],
				dest:'./dist/proj4.js'
			},
			noDefs:{
				src:[ './src/Proj4js.js','./src/Proj.js','./src/defs.js','./src/common.js','./src/datum.js','./src/Point.js','./src/constants.js','./src/projCode/*.js','./src/defs/GOOGLE.js'],
				dest:'./dist/proj4-noDefs.js'
			}
		},
		uglify:{
			full:{
				src:[ './src/Proj4js.js','./src/Proj.js','./src/defs.js','./src/common.js','./src/datum.js','./src/Point.js','./src/constants.js','./src/projCode/*.js','./srcgrunt/defs/*.js'],
				dest:'./dist/proj4.min.js'
			},
			noDefs:{
				src:[ './src/Proj4js.js','./src/Proj.js','./src/defs.js','./src/common.js','./src/datum.js','./src/Point.js','./src/constants.js','./src/projCode/*.js','./src/defs/GOOGLE.js'],
				dest:'./dist/proj4-noDefs.min.js'
			}
		}
	});
	grunt.loadNpmTasks('grunt-contrib-concat');
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.registerTask('full', ['concat:full','uglify:full']);
	grunt.registerTask('noDefs', ['concat:noDefs','uglify:noDefs']);
	grunt.registerTask('default', ['full','noDefs']);
}
+10 −12
Original line number Diff line number Diff line
Proj4js -- Javascript reprojection library. 
##Proj4js -- Javascript reprojection library. 
 
Authors:       Mike Adair madairATdmsolutions.ca
               Richard Greenwood richATgreenwoodmap.com
               Didier Richard didier.richardATign.fr
               Stephen Irons stephen.ironsATclear.net.nz
               Olivier Terral oterralATgmail.com
Authors:
- Mike Adair madairATdmsolutions.ca
- Richard Greenwood richATgreenwoodmap.com
- Didier Richard didier.richardATign.fr
- Stephen Irons stephen.ironsATclear.net.nz
- Olivier Terral oterralATgmail.com

License:       MIT 

Copyright (c) 2012, Mike Adair, Richard Greenwood, Didier Richard, 
                    Stephen Irons and Olivier Terral
Copyright (c) 2012, Mike Adair, Richard Greenwood, Didier Richard, Stephen Irons and Olivier Terral

 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
@@ -21,10 +19,10 @@ Copyright (c) 2012, Mike Adair, Richard Greenwood, Didier Richard,
 The above copyright notice and this permission notice shall be included
 in all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 _THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 DEALINGS IN THE SOFTWARE.
 DEALINGS IN THE SOFTWARE._
 No newline at end of file

README.md

0 → 100644
+11 −0
Original line number Diff line number Diff line
#PROJ4JS

Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.

This library is a port of both the [PROJ.4](http://trac.osgeo.org/proj/) and [GCTCP C](http://edcftp.cr.usgs.gov/pub//software/gctpc) libraries to JavaScript. Enabling these transformations in the browser allows geographic data stored in different projections to be combined in browser-based web mapping applications.

Proj4js is a part of the [MetaCRS](http://wiki.osgeo.org/wiki/MetaCRS) group of projects and uses the same MIT style license as PROJ.4.

to set up build tools make sure you have node installed and run `npm install`

to build run `grunt`
 No newline at end of file

build/README.txt

deleted100755 → 0
+0 −13
Original line number Diff line number Diff line
## HowTo: Build & deploy "Shrunk" Single File Library version of proj4js ##

 * Build:

     cd build
     ./build.py
     cd ..

 * Upload the result to the server: e.g.

  scp build/proj4js.js openlayers@openlayers.org:openlayers.org/htdocs/code/

Loading